/* =========================================
   HUMANUP MASTER STYLESHEET
   Version: 1.6 (Text Polish & Mobile)
   ========================================= */

/* --- 1. GLOBAL DESIGN SYSTEM --- */
:root { 
    /* Typography */
    --font-serif: 'Source Serif 4', serif; 
    --font-sans: 'DM Sans', sans-serif;    
    
    /* Palette */
    --bg-dark: #020408;
    --bg-light: #FDFBF7; /* Warm Alabaster */
    --bg-white: #FFFFFF;
    --bg-navy: #0f172a;
    
    /* Text Colors */
    --text-primary: #1C1C1E; 
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Accents */
    --accent-apricot: #FFCF99; 
    --accent-apricot-hover: #ffb666;
    --accent-amber: #d97706;
    --accent-green-bg: rgba(20, 184, 166, 0.1);
    --accent-green-text: #0f766e;
    
    /* Spacing & Geometry */
    --radius-pill: 999px;
    --radius-card: 24px;
    --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    margin: 0; 
    font-family: var(--font-sans); 
    -webkit-font-smoothing: antialiased; 
    background-color: var(--bg-light); 
    color: var(--text-primary); 
    line-height: 1.5;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* --- 2. COMPONENTS --- */

.btn-primary {
    background-color: var(--accent-apricot);
    color: #020408; 
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(255, 207, 153, 0.15); 
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--accent-apricot-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 207, 153, 0.3);
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-sans); font-size: 12px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: rgba(99, 117, 207, 0.08); 
    border: 1px solid rgba(99, 117, 207, 0.15);
    color: #334155; 
    margin-bottom: 20px; padding: 6px 14px; border-radius: 99px;
}
.eyebrow-dot { width: 6px; height: 6px; background: var(--accent-amber); border-radius: 50%; }

.section-headline {
    font-family: var(--font-serif); font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15; color: #111; margin-bottom: 24px; 
    font-weight: 400; letter-spacing: -0.02em;
    text-wrap: balance; /* Helps prevent widows/danglers automatically */
}
.section-subcopy {
    font-size: 1.125rem; line-height: 1.6; color: var(--text-secondary);
    max-width: 640px; margin: 0 auto;
    text-wrap: pretty; /* Improved typography for blocks of text */
}

/* --- 3. NAVBAR --- */
.nav-wrapper { 
    width: 100%; position: fixed; top: 24px; left: 0; 
    z-index: 1000; display: flex; justify-content: center; pointer-events: none; 
}
.nav-container { 
    width: auto; min-width: 600px; max-width: 1200px; 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border-radius: 99px; padding: 8px 10px 8px 28px; 
    display: flex; align-items: center; justify-content: space-between; 
    pointer-events: auto; 
    border: 1px solid rgba(0, 0, 0, 0.05); box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-app-icon { height: 32px; width: auto; border-radius: 8px; }
.nav-brand-logo { height: 24px; width: auto; }
.nav-links a { 
    font-size: 14px; margin-right: 20px; text-decoration: none; 
    color: #555; font-weight: 500; transition: color 0.2s; 
}
.nav-links a:hover { color: #000; }
.nav-right .btn-primary { padding: 10px 24px; font-size: 14px; }

.mobile-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; pointer-events: auto; }
.mobile-hamburger span { width: 20px; height: 2px; background: #000; border-radius: 4px; }

.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #fff; z-index: 999;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-menu-overlay a { font-family: var(--font-serif); font-size: 2rem; color: #111; text-decoration: none; }

/* --- 4. HERO SECTION --- */
section.hero {
    width: 100%; min-height: 800px; padding: 160px 5% 80px; 
    display: flex; justify-content: center; align-items: center;
    position: relative; overflow: hidden; background: var(--bg-light); 
}
.hero-ambient-glow {
    position: absolute; top: -30%; right: -10%; width: 90vw; height: 90vw;
    background: radial-gradient(circle, rgba(255, 207, 153, 0.12) 0%, rgba(99, 117, 207, 0.08) 40%, transparent 70%);
    filter: blur(80px); pointer-events: none; z-index: 1;
}
.hero-grid-container {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
    width: 100%; max-width: var(--max-width); align-items: center; position: relative; z-index: 10;
}
.headline {
    font-family: var(--font-serif); font-size: clamp(2.8rem, 4vw, 3.8rem); 
    line-height: 1.1; margin-bottom: 24px; color: #111; font-weight: 500; letter-spacing: -0.02em;
    text-wrap: balance;
}
.text-messy { display: block; font-style: italic; color: var(--accent-amber); font-size: clamp(2.5rem, 3.6vw, 3.5rem);}
.subcopy-lead {
    font-family: var(--font-serif); font-size: 1.67rem; 
    line-height: 1.55; color: #1e293b; margin-bottom: 16px; font-weight: 500;
    text-wrap: balance;
}
.subcopy-body {
    font-size: 1.1rem; line-height: 1.6; color: var(--text-secondary);
    margin-bottom: 36px; max-width: 560px; text-wrap: pretty;
}
.hero-visual-col {
    position: relative; height: 550px;
    display: flex; align-items: center; justify-content: center; perspective: 1000px;
}
.phone-backlight {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120%; height: 120%; background: radial-gradient(circle, rgba(0,0,0,0.06) 0%, transparent 60%);
    filter: blur(40px); z-index: 0;
}

.hero-stage {
    position: relative; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
}

.hero-screen {
    background: #020408; border-radius: 40px; border: 4px solid #1e293b; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); overflow: hidden; position: absolute;
    width: 270px; aspect-ratio: 9/19.5; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-screen img { width: 100%; height: 100%; object-fit: cover; }

.screen-center { z-index: 10; transform: scale(1); box-shadow: 0 40px 80px rgba(0,0,0,0.25); }
.screen-left { 
    z-index: 5; 
    transform: translateX(-55%) scale(0.9) translateY(20px) rotate(-4deg); 
}
.screen-right { 
    z-index: 5; 
    transform: translateX(55%) scale(0.9) translateY(20px) rotate(4deg); 
}


/* --- 5. EXPERTS SECTION --- */
.experts-section {
    width: 100%; padding: 100px 0 120px;
    background-color: var(--bg-white); overflow: hidden; 
}
.experts-header { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.proof-container {
    display: inline-flex; align-items: center; justify-content: center;
    background: #FDFBF7; border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px; padding: 20px 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-top: 30px;
}
.proof-item { text-align: center; padding: 0 32px; }
.proof-val {
    font-family: var(--font-serif); font-size: 2rem; font-weight: 500;
    color: var(--accent-amber); line-height: 1; margin-bottom: 4px;
}
.proof-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; }
.proof-divider { width: 1px; height: 40px; background: rgba(0,0,0,0.08); }

.carousel-wrapper {
    width: 100%; overflow-x: auto; padding: 20px 5% 60px;
    scroll-snap-type: x mandatory; display: flex;
    -ms-overflow-style: none; scrollbar-width: none;  
}
.carousel-wrapper::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 24px; }

.expert-card {
    position: relative; width: 300px; flex-shrink: 0;
    background: #fff; border-radius: var(--radius-card);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden; scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column;
    cursor: default; /* Fixes the text-typing cursor on hover */
}
.expert-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -12px rgba(0,0,0,0.12); }
.expert-image-wrapper { width: 100%; height: 280px; background: #f0f0f0; overflow: hidden; }
.expert-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; }
.expert-card:hover .expert-img { transform: scale(1.05); }
.expert-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.expert-name { font-family: var(--font-serif); font-size: 1.35rem; color: #111; font-weight: 600; line-height: 1.2; }
.expert-creds { font-size: 0.6em; vertical-align: super; color: var(--accent-amber); font-weight: 700; margin-left: 2px; }
.expert-credential-line { font-size: 0.85rem; color: #64748b; margin-bottom: 20px; min-height: 2.8em; display: flex; align-items: center; }
.expert-topic-title { font-size: 0.75rem; font-weight: 800; color: #0f172a; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; margin-top: auto; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; }



/* --- EXPERT PILLS (Clickable) --- */
.expert-tag {
    font-size: 0.7rem; font-weight: 600; color: #475569;
    background: #F1F5F9; padding: 6px 10px; border-radius: 6px; 
    white-space: nowrap; 
    
    /* Converts it to a proper link */
    text-decoration: none; 
    display: inline-block; 
    cursor: pointer; 
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expert-tag:hover {
    background: var(--accent-amber);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
}

/* --- TOPIC SECTION PILLS (Clickable) --- */
.topic-tag {
    font-size: 0.8rem; font-weight: 600; color: #475569; 
    background: #F1F5F9; border: 1px solid transparent; 
    padding: 5px 8px; border-radius: 8px; 
    white-space: nowrap; 
    
    /* Converts it to a proper link */
    text-decoration: none; 
    display: inline-block; 
    cursor: pointer; 
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.topic-tag:hover {
    background: #ffffff;
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
    transform: translateY(-2px);
}

.expert-bio-link {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-amber);
    text-decoration: none;
    transition: all 0.2s ease;
}
.expert-bio-link:hover {
    color: var(--accent-amber);
    transform: translateX(4px);
}

.expert-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--radius-card);
}

.expert-card-overlay:focus-visible {
    outline: 2px solid var(--accent-amber);
    outline-offset: 3px;
}

.expert-tag,
.expert-bio-link {
    position: relative;
    z-index: 2;
}


/* --- 6. FEATURES SECTION --- */
.features-section {
    width: 100%; padding: 100px 0;
    background-color: var(--bg-light); overflow: hidden;
}
.features-header { max-width: 700px; margin: 0 auto 50px; text-align: center; }
.features-layout {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center;
    max-width: 1140px; margin: 0 auto; padding: 0 5%;
}
.phone-stage-col {
    position: relative; display: flex; justify-content: center; align-items: center;
    perspective: 1000px; height: 580px;
}
.stage-aura {
    position: absolute; width: 140%; height: 140%;
    background: radial-gradient(closest-side, rgba(255, 207, 153, 0.12) 0%, rgba(0,0,0,0) 60%);
    filter: blur(70px); z-index: 0;
}
.phone-container {
    position: relative; width: 280px; aspect-ratio: 9/19.5; z-index: 20;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.phone-frame {
    width: 100%; height: 100%; background: #020408; border-radius: 42px;
    border: 6px solid #1e293b; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.25);
    overflow: hidden; position: relative;
}
.phone-screen-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.05); transition: opacity 0.4s ease, transform 0.4s ease;
    border-radius: 35px;
}
.phone-screen-img.active { opacity: 1; transform: scale(1); z-index: 2; }

#phone-secondary, #phone-tertiary { 
    position: absolute; top: 0; left: 0; z-index: 10; opacity: 0; pointer-events: none; transition: all 0.5s ease; 
}
#phone-secondary.fanned, #phone-tertiary.fanned { 
    opacity: 1; transform: translateX(-50px) rotate(-8deg) scale(0.92); 
}

.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
    position: relative; padding: 24px 30px; background: #fff;
    border: 1px solid rgba(0,0,0,0.05); border-radius: 22px; cursor: pointer;
    transition: all 0.25s ease; opacity: 0.7;
}
.feature-item:hover { opacity: 0.95; border-color: rgba(0,0,0,0.1); }
.feature-item.active {
    opacity: 1; border-color: rgba(255, 207, 153, 0.6);
    box-shadow: 0 16px 40px -12px rgba(0,0,0,0.08); transform: scale(1.02); z-index: 10;
}
.feature-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: var(--accent-apricot); border-radius: 5px 0 0 5px; opacity: 0; transition: opacity 0.2s;
}
.feature-item.active::before { opacity: 1; }
.f-title {
    font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600;
    color: #0f172a; margin-bottom: 8px; display: flex; align-items: center; gap: 12px;
}
.f-icon { width: 24px; height: 24px; color: var(--accent-amber); }
.f-body {
    font-size: 1rem; line-height: 1.6; color: #64748b;
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding-top 0.4s ease;
}
.feature-item.active .f-body { max-height: 140px; padding-top: 8px; }

/* --- 7. TOPICS SECTION --- */
.topics-section { width: 100%; padding: 100px 0; background-color: var(--bg-white); }
.topics-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.topics-header { max-width: 760px; margin: 0 auto 50px; text-align: center; } 
.topics-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch;
}
.topic-card {
    background: var(--bg-light); border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-card); 
    padding: 24px; /* Reduced from 28px to give more horizontal width for tags */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; gap: 20px; height: 100%;
}

/*
.topic-card:hover {
    transform: translateY(-4px); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.08);
    background: #ffffff; border-color: rgba(255, 207, 153, 0.4);
}
*/

.topic-title { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 500; color: #1e293b; line-height: 1.2; text-wrap: balance; }
.topic-icon { width: 28px; height: 28px; color: var(--accent-amber); flex-shrink: 0; }
.topic-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 5px; /* Tightened from 6px for better Tetris */
    flex-grow: 1; /* CRITICAL FIX: Forces the container to fill the empty space from the top down */
    margin-top: 0; /* Removes the reverse-gravity that was pushing it to the bottom */
    align-content: flex-start; /* Locks the rows to the ceiling of this container */
}

.topic-tag {
    font-size: 0.8rem; /* Reduced from 0.8rem to save horizontal space */
    font-weight: 600; 
    color: #475569; 
    background: #ffffff; 
    border: 1px solid rgba(0,0,0,0.08); 
    padding: 5px 8px; /* Tightened horizontal padding to save space */
    border-radius: 8px; 
    transition: all 0.2s; 
    white-space: nowrap; 
}

/*
.topic-tag:hover {
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.1);
}
.topic-card:hover .topic-tag { background: #F1F5F9; border-color: transparent; }
*/


/* --- 8. PRIVACY SECTION --- */
.privacy-section { width: 100%; padding: 100px 0; background-color: var(--bg-white); }

.privacy-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.privacy-header {
    max-width: 760px; margin: 0 auto 70px; text-align: center;
}
.privacy-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-sans); font-size: 12px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: rgba(99, 117, 207, 0.08); 
    border: 1px solid rgba(99, 117, 207, 0.15);
    color: #334155; 
    margin-bottom: 20px; padding: 6px 14px; border-radius: 99px;
}
.privacy-eyebrow-dot { width: 6px; height: 6px; background: var(--accent-amber); border-radius: 50%; }
.privacy-headline {
    font-family: var(--font-serif); font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1; color: #111; margin-bottom: 24px; 
    font-weight: 400; letter-spacing: -0.02em;
    text-wrap: balance;
}
.privacy-subcopy {
    font-family: var(--font-sans); font-size: 1.125rem;
    line-height: 1.6; color: #64748b; max-width: 640px; margin: 0 auto;
}

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
.trust-card {
    background: var(--bg-light); border: 1px solid rgba(0,0,0,0.04); border-radius: var(--radius-card);
    padding: 40px 32px; 
    transition: transform 0.3s ease; height: 100%; display: flex; flex-direction: column;
}
.trust-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08); }
.trust-icon-wrapper {
    width: 56px; height: 56px; background: var(--bg-white); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--accent-amber);
}
.trust-title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; color: #1e293b; margin-bottom: 12px; line-height: 1.25; text-wrap: balance; }
.trust-body { font-size: 1rem; line-height: 1.6; color: #64748b; margin-bottom: 24px; }
.trust-badge {
    margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--accent-green-text); background: var(--accent-green-bg); padding: 8px 12px; border-radius: 8px; width: fit-content;
}

/* --- 9. FAQ & FOOTER --- */
.faq-section { width: 100%; padding: 120px 0; background-color: var(--bg-light); }
.faq-container { max-width: 800px; margin: 0 auto; padding: 0 5%; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-q-text { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: #1e293b; padding-right: 20px; }
.faq-question:hover .faq-q-text { color: var(--accent-amber); }
.faq-icon { width: 24px; height: 24px; position: relative; transition: transform 0.3s; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
    content: ''; position: absolute; background-color: #1e293b;
    top: 50%; left: 50%; transform: translate(-50%, -50%); transition: background-color 0.2s;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-answer {
    font-size: 1.05rem; line-height: 1.6; color: #64748b; max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding-bottom 0.4s;
}
.faq-item.active .faq-answer { max-height: 400px; padding-bottom: 48px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-icon::before, .faq-item.active .faq-icon::after { background-color: var(--accent-amber); }

sup {
  vertical-align: 0.5em; /* Lifts the cents precisely */
  font-size: 0.6em;       /* Makes it smaller than default (usually 0.75em) */
  line-height: 0;        /* Prevents the cents from adding extra height to the row */
}

.site-footer {
    background-color: var(--bg-navy); color: #ffffff; padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; margin-bottom: 80px; }
.footer-brand { max-width: 320px; }
.footer-logo-group { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-logo-icon { width: 32px; height: 32px; border-radius: 8px; }
.footer-logo-text { width: auto; height: 22px; filter: brightness(0) invert(1); }
.footer-mission { font-size: 0.95rem; line-height: 1.6; color: #94a3b8; }
.footer-links-group { display: grid; grid-template-columns: repeat(3, auto); gap: 60px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; margin-bottom: 24px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-col a { font-size: 0.95rem; color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-amber); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-copyright { font-size: 0.85rem; color: #64748b; }
.footer-socials { display: flex; gap: 20px; }
.social-icon { width: 20px; height: 20px; color: #94a3b8; transition: color 0.2s; }
.social-icon:hover { color: #fff; }



/* --- APP LAUNCH UPDATES --- */
.hero-cta-group {
    display: inline-flex;
    flex-direction: column;
    align-items: center; /* Centers the link perfectly under the button */
    gap: 12px;
}


.android-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: color 0.2s ease;
}

.android-link:hover {
    color: var(--text-primary);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    width: 100%; padding: 60px 0 100px; 
    background-color: var(--bg-light); 
}
.testimonials-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.testimonials-header { max-width: 760px; margin: 0 auto 50px; text-align: center; }

.testimonials-wrapper {
    width: 100%; overflow-x: auto; 
    -ms-overflow-style: none; scrollbar-width: none;
}
.testimonials-wrapper::-webkit-scrollbar { display: none; }

.testimonials-track {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.testimonial-card {
    background: var(--bg-white); border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-card); padding: 32px;
    display: flex; flex-direction: column;
}

.t-stars { display: flex; gap: 4px; color: var(--accent-amber); margin-bottom: 20px; }
.t-stars svg { width: 18px; height: 18px; }

.t-quote {
    font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.6;
    color: #1e293b; margin-bottom: 24px; flex-grow: 1; font-style: italic;
}

.t-author { display: flex; flex-direction: column; gap: 4px; }
.t-author strong { font-size: 0.95rem; color: #0f172a; font-weight: 700; }
.t-author span { font-size: 0.85rem; color: #64748b; }



/* Hide mobile features carousel on desktop */
.features-mobile-carousel { display: none; }



/* =========================================
   MASTER MOBILE OVERHAUL
   ========================================= */
@media (max-width: 900px) { 
    
    /* Navbar & Hero Adjustments */
    .nav-wrapper { top: 16px; } 
    .nav-container { width: 92%; min-width: auto; padding: 12px 20px; } 
    .mobile-hamburger { display: flex; } 
    .nav-links, .nav-right .btn-primary { display: none; } 
    
    section.hero { padding-top: 120px; min-height: auto; }
    .hero-grid-container { grid-template-columns: 1fr; text-align: center; }
    .hero-text-col { margin: 0 auto; align-items: center; }
    .subcopy-body { margin-left: auto; margin-right: auto; }
    .hero-visual-col { height: 400px; margin-top: 20px; }
    .hero-screen { width: 200px; }
    .screen-left { transform: translateX(-42%) scale(0.85) rotate(-4deg); }
    .screen-right { transform: translateX(42%) scale(0.85) rotate(4deg); }
    .hero-cta-group { display: flex; align-items: center; }

    /* Fix 1: The 2x2 Stats Grid */
    .proof-container { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 30px 10px; 
        padding: 30px 20px; 
        border-radius: 16px;
    }
    .proof-divider { display: none; }
    .proof-item { padding: 0; }
    .proof-val { font-size: 1.75rem; }

    /* Expert Cards */
    .expert-card { width: 280px; }



    /* Fix 2: The Mobile App-Walkthrough Carousel */
    .features-layout { display: none; } /* Hide desktop layout */
    .features-mobile-carousel { display: block; width: 100%; overflow: hidden; margin-top: 20px;}
    
    .fm-track {
        display: flex; gap: 16px; overflow-x: auto; 
        scroll-snap-type: x mandatory; padding: 10px 5% 30px;
        -ms-overflow-style: none; scrollbar-width: none;
    }
    .fm-track::-webkit-scrollbar { display: none; }
    
    .fm-card {
        width: 85vw; max-width: 340px; flex-shrink: 0; scroll-snap-align: center;
        background: #fff; border-radius: 24px; border: 1px solid rgba(0,0,0,0.06);
        padding: 30px 24px; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.05);
        display: flex; flex-direction: column; align-items: center;
    }
    
    .fm-image-frame {
        width: 200px; aspect-ratio: 9/19.5; background: #020408;
        border-radius: 32px; border: 6px solid #1e293b; overflow: hidden;
        margin-bottom: 30px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2);
    }
    .fm-image-frame img { width: 100%; height: 100%; object-fit: cover; }
    
    .fm-text-block { width: 100%; text-align: left; }
    .fm-text-block .f-title { margin-bottom: 12px; align-items: flex-start; }
    .fm-text-block .f-body { max-height: none; padding-top: 0; color: #64748b; font-size: 0.95rem; }
    
    .fm-swipe-hint {
        text-align: center; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: 0.05em; color: var(--accent-amber); margin-top: -10px;
    }

    /* Fix 3: Topics Horizontal Swipe Carousel */
    .topics-grid { 
        display: flex; 
        flex-wrap: nowrap;
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 16px; 
        padding-bottom: 24px;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .topics-grid::-webkit-scrollbar { display: none; } /* Chrome, Safari */
    .topic-card { 
        width: 300px; 
        flex-shrink: 0; 
        scroll-snap-align: center; 
    }

    /* Privacy Grid */
    .trust-grid { grid-template-columns: 1fr; gap: 20px;}

    /* Testimonials Horizontal Swipe */
    .testimonials-track {
        display: flex; grid-template-columns: none; 
        scroll-snap-type: x mandatory; padding-bottom: 20px; gap: 16px;
    }
    .testimonial-card {
        width: 300px; flex-shrink: 0; scroll-snap-align: center;
    }

    /* Fix 4: Structured Mobile Footer */
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-brand { 
        max-width: 100%; 
        text-align: center; 
        margin: 0 auto; 
    }
    .footer-logo-group { justify-content: center; }
    .footer-links-group { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px 20px; 
        text-align: left; /* Keeps links highly legible */
    }
    .footer-col:nth-child(3) {
        grid-column: span 2; /* Makes the Legal section span full width to balance the grid */
    }
    .footer-bottom { flex-direction: column; text-align: center; gap: 24px; }
}