/* ════════════════════════════════════════════
   Becky - Premium Design System v3
   $10K Editorial Luxury - Liquid Glass Style
   Generated with UI/UX Pro Max
   ══════════════════════════════════════════ */

/* ═══════════ Design Tokens ═══════════ */
:root {
    /* ── Palette: Editorial Black + Rose Accent ── */
    --color-ink: #09090B;
    --color-ink-soft: #18181B;
    --color-ink-muted: #3F3F46;
    --color-graphite: #52525B;
    --color-pewter: #71717A;
    --color-silver: #A1A1AA;
    --color-fog: #D4D4D8;
    --color-mist: #E4E4E7;
    --color-pearl: #F4F4F5;
    --color-cloud: #FAFAFA;
    --color-snow: #FFFFFF;

    /* ── Rose Accent System ── */
    --color-rose-50:  #FFF1F5;
    --color-rose-100: #FFE4EC;
    --color-rose-200: #FFC9D9;
    --color-rose-300: #FCA5BD;
    --color-rose-400: #F472A0;
    --color-rose-500: #EC4899;
    --color-rose-600: #DB2777;
    --color-rose-700: #BE185D;
    --color-rose-800: #9D174D;

    /* ── Champagne Gold (Premium Touch) ── */
    --color-gold-light: #FBF7EE;
    --color-gold: #C8A464;
    --color-gold-dark: #A78645;

    /* ── Semantic Colors ── */
    --color-success: #047857;
    --color-warning: #B45309;
    --color-error: #B91C1C;
    --color-info: #1E40AF;

    /* ── Surfaces ── */
    --surface-page: var(--color-cloud);
    --surface-card: var(--color-snow);
    --surface-elevated: var(--color-snow);
    --surface-overlay: rgba(9, 9, 11, 0.04);
    --surface-glass: rgba(255, 255, 255, 0.72);
    --surface-glass-strong: rgba(255, 255, 255, 0.88);
    --surface-dark-glass: rgba(9, 9, 11, 0.72);

    /* ── Text ── */
    --text-primary: var(--color-ink);
    --text-secondary: var(--color-graphite);
    --text-tertiary: var(--color-pewter);
    --text-quaternary: var(--color-silver);
    --text-inverse: var(--color-snow);

    /* ── Borders ── */
    --border-subtle: rgba(9, 9, 11, 0.06);
    --border-default: rgba(9, 9, 11, 0.08);
    --border-strong: rgba(9, 9, 11, 0.12);
    --border-glass: rgba(255, 255, 255, 0.3);

    /* ── Typography ── */
    --font-display: 'Rubik', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-body: 'Rubik', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    /* Sizes (Fluid Type Scale) */
    --text-xs:   0.75rem;     /* 12px */
    --text-sm:   0.875rem;    /* 14px */
    --text-base: 1rem;        /* 16px */
    --text-md:   1.125rem;    /* 18px */
    --text-lg:   1.25rem;     /* 20px */
    --text-xl:   1.5rem;      /* 24px */
    --text-2xl:  2rem;        /* 32px */
    --text-3xl:  clamp(2rem, 4vw, 2.75rem);
    --text-4xl:  clamp(2.5rem, 5vw, 3.75rem);
    --text-5xl:  clamp(3rem, 6.5vw, 5rem);
    --text-6xl:  clamp(3.5rem, 8vw, 6.5rem);

    /* Weights */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-black: 900;

    /* Line heights */
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;
    --leading-loose: 1.85;

    /* Letter spacing */
    --tracking-tight: -0.04em;
    --tracking-snug: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.04em;
    --tracking-widest: 0.2em;

    /* ── Spacing (8pt grid) ── */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    --space-40: 10rem;    /* 160px */

    /* ── Radius ── */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-3xl: 36px;
    --radius-pill: 9999px;

    /* ── Shadows (Soft & Premium) ── */
    --shadow-xs: 0 1px 2px rgba(9, 9, 11, 0.04);
    --shadow-sm: 0 2px 4px rgba(9, 9, 11, 0.04), 0 1px 2px rgba(9, 9, 11, 0.06);
    --shadow-md: 0 4px 6px -2px rgba(9, 9, 11, 0.05), 0 2px 4px -2px rgba(9, 9, 11, 0.06);
    --shadow-lg: 0 12px 24px -8px rgba(9, 9, 11, 0.08), 0 4px 8px -4px rgba(9, 9, 11, 0.06);
    --shadow-xl: 0 24px 48px -12px rgba(9, 9, 11, 0.12), 0 8px 16px -8px rgba(9, 9, 11, 0.08);
    --shadow-2xl: 0 48px 96px -24px rgba(9, 9, 11, 0.18), 0 16px 32px -16px rgba(9, 9, 11, 0.10);
    --shadow-glow-rose: 0 8px 32px -8px rgba(236, 72, 153, 0.25);
    --shadow-glow-ink: 0 12px 32px -8px rgba(9, 9, 11, 0.3);

    /* ── Motion ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --duration-instant: 100ms;
    --duration-fast: 200ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;
    --duration-glacial: 1200ms;

    /* ── Layout ── */
    --max-content: 1280px;
    --max-narrow: 720px;
    --max-prose: 65ch;

    /* ── Z-index Scale ── */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-overlay: 400;
    --z-modal: 500;
    --z-toast: 600;
    --z-tooltip: 700;
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background: var(--surface-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Selection */
::selection {
    background: var(--color-rose-200);
    color: var(--color-ink);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-pearl);
}

::-webkit-scrollbar-thumb {
    background: var(--color-fog);
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-pearl);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-silver);
}

/* ═══════════ Typography ═══════════ */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    font-weight: var(--weight-bold);
}

h1 { font-size: var(--text-5xl); font-weight: 800; }
h2 { font-size: var(--text-4xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }

/* Accent em - rose color (no italic in Rubik) */
em {
    font-style: normal;
    color: var(--color-rose-600);
    font-weight: 800;
}

p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

/* Eyebrow text - editorial label */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-rose-600);
}

/* ═══════════ Layout ═══════════ */
.container {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: var(--max-narrow);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-32) 0;
    position: relative;
}

.section-sm {
    padding: var(--space-20) 0;
}

/* ═══════════ Buttons ═══════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    line-height: 1;
    letter-spacing: -0.01em;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
    pointer-events: none;
}

.btn:focus-visible {
    outline: 2px solid var(--color-rose-500);
    outline-offset: 3px;
}

/* Primary - Editorial Black */
.btn-primary {
    background: var(--color-ink);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-ink-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-ink);
}

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

/* Secondary - Outline */
.btn-secondary {
    background: var(--surface-card);
    color: var(--color-ink);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    background: var(--color-pearl);
    border-color: var(--color-ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--color-ink);
}

.btn-ghost:hover {
    background: var(--surface-overlay);
}

/* Rose Accent (used sparingly) */
.btn-rose {
    background: var(--color-rose-500);
    color: white;
    box-shadow: var(--shadow-glow-rose);
}

.btn-rose:hover {
    background: var(--color-rose-600);
    transform: translateY(-2px);
}

/* Sizes */
.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: var(--text-xs);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: var(--text-base);
}

/* ═══════════ Cards & Surfaces ═══════════ */
.card {
    background: var(--surface-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--duration-base) var(--ease-out);
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: var(--color-ink);
    box-shadow: var(--shadow-xl);
}

.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
}

.glass-strong {
    background: var(--surface-glass-strong);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--border-glass);
}

/* ═══════════ Forms ═══════════ */
.input-wrapper {
    position: relative;
}

.input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--surface-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
    appearance: none;
}

.input::placeholder {
    color: var(--text-quaternary);
}

.input:hover {
    border-color: var(--border-strong);
}

.input:focus {
    outline: none;
    border-color: var(--color-ink);
    box-shadow: 0 0 0 4px rgba(9, 9, 11, 0.06);
}

.label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    letter-spacing: -0.005em;
}

/* ═══════════ Badges ═══════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.375rem 0.75rem;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius-pill);
}

.badge-rose {
    background: var(--color-rose-50);
    color: var(--color-rose-700);
    border: 1px solid var(--color-rose-200);
}

.badge-dark {
    background: var(--color-ink);
    color: var(--text-inverse);
}

.badge-soft {
    background: var(--color-pearl);
    color: var(--color-ink-soft);
}

.badge-gold {
    background: var(--color-gold-light);
    color: var(--color-gold-dark);
    border: 1px solid rgba(200, 164, 100, 0.2);
}

/* ═══════════ Animations ═══════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ripple {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes waveAnim {
    0%, 100% { height: 20%; }
    50% { height: 100%; }
}

@keyframes blob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* ═══════════ Animation Utilities ═══════════ */
.animate-fade-up {
    animation: fadeUp var(--duration-slower) var(--ease-out) both;
}

.animate-fade-in {
    animation: fadeIn var(--duration-slower) var(--ease-out) both;
}

.animate-scale-in {
    animation: scaleIn var(--duration-slower) var(--ease-out) both;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ═══════════ Decorations ═══════════ */
.dot-divider {
    width: 6px;
    height: 6px;
    background: var(--color-rose-500);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 var(--space-3);
}

.gradient-rose {
    background: linear-gradient(135deg, var(--color-rose-400) 0%, var(--color-rose-600) 100%);
}

.gradient-ink {
    background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-soft) 50%, var(--color-ink-muted) 100%);
}

.gradient-text-rose {
    background: linear-gradient(135deg, var(--color-rose-500) 0%, var(--color-rose-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-ink {
    background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-graphite) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative dot pattern */
.dot-pattern {
    background-image: radial-gradient(circle, var(--color-fog) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Grain texture */
.grain {
    position: relative;
}
.grain::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

/* ═══════════ Accessibility ═══════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 768px) {
    .section {
        padding: var(--space-20) 0;
    }

    .container {
        padding: 0 var(--space-4);
    }
}
