/* ============================================
   InvHera Landing Page
   Mobile-first • Modern SaaS • Clean
   Breakpoints: 480 · 640 · 768 · 1024
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0B4FA3;
    --primary-dark: #083D80;
    --primary-light: #E8F0FE;
    --accent: #D89B3C;
    --accent-light: #FFF3E0;
    --green: #16A34A;
    --green-light: #DCFCE7;
    --orange: #EA580C;
    --orange-light: #FFF7ED;
    --text: #1E293B;
    --text-light: #64748B;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-hero: linear-gradient(135deg, #0B4FA3 0%, #1565C0 50%, #0D47A1 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --section-pad: 60px;
}

@media (min-width: 640px) {
    :root { --section-pad: 72px; }
}

@media (min-width: 1024px) {
    :root { --section-pad: 90px; }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 480px) {
    .container { padding: 0 24px; }
}

@media (min-width: 768px) {
    .container { padding: 0 32px; }
}

@media (min-width: 1024px) {
    .container { padding: 0 40px; }
}

/* ---------- Section Titles ---------- */
.section__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section__title--left {
    text-align: left;
}

.section__subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section__subtitle { margin-bottom: 3rem; }
}

/* ---------- Animations ---------- */
/* Only animate when JS has loaded and added .js-ready to body */
.js-ready [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready [data-animate="fade-right"] {
    transform: translateX(-40px);
}

.js-ready [data-animate="fade-left"] {
    transform: translateX(40px);
}

.js-ready [data-animate].visible {
    opacity: 1;
    transform: translate(0);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition), padding var(--transition);
}

.header--scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    z-index: 10;
}

.header__logo img {
    border-radius: 10px;
    width: 36px;
    height: 36px;
}

@media (min-width: 480px) {
    .header__logo {
        gap: 10px;
        font-size: 1.25rem;
    }
    .header__logo img {
        width: 40px;
        height: 40px;
    }
}

.header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 5;
    padding: 8px 0 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.header__nav.active {
    display: flex;
}

.header__link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    transition: color var(--transition), background var(--transition);
    position: relative;
    padding: 14px 24px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header__link:last-of-type:not(.header__link--cta) {
    border-bottom: none;
}

.header__link:hover,
.header__link:active {
    color: var(--primary);
    background: var(--primary-light);
}

.header__link--cta {
    background: var(--primary);
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 8px 16px 4px;
    border-bottom: none;
    width: auto;
    text-align: center;
}

.header__link--cta:hover {
    background: var(--primary-dark);
}

.header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    z-index: 10;
    width: 44px;
    height: 44px;
}

/* Nav: show inline from 768px */
@media (min-width: 768px) {
    .header__nav {
        display: flex;
        position: static;
        background: none;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding: 0;
        box-shadow: none;
        border-top: none;
    }
    .header__link {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text-light);
        width: auto;
        padding: 6px 0;
        border-bottom: none;
        text-align: left;
    }
    .header__link:hover {
        color: var(--primary);
        background: none;
    }
    .header__link--cta {
        color: #fff !important;
        padding: 8px 18px;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0;
    }
    .header__menu {
        display: none;
    }
}

@media (min-width: 1024px) {
    .header__nav { gap: 2rem; }
    .header__link { font-size: 0.95rem; }
}


/* ========== HERO ========== */
.hero {
    background: var(--bg-hero);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero__content {
    text-align: center;
}

.hero__title {
    font-size: clamp(1.75rem, 7vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero__highlight {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hero__buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: 200px;
}

.hero__image {
    width: 100%;
    max-width: 420px;
}

.hero__image img {
    border-radius: var(--radius);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 60px;
}

/* Hero 480px: large phones */
@media (min-width: 480px) {
    .hero {
        padding: 110px 0 70px;
    }
    .hero__inner { gap: 2.5rem; }
    .hero__subtitle { margin-bottom: 2rem; }
    .hero__image { max-width: 500px; }
    .hero__wave svg { height: 80px; }
}

/* Hero 640px: small tablets */
@media (min-width: 640px) {
    .hero {
        padding: 120px 0 80px;
    }
    .hero__inner { gap: 3rem; }
    .hero__image { max-width: 540px; }
}

/* Hero 768px: tablets - still stacked but roomier */
@media (min-width: 768px) {
    .hero {
        padding: 130px 0 100px;
    }
    .hero__image { max-width: 560px; }
    .hero__wave svg { height: 100px; }
}

/* Hero 1024px: side by side */
@media (min-width: 1024px) {
    .hero {
        padding: 140px 0 120px;
        min-height: auto;
    }
    .hero__inner {
        flex-direction: row;
        gap: 3rem;
    }
    .hero__content {
        text-align: left;
        flex: 1;
        min-width: 0;
    }
    .hero__subtitle { margin-left: 0; }
    .hero__buttons { justify-content: flex-start; }
    .hero__image {
        flex: 1;
        min-width: 0;
        max-width: none;
    }
    .hero__wave svg { height: 120px; }
}

/* Landscape phones: reduce hero height */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 90px 0 60px;
    }
    .hero__inner {
        flex-direction: row;
        gap: 2rem;
    }
    .hero__content {
        text-align: left;
        flex: 1;
    }
    .hero__subtitle { margin-left: 0; }
    .hero__buttons { justify-content: flex-start; }
    .hero__image {
        flex: 0 0 40%;
        max-width: 300px;
    }
}


/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

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

.btn:active {
    transform: translateY(0);
}

.btn small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1;
    text-align: left;
}

.btn strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
}

@media (min-width: 480px) {
    .btn {
        gap: 10px;
        padding: 12px 22px;
        font-size: 0.95rem;
    }
    .btn small { font-size: 0.7rem; }
    .btn strong { font-size: 1rem; }
}

.btn--play {
    background: #1DB954;
    color: #fff;
}

.btn--play:hover {
    background: #1AA34A;
}

.btn--apple {
    background: #000;
    color: #fff;
}

.btn--apple:hover {
    background: #222;
}

.btn--lg {
    padding: 14px 24px;
}

.btn--lg strong {
    font-size: 1rem;
}

@media (min-width: 480px) {
    .btn--lg {
        padding: 16px 30px;
    }
    .btn--lg strong { font-size: 1.1rem; }
}


/* ========== FEATURES ========== */
.features {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 79, 163, 0.1);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-card__icon svg {
    width: 26px;
    height: 26px;
}

.feature-card__icon--blue {
    background: var(--primary-light);
    color: var(--primary);
}

.feature-card__icon--green {
    background: var(--green-light);
    color: var(--green);
}

.feature-card__icon--orange {
    background: var(--orange-light);
    color: var(--orange);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Features 480px: horizontal card layout on phones */
@media (min-width: 480px) {
    .feature-card {
        display: flex;
        text-align: left;
        gap: 1.25rem;
        align-items: flex-start;
        padding: 1.5rem;
    }
    .feature-card__icon {
        margin: 0;
        flex-shrink: 0;
    }
}

/* Features 640px: back to vertical cards, 2 columns */
@media (min-width: 640px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .feature-card {
        display: block;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .feature-card__icon {
        margin: 0 auto 1.25rem;
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }
    .feature-card__icon svg { width: 28px; height: 28px; }
    .feature-card h3 { font-size: 1.15rem; }
    .feature-card p { font-size: 0.95rem; }
}

/* Features 768px: 3 columns */
@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}


/* ========== HOW IT WORKS ========== */
.how {
    padding: var(--section-pad) 0;
    background: var(--bg-alt);
}

.how__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 260px;
}

.step__number {
    position: absolute;
    top: -10px;
    right: -6px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step__icon {
    width: 68px;
    height: 68px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(11, 79, 163, 0.3);
}

.step__icon svg {
    width: 28px;
    height: 28px;
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.step p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.step__connector {
    display: none;
}

/* How 480px: slightly bigger steps */
@media (min-width: 480px) {
    .step { max-width: 280px; }
    .step__number { width: 32px; height: 32px; font-size: 0.85rem; top: -12px; right: -8px; }
    .step__icon { width: 80px; height: 80px; margin-bottom: 1.25rem; }
    .step__icon svg { width: 32px; height: 32px; }
    .step h3 { font-size: 1.1rem; }
    .step p { font-size: 0.9rem; }
}

/* How 640px: horizontal layout with connectors */
@media (min-width: 640px) {
    .how__steps {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }
    .step__connector {
        display: block;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
        flex-shrink: 0;
        margin-top: -40px;
        border-radius: 1px;
    }
}

@media (min-width: 768px) {
    .step__connector { width: 60px; }
}

@media (min-width: 1024px) {
    .step__connector { width: 80px; }
}


/* ========== DEVICES ========== */
.devices {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.devices__inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.devices__image {
    width: 100%;
    max-width: 480px;
}

.devices__image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.devices__content {
    width: 100%;
}

.devices__text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.devices__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform var(--transition);
}

.device-item:hover {
    transform: translateX(4px);
}

.device-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Devices 380px: 2-col grid for device items */
@media (min-width: 380px) {
    .devices__list {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* Devices 480px: bigger items */
@media (min-width: 480px) {
    .devices__inner { gap: 2.5rem; }
    .devices__text { font-size: 1rem; }
    .device-item {
        gap: 12px;
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    .device-item svg { width: 22px; height: 22px; }
}

/* Devices 640px: image slightly bigger */
@media (min-width: 640px) {
    .devices__image { max-width: 520px; }
    .devices__inner { gap: 3rem; }
    .devices__list { gap: 16px; }
}

/* Devices 1024px: side by side */
@media (min-width: 1024px) {
    .devices__inner {
        flex-direction: row;
        gap: 4rem;
    }
    .devices__image {
        flex: 1;
        min-width: 0;
        max-width: none;
    }
    .devices__content {
        flex: 1;
        min-width: 0;
    }
    .devices__text {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
}


/* ========== AUDIENCE ========== */
.audience {
    padding: var(--section-pad) 0;
    background: var(--bg-alt);
}

.audience__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.audience-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem 0.75rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

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

.audience-card__emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.audience-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

/* Audience 480px: bigger cards */
@media (min-width: 480px) {
    .audience__grid {
        gap: 16px;
        max-width: 480px;
    }
    .audience-card {
        padding: 2rem 1rem;
    }
    .audience-card__emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }
    .audience-card h3 { font-size: 0.95rem; }
}

/* Audience 640px: 4 columns */
@media (min-width: 640px) {
    .audience__grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 700px;
    }
}

@media (min-width: 768px) {
    .audience__grid { max-width: 800px; }
}


/* ========== DOWNLOAD CTA ========== */
.download {
    padding: var(--section-pad) 0;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.download__inner {
    position: relative;
    z-index: 1;
}

.download__content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.download__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.download__text {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .download__text { margin-bottom: 2rem; }
}

.download__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.download__buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: 220px;
}

@media (min-width: 480px) {
    .download__buttons { gap: 12px; }
    .download__buttons .btn {
        min-width: 0;
        max-width: 220px;
    }
}

.download__help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    transition: background var(--transition), color var(--transition);
}

.download__help:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.download__scan {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 480px) {
    .download__scan {
        font-size: 0.95rem;
        margin-top: 2.5rem;
        margin-bottom: 1.25rem;
    }
}

.download__qr {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.qr-card {
    display: block;
    width: 150px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: transform var(--transition), box-shadow var(--transition);
}

.qr-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.qr-card img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 480px) {
    .download__qr { gap: 24px; }
    .qr-card { width: 180px; border-radius: var(--radius); }
}

@media (min-width: 640px) {
    .qr-card { width: 200px; }
}


/* ========== FOOTER ========== */
.footer {
    padding: 2.5rem 0 1.5rem;
    background: #0F172A;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 480px) {
    .footer__inner { gap: 2rem; }
    .footer { padding: 3rem 0 2rem; }
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.footer__brand img {
    border-radius: 8px;
    width: 28px;
    height: 28px;
}

@media (min-width: 480px) {
    .footer__brand {
        gap: 10px;
        font-size: 1.2rem;
    }
    .footer__brand img {
        width: 32px;
        height: 32px;
    }
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 50px;
    transition: background var(--transition);
}

.footer__link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer__link svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 380px) {
    .footer__links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .footer__link {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
    .footer__link svg { width: 18px; height: 18px; }
}

@media (min-width: 480px) {
    .footer__link { font-size: 0.95rem; }
}

.footer__copy {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    width: 100%;
}

.footer__copy a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer__copy a:hover {
    color: #fff;
}

@media (min-width: 480px) {
    .footer__copy { font-size: 0.85rem; }
}


/* ---------- Mobile menu open state ---------- */
body.menu-open .header__menu {
    color: var(--text);
}

body.menu-open .header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
}

/* ---------- Smooth scroll padding ---------- */
section[id] {
    scroll-margin-top: 70px;
}

@media (min-width: 768px) {
    section[id] { scroll-margin-top: 80px; }
}

/* ---------- Selection ---------- */
::selection {
    background: var(--primary);
    color: #fff;
}
