/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #07A06D;
    --primary-dark: #058F5E;
    --secondary-color: #EA6020;
    --brand-green: #08885D;
    --text-primary: #0A1414;
    --text-secondary: #5A5A5A;
    --text-light: #999999;
    --text-dark: #0A1414;
    --text-medium: #5A5A5A;
    --bg-white: #FFFFFF;
    --bg-light: #E6ECEB;
    --bg-darker: #E5E5E5;
    --border-color: #DADADA;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 96px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header--transparent {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

/* Header CTA buttons for all pages */
.header .header-cta-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: auto;
}

.header .header-cta-btn {
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header .header-cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.header .header-cta-btn img {
    height: 40px;
    width: auto;
    display: block;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 2rem;
}

.logo-text {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

.contact-btn {
    padding: 12px 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 180px 0 160px;
    background: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(46%, 50%, 52%);
    height: 100%;
    /* Exact match from live site computed style (with our width clamp) */
    background: linear-gradient(135deg, #174546 0%, #08885D 50%, #174546 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.hero-text h1 strong,
.hero-text h1 em {
    color: var(--primary-color);
    font-style: normal;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
}

.app-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-badges .badge {
    height: 44px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}

.app-badges a:hover .badge {
    transform: scale(1.05);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0 20px;
    align-self: center;
}

.app-mockup {
    width: clamp(280px, 28vw, 420px);
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-text { 
    padding-right: 20px;
    max-width: 640px;
}

.hero-cta { 
    padding-left: 20px;
    padding-bottom: 120px;
    color: white;
    max-width: 640px;
    margin-left: auto;
}

.hero-cta .section-subtitle,
.hero-cta .lead-text,
.hero-cta p {
    color: white;
}

.hero-cta .section-subtitle {
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.hero-cta .lead-text {
    font-size: clamp(14px, 1vw, 16px);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.hero-cta p {
    color: rgba(255, 255, 255, 0.92);
}

.hero .cta-actions {
    justify-content: flex-start;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--primary-color);
    color: white;
}

.cta-section .section-subtitle,
.cta-section .lead-text,
.cta-section p {
    color: white;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.lead-text {
    font-size: 18px;
    color: white;
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.introducing-section .lead-text,
.features-grid .lead-text,
.benefits-section .lead-text {
    color: var(--text-secondary);
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.qr-code img {
    width: 150px;
    height: 150px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    background: white;
}

/* Buttons */
.btn-primary {
    padding: 14px 32px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #D65518;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 32px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-video {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #3D4F5C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    background-color: transparent;
    position: relative;
    z-index: 1;
    opacity: 0; /* hidden until playing to avoid overlay artifacts */
}

/* Show poster until video starts playing */
.video-player[poster] {
    background-size: cover;
    background-position: center;
}

/* Hide play button on poster */
.video-player::before {
    display: none !important;
}

.video-player::-webkit-media-controls-overlay-enclosure {
    display: none !important;
}

.feature-video {
    position: relative;
}

.feature-video::after {
    content: none !important;
}
/* Dynamic poster overlay that sits above the video */
.video-poster-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    background: transparent;
    opacity: 1;
    transition: opacity 0.2s ease-in;
}
.video-poster-overlay.hidden {
    opacity: 0;
}

/* Smooth transition when video starts */
.video-player.playing {
    opacity: 1;
    transition: opacity 0.25s ease-in;
}

/* Aggressively hide ALL video controls and overlays on all browsers */
video::-webkit-media-controls { display: none !important; -webkit-appearance: none !important; }
video::-webkit-media-controls-enclosure { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }
video::-webkit-media-controls-play-button { display: none !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; }
video::-webkit-media-controls-overlay-play-button { display: none !important; }
video::-webkit-media-controls-timeline { display: none !important; }
video::-webkit-media-controls-current-time-display { display: none !important; }
video::-webkit-media-controls-time-remaining-display { display: none !important; }
video::-webkit-media-controls-mute-button { display: none !important; }
video::-webkit-media-controls-volume-slider { display: none !important; }
video::-webkit-media-controls-fullscreen-button { display: none !important; }

/* More specific rules for each video type */
.video-player::-webkit-media-controls { display: none !important; -webkit-appearance: none !important; }
.video-player::-webkit-media-controls-enclosure { display: none !important; }
.video-player::-webkit-media-controls-panel { display: none !important; }
.video-player::-webkit-media-controls-play-button { display: none !important; }
.video-player::-webkit-media-controls-start-playback-button { display: none !important; }
.video-player::-webkit-media-controls-overlay-play-button { display: none !important; }

.benefits-phone-video::-webkit-media-controls { display: none !important; }
.benefits-phone-video::-webkit-media-controls-enclosure { display: none !important; }
.benefits-phone-video::-webkit-media-controls-panel { display: none !important; }
.benefits-phone-video::-webkit-media-controls-play-button { display: none !important; }
.benefits-phone-video::-webkit-media-controls-start-playback-button { display: none !important; }
.benefits-phone-video::-webkit-media-controls-overlay-play-button { display: none !important; }

.intro-video::-webkit-media-controls { display: none !important; }
.intro-video::-webkit-media-controls-enclosure { display: none !important; }
.intro-video::-webkit-media-controls-panel { display: none !important; }
.intro-video::-webkit-media-controls-play-button { display: none !important; }
.intro-video::-webkit-media-controls-start-playback-button { display: none !important; }
.intro-video::-webkit-media-controls-overlay-play-button { display: none !important; }

/* Safari-specific: additional layer of hiding */
.safari-browser video::-webkit-media-controls { display: none !important; }
.safari-browser video::-webkit-media-controls-container { display: none !important; }
.safari-browser video::-webkit-media-controls-overlay-enclosure { display: none !important; }
.safari-browser video::-webkit-media-controls-play-button { display: none !important; }
.safari-browser video::-webkit-media-controls-start-playback-button { display: none !important; }
.safari-browser video::-webkit-media-controls-overlay-play-button { display: none !important; }

/* Hide for other browsers (Firefox, Safari, etc) */
video::backdrop { display: none !important; }
video::cue { display: none !important; }

.feature-text {
    padding: 20px 0;
}

.feature-text h3 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 18px;
    font-weight: 300;
    color: #C0C0C0;
    line-height: 1.65;
}

.feature-text p strong,
.feature-text p em {
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

/* Three-column flow section */
.feature-flow {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(360px, 480px) auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 2px;
    margin: 40px auto 0;
    max-width: fit-content;
}
.feature-flow .flow-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.feature-flow .flow-col.flow-text {
    align-items: center;
    justify-content: center;
}
.feature-flow .flow-col.flow-arrow-col {
    justify-content: center;
}
.feature-flow .flow-col .feature-text {
    width: 100%;
    text-align: left;
}

/* Right-align text when arrow is on the left (rows 2, 4, 6, 8) */
.feature-flow:has(.flow-arrow-col.align-end) .feature-text {
    text-align: right;
}
.feature-flow .flow-arrow-col {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    align-self: flex-end;
}

.flow-arrow {
    width: 185px;
    height: 160px;
    align-self: flex-end;
}

.feature-flow .flow-arrow-col.align-end {
    justify-content: flex-end;
}

.feature-flow .flow-arrow-col.align-end .flow-arrow {
    transform: scaleX(-1);
}

.flow-spacer {
    min-width: 300px;
}

@media (max-width: 900px) {
    .feature-flow {
        display: flex;
        flex-direction: column;
        gap: 32px;
        align-items: center;
        justify-items: center;
    }
    
    .flow-arrow { 
        display: none; 
    }
    
    /* Hide empty placeholder divs */
    .feature-flow > div:empty {
        display: none;
    }
    
    /* For rows with image first (odd rows: 1, 3, 5, 7, 9) - image stays first */
    .feature-flow:not(:has(.flow-arrow-col:first-child)) .flow-col:first-child:has(.feature-video) {
        order: 1;
    }
    
    .feature-flow:not(:has(.flow-arrow-col:first-child)) .flow-col:nth-child(2):has(.feature-text) {
        order: 2;
    }
    
    /* For rows with arrow first (even rows: 2, 4, 6, 8) - reorder so image comes first */
    .feature-flow:has(.flow-arrow-col:first-child) .flow-col:first-child.flow-arrow-col {
        order: 3;
    }
    
    .feature-flow:has(.flow-arrow-col:first-child) .flow-col:nth-child(2):has(.feature-text) {
        order: 2;
    }
    
    .feature-flow:has(.flow-arrow-col:first-child) .flow-col:nth-child(3):has(.feature-video) {
        order: 1;
    }
    
    .feature-flow .flow-col {
        justify-content: center;
        align-items: center;
        max-width: 100%;
        width: 100%;
    }
    
    .feature-flow .flow-col .feature-text {
        text-align: center;
        width: 100%;
    }
    
    .feature-flow:has(.flow-arrow-col.align-end) .feature-text {
        text-align: center;
    }
    
    .feature-flow .feature-video {
        margin: 0 auto;
    }
}

/* Introducing Section */
.introducing-section {
    position: relative;
    padding: 80px 0 0;
    background: #FFFFFF; /* keep page white; color goes on inner slab */
}

.introducing-section .container {
    padding: 0;
}

.intro-shell {
    background: var(--bg-light);
    border-radius: 12px;
    margin: 0 clamp(24px, 5vw, 96px);
    padding: 56px clamp(32px, 5vw, 64px) 0;
}

.introducing-section h2 {
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.introducing-section .subtitle {
    font-size: clamp(18px, 1.6vw, 22px);
    color: #EA6020; /* brand orange like screenshot */
    margin-bottom: 0;
    font-weight: 600;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.intro-right .intro-copy {
    font-size: clamp(16px, 1.05vw, 18px);
    color: #869793;
    line-height: 1.9;
}

.intro-device {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding-bottom: 80px;
    background: transparent !important;
}

/* Update Detail Page */
.update-detail-content {
    padding: 160px 0 120px;
    background: var(--bg-white);
}

.update-detail-content .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(32px, 4vw, 64px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
}

.update-detail-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(26, 43, 37, 0.08);
    padding: clamp(32px, 4vw, 64px);
    width: 100%;
}

.update-detail-header {
    margin-bottom: 40px;
}

.update-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.update-detail-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.update-detail-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.update-detail-meta time {
    font-weight: 600;
    color: var(--primary-color);
}

#update-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.update-detail-summary {
    font-size: 18px;
    color: #5f6d68;
    line-height: 1.8;
}

.update-detail-highlights {
    background: var(--bg-light);
    border-radius: 12px;
    padding: clamp(24px, 3vw, 40px);
    margin-bottom: 48px;
}

.update-detail-highlights h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.update-detail-highlights ul {
    list-style: disc inside;
    display: grid;
    row-gap: 12px;
    color: var(--text-secondary);
}

.update-detail-body {
    display: grid;
    row-gap: 32px;
}

.update-detail-section h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Structured section styles for update detail page */
.update-intro {
    margin-bottom: 32px;
}

.update-intro-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-medium);
    margin: 0;
}

.update-section {
    margin-bottom: 32px;
}

.update-section:last-child {
    margin-bottom: 0;
}

.update-section-heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--text-primary);
    border-bottom: 2px solid #ea5933;
    padding-bottom: 8px;
}

.update-section-list {
    padding-left: 24px;
    margin: 0;
    list-style-type: disc;
}

.update-section-list li {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 12px;
}

.update-section-list li:last-child {
    margin-bottom: 0;
}

.update-detail-section p {
    font-size: 17px;
    line-height: 1.9;
    color: #4a5552;
}

.update-detail-sidebar {
    position: static;
}

.sidebar-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(26, 43, 37, 0.08);
    padding: 32px;
    display: grid;
    row-gap: 16px;
}

.sidebar-card h2 {
    font-size: 22px;
}

.sidebar-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.update-detail-empty {
    text-align: center;
    padding: 80px 32px;
}

.update-detail-empty h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.update-detail-empty p {
    font-size: 17px;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .update-detail-content .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .update-detail-sidebar {
        position: static;
        grid-column: 1 / -1;
    }

    .update-detail-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .update-detail-content {
        padding: 140px 0 80px;
    }

    .update-detail-highlights {
        padding: 24px;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}

.intro-video-wrapper {
    position: relative;
    width: clamp(400px, 85vw, 1800px);
    background: #E6ECEB !important;
    background-color: #E6ECEB !important;
}

.intro-video-wrapper .video-poster-overlay,
.intro-video-wrapper .intro-video {
    width: 100%;
    height: auto;
    display: block;
}

.intro-video-wrapper .video-poster-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

/* Hide poster overlay on Safari for intro video */
.safari-browser .intro-video-wrapper .video-poster-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.intro-video-wrapper .intro-video {
    background: #E6ECEB !important;
    background-color: #E6ECEB !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    /* Remove mix-blend-mode to preserve original transparency */
    mix-blend-mode: normal;
}

/* Ensure video element and all pseudo-elements have no background */
.intro-video-wrapper .intro-video::before,
.intro-video-wrapper .intro-video::after {
    display: none !important;
    background: transparent !important;
}

.intro-video-wrapper .intro-video video {
    background: transparent !important;
    background-color: transparent !important;
}

/* Ensure proper rendering context for transparency */
.intro-video-wrapper {
    /* Ensure proper rendering context */
    transform: translateZ(0);
    will-change: transform;
    background: #E6ECEB !important;
    background-color: #E6ECEB !important;
    /* Remove any potential backdrop that could interfere */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Video with matching background color - MP4 has background baked in */
.intro-video-wrapper video,
.intro-video-wrapper .intro-video {
    background: #E6ECEB !important;
    background-color: #E6ECEB !important;
    mix-blend-mode: normal;
    object-fit: contain;
}


/* Override transparent rules for video specifically */
.intro-video-wrapper .intro-video.playing {
    opacity: 1 !important;
    background: #E6ECEB !important;
    background-color: #E6ECEB !important;
}

.intro-device img {
    width: clamp(400px, 85vw, 1800px);
}

/* Features Grid */
.features-grid {
    padding: 80px 0;
    background: white;
}

.features-grid .section-title {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: transparent;
    border-radius: 16px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    min-height: 280px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-card:hover {
    transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-front,
.feature-card:hover .feature-card-back {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card-front {
    transform: rotateY(0deg);
}

.feature-card-back {
    transform: rotateY(180deg);
    justify-content: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D4E8E0;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    filter: invert(62%) sepia(27%) saturate(631%) hue-rotate(110deg) brightness(91%) contrast(89%);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-card-back p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.security-note {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.7;
    border-left: 4px solid var(--primary-color);
    padding-left: 32px;
}

/* Benefits Section */
.benefits-section {
    padding: 96px 0;
    overflow: visible;
}

.benefits-section .container {
    overflow: visible;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
    background: #E6ECEB;
    padding: 80px;
    border-radius: 24px;
    overflow: visible;
}

.benefits-left {
    max-width: 640px;
}

.benefits-left .section-title {
    font-size: 42px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 28px;
    color: var(--text-primary);
    line-height: 1.2;
}

.benefits-left .section-intro {
    text-align: left;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 48px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.benefit-check {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D4F4DD;
    border-radius: 8px;
    color: var(--primary-color);
}

.benefit-check svg {
    width: 24px;
    height: 24px;
}

.benefit-item p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding-top: 12px;
}

.closing-cta {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.closing-cta:last-child {
    margin-bottom: 0;
}

.closing-text {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 24px auto;
}

.benefits-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    width: 100%;
    max-width: none;
    min-width: 0;
    overflow: visible;
    position: relative;
}

.benefits-phone-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 200%;
    max-width: none;
    min-width: 0;
    height: 800px;
    overflow: visible;
    background: #E6ECEB !important;
    background-color: #E6ECEB !important;
}

.benefits-phone-video {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 100%;
    display: block;
    background: #E6ECEB !important;
    background-color: #E6ECEB !important;
    object-fit: cover;
    object-position: center;
    margin-left: 0;
}

.benefits-phone {
    width: clamp(280px, 28vw, 420px);
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Responsive scaling for benefits video */
@media (max-width: 1400px) {
    .benefits-phone-mockup {
        height: 700px;
        width: 180%;
    }
}

@media (max-width: 1200px) {
    .benefits-phone-mockup {
        height: 600px;
        width: 170%;
    }
}

@media (max-width: 1000px) {
    .benefits-phone-mockup {
        height: 550px;
        width: 160%;
    }
}

@media (max-width: 800px) {
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-left {
        max-width: 100%;
    }
    
    .benefits-left .section-title,
    .benefits-left .section-intro {
        text-align: center;
    }
    
    .benefits-phone-mockup {
        height: 500px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .benefits-phone-mockup {
        height: 400px;
        width: 130%;
    }
}

/* Updates Section */
.updates-section {
    padding: 0;
    background: white;
    overflow: hidden;
    margin-top: 80px;
    margin-bottom: 80px;
}

.updates-wrapper {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    min-height: 600px;
}

.updates-timeline-container {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -80px;
    bottom: -80px;
    width: 2px;
    background: #7fb069;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    gap: 32px;
    margin-bottom: 60px;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.timeline-marker {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, #95c97f, #7fb069);
    border: 2px solid white;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.date-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    position: absolute;
}

.timeline-marker + .date-label {
    left: calc(100% + 16px);
}

.timeline-date .date-label:first-child {
    right: calc(100% + 16px);
}

.timeline-content-left,
.timeline-content-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-content-left {
    text-align: right;
    align-items: flex-end;
}

.timeline-content-right {
    text-align: left;
    align-items: flex-start;
}

.release-version {
    font-size: 18px;
    font-weight: 500;
    color: #ea5933;
    margin: 0;
}

.release-version a,
.release-card-title a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #ea5933;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}

.release-version a:hover,
.release-card-title a:hover {
    text-decoration-color: #d14a28;
}

.release-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
}

.release-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.release-icon {
    width: 44px;
    height: 44px;
}

.release-card-body {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.release-card-body h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.release-card-body ul {
    padding-left: 20px;
    margin: 0 0 12px 0;
}

.release-card-body li {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Structured section styles for release cards */
.release-intro-text {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 12px 0;
}

.release-section-heading {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: #1a1a1a;
}

.release-section-heading:first-child {
    margin-top: 0;
}

.release-section-list {
    padding-left: 20px;
    margin: 0 0 12px 0;
    list-style-type: disc;
}

.release-section-list li {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.release-notes-link {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin: 0;
}

/* Update Title (Orange Headline Above Bubble) */
.update-title {
    font-size: 18px;
    font-weight: 600;
    color: #ea5933;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.update-title a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #ea5933;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.update-title a:hover {
    text-decoration-color: #d14a28;
}

/* Collapsible Card Styles */
.collapsible-card .release-card-header {
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-toggle-btn {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #666;
}

.chevron-icon {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

.collapsible-card.expanded .card-toggle-btn {
    transform: rotate(180deg);
}

.collapsible-card .release-card-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding-top 0.3s ease;
    padding-top: 0;
}

.collapsible-card.expanded .release-card-body {
    max-height: 9999px;
    overflow: visible;
    opacity: 1;
    padding-top: 16px;
}

.collapsible-card .release-card-header:hover {
    opacity: 0.9;
}

.card-toggle-btn:hover {
    color: #333;
}

.updates-info {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.updates-info-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.updates-info h2 {
    font-size: 42px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    line-height: 1.2;
}

.updates-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
}

.btn-view-more {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #174546 0%, #08885D 50%, #174546 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.social-wrapper h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.contact-form-wrapper p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.social-wrapper p {
    font-size: 16px;
    color: white;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 79, 255, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.social-link:hover img {
    filter: brightness(0) invert(1);
}

/* Footer */
.footer {
    padding: 48px 0;
    background: #1A1A1A;
    color: white;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 32px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    display: block;
}

.footer-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-divider {
    height: 1px;
    background: var(--primary-color);
    margin: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 32px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-bottom a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    white-space: nowrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 48px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero::before {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 50%;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-image { 
        position: static; 
        transform: none; 
        margin: 16px auto 0; 
        pointer-events: auto; 
        order: 2;
    }
    
    .app-mockup { 
        width: clamp(220px, 60vw, 360px); 
    }
    
    .hero-text { 
        padding-right: 0; 
        order: 1;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-cta { 
        padding-left: 0; 
        padding-bottom: 0;
        margin-top: 32px;
        margin-left: 0;
        margin-right: 0;
        order: 3;
        text-align: center;
        color: white;
        position: relative;
        z-index: 2;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }

    .app-badges {
        justify-content: center;
    }
    
    .hero-cta .section-subtitle,
    .hero-cta .lead-text,
    .hero-cta p {
        color: white;
        text-align: center;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .feature-video {
        width: 280px;
        height: 280px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .intro-grid { grid-template-columns: 1fr; text-align: left; }
    .introducing-section { padding: 56px 0 0; }
    .introducing-section .container { padding: 24px 20px 0; border-radius: 10px; }
    .intro-device img { width: clamp(300px, 95vw, 1000px); }
    .intro-video-wrapper { 
        width: clamp(300px, 95vw, 1000px);
        background: #E6ECEB !important;
        background-color: #E6ECEB !important;
    }
    
    .intro-video-wrapper .intro-video,
    .intro-video-wrapper video {
        background: #E6ECEB !important;
        background-color: #E6ECEB !important;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card {
        min-height: 300px;
    }

    .feature-card-front,
    .feature-card-back {
        padding: 32px 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .feature-icon img {
        width: 28px;
        height: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .footer-left {
        flex-direction: column;
        gap: 16px;
    }

    .footer-center {
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-right {
        margin-top: 16px;
    }

    .updates-wrapper {
        grid-template-columns: 1fr;
    }

    .updates-timeline-container {
        padding: 60px 24px;
    }

    .timeline {
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Hide empty placeholder divs */
    .timeline-item > div:empty {
        display: none;
    }

    .timeline-marker {
        display: none;
    }

    .timeline-date {
        display: flex;
        order: 2;
        margin-top: 4px;
        margin-bottom: 12px;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        position: static;
        left: auto;
        right: auto;
        padding-top: 0;
    }

    .date-label {
        display: block !important;
        font-size: 14px;
        color: var(--text-secondary);
        margin: 0;
        padding: 0;
        position: static;
        left: auto;
        right: auto;
        width: auto;
        text-align: center;
    }

    .timeline-content-left,
    .timeline-content-right {
        max-width: 100%;
        width: 100%;
        text-align: left;
        display: contents; /* Make children participate in parent's flex ordering */
    }

    .timeline-content-left .release-version,
    .timeline-content-right .release-version {
        margin-bottom: 0;
        order: 1;
    }

    .timeline-content-left .release-card,
    .timeline-content-right .release-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        order: 3;
    }

    .release-card {
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .btn-view-more {
        margin-top: 32px;
    }
}

@media (max-width: 800px) {
    .updates-timeline-container {
        padding: 40px 16px;
    }

    .timeline {
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 32px;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Hide empty placeholder divs */
    .timeline-item > div:empty {
        display: none;
    }

    .timeline-marker {
        display: none;
    }

    .timeline-date {
        display: flex;
        order: 2;
        margin-top: 4px;
        margin-bottom: 12px;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        position: static;
        left: auto;
        right: auto;
        padding-top: 0;
    }

    .date-label {
        display: block !important;
        font-size: 14px;
        color: var(--text-secondary);
        margin: 0;
        padding: 0;
        position: static;
        left: auto;
        right: auto;
        width: auto;
        text-align: center;
    }

    .timeline-content-left,
    .timeline-content-right {
        max-width: 100%;
        width: 100%;
        text-align: left;
        display: contents; /* Make children participate in parent's flex ordering */
    }

    .timeline-content-left .release-version,
    .timeline-content-right .release-version {
        margin-bottom: 0;
        order: 1;
    }

    .timeline-content-left .release-card,
    .timeline-content-right .release-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        order: 3;
    }

    .updates-info {
        padding: 60px 32px;
    }

    .updates-info h2 {
        font-size: 36px;
    }
}

@media (max-width: 800px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        min-height: 260px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    .feature-text h3 {
        font-size: 24px;
    }

    .feature-video {
        width: 250px;
        height: 250px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 280px;
    }

    .feature-card-front,
    .feature-card-back {
        padding: 28px 20px;
    }

    .feature-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .feature-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 16px;
    }
    
    .feature-icon img {
        width: 26px;
        height: 26px;
    }

    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: stretch;
        padding: 24px;
        min-height: auto;
        height: auto;
        overflow: visible;
    }

    .benefits-left {
        max-width: 100%;
    }

    .benefits-left .section-title {
        text-align: center;
    }

    .benefits-left .section-intro {
        text-align: center;
    }

    .benefits-right {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        height: auto;
        min-height: auto;
        width: 100%;
        max-width: none;
        min-width: 0;
        overflow: visible;
        box-sizing: border-box;
    }

    .benefits-phone-mockup {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 140%;
        max-width: none;
        min-width: 0;
        height: 450px;
        overflow: visible;
        background: #E6ECEB !important;
        background-color: #E6ECEB !important;
        box-sizing: border-box;
    }

    .benefits-phone-video {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 100%;
        max-height: none;
        background: #E6ECEB !important;
        background-color: #E6ECEB !important;
        display: block;
        object-fit: cover;
        object-position: center;
        margin-left: 0;
        box-sizing: border-box;
    }

    .cta-actions {
        flex-direction: column;
    }

    .modal-content {
        padding: 32px 24px;
    }

    .navbar {
        padding: 16px 0;
    }

    .logo-text {
        font-size: 24px;
    }

    .contact-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .updates-timeline-container {
        padding: 40px 16px;
    }

    .updates-info {
        padding: 40px 24px;
    }

    .updates-info h2 {
        font-size: 28px;
    }

    .updates-info p {
        font-size: 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.6s ease-out;
}

/* Placeholder for missing images */
.feature-icon img,
.benefit-icon,
.social-link img,
.footer-social img {
    background: transparent;
}

/* Print Styles */
@media print {
    .header,
    .contact-section,
    .footer {
        display: none;
    }
}

/* Privacy Policy Page */
.privacy-content {
    padding: 120px 0 80px;
    background: white;
}

.privacy-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    text-align: center;
}

.privacy-content h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 60px;
    color: var(--text-medium);
    text-align: center;
}

.privacy-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 16px;
    color: var(--text-dark);
}

.policy-section {
    margin-bottom: 48px;
    line-height: 1.8;
}

.policy-section p {
    margin-bottom: 16px;
    color: var(--text-medium);
    font-size: 16px;
}

.policy-section ul {
    margin: 16px 0 16px 24px;
    color: var(--text-medium);
}

.policy-section li {
    margin-bottom: 12px;
    font-size: 16px;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: #6a9e5d;
    text-decoration: underline;
}

.ccpa-category {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
}

.ccpa-category h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.ccpa-category ul {
    margin-left: 20px;
}

@media (max-width: 968px) {
    .privacy-content {
        padding: 100px 0 60px;
    }

    .privacy-content h1 {
        font-size: 36px;
    }

    .privacy-content h2 {
        font-size: 18px;
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .privacy-content {
        padding: 80px 0 40px;
    }

    .privacy-content h1 {
        font-size: 28px;
    }

    .privacy-content h2 {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .policy-section {
        margin-bottom: 32px;
    }

    .ccpa-category {
        padding: 16px;
    }
}

/* Updates Page */
.updates-page-content {
    padding: 120px 0 80px;
    background: white;
}

.updates-page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.updates-page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.updates-page-header p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
}

.updates-page-timeline {
    padding: 0 40px;
}

.updates-page-timeline .timeline {
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .updates-page-content {
        padding: 100px 0 60px;
    }

    .updates-page-header {
        margin-bottom: 60px;
    }

    .updates-page-header h1 {
        font-size: 36px;
    }

    .updates-page-header p {
        font-size: 16px;
    }

    .updates-page-timeline {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .updates-page-content {
        padding: 80px 0 40px;
    }

    .updates-page-header {
        margin-bottom: 48px;
    }

    .updates-page-header h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .updates-page-header p {
        font-size: 15px;
    }

    .updates-page-timeline {
        padding: 0 16px;
    }
}

/* ============================================
   Cookie Consent Banner & Modal
   ============================================ */

/* Cookie Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-consent-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.cookie-banner-text p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: var(--text-medium);
}

.cookie-banner-text a {
    color: var(--brand-green);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    z-index: 1;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    display: inline-block;
}

.cookie-btn-primary {
    background: var(--brand-green) !important;
    color: white !important;
    border: 2px solid var(--brand-green) !important;
}

.cookie-btn-primary:hover {
    background: #06734d !important;
    border-color: #06734d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 136, 93, 0.3);
}

.cookie-btn-secondary {
    background: white !important;
    color: var(--text-dark) !important;
    border: 2px solid #ddd !important;
}

.cookie-btn-secondary:hover {
    background: #f5f5f5 !important;
    border-color: #999 !important;
    color: var(--text-dark) !important;
}

.cookie-btn-tertiary {
    background: transparent;
    color: var(--text-medium);
    text-decoration: underline;
    padding: 12px 16px;
}

.cookie-btn-tertiary:hover {
    color: var(--text-dark);
}

/* Cookie Preferences Modal */
#cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cookie-preferences-modal.show {
    opacity: 1;
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.cookie-modal-header p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: var(--text-medium);
}

.cookie-modal-body {
    padding: 24px 32px;
}

.cookie-category {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-category-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.cookie-category-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--brand-green);
}

.cookie-toggle input:focus + .cookie-toggle-slider {
    box-shadow: 0 0 1px var(--brand-green);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

/* Ensure the slider stays visible when checked */
.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #08885D !important;
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle-label {
    font-size: 12px;
    color: var(--text-medium);
    margin-left: 8px;
}

.cookie-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: white;
}

.cookie-modal-footer .cookie-btn {
    min-width: 120px;
}

/* Cookie Settings Link in Footer */
.footer-bottom a#cookie-settings-btn {
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px;
        gap: 20px;
    }

    .cookie-banner-actions {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }
}


/* ===== Biomarker Listing ===== */
.biomarker-listing-hero {
  padding: 4rem 2rem;
  padding-top: 9rem; /* Extra padding for fixed header */
  text-align: center;
  background: linear-gradient(135deg, #f0f8f0 0%, #ffffff 100%);
}

/* Remove the green gradient overlay from homepage hero */
.biomarker-listing-hero::before {
  display: none;
}

.biomarker-listing-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #165a3a;
}
.biomarker-listing-hero p {
  font-size: 1.1rem;
  color: #5a5a5a;
  max-width: 720px;
  margin: 0 auto 0.5rem auto;
}
.biomarker-count {
  color: #6c6c6c;
  font-weight: 600;
  margin-top: 1rem;
}

.biomarker-grid-section {
  padding: 3rem 0;
  background: #fafafa;
}

.biomarker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.biomarker-card {
  display: block;
  padding: 2rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.biomarker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #2e7d32;
}
.biomarker-card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.biomarker-card h3 {
  margin: 0 0 0.5rem;
  color: #165a3a;
}
.biomarker-card p {
  color: #5f5f5f;
  line-height: 1.6;
  min-height: 48px;
}
.learn-more {
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Biomarker Detail ===== */
.biomarker-page {
  background: #ffffff;
  padding-bottom: 2rem;
}

.biomarker-page .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.biomarker-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.nav-breadcrumb {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #6b6b6b;
  margin-left: auto;
}

.nav-breadcrumb a {
  color: #08885D;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-breadcrumb a:hover {
  color: #0f4127;
}

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #6b6b6b;
}

.breadcrumb a {
  color: #2e7d32;
  text-decoration: none;
}
.biomarker-hero {
  text-align: center;
  padding: 2rem 0 3rem;
}
.biomarker-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
  display: block;
}
.biomarker-hero h1 {
  margin: 0;
  font-size: 2.6rem;
  color: #0f4127;
}

/* Biomarker header - sticky with CTA buttons */
.biomarker-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.biomarker-header .navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 16px 0;
}

.biomarker-header .nav-breadcrumb {
  flex: 1;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #6b6b6b;
}

.header-cta-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.header-cta-btn {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.header-cta-btn img {
  height: 40px;
  width: auto;
  display: block;
}

/* Add padding to body to account for fixed header */
.biomarker-page {
  padding-top: 80px; /* Height of fixed header */
}

/* Content sections styling */
.biomarker-description,
.reference-ranges,
.health-topics,
.related-biomarkers,
.references-section {
  margin: 3rem 0;
}

.supported-units {
  margin: 3rem 0; /* Consistent with other sections now that padding is removed */
}

.biomarker-description h2,
.supported-units h2,
.reference-ranges h2,
.health-topics h2,
.related-biomarkers h2,
.references-section h2 {
  color: #0f4127;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.biomarker-description p,
.supported-units p,
.health-topics p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #333;
}

.biomarker-description ul,
.biomarker-description ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.8;
}

.biomarker-description li {
  margin-bottom: 0.8rem;
}

.biomarker-description strong {
  color: #0f4127;
  font-weight: 600;
}

.content-authority,
.medical-disclaimer,
.page-toc,
.download-section,
.page-feedback,
.social-share,
.biomarker-cta {
  border-radius: 12px;
  margin: 2rem 0;
  padding: 1.5rem;
}
.content-authority {
  background: #f6fdf6;
  border-left: 4px solid #2e7d32;
}
.medical-disclaimer {
  background: #fff4db;
  border: 1px solid #ffe1a3;
}
.page-toc {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}
.page-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-toc li {
  margin-bottom: 0.5rem;
}
.page-toc a {
  color: #2e7d32;
  text-decoration: none;
}
/* Removed padding - using margin only for section spacing to avoid double spacing */
.reference-ranges-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background: #fff;
}
.reference-ranges-table th,
.reference-ranges-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  font-size: 0.95rem;
  text-align: left;
}
.reference-ranges-table th {
  background: #eef6f0;
  color: #0f4127;
}
.reference-ranges-table .optimal {
  background: #e8f5e9;
}
.reference-ranges-table .normal {
  background: #f1f8f4;
}
.reference-ranges-table .source {
  text-align: center;
  font-size: 0.9em;
}

/* Inline citation styling */
.inline-citation {
  color: #08885D;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.inline-citation:hover {
  text-decoration: underline;
  color: #0f4127;
}
.reference-ranges-table .low {
  background: #fff6e9;
}
.reference-ranges-table .high {
  background: #ffebee;
}
.health-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}
.health-topic-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #2e7d32;
}

.health-topic-card-premium {
  background: linear-gradient(135deg, #f8f4ff 0%, #fff4f8 100%);
  border-left: 4px solid #9c27b0;
  position: relative;
  overflow: hidden;
}

.health-topic-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.premium-badge {
  display: inline-block;
  background: #9c27b0;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.health-topic-card-premium h3 {
  color: #7b1fa2;
  margin-bottom: 0.75rem;
}

.health-topic-card-premium p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.premium-cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.premium-cta-btn {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.premium-cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.premium-cta-btn img {
  height: 36px;
  width: auto;
  display: block;
}
.related-biomarkers-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-biomarker-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}
.related-biomarker-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.related-biomarker-item-premium {
  /* Override flex layout from parent .related-biomarker-item */
  display: block !important;
  background: linear-gradient(135deg, #f8f4ff 0%, #fff4f8 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #e0c0ff;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(156, 39, 176, 0.1);
}

.related-biomarker-item-premium::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(40%, -40%);
}

.related-biomarker-item-premium .premium-content {
  position: relative;
  z-index: 1;
}

.related-biomarker-item-premium .premium-badge {
  display: inline-block;
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 6px rgba(156, 39, 176, 0.3);
}

.related-biomarker-item-premium h3 {
  color: #6a1b9a;
  margin: 0 0 0.75rem 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.related-biomarker-item-premium p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.related-biomarker-item-premium .premium-cta-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.related-biomarker-item-premium .premium-cta-btn {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.related-biomarker-item-premium .premium-cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.related-biomarker-item-premium .premium-cta-btn img {
  height: 44px;
  width: auto;
  display: block;
}
.coming-soon {
  color: #8b8b8b;
  font-style: italic;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}
.references-list {
  padding-left: 1.5rem;
  line-height: 1.8;
  counter-reset: reference-counter;
}

.references-list li {
  margin-bottom: 1rem;
  color: #333;
  scroll-margin-top: 120px; /* For anchor link scrolling - accounts for sticky header + section heading */
}

.references-list li em {
  color: #555;
}

.references-list li a {
  color: #08885D;
  text-decoration: none;
  font-weight: 500;
}

.references-list li a:hover {
  text-decoration: underline;
}

/* Citation superscripts */
sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.5em;
}

sup a {
  color: #08885D;
  text-decoration: none;
  font-weight: 600;
  padding: 0 1px;
}

sup a:hover {
  text-decoration: underline;
}

.content-authority sup a,
.reference-ranges h2 sup a {
  color: #0f4127;
}
.faq-item {
  margin-bottom: 1.5rem;
}
.download-section {
  text-align: center;
  background: #f5f5f5;
  margin-bottom: 3rem;
}
.btn-download {
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}
.page-feedback {
  background: #f5f5f5;
  text-align: center;
}
.page-feedback .btn-feedback {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.social-share {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.social-share .share-btn {
  padding: 0.6rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.social-share .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #2e7d32;
}
.social-share .share-btn img {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.biomarker-cta {
  text-align: center;
  background: linear-gradient(135deg, #e1f6ea, #f8fffb);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-buttons img {
  height: 50px;
}

@media (max-width: 768px) {
  /* Header mobile styles for all pages */
  .navbar {
    gap: 0.5rem;
    padding: 12px 0;
  }
  
  /* Make logo smaller on mobile while maintaining aspect ratio */
  .logo img {
    height: 44px;
    width: auto; /* Maintain aspect ratio */
  }
  
  .header-cta-buttons {
    gap: 0.5rem;
  }
  
  .header-cta-btn img {
    height: 32px; /* Smaller buttons on mobile */
  }
  
  /* Biomarker header specific mobile styles */
  .biomarker-header .nav-breadcrumb {
    display: none; /* Hide breadcrumb on mobile to save space */
  }
  
  .biomarker-page {
    padding-top: 60px; /* Less padding on mobile */
  }
  
  .references-list li {
    scroll-margin-top: 100px; /* Adjusted for mobile header + section heading */
  }
  
  .biomarker-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .health-topics-grid {
    grid-template-columns: 1fr;
  }
  
  .related-biomarker-item-premium {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .related-biomarker-item-premium h3 {
    font-size: 1.1rem;
  }
  
  .related-biomarker-item-premium .premium-cta-btn img {
    height: 40px;
  }
  
  .premium-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .premium-cta-btn img {
    height: 40px;
  }
  .related-biomarker-item {
    flex-direction: column;
  }
  .social-share {
    flex-direction: column;
    align-items: flex-start;
  }
  .reference-ranges-table thead {
    display: none;
  }
  .reference-ranges-table tr {
    display: block;
    margin-bottom: 1rem;
  }
  .reference-ranges-table td {
    display: flex;
    justify-content: space-between;
    border: none;
    border-bottom: 1px solid #eee;
  }
  .reference-ranges-table td:last-child {
    border-bottom: none;
  }
  .reference-ranges-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #444;
  }
  .cta-buttons {
    flex-direction: column;
  }
}

/* Content Standards & Legal Pages */
.legal-page {
  background: #ffffff;
  padding: 2rem 0 4rem;
  padding-top: calc(80px + 2rem); /* Account for fixed header + spacing */
}

.legal-page .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-hero {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 3rem;
  border-bottom: 2px solid #e8e8e8;
}

.page-hero h1 {
  font-size: 2.8rem;
  color: #0f4127;
  margin: 0 0 1rem 0;
  font-weight: 700;
}

.page-hero .hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin: 0 0 1rem 0;
}

.page-hero .last-updated {
  font-size: 0.95rem;
  color: #888;
  font-style: italic;
}

.content-section {
  margin: 3rem 0;
  padding: 0;
}

.content-section h2 {
  font-size: 2rem;
  color: #0f4127;
  margin: 2.5rem 0 1rem 0;
  font-weight: 600;
}

.content-section h3 {
  font-size: 1.5rem;
  color: #2e7d32;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.content-section p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.2rem;
}

.content-section ul {
  margin: 1rem 0 1.5rem 2rem;
  line-height: 1.8;
}

.content-section li {
  margin-bottom: 0.8rem;
  color: #333;
}

.content-section strong {
  color: #0f4127;
  font-weight: 600;
}

.disclaimer-box,
.info-box,
.legal-box {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.disclaimer-box {
  background: #fff4db;
  border-left: 4px solid #ff9800;
}

.info-box {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
}

.legal-box {
  background: #f5f5f5;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: calc(60px + 1.5rem); /* Smaller header on mobile + spacing */
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .page-hero .hero-subtitle {
    font-size: 1rem;
  }
  
  .content-section h2 {
    font-size: 1.6rem;
  }
  
  .content-section h3 {
    font-size: 1.3rem;
  }
}
