body {
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Main Content */
#main {
    scroll-margin-top: calc(var(--header-height) + 8px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 75vh;
    background: linear-gradient(135deg, var(--espresso) 0%, #2a1810 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5rem 4rem 2rem;
}

/* Geometric Pattern Background */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, var(--warm-beige) 35px, var(--warm-beige) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--warm-beige) 35px, var(--warm-beige) 70px);
    animation: slide 60s linear infinite;
}

@keyframes slide {
    from { transform: translate(0, 0); }
    to { transform: translate(70px, 70px); }
}

/* Floating Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--warm-beige);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--light-beige);
    bottom: -150px;
    right: -50px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 2rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-beige);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.95;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .gradient {
    background: linear-gradient(
        135deg, 
        var(--warm-beige) 0%, 
        var(--light-beige) 50%,
        var(--warm-beige) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    from { background-position: -200% center; }
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--sand);
    line-height: 1.5;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--pure-white);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.hero-button:hover {
    background: var(--warm-beige);
    border-color: var(--warm-beige);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
    color: var(--pure-white);
}

/* ===== STICKY NAVIGATION ===== */
.sticky-nav {
    background: var(--pure-white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: var(--header-height);
    z-index: var(--z-sticky);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-sm);
}

.sticky-nav-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    gap: 2.5rem;
    min-width: fit-content;
}

.sticky-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 600;
    padding: 0.625rem 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-link:hover {
    color: var(--warm-beige-dark);
    text-decoration: none;
}

.sticky-link.active {
    color: var(--warm-beige-dark);
    border-bottom-color: var(--warm-beige);
}

/* ===== CONTENT WRAPPER ===== */
.content-wrapper {
    background: var(--cream);
    padding: 5rem 0;
}

.content-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ENTITY SELECTOR ===== */
.entity-selector-section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--espresso);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.entity-card {
    background: var(--pure-white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.entity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--warm-beige), var(--warm-taupe));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.entity-card:hover::before,
.entity-card.active::before {
    transform: scaleX(1);
}

.entity-card.active {
    background: linear-gradient(135deg, var(--pure-white) 0%, rgba(212, 165, 116, 0.05) 100%);
    border-color: var(--warm-beige);
}

.entity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.15);
}

.entity-checkbox {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    background: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.entity-card.active .entity-checkbox {
    background: var(--warm-beige);
    border-color: var(--warm-beige);
}

.entity-card.active .entity-checkbox::after {
    content: '✓';
    color: var(--pure-white);
    font-weight: 700;
}

.entity-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--espresso);
    margin-bottom: 0.75rem;
}

.entity-best {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.entity-features {
    list-style: none;
}

.entity-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.entity-features li::before {
    content: '→';
    color: var(--warm-beige);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    margin-bottom: 4rem;
}

.table-wrapper {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.table-header {
    background: linear-gradient(135deg, var(--espresso) 0%, var(--rich-brown) 100%);
    padding: 2rem;
}

.table-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.table-description {
    color: var(--sand);
    font-size: 0.925rem;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.comparison-table thead {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.comparison-table th {
    padding: 1.5rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--espresso);
    vertical-align: bottom;
    position: sticky;
    top: 0;
    background: var(--gray-50);
    z-index: 10;
}

.comparison-table th:first-child {
    padding-left: 2rem;
    /*width: 35%;*/
}

/*.entity-col-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.entity-col-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--espresso);
}

.entity-col-price {
    font-size: 0.75rem;
    color: var(--warm-beige-dark);
    font-weight: 600;
}*/

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: var(--cream);
}

.category-row {
    background: var(--sand) !important;
}

.category-row td {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--warm-taupe);
    padding: 1rem 2rem !important;
}

.comparison-table td {
    padding: 1.25rem;
    vertical-align: top;
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.comparison-table td:first-child {
    padding-left: 2rem;
    font-weight: 600;
    color: var(--espresso);
}

.check {
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.25rem;
}

.cross {
    color: var(--error-red);
    font-weight: 700;
    font-size: 1.25rem;
}

.partial {
    color: var(--warning-amber);
    font-weight: 700;
}

.best {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    position: relative;
}

.best::before {
    content: 'BEST';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--success-green);
    color: var(--pure-white);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--espresso);
    color: var(--pure-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: var(--z-tooltip);
    max-width: 250px;
    white-space: normal;
    line-height: 1.4;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ===== KEY INSIGHTS ===== */
.insights-section {
    margin-bottom: 4rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.insight-card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--warm-beige), var(--warm-taupe));
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.insight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.insight-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 0.75rem;
}

.insight-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--warm-taupe) 100%);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(255, 255, 255, 0.03) 35px,
        rgba(255, 255, 255, 0.03) 70px
    );
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--sand);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--espresso);
    color: var(--pure-white);
    padding: 1.125rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(60, 36, 21, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(60, 36, 21, 0.4);
    color: var(--pure-white);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .sticky-nav-inner {
        padding: 1rem;
        gap: 1.5rem;
        overflow-x: auto;
    }
    
    .sticky-link {
        font-size: 0.85rem;
    }
    
    .entity-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.75rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        padding-left: 1rem;
        position: sticky;
        left: 0;
        background: var(--pure-white);
        z-index: 5;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    }
    
    .comparison-table thead th:first-child {
        background: var(--gray-50);
    }
    
    .category-row td:first-child {
        background: var(--sand);
    }
    
    .cta-section {
        padding: 3rem 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .sticky-nav,
    .hero-actions,
    .cta-section {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        background: none;
        color: #000;
        padding: 2rem 0;
    }
    
    .hero-title,
    .section-title {
        color: #000;
    }
    
    .content-wrapper {
        padding: 2rem 0;
    }
    
    .table-wrapper {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .comparison-table {
        font-size: 10pt;
    }
}

