/* ============================================
   EXAMFORGE LANDING PAGE – MAIN STYLES
   ============================================ */

::selection {
    background-color: var(--accent-color);
    color: var(--text-primary);
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Material Icons Round';
    src: url('../fonts/MaterialIcons/MaterialIconsRound-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.material-icons-round {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

/* ---------- CSS VARIABLES & THEME ---------- */
:root {
    --bg-primary: #030303;
    --bg-primary-trans: #030303cb;
    --bg-primary-transparent: #03030395;
    --bg-secondary: #0f0f0f;
    --bg-surface: #1a1a1a;
    --bg-elevated: #212121;
    --bg-hover: #272727;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-tertiary: #717171;
    --border-color: #333333;
    --divider-color: #272727;
    --accent-color: #f44336;
    --accent-hover: #e53935;
    --accent-light: #ffebee;
    --focus-ring: rgba(244, 67, 54, 0.4);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    color-scheme: dark;
}

/* Light theme override */
@media (prefers-color-scheme: light) {
    :root {
        --bg-primary: #ffffff;
        --bg-primary-trans: #ffffffbb;
        --bg-primary-transparent: #ffffff95;
        --bg-secondary: #f9f9f9;
        --bg-surface: #ffffff;
        --bg-elevated: #f1f1f1;
        --bg-hover: #e5e5e5;
        --text-primary: #030303;
        --text-secondary: #606060;
        --text-tertiary: #909090;
        --border-color: #e0e0e0;
        --divider-color: #eeeeee;
        --accent-color: #d32f2f;
        --accent-hover: #b71c1c;
        --accent-light: #ffebee;
        --focus-ring: rgba(211, 47, 47, 0.3);
        --shadow-color: rgba(0, 0, 0, 0.15);
        color-scheme: light;
    }
}

@font-face {
    font-family: poppins;
    src: url(/Poppins/Poppins-Regular.ttf) format("truetype");
}

/* Manual overrides */
html[data-theme="dark"] {
    --bg-primary: #030303;
    --bg-primary-trans: #030303cb;
    --bg-primary-transparent: #03030395;
    --bg-secondary: #0f0f0f;
    --bg-surface: #1a1a1a;
    --bg-elevated: #212121;
    --bg-hover: #272727;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-tertiary: #717171;
    --border-color: #333333;
    --divider-color: #272727;
    --accent-color: #f44336;
    --accent-hover: #e53935;
    --accent-light: #ffebee;
    --focus-ring: rgba(244, 67, 54, 0.4);
    --shadow-color: rgba(0, 0, 0, 0.5);
    color-scheme: dark;
}

html[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-primary-trans: #ffffffcb;
    --bg-primary-transparent: #ffffff95;
    --bg-secondary: #f9f9f9;
    --bg-surface: #ffffff;
    --bg-elevated: #f1f1f1;
    --bg-hover: #e5e5e5;
    --text-primary: #030303;
    --text-secondary: #606060;
    --text-tertiary: #909090;
    --border-color: #e0e0e0;
    --divider-color: #eeeeee;
    --accent-color: #d32f2f;
    --accent-hover: #b71c1c;
    --accent-light: #ffebee;
    --focus-ring: rgba(211, 47, 47, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.15);
    color-scheme: light;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    font-family: poppins;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(3.5rem, 7vw, 5rem);
}

h2 {
    font-size: clamp(1rem, 2vw, 2rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.2rem;
}

.section-title {
    text-align: left;
    width: fit-content;
    margin-bottom: 1.5rem;
    padding-left: .5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.3rem;
    margin: 0 auto 2.5rem;
}

.section-text {
    color: var(--text-primary);
    margin: 0 auto 2rem;
    font-size: calc(2.5vw + 1.1rem);
    letter-spacing: 0.05rem;
    text-align: center;
    font-weight: 600;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--bg-primary);
}

.btn-download {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
}

.btn-download:hover {
    background-color: var(--bg-hover);
}

/* ---------- HERO ---------- */
.hero {
    display: flex;
    /* gap: 2rem; */
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    overflow: hidden;
    text-align: left;
    padding: 5rem 2rem;
    padding-top: 0rem;
    padding-bottom: 3rem;
    clip-path: url(#drip-clip);
    background: var(--bg-primary);
}

@media (max-width: 660px) {
    .hero {
        clip-path: none;
        padding-bottom: 3rem!important;
    }

    .intro {
        margin-top: -2.5rem!important;
    }
}

.hero-content {
    z-index: 2;
    justify-content: flex-start;
    flex: 1;
}

.hero-images {
    /* overflow: hidden; */
    width: min(480px, 70vw);
    aspect-ratio: 1 / 1;
    margin: 0 auto 2rem;
    position: relative;
}

.hero-images::before  {
    content: ' ';
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-color: rgb(139, 248, 139);
    position: absolute;
    left: -10%;
    top: 5%;
    opacity: .5;
    clip-path: url(#hero-blob-clip);
}

.hero-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    clip-path: url(#hero-blob-clip);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 770px) {
    .hero-images {
        display: none;
    }

    .hero-content {
        justify-content: center;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.hero-flag {
    width: 120px;
    margin-bottom: 1.5rem;
}


.hero-title {
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-title .highlight {
    font-size: 5.5rem;
}

.highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.7rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}



.hero-ambient {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

small.hint {
    display: block;
    text-align: center;
    font-family: poppins;
    margin: 1rem;
    letter-spacing: 1.1px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ---------- SECTIONS GENERIC ---------- */
section {
    padding: 4rem 0;
}

.intro {
    background: url(/images/Nigeria.jpg);
    background-position: center;
    backdrop-filter: blur(6px);
    background-size: cover;
    padding: 0 !important;
    display: block;
    min-height: 0 !important;
    background-attachment: fixed;
    overflow: hidden;
    transition: .3s ease-in-out;
    margin-top: -6rem;
}

@media (max-width: 700px) {
    .intro {
        background-size: contain;
    }
}

.intro .container {
    width: 100%;
    max-width: none;
    height: 2%!important;
    position: relative;
    top: -3%;
    background: linear-gradient(to bottom, var(--bg-primary-trans), var(--bg-primary-trans));
    padding: 4rem 0;
    padding-top: 10rem;
    backdrop-filter: blur(4px);
    padding-top: calc(4rem + 3%);
    display: flex;
    align-items: center;
}

@media (max-width: 700px) {
    .intro {
        background-size: contain;
    }

    .intro .container {
        padding-bottom: 0;
    }
}

.intro,
.features,
.how-it-works,
.testimonials,
.faq,
.contact {
    height: fit-content;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.download {
    padding-bottom: 2rem;
}

.metrics {
    padding-top: 0rem;
    margin-top: -1rem;
}

/* ---------- DOWNLOAD / QUICK-LINK CARDS ---------- */
.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .download-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-card {
        display: flex;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .metric-card img {
        width: 5rem !important;
    }

    .metric-label {
        margin-top: 0 !important;
        text-align: left !important;
    }
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 28px;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.download-card:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.download-card .card-text {
    flex: 1;
    min-width: 0;
}

.download-card .material-icons-round {
    font-size: 48px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}


@media (max-width: 640px) {
    .download-card {
        padding: 22px 24px;
        font-size: 1.6rem;
    }

    .download-card .material-icons-round {
        font-size: 40px;
    }
}

.built-for {
    height: fit-content;
    background: url(/images/students.jpg);
    background-size: 200%;
    background-attachment: fixed;
    background-attachment: fixed;
    background-position: right;
    padding: 0;
}

.built-for div {
    padding: 7rem 4rem;
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .2rem;
    background-color: var(--bg-primary-transparent);
    text-align: center;
    backdrop-filter: blur(4px);
}

@media (max-width: 1007px) {
    .built-for div {
        padding: 7rem 4rem;
        font-size: 3.5rem;
        line-height: 1;
        font-weight: 500;
        letter-spacing: .2rem;
    }
}

@media (max-width: 667px) {
    .built-for div {
        padding: 5rem .2rem;
        font-size: 3rem;
        line-height: 1;
        font-weight: 500;
        letter-spacing: .2rem;
    }
}

.built-for div span.green {
    display: inline;
    color: green;
}

/* ---------- SOLID COLOR VARIANTS ---------- */
.download-card.card-red {
    background-color: #f44336;
}

.download-card.card-blue {
    background-color: #3255c0;
}

.download-card.card-green {
    background-color: #166a56;
}

.download-card.card-purple {
    background-color: #c08c32;
}

/* ---------- METRICS CARDS ---------- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    perspective: 1000px;
}

.metric-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--divider-color);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.25s ease;
    will-change: transform;
    cursor: pointer;
}

.metric-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
            rgba(var(--spotlight-color, 244, 67, 54), 0.08),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:hover {
    box-shadow: 0 20px 40px var(--shadow-color);
}

.metric-card img,
.metric-label {
    position: relative;
    z-index: 2;
    transform: translateZ(20px);
}

.metric-card img {
    width: 30%;
    aspect-ratio: 1.4 / 1;
    object-fit: contain;
}

.metric-label {
    display: block;
    color: var(--text-secondary);
    font-size: 2rem;
    line-height: 1.15;
    margin-top: 1rem;
}

@media (max-width: 965px) {
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .metric-label {
        font-size: 1.7rem;
    }
}

@media (max-width: 590px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .metric-label {
        font-size: 1.6rem;
    }

    .metric-card {
        padding: 1.5rem 0.4rem;
        border-radius: 0.4rem;
    }
}

/* ---------- Disable tilt + spotlight on touch and reduced-motion ---------- */
@media (hover: none) {
    .metric-card {
        transform: none !important;
    }

    .metric-card::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .metric-card {
        transform: none !important;
    }
}

/* ---------- FEATURES ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--divider-color);
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* ---------- HOW IT WORKS ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-surface);
    border-radius: 16px;
    border: 1px solid var(--divider-color);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ---------- TESTIMONIALS – HORIZONTAL SNAP SCROLL ---------- */

.testimonials {
    min-height: 100vh;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
}

.testimonials .container {
    width: 100%;
    max-width: none;
    /* allow full width for the scroller */
    padding: 0;
}

.testimonials .section-title {
    padding: 0 24px;
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 24px 2rem;
}

/* ============================================
   TESTIMONIAL ARROWS + HIDDEN SCROLLBAR
   Replaces the horizontal scrollbar with
   side arrows on non-touch devices.
   ============================================ */

.testimonial-wrapper {
    position: relative;
}

/* Hide the scrollbar in every browser */
.testimonial-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}

/* Arrow buttons */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--shadow-color);
    transition: background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.testimonial-arrow .material-icons-round {
    font-size: 26px;
}

.testimonial-arrow:hover:not(:disabled) {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.testimonial-arrow:active:not(:disabled) {
    transform: translateY(-50%) scale(0.94);
}

.testimonial-arrow-left {
    left: 20px;
}

.testimonial-arrow-right {
    right: 20px;
}

.testimonial-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hide arrows on touch devices */
@media (hover: none) {
    .testimonial-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .testimonial-arrow {
        width: 40px;
        height: 40px;
    }

    .testimonial-arrow .material-icons-round {
        font-size: 22px;
    }

    .testimonial-arrow-left {
        left: 10px;
    }

    .testimonial-arrow-right {
        right: 10px;
    }
}

.testimonial-card {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 700px;
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background: var(--bg-surface);
    border: 1px solid var(--divider-color);
    border-radius: 24px;
    box-shadow: 0 10px 30px var(--shadow-color);
    scroll-snap-align: center;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
            rgba(244, 67, 54, 0.06),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card>* {
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.testimonial-card p {
    font-size: clamp(1rem, 2.4vw, 1.9rem);
    line-height: 1.3;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Optional: add a hint that it’s scrollable */
/* .testimonial-grid::after {
    content: 'swipe →';
    position: absolute;
    right: 24px;
    bottom: 0;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    pointer-events: none;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        width: 90vw;
        height: fit-content;
        min-height: 60vh;
        padding: 2rem;
    }

    .testimonial-card p {
        font-size: clamp(1.4rem, 3.6vw, 2.9rem);
    }
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--divider-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

.faq-item summary::after {
    content: 'expand_more';
    font-family: 'Material Icons Round';
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* ---------- CONTACT ---------- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.25rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-status {
    text-align: center;
    margin-top: 1rem;
    min-height: 24px;
    color: var(--accent-color);
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--divider-color);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
        padding-bottom: 10rem;
        min-height: 100vh;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .hero-flag {
        width: 80px;
    }

    .btn {
        padding: 10px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- WHATSAPP FOLLOW SECTION ---------- */
.whatsapp-follow-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--divider-color);
}

.whatsapp-follow-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.whatsapp-icon-wrapper {
    flex-shrink: 0;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
}

.whatsapp-follow-text h2 {
    margin-bottom: 0.3rem;
}

.whatsapp-follow-text p {
    color: var(--text-secondary);
    margin: 0;
}

.whatsapp-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background-color: #25D366;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-follow-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.whatsapp-follow-btn .material-icons-round {
    font-size: 20px;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
    .whatsapp-follow-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .whatsapp-icon {
        width: 48px;
        height: 48px;
    }

    .metric-number {
        font-size: 2rem;
    }

    .intro,
    .features,
    .how-it-works,
    .testimonials,
    .faq,
    .contact,
    .hero {
        min-height: none;
    }
}

@media (max-width: 600px) {
    .hero-title .highlight {
        font-size: 3.9rem;
    }

    .hero {
        min-height: 0;
    }

    .intro {
        min-height: 0;
    }

    h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.45rem;
    }

    .btn {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .contact-form,
    .faq-list,
    .metrics-grid,
    .features-grid,
    .steps-grid {
        max-width: 100%;
    }

    .container {
        padding: 0 .7rem;
    }
}

/* ============================================
   TOP BAR / NAVBAR
   Theme-aware, sticky, blur backdrop.
   Works in both dark and light mode via
   the CSS variables already defined above.
   ============================================ */

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
    max-width: none;
}

/* ---------- Brand ---------- */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
}

.brand:hover {
    opacity: 0.85;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.brand-text span {
    color: var(--accent-color);
}

/* ---------- Nav links ---------- */
.topnav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topnav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.topnav a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ---------- CTA button in navbar ---------- */
.btn-cta-top {
    background: transparent;
    border:1.1px solid var(--accent-color);
    color: var(--accent-color) !important;
    font-weight: 600;
    padding: 8px 18px !important;
    border-radius: 8px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-cta-top:hover {
    transform: translateY(-1px);
}

/* ---------- Light theme override ---------- */
@media (prefers-color-scheme: light) {
    .topbar {
        background: rgba(255, 255, 255, 0.85);
    }
}

html[data-theme="light"] .topbar {
    background: rgba(255, 255, 255, 0.85);
}

html[data-theme="dark"] .topbar {
    background: rgba(3, 3, 3, 0.85);
}

/* ---------- Mobile: hide nav links except CTA ---------- */
@media (max-width: 768px) {
    .topbar-inner {
        height: 60px;
        gap: 12px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .brand-logo {
        width: 28px;
        height: 28px;
    }

    .topnav a:not(.btn-cta-top) {
        display: none;
    }

    .btn-cta-top {
        font-size: 0.85rem;
        padding: 7px 14px !important;
    }
}

/* ---------- METRICS / FEATURE STRIP ---------- */
.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.metric-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* ============================================
   HERO SCRIBBLES (background subject doodles)
   Theme-aware via currentColor — light strokes
   in dark theme, dark strokes in light theme.
   ============================================ */

.hero-scribbles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.07);
    transition: color var(--transition-base);
    user-select: none;
}

/* Light theme — dark strokes */
@media (prefers-color-scheme: light) {
    .hero-scribbles {
        color: rgba(0, 0, 0, 0.07);
    }
}

html[data-theme="dark"] .hero-scribbles {
    color: rgba(255, 255, 255, 0.095);
}

html[data-theme="light"] .hero-scribbles {
    color: rgba(0, 0, 0, 0.13);
}

/* Push the hero content above the scribbles */
.hero-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   SOCIALS SECTION
   Sits between WhatsApp follow and footer.
   No margin. Flush with adjacent sections.
   ============================================ */

.socials-section {
    padding: 3rem 0;
    margin: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--divider-color);
    text-align: center;
}

.socials-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.75rem;
    display: none;
    letter-spacing: 0.02em;
}

.socials-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.social-link img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: .9rem;
    display: block;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px var(--shadow-color);
}

@media (max-width: 600px) {
    .socials-section {
        padding: 2.5rem 0;
    }

    .socials-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .socials-links {
        gap: 1rem;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .social-link img {
        width: 40px;
        height: 40px;
    }
}