/* ============================================================
   EasyPeek — Official Website
   Modern, responsive stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --color-bg: #0B0B1A;
    --color-bg-alt: #F7F7FB;
    --color-surface: #FFFFFF;
    --color-surface-elevated: #FFFFFF;
    --color-text: #0F172A;
    --color-text-muted: #4B5563;
    --color-text-soft: #6B7280;
    --color-text-inverse: #F8FAFC;
    --color-border: #E5E7EB;
    --color-border-strong: #D1D5DB;

    --color-primary: #4F46E5;
    --color-primary-600: #4338CA;
    --color-primary-700: #3730A3;
    --color-accent: #EC4899;
    --color-accent-alt: #7C3AED;

    --grad-primary: linear-gradient(135deg, #6366F1 0%, #7C3AED 45%, #EC4899 100%);
    --grad-primary-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.12));
    --grad-hero: radial-gradient(ellipse at top left, #1E1B4B 0%, #0B0B1A 55%);

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12), 0 8px 18px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 24px 60px rgba(99, 102, 241, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    --container-max: 1200px;
    --content-max: 780px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--color-primary-600);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    color: inherit;
}

ul,
ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

p {
    margin: 0;
}

::selection {
    background: rgba(99, 102, 241, 0.28);
    color: #0F172A;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}

.section {
    padding-block: clamp(72px, 10vw, 128px);
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(48px, 6vw, 72px);
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-sub {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
}

/* ---------- Typography helpers ---------- */
.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 22px;
}

.eyebrow-dark {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
    color: var(--color-primary-700);
    border-color: rgba(99, 102, 241, 0.25);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.25);
    animation: pulseDot 2.4s var(--ease) infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(236, 72, 153, 0); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 26px;
    font-size: 1rem;
}

.btn-primary {
    color: #fff;
    background: var(--grad-primary);
    box-shadow: 0 12px 24px -12px rgba(99, 102, 241, 0.7);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(99, 102, 241, 0.8);
    color: #fff;
}

.btn-ghost {
    color: var(--color-text);
    background: transparent;
    border-color: var(--color-border);
}

.btn-ghost:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border-color: var(--color-border-strong);
}

.legal-page .btn-ghost,
.hero .btn-ghost {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.legal-page .btn-ghost:hover,
.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.legal-doc .btn-ghost {
    color: var(--color-text);
    border-color: var(--color-border);
    background: transparent;
}

.legal-doc .btn-ghost:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border-color: var(--color-border-strong);
}

.btn-store {
    padding: 12px 22px;
}

.btn-store span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    text-align: left;
}

.btn-store small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-store strong {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ---------- Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 11, 26, 0.55);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(11, 11, 26, 0.85);
}

.legal-page .site-header {
    background: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.legal-page .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 16px;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.legal-page .brand {
    color: var(--color-text);
}

.brand-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.primary-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

.primary-nav a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.925rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: #fff;
}

.legal-page .primary-nav a {
    color: var(--color-text-muted);
}

.legal-page .primary-nav a:hover,
.legal-page .primary-nav a[aria-current="page"] {
    color: var(--color-text);
}

.primary-nav a[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--grad-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.legal-page .menu-toggle {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.legal-page .menu-toggle span {
    background: var(--color-text);
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background: var(--grad-hero);
    padding-block: clamp(80px, 12vw, 140px) clamp(100px, 12vw, 160px);
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: float 22s ease-in-out infinite;
}

.blob-1 {
    background: radial-gradient(circle at 30% 30%, #6366F1, transparent 70%);
    top: -180px;
    left: -140px;
}

.blob-2 {
    background: radial-gradient(circle at 60% 40%, #EC4899, transparent 70%);
    top: 40%;
    right: -180px;
    animation-delay: -8s;
}

.blob-3 {
    background: radial-gradient(circle at 40% 60%, #7C3AED, transparent 70%);
    bottom: -220px;
    left: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, -40px) scale(1.06); }
    66%      { transform: translate(-40px, 30px) scale(0.96); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 80%);
    opacity: 0.9;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hero-copy {
    max-width: 640px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #fff;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(248, 250, 252, 0.75);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 28px;
}

.hero-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.925rem;
}

.hero-highlights svg {
    color: #a5f3fc;
    flex-shrink: 0;
}

/* ---------- Hero art ---------- */
.hero-art {
    position: relative;
    height: 520px;
    perspective: 1400px;
}

.art-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    color: #fff;
    animation: cardFloat 8s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50%      { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

.art-card-1 {
    top: 12%;
    left: 8%;
    width: 300px;
    --r: -6deg;
    animation-delay: -2s;
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.35), rgba(236, 72, 153, 0.2));
    border-color: rgba(255, 255, 255, 0.18);
}

.art-card-2 {
    bottom: 6%;
    left: 18%;
    width: 260px;
    --r: 4deg;
    animation-delay: -4s;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.art-card-3 {
    top: 20%;
    right: 4%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    --r: 8deg;
    animation-delay: -6s;
    background: linear-gradient(140deg, rgba(236, 72, 153, 0.35), rgba(124, 58, 237, 0.2));
    color: #fff;
}

.art-card-3 svg {
    color: #fecdd3;
}

.art-card-3 strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.art-card-3 span {
    font-size: 0.8rem;
    opacity: 0.75;
}

.art-header {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.chip {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.chip-alt {
    background: rgba(236, 72, 153, 0.9);
    color: #fff;
}

.art-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.art-timestamp {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.art-time {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.art-date {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

.art-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.art-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(255, 255, 255, 0.75);
    border-style: solid;
    border-width: 0;
}

.art-corner.tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.art-corner.tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.art-corner.bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; }
.art-corner.br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }

.art-swatch {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: conic-gradient(from 210deg, #6366F1, #7C3AED, #EC4899, #F59E0B, #6366F1);
    border: 3px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.art-fields {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.02em;
}

.art-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.orbit-1 {
    width: 460px;
    height: 460px;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: spin 40s linear infinite;
}

.orbit-2 {
    width: 320px;
    height: 320px;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    animation: spin 25s linear infinite reverse;
    opacity: 0.6;
}

@keyframes spin {
    to { transform: translateX(-50%) rotate(360deg); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
    background: #0F0F23;
    color: #fff;
    padding-block: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
}

.trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.trust-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- Features ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
    z-index: -1;
    padding: 1px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--grad-primary-soft);
    color: var(--color-primary);
}

.icon-indigo  { background: rgba(99, 102, 241, 0.12);  color: #4F46E5; }
.icon-pink    { background: rgba(236, 72, 153, 0.12);  color: #DB2777; }
.icon-red     { background: rgba(239, 68, 68, 0.12);   color: #E11D48; }
.icon-teal    { background: rgba(20, 184, 166, 0.12);  color: #0D9488; }
.icon-amber   { background: rgba(245, 158, 11, 0.12);  color: #D97706; }
.icon-violet  { background: rgba(124, 58, 237, 0.12);  color: #7C3AED; }
.icon-sky     { background: rgba(14, 165, 233, 0.12);  color: #0284C7; }
.icon-slate   { background: rgba(71, 85, 105, 0.12);   color: #334155; }
.icon-emerald { background: rgba(16, 185, 129, 0.12);  color: #059669; }

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- How it works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    counter-reset: steps;
    position: relative;
}

.step {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.03em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
    display: inline-block;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- Why EasyPeek ---------- */
.why-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.why-copy .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.why-copy .section-sub {
    text-align: left;
    margin-bottom: 32px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.why-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tick {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 8px 16px -8px rgba(99, 102, 241, 0.6);
}

.why-list strong {
    display: block;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.why-list span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.why-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-content: center;
}

.stat-card {
    padding: 26px 24px;
    border-radius: var(--radius-lg);
    color: #fff;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.2), transparent 60%);
    z-index: -1;
}

.stat-primary { background: linear-gradient(140deg, #4F46E5, #7C3AED); transform: translateY(20px); }
.stat-secondary { background: linear-gradient(140deg, #EC4899, #F43F5E); }
.stat-tertiary { background: linear-gradient(140deg, #0EA5E9, #6366F1); }
.stat-quaternary { background: linear-gradient(140deg, #10B981, #0D9488); transform: translateY(20px); }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-item:hover {
    border-color: var(--color-border-strong);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.35);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    list-style: none;
    transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--grad-primary-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 500;
    transition: transform 0.25s var(--ease);
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--grad-primary);
    color: #fff;
}

.faq-item p {
    padding: 0 24px 22px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ---------- CTA section ---------- */
.cta-section {
    background: linear-gradient(140deg, #1E1B4B 0%, #4F46E5 55%, #EC4899 120%);
    color: #fff;
    padding-block: clamp(72px, 10vw, 120px);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
    pointer-events: none;
}

.cta-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-copy h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}

.cta-copy p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: #fff;
    color: #1E1B4B;
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.5);
}

.cta-section .btn-primary:hover {
    background: #F1F5F9;
    color: #1E1B4B;
    transform: translateY(-2px);
    box-shadow: 0 22px 42px -18px rgba(0, 0, 0, 0.6);
}

.cta-section .btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-section .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0B0B1A;
    color: rgba(255, 255, 255, 0.72);
    padding-block: 72px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 18px;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.925rem;
    line-height: 1.65;
}

.footer-brand .brand {
    color: #fff;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 28px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

/* ============================================================
   LEGAL PAGES (Terms & Privacy)
   ============================================================ */
.legal-page {
    background: var(--color-surface);
}

.legal-hero {
    position: relative;
    background: var(--grad-hero);
    color: #fff;
    padding-block: clamp(80px, 10vw, 120px) clamp(60px, 8vw, 100px);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.legal-hero .hero-bg {
    z-index: -1;
}

.legal-hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 14px;
}

.legal-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.legal-meta strong {
    color: #fff;
    font-weight: 600;
}

.legal-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 96px;
    align-self: start;
}

.toc-inner {
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    max-height: calc(100vh - 128px);
    overflow-y: auto;
}

.toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-soft);
    margin-bottom: 14px;
}

.legal-toc ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legal-toc a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.legal-toc a:hover,
.legal-toc a.is-active {
    background: rgba(99, 102, 241, 0.08);
    color: var(--color-primary);
}

.legal-doc {
    max-width: var(--content-max);
    padding: 0;
    color: var(--color-text);
}

.legal-doc h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    margin-top: 56px;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    scroll-margin-top: 100px;
}

.legal-doc h2:first-of-type {
    margin-top: 40px;
}

.legal-doc p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 18px;
    font-size: 1rem;
}

.legal-doc .lead {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

.legal-doc ul {
    padding-left: 20px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-doc ul li {
    color: var(--color-text-muted);
    line-height: 1.7;
    list-style: disc;
    padding-left: 4px;
}

.legal-doc ul li::marker {
    color: var(--color-primary);
}

.legal-doc strong {
    color: var(--color-text);
    font-weight: 600;
}

.legal-doc a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.legal-doc a:hover {
    color: var(--color-primary-600);
    text-decoration-thickness: 2px;
}

.callout {
    padding: 18px 22px;
    border-radius: var(--radius-md);
    margin: 24px 0 28px;
    border: 1px solid transparent;
}

.callout-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.07), rgba(236, 72, 153, 0.05));
    border-color: rgba(99, 102, 241, 0.25);
    color: var(--color-text);
}

.callout strong {
    color: var(--color-primary-700);
}

.legal-contact {
    padding: 20px 22px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    color: var(--color-text) !important;
    line-height: 1.9;
}

.legal-cta {
    display: flex;
    gap: 12px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-art {
        height: 420px;
        max-width: 500px;
        margin: 0 auto;
    }

    .why-wrap {
        grid-template-columns: 1fr;
    }

    .why-copy .section-title,
    .why-copy .section-sub {
        text-align: center;
    }

    .why-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .legal-wrap {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
        order: -1;
    }

    .toc-inner {
        max-height: 240px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .primary-nav {
        position: fixed;
        top: 68px;
        right: 12px;
        left: 12px;
        background: rgba(11, 11, 26, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-lg);
        padding: 20px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .legal-page .primary-nav {
        background: rgba(255, 255, 255, 0.98);
        border-color: var(--color-border);
        box-shadow: var(--shadow-lg);
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .primary-nav a {
        display: block;
        padding: 12px 14px;
        border-radius: 10px;
        color: rgba(255, 255, 255, 0.85);
    }

    .primary-nav a:hover,
    .primary-nav a[aria-current="page"] {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .legal-page .primary-nav a {
        color: var(--color-text);
    }

    .legal-page .primary-nav a:hover,
    .legal-page .primary-nav a[aria-current="page"] {
        background: var(--color-bg-alt);
    }

    .primary-nav a[aria-current="page"]::after {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .cta-wrap {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .hero-art {
        display: none;
    }

    .hero {
        padding-block: clamp(64px, 15vw, 100px);
        text-align: center;
    }

    .hero-copy {
        margin: 0 auto;
    }

    .hero-actions,
    .hero-highlights {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .why-visual {
        grid-template-columns: 1fr;
    }

    .stat-primary,
    .stat-quaternary {
        transform: none;
    }

    .btn-lg {
        padding: 14px 22px;
        font-size: 0.95rem;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
