/* =========================================================
   SavevyCoupons — Design System
   Brand Brief: "Vibrant, Retail-Smart, Data-Driven, Approachable"
   Palette: Warm Coral + Deep Emerald + Ivory
   Fonts: Outfit (display) / Inter (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors */
    --coral: #FF6B6B;
    --coral-light: #FF8E8E;
    --coral-dark: #E05555;
    --emerald: #0D7C66;
    --emerald-light: #14A88A;
    --emerald-dark: #095E4D;
    --ivory: #FFF8F0;
    --ivory-warm: #FFF1E0;
    --charcoal: #1E2A38;
    --slate: #3B4A5C;
    --mist: #E8ECF1;
    --white: #FFFFFF;
    --success: #27AE60;
    --warning: #F2994A;
    --danger: #EB5757;

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #0D7C66 0%, #14A88A 40%, #FF6B6B 100%);
    --grad-coral: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    --grad-emerald: linear-gradient(135deg, #0D7C66, #14A88A);
    --grad-warm: linear-gradient(180deg, #FFF8F0 0%, #FFFFFF 100%);
    --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 248, 240, 0.65));

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --fs-hero: clamp(2.4rem, 5vw, 4rem);
    --fs-h1: clamp(2rem, 4vw, 3rem);
    --fs-h2: clamp(1.6rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.75rem;
    --lh-body: 1.7;
    --lh-heading: 1.2;

    /* Spacing */
    --sp-xs: 0.25rem;
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 1.5rem;
    --sp-xl: 2rem;
    --sp-2xl: 3rem;
    --sp-3xl: 4rem;
    --sp-4xl: 6rem;

    /* Radius */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 50px;
    --r-full: 50%;

    /* Shadows */
    --sh-sm: 0 2px 8px rgba(30, 42, 56, 0.06);
    --sh-md: 0 4px 20px rgba(30, 42, 56, 0.08);
    --sh-lg: 0 8px 40px rgba(30, 42, 56, 0.10);
    --sh-xl: 0 16px 60px rgba(30, 42, 56, 0.12);
    --sh-glow: 0 0 30px rgba(255, 107, 107, 0.25);

    /* Transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast: 150ms;
    --dur-mid: 300ms;
    --dur-slow: 500ms;

    /* Layout */
    --max-w: 1240px;
    --max-w-sm: 800px;
    --nav-h: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--charcoal);
    background: var(--ivory);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-smooth);
}

a:hover {
    color: var(--coral);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: var(--lh-heading);
    color: var(--charcoal);
    font-weight: 700;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.container--narrow {
    max-width: var(--max-w-sm);
}

.section {
    padding: var(--sp-4xl) 0;
}

.section--ivory {
    background: var(--ivory);
}

.section--white {
    background: var(--white);
}

.section--emerald {
    background: var(--emerald);
    color: var(--white);
}

.section--charcoal {
    background: var(--charcoal);
    color: var(--white);
}

.section__badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--coral);
    background: rgba(255, 107, 107, 0.1);
    padding: var(--sp-xs) var(--sp-md);
    border-radius: var(--r-pill);
    margin-bottom: var(--sp-md);
}

.section__title {
    font-size: var(--fs-h2);
    margin-bottom: var(--sp-md);
}

.section__subtitle {
    font-size: var(--fs-body);
    color: var(--slate);
    max-width: 640px;
    margin: 0 auto var(--sp-2xl);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-coral {
    color: var(--coral);
}

.text-emerald {
    color: var(--emerald);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-body);
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all var(--dur-mid) var(--ease-spring);
    text-decoration: none;
    line-height: 1;
}

.btn--coral {
    background: var(--grad-coral);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
}

.btn--coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.5);
    color: var(--white);
}

.btn--emerald {
    background: var(--grad-emerald);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(13, 124, 102, 0.3);
}

.btn--emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13, 124, 102, 0.45);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--emerald);
    border: 2px solid var(--emerald);
}

.btn--outline-dark:hover {
    background: var(--emerald);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--fs-small);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(255, 248, 240, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(30, 42, 56, 0.06);
    transition: box-shadow var(--dur-mid) var(--ease-smooth);
}

.navbar.scrolled {
    box-shadow: var(--sh-md);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--charcoal);
}

.navbar__logo img {
    width: 36px;
    height: 36px;
}

.navbar__logo span {
    color: var(--coral);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
}

.navbar__links a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-small);
    color: var(--slate);
    transition: color var(--dur-fast);
    position: relative;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width var(--dur-mid) var(--ease-spring);
}

.navbar__links a:hover {
    color: var(--coral);
}

.navbar__links a:hover::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-sm);
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--dur-mid) var(--ease-smooth);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 124, 102, 0.88) 0%, rgba(30, 42, 56, 0.82) 50%, rgba(255, 107, 107, 0.6) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: var(--sp-3xl) 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-pill);
    padding: var(--sp-sm) var(--sp-lg);
    font-family: var(--font-display);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--sp-xl);
}

.hero__title {
    font-size: var(--fs-hero);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--sp-lg);
    letter-spacing: -0.02em;
}

.hero__title em {
    font-style: normal;
    color: var(--coral-light);
}

.hero__desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--sp-2xl);
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
}

/* ---------- Stats Bar ---------- */
.stats {
    background: var(--white);
    border-top: 3px solid var(--coral);
    padding: var(--sp-2xl) 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-xl);
}

.stat {
    text-align: center;
}

.stat__number {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 800;
    color: var(--emerald);
    margin-bottom: var(--sp-xs);
}

.stat__label {
    font-size: var(--fs-small);
    color: var(--slate);
    font-weight: 500;
}

/* ---------- Feature Cards ---------- */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    box-shadow: var(--sh-sm);
    border: 1px solid rgba(30, 42, 56, 0.04);
    transition: all var(--dur-mid) var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-coral);
    opacity: 0;
    transition: opacity var(--dur-mid);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    font-size: 1.5rem;
    margin-bottom: var(--sp-lg);
    background: linear-gradient(135deg, rgba(13, 124, 102, 0.1), rgba(255, 107, 107, 0.1));
}

.feature-card__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-sm);
}

.feature-card__desc {
    color: var(--slate);
    font-size: var(--fs-small);
    line-height: 1.7;
}

/* ---------- Steps / How It Works ---------- */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-2xl);
    counter-reset: step;
}

.step {
    text-align: center;
    position: relative;
}

.step__number {
    width: 52px;
    height: 52px;
    border-radius: var(--r-full);
    background: var(--grad-emerald);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-lg);
    box-shadow: 0 4px 16px rgba(13, 124, 102, 0.3);
}

.step__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-sm);
}

.step__desc {
    font-size: var(--fs-small);
    color: var(--slate);
}

/* ---------- About ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3xl);
    align-items: center;
}

.about__image {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    position: relative;
}

.about__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about__text p {
    color: var(--slate);
    margin-bottom: var(--sp-lg);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-xl);
    margin-top: var(--sp-3xl);
}

.team-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    text-align: center;
    box-shadow: var(--sh-sm);
    transition: all var(--dur-mid) var(--ease-spring);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.team-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--r-full);
    margin: 0 auto var(--sp-md);
    background: var(--grad-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}

.team-card__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--sp-xs);
}

.team-card__role {
    font-size: var(--fs-small);
    color: var(--coral);
    font-weight: 600;
    margin-bottom: var(--sp-sm);
}

.team-card__bio {
    font-size: var(--fs-small);
    color: var(--slate);
}

/* ---------- Communication Transparency ---------- */
.transparency__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-xl);
}

.transparency-card {
    background: var(--grad-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(13, 124, 102, 0.12);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    transition: all var(--dur-mid) var(--ease-spring);
}

.transparency-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--emerald-light);
}

.transparency-card__icon {
    font-size: 1.75rem;
    margin-bottom: var(--sp-md);
}

.transparency-card__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-sm);
    color: var(--emerald);
}

.transparency-card__list {
    font-size: var(--fs-small);
    color: var(--slate);
}

.transparency-card__list li {
    padding: var(--sp-xs) 0;
    border-bottom: 1px solid rgba(30, 42, 56, 0.06);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
}

.transparency-card__list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- Infrastructure Cards ---------- */
.infra__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-lg);
}

.infra-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    text-align: center;
    transition: all var(--dur-mid) var(--ease-spring);
    backdrop-filter: blur(8px);
}

.infra-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.infra-card__icon {
    font-size: 2rem;
    margin-bottom: var(--sp-md);
}

.infra-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: var(--sp-sm);
    color: var(--white);
}

.infra-card__desc {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Email Practices ---------- */
.practices__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-xl);
}

.practice-item {
    display: flex;
    gap: var(--sp-lg);
    align-items: flex-start;
    padding: var(--sp-lg);
    background: var(--white);
    border-radius: var(--r-md);
    border-left: 3px solid var(--emerald);
    box-shadow: var(--sh-sm);
}

.practice-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 124, 102, 0.08);
    border-radius: var(--r-sm);
}

.practice-item__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-body);
    margin-bottom: var(--sp-xs);
}

.practice-item__desc {
    font-size: var(--fs-small);
    color: var(--slate);
}

/* ---------- CTA Section ---------- */
.cta {
    background: var(--grad-hero);
    padding: var(--sp-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.06);
    top: -200px;
    right: -100px;
}

.cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.04);
    bottom: -150px;
    left: -50px;
}

.cta__title {
    font-size: var(--fs-h1);
    color: var(--white);
    margin-bottom: var(--sp-md);
    position: relative;
    z-index: 1;
}

.cta__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: var(--sp-2xl);
    position: relative;
    z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-2xl);
    margin-bottom: var(--sp-2xl);
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: var(--sp-md);
}

.footer__logo span {
    color: var(--coral);
}

.footer__brand p {
    font-size: var(--fs-small);
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
}

.footer__col h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--white);
    margin-bottom: var(--sp-lg);
}

.footer__col ul li {
    margin-bottom: var(--sp-sm);
}

.footer__col ul li a {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--dur-fast);
}

.footer__col ul li a:hover {
    color: var(--coral-light);
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    font-size: var(--fs-small);
    margin-bottom: var(--sp-sm);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--sp-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-md);
    font-size: var(--fs-xs);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--sp-lg) var(--sp-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-lg);
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform var(--dur-mid) var(--ease-smooth);
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-banner p {
    font-size: var(--fs-small);
    flex: 1;
    min-width: 240px;
}

.cookie-banner a {
    color: var(--coral-light);
    text-decoration: underline;
}

/* ---------- Legal Page Styles ---------- */
.legal-hero {
    background: var(--charcoal);
    padding: calc(var(--nav-h) + var(--sp-3xl)) 0 var(--sp-2xl);
    text-align: center;
}

.legal-hero__title {
    font-size: var(--fs-h1);
    color: var(--white);
    margin-bottom: var(--sp-sm);
}

.legal-hero__date {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-small);
}

.legal-content {
    padding: var(--sp-3xl) 0;
}

.legal-content .container--narrow {
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: var(--fs-h3);
    margin-top: var(--sp-2xl);
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-sm);
    border-bottom: 2px solid var(--mist);
    color: var(--emerald);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: var(--sp-xl);
    margin-bottom: var(--sp-sm);
}

.legal-content p {
    margin-bottom: var(--sp-md);
    color: var(--slate);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--sp-md);
    padding-left: var(--sp-xl);
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    margin-bottom: var(--sp-sm);
    color: var(--slate);
}

.legal-content strong {
    color: var(--charcoal);
}

.legal-content a {
    color: var(--coral);
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-small);
    color: var(--emerald);
    margin-bottom: var(--sp-xl);
}

.back-link:hover {
    color: var(--coral);
}

/* ---------- Trust Cards ---------- */
.trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-xl);
}

.trust-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    box-shadow: var(--sh-sm);
    border: 1px solid rgba(13, 124, 102, 0.08);
    transition: all var(--dur-mid) var(--ease-spring);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.trust-card__icon {
    font-size: 2rem;
    margin-bottom: var(--sp-md);
}

.trust-card__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-sm);
    color: var(--emerald);
}

.trust-card__desc {
    font-size: var(--fs-small);
    color: var(--slate);
    line-height: 1.7;
}

/* ---------- Contact Page ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--sp-xl);
}

.contact-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    box-shadow: var(--sh-sm);
    border-top: 3px solid var(--emerald);
}

.contact-card__icon {
    font-size: 1.75rem;
    margin-bottom: var(--sp-md);
}

.contact-card__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-md);
    color: var(--emerald);
}

.contact-card__body {
    font-size: var(--fs-small);
    color: var(--slate);
    line-height: 1.7;
}

.contact-card__body p {
    margin-bottom: var(--sp-sm);
}

/* ---------- Notification Preferences ---------- */
.pref__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--sp-xl);
}

.pref-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--sp-2xl);
    box-shadow: var(--sh-sm);
}

.pref-card--essential {
    border-left: 4px solid var(--emerald);
}

.pref-card--optional {
    border-left: 4px solid var(--coral);
}

.pref-card__title {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-md);
}

.pref-card__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-md) 0;
    border-bottom: 1px solid var(--mist);
    font-size: var(--fs-small);
    color: var(--slate);
}

.pref-card__list li:last-child {
    border-bottom: none;
}

.pref-tag {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-xs);
    padding: 2px 10px;
    border-radius: var(--r-pill);
}

.pref-tag--locked {
    background: rgba(13, 124, 102, 0.1);
    color: var(--emerald);
}

.pref-tag--toggle {
    background: rgba(255, 107, 107, 0.1);
    color: var(--coral);
    cursor: pointer;
}

/* ---------- 404 Page ---------- */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-3xl);
    background: var(--ivory);
}

.page-404__code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 800;
    background: var(--grad-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--sp-md);
}

.page-404__title {
    font-size: var(--fs-h2);
    margin-bottom: var(--sp-md);
}

.page-404__desc {
    color: var(--slate);
    margin-bottom: var(--sp-2xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--dur-slow) var(--ease-smooth),
        transform var(--dur-slow) var(--ease-spring);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-smooth);
}

.fade-in.visible {
    opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar__links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: var(--sp-xl);
        gap: var(--sp-lg);
        box-shadow: var(--sh-lg);
        border-bottom-left-radius: var(--r-lg);
        border-bottom-right-radius: var(--r-lg);
    }

    .navbar__links.open {
        display: flex;
    }

    .navbar__toggle {
        display: flex;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-lg);
    }

    .hero__title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero__actions {
        flex-direction: column;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .about__grid {
        gap: var(--sp-xl);
    }

    .about__image img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps__grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--sp-3xl) 0;
    }
}