/* =========================================================
   CONVERT YOUR GIFT CARDS — MAIN STYLESHEET
   convertyourgiftcards.co.uk | cashifygcmart.com
   Design System: Luxury Dark with Gold Accents
   ========================================================= */

/* ---- CUSTOM FONTS FALLBACK ---- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
    --bg-0: #06090f;
    --bg-1: #090e1a;
    --bg-2: #0c1222;
    --bg-3: #111827;
    --bg-card: #0f1628;
    --bg-card-2: #141d35;
    --bg-card-hover: #192240;

    --gold-100: #fff8dc;
    --gold-300: #f9d95f;
    --gold-400: #f5c842;
    --gold-500: #e8b730;
    --gold-600: #c9a22a;
    --orange-400: #ff9f43;

    --green-400: #34d399;
    --green-500: #22c55e;
    --blue-400: #60a5fa;
    --red-400: #f87171;

    --text-100: #f8faff;
    --text-200: #e2e8f8;
    --text-300: #b0bcd8;
    --text-400: #8a9bc4;
    --text-500: #5a6a8a;
    --text-600: #3a4a6a;

    --border-subtle: rgba(245, 200, 66, 0.08);
    --border-light: rgba(245, 200, 66, 0.18);
    --border-medium: rgba(245, 200, 66, 0.35);
    --border-strong: rgba(245, 200, 66, 0.6);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.6);
    --shadow-gold: 0 0 40px rgba(245, 200, 66, 0.15);
    --shadow-gold-lg: 0 0 80px rgba(245, 200, 66, 0.2);
    --shadow-green: 0 0 24px rgba(34, 197, 94, 0.2);

    --font-display: 'Sora', 'Segoe UI', sans-serif;
    --font-body: 'Sora', sans-serif;
    --font-mono: 'DM Mono', 'Fira Code', monospace;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --nav-height: 76px;
    --section-pad: clamp(64px, 8vw, 120px);
    --container: 1440px;
    --container-narrow: 900px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text-200);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ---- PARTICLE CANVAS ---- */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ---- HEADER / NAV ---- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

#site-header.scrolled {
    background: rgba(6, 9, 15, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 var(--border-subtle), var(--shadow-sm);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4%, 60px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark { display: flex; align-items: center; }

.logo-mark svg {
    transition: transform 0.3s var(--ease-spring), filter 0.3s;
    filter: drop-shadow(0 4px 12px rgba(245,200,66,0.25));
}

.logo:hover .logo-mark svg {
    transform: rotate(-5deg) scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(245,200,66,0.45));
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-brand { font-size: 15px; font-weight: 700; color: var(--text-100); letter-spacing: -0.4px; }
.logo-tld { font-size: 10px; font-weight: 500; color: var(--gold-400); font-family: var(--font-mono); letter-spacing: 0.5px; }

/* Nav Links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-400);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background: var(--gold-400);
    border-radius: 2px;
    transition: transform 0.25s var(--ease-out);
}

.nav-link:hover { color: var(--text-100); background: rgba(245,200,66,0.05); }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--text-100); }

.btn-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--gold-400), var(--orange-400));
    color: var(--bg-0) !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: -0.2px;
    box-shadow: 0 4px 20px rgba(245,200,66,0.3);
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, opacity 0.2s;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245,200,66,0.45);
    opacity: 0.95;
}

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-300);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-2);
    border-top: 1px solid var(--border-subtle);
    padding: 16px 24px 24px;
    gap: 4px;
    animation: slideDown 0.25s var(--ease-out);
}

.mobile-nav.open { display: flex; }

.mob-link {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-300);
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}
.mob-link:hover { background: var(--bg-card); color: var(--text-100); }

.mob-cta {
    margin-top: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--gold-400), var(--orange-400));
    color: var(--bg-0);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-align: center;
}

/* ---- MAIN CONTENT ---- */
#main-content {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-height);
}

/* ---- LAYOUT UTILITIES ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4%, 60px);
}
.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 clamp(20px, 4%, 60px);
}
.section { padding: var(--section-pad) 0; }

/* ---- TYPOGRAPHY ---- */
.display-xl {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -2px;
}

.display-lg {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.display-md {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.display-sm {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.4px;
}

.text-gold { color: var(--gold-400); }
.text-green { color: var(--green-400); }
.text-muted { color: var(--text-400); }
.text-dim { color: var(--text-500); }

.gradient-text {
    background: linear-gradient(135deg, var(--gold-300), var(--orange-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: clamp(40px, 5vw, 72px); }
.section-label-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 200, 66, 0.08);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-400);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-desc {
    color: var(--text-400);
    font-size: clamp(15px, 1.5vw, 17px);
    max-width: 560px;
    line-height: 1.7;
    margin-top: 14px;
    font-weight: 400;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s var(--ease-spring);
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-400), var(--orange-400));
    color: var(--bg-0);
    box-shadow: 0 8px 32px rgba(245,200,66,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(245,200,66,0.45); }

.btn-secondary {
    background: transparent;
    color: var(--text-200);
    border: 1px solid var(--border-light);
}
.btn-secondary:hover { border-color: var(--border-medium); color: var(--text-100); background: rgba(245,200,66,0.04); }

.btn-ghost {
    background: rgba(245,200,66,0.06);
    color: var(--gold-400);
    border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { background: rgba(245,200,66,0.12); border-color: var(--border-light); }

.btn-lg { padding: 18px 40px; font-size: 17px; border-radius: var(--radius-md); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* ---- CARDS ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

.card-glow {
    position: relative;
    overflow: hidden;
}
.card-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(245,200,66,0.06) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}
.card-glow:hover::before { opacity: 1; }

/* ---- BADGES ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.badge-gold { background: rgba(245,200,66,0.1); color: var(--gold-400); border: 1px solid var(--border-subtle); }
.badge-green { background: rgba(34,197,94,0.1); color: var(--green-500); border: 1px solid rgba(34,197,94,0.15); }
.badge-blue { background: rgba(96,165,250,0.1); color: var(--blue-400); border: 1px solid rgba(96,165,250,0.15); }

/* ---- FORMS ---- */
.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-400);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.form-label .req { color: var(--gold-400); margin-left: 3px; }

.form-input,
.form-select,
.form-textarea {
    background: var(--bg-2);
    border: 1px solid rgba(90, 106, 138, 0.25);
    border-radius: var(--radius-sm);
    color: var(--text-100);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    padding: 14px 18px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold-400);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(245,200,66,0.1);
}
.form-input::placeholder { color: var(--text-500); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-2); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-row.full { grid-column: 1 / -1; }

.form-hint { font-size: 11px; color: var(--text-500); margin-top: 4px; }
.form-error-inline { font-size: 11px; color: var(--red-400); margin-top: 4px; }

/* Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(245,200,66,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}
.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: var(--gold-400);
    cursor: pointer;
}
.form-check label {
    font-size: 12px;
    color: var(--text-400);
    line-height: 1.65;
    cursor: pointer;
}
.form-check label a { color: var(--gold-400); border-bottom: 1px solid rgba(245,200,66,0.3); transition: border-color 0.2s; }
.form-check label a:hover { border-color: var(--gold-400); }

/* Alert boxes */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.6;
}
.alert-error { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2); color: var(--red-400); }
.alert-success { background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2); color: var(--green-400); }
.alert-info { background: rgba(96,165,250,0.08); border: 1px solid rgba(96,165,250,0.15); color: var(--blue-400); }
.alert-warning { background: rgba(245,200,66,0.08); border: 1px solid var(--border-light); color: var(--gold-400); }
.alert p { margin-bottom: 4px; }
.alert p:last-child { margin-bottom: 0; }

/* ---- DIVIDER ---- */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    border: none;
    margin: 0;
}

/* ---- STAT COUNTER ---- */
.stat-block .stat-num {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    color: var(--gold-400);
    line-height: 1;
    display: block;
}
.stat-block .stat-label {
    font-size: 12px;
    color: var(--text-500);
    margin-top: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ---- RATE CARD ---- */
.rate-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rate-card-header { display: flex; align-items: center; justify-content: space-between; }
.rate-brand-emoji { font-size: 28px; }
.rate-pct {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 500;
    color: var(--green-400);
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.15);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}
.rate-brand-name { font-size: 14px; font-weight: 600; color: var(--text-100); }
.rate-note { font-size: 11px; color: var(--text-500); }

/* ---- STEP CARD ---- */
.step-card {
    position: relative;
    padding: 36px 28px;
    overflow: hidden;
}
.step-num {
    font-family: var(--font-mono);
    font-size: 72px;
    font-weight: 300;
    color: rgba(245,200,66,0.06);
    position: absolute;
    top: 8px;
    right: 16px;
    line-height: 1;
    user-select: none;
}
.step-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(245,200,66,0.08);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-100); }
.step-desc { font-size: 13px; color: var(--text-400); line-height: 1.7; }

/* ---- TRUST ITEM ---- */
.trust-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
}
.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 60px);
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-400);
    font-weight: 500;
    white-space: nowrap;
}
.trust-item .icon { font-size: 17px; }
.trust-item strong { color: var(--text-200); }

/* ---- TESTIMONIAL ---- */
.testimonial-card { padding: 28px 28px 24px; }
.testimonial-stars { color: var(--gold-400); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
    font-size: 14px;
    color: var(--text-400);
    line-height: 1.75;
    margin-bottom: 18px;
    font-style: italic;
    position: relative;
}
.testimonial-text::before {
    content: '"';
    font-size: 48px;
    color: var(--gold-400);
    opacity: 0.2;
    position: absolute;
    top: -16px;
    left: -8px;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--text-100); }
.testimonial-role { font-size: 11px; color: var(--text-500); margin-top: 2px; }

/* ---- FAQ / ACCORDION ---- */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item[open] { border-color: var(--border-light); }

.faq-question {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-100);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--gold-400);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.25s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-item[open] .faq-question { color: var(--gold-400); }

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-400);
    line-height: 1.75;
}
.faq-answer a { color: var(--gold-400); border-bottom: 1px solid rgba(245,200,66,0.3); }

/* ---- FOOTER ---- */
#site-footer {
    position: relative;
    z-index: 1;
    background: var(--bg-1);
    border-top: 1px solid var(--border-subtle);
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(245,200,66,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) clamp(20px, 4%, 60px) 32px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: clamp(24px, 3vw, 48px);
    margin-bottom: 48px;
}
.footer-tagline {
    font-size: 13px;
    color: var(--text-500);
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 20px;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.f-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-400);
    background: var(--bg-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 4px 10px;
}
.footer-social { display: flex; gap: 8px; }
.social-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-400);
    font-size: 14px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-btn:hover { background: rgba(245,200,66,0.08); color: var(--gold-400); border-color: var(--border-light); }
.footer-col-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-500);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a {
    font-size: 13px;
    color: var(--text-400);
    transition: color 0.2s;
}
.footer-links-col ul li a:hover { color: var(--gold-400); }
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}
.pay-icon {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-500);
    background: var(--bg-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    padding: 5px 9px;
}
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--text-500); }
.footer-legal-note {
    font-size: 11px;
    color: var(--text-600);
    line-height: 1.6;
    margin-top: 8px;
    max-width: 700px;
}
.footer-bottom-right { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.compliance-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--green-400);
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    letter-spacing: 0.3px;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    width: min(640px, calc(100vw - 32px));
    background: var(--bg-card-2);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s var(--ease-out);
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { font-size: 13px; color: var(--text-100); display: block; margin-bottom: 4px; }
.cookie-text p { font-size: 12px; color: var(--text-400); }
.cookie-text p a { color: var(--gold-400); border-bottom: 1px solid rgba(245,200,66,0.3); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-cookie-accept {
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--gold-400), var(--orange-400));
    color: var(--bg-0);
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 700;
    transition: opacity 0.2s;
}
.btn-cookie-accept:hover { opacity: 0.88; }
.btn-cookie-reject {
    padding: 9px 14px;
    border: 1px solid var(--border-light);
    color: var(--text-400);
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
}
.btn-cookie-reject:hover { border-color: var(--border-medium); color: var(--text-200); }

/* ---- PAGE HERO (shared) ---- */
.page-hero {
    padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 90px);
    position: relative;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 15% 30%, rgba(245,200,66,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 85% 80%, rgba(34,197,94,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* ---- GRID LAYOUTS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 24px); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes shimmer {
    from { background-position: -200% center; }
    to { background-position: 200% center; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- LOADING SKELETON ---- */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-2) 50%, var(--bg-card) 75%);
    background-size: 200% auto;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-xs);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-600); }

/* ---- PAGE-SPECIFIC: LEGAL PAGES ---- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4%, 40px);
}
.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-100);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}
.legal-content h3 { font-size: 1rem; font-weight: 600; color: var(--gold-400); margin: 24px 0 10px; }
.legal-content p { font-size: 14px; color: var(--text-400); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { margin: 12px 0 16px 20px; }
.legal-content ul li {
    font-size: 14px;
    color: var(--text-400);
    line-height: 1.7;
    margin-bottom: 6px;
    list-style: disc;
}
.legal-content a { color: var(--gold-400); border-bottom: 1px solid rgba(245,200,66,0.3); }
.legal-content .last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-500);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    margin-bottom: 40px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .main-nav { display: none; }
    .nav-burger { display: flex; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    :root { --section-pad: 48px; }
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .display-xl { letter-spacing: -1px; }
}
