/* =============================================
   ZORELIN — Checkout Flow — Glassmorphism v3
   Fullscreen app-like, particles, glass cards
   ============================================= */

:root {
    --bg: #08081a;
    --bg-card: rgba(14,14,40,0.6);
    --bg-glass: rgba(20,20,56,0.4);
    --gold: #b8963e;
    --gold-light: #d4b366;
    --gold-pale: #e8d5a3;
    --gold-dim: rgba(184,150,62,0.12);
    --text: #ccc8de;
    --text-muted: #7e7a96;
    --text-bright: #f4f0ff;
    --border: rgba(255,255,255,0.06);
    --border-gold: rgba(184,150,62,0.15);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --radius: 20px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

html { height: 100%; overflow: hidden; -webkit-text-size-adjust: 100%; }

.co-body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    height: 100%;
    overflow: hidden;
    position: fixed;
    inset: 0;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   STARS / PARTICLES
   ============================================= */
.co-stars {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0;
    overflow: hidden;
}
.co-star {
    position: absolute;
    width: 2px; height: 2px;
    background: rgba(212,179,102,0.4);
    border-radius: 50%;
    animation: starTwinkle var(--dur, 4s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes starTwinkle {
    0%, 100% { opacity: 0.1; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Ambient orbs */
.co-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}
.co-orb-1 {
    width: 500px; height: 500px;
    top: -15%; left: 50%; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(184,150,62,0.06) 0%, transparent 70%);
    animation: orbFloat 15s ease-in-out infinite;
}
.co-orb-2 {
    width: 400px; height: 400px;
    bottom: -20%; right: -10%;
    background: radial-gradient(circle, rgba(80,60,160,0.05) 0%, transparent 70%);
    animation: orbFloat 12s 4s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* =============================================
   PROGRESS BAR
   ============================================= */
.co-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 2px; z-index: 100;
    background: rgba(255,255,255,0.03);
}
.co-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.8s var(--ease);
    box-shadow: 0 0 20px rgba(184,150,62,0.5);
}

/* =============================================
   TOP BAR
   ============================================= */
.co-topbar {
    position: fixed; top: 2px; left: 0; right: 0;
    top: calc(2px + env(safe-area-inset-top, 0px));
    height: 56px; display: flex;
    align-items: center; justify-content: space-between;
    padding: 0 16px; z-index: 90;
}
.co-back {
    background: none; border: none;
    color: var(--text-muted); font-family: var(--font-body);
    font-size: 14px; font-weight: 500; cursor: pointer;
    padding: 8px 12px; border-radius: 10px;
    display: flex; align-items: center; gap: 6px;
    transition: all 0.3s var(--ease);
    opacity: 0; visibility: hidden; transform: translateX(-10px);
}
.co-back.visible { opacity: 1; visibility: visible; transform: translateX(0); }
.co-back:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.co-back svg { width: 16px; height: 16px; }

.co-pkg-badge {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 60px;
}
.co-pkg-name { font-size: 11px; font-weight: 600; color: var(--text-bright); letter-spacing: 0.06em; text-transform: uppercase; }
.co-pkg-price { font-size: 11px; font-weight: 600; color: var(--gold-light); }

/* =============================================
   SCENE + STEPS
   ============================================= */
.co-scene { position: fixed; inset: 0; overflow: hidden; }

.co-step {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s var(--ease);
    pointer-events: none;
    padding: 72px 20px 40px;
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overflow-x: hidden;
    scrollbar-width: none; z-index: 1;
}
.co-step::-webkit-scrollbar { display: none; }
.co-step.active { opacity: 1; transform: translateY(0); pointer-events: all; z-index: 2; }

.co-step-inner {
    max-width: 500px; width: 100%;
    display: flex; flex-direction: column; align-items: center;
    padding-bottom: 80px;
    position: relative; z-index: 1;
}

/* Step dots */
.co-dots { display: flex; gap: 8px; margin-bottom: 40px; }
.co-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: all 0.4s var(--ease);
}
.co-dot.active { background: var(--gold); box-shadow: 0 0 12px rgba(184,150,62,0.5); width: 24px; border-radius: 4px; }
.co-dot.done { background: var(--gold); opacity: 0.35; }

/* =============================================
   FLOATING CARD VISUAL
   ============================================= */
.co-visual {
    width: 64px; height: 96px;
    margin-bottom: 24px;
    position: relative;
    animation: cardFloat 4s ease-in-out infinite;
}
.co-visual-card {
    width: 100%; height: 100%;
    background: linear-gradient(160deg, #1a1540, #0f0d28);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 40px rgba(184,150,62,0.06);
    position: relative; overflow: hidden;
}
.co-visual-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(184,150,62,0.05) 0%, transparent 50%);
}
.co-visual-card svg { width: 24px; height: 24px; color: rgba(184,150,62,0.3); }
.co-visual::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 50%; transform: translateX(-50%);
    width: 50px; height: 6px;
    background: rgba(184,150,62,0.08);
    border-radius: 50%; filter: blur(4px);
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

/* =============================================
   HEADLINE
   ============================================= */
.co-headline {
    font-family: var(--font-display);
    font-size: clamp(30px, 8vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-bright);
}

.co-sub {
    font-size: 15px;
    color: var(--text);
    text-align: center;
    line-height: 1.6;
    max-width: 340px;
    margin-bottom: 40px;
    opacity: 0.6;
}

/* =============================================
   GLASS CARD (wraps each question)
   ============================================= */
.co-glass {
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 24px 28px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
    position: relative;
}
.co-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.co-glass:focus-within {
    border-color: var(--border-gold);
}

/* Solo glass — single question per step, more breathing room */
.co-glass-solo {
    padding: 28px 24px;
    margin-top: 8px;
}

.co-glass-label {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-bright);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    padding: 0 20px;
}

.co-question-label {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.co-glass-hint {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 14px;
    font-style: italic;
}

.co-glass-num {
    position: absolute;
    top: 14px; left: 18px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.4;
    letter-spacing: 0.05em;
}

/* =============================================
   TEXTAREA
   ============================================= */
.co-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    resize: none;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
}
.co-textarea:focus {
    border-color: rgba(184,150,62,0.2);
    box-shadow: 0 0 0 3px var(--gold-dim);
}
.co-textarea::placeholder { color: var(--text-muted); opacity: 0.5; }
.co-textarea-lg { min-height: 100px; }

/* =============================================
   CHIPS
   ============================================= */
.co-chips-glass {
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.co-chips-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.co-chips-label {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-bright);
    text-align: center;
    margin-bottom: 16px;
}
.co-chips {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.co-chip {
    padding: 9px 18px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 60px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.co-chip:hover { border-color: rgba(255,255,255,0.1); }
.co-chip.active {
    border-color: var(--border-gold);
    background: rgba(184,150,62,0.08);
    color: var(--gold-light);
    box-shadow: 0 0 16px rgba(184,150,62,0.06);
}

/* =============================================
   BUTTONS
   ============================================= */
.co-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; max-width: 400px;
    padding: 17px 40px;
    background: linear-gradient(135deg, var(--gold) 0%, #c9a044 100%);
    color: var(--bg);
    font-family: var(--font-body);
    font-weight: 700; font-size: 15px;
    border: none; border-radius: 14px;
    cursor: pointer; letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 24px rgba(184,150,62,0.3);
    position: relative; overflow: hidden;
    margin-top: 12px;
    -webkit-appearance: none;
}
.co-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    transform: translateX(-100%); transition: transform 0.6s;
}
.co-btn:hover::before { transform: translateX(100%); }
.co-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(184,150,62,0.4); }
.co-btn:active { transform: scale(0.97); }
.co-btn:disabled, .co-btn.co-btn-disabled {
    opacity: 0.2; cursor: not-allowed; transform: none !important;
    box-shadow: none; pointer-events: none;
}
.co-btn svg { width: 16px; height: 16px; }

.co-btn-cta {
    font-size: 17px; padding: 19px 48px; border-radius: 16px;
}
.co-btn-cta::after {
    content: ''; position: absolute; inset: -3px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    z-index: -1; opacity: 0;
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.02); }
}

/* =============================================
   STEP 4 — BIRTH DATE
   ============================================= */
.co-birth-selects {
    display: flex; gap: 10px; width: 100%;
}
.co-birth-field { flex: 1; }
.co-birth-field.co-birth-month { flex: 1.5; }
.co-birth-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
/* Hidden native select (replaced by custom picker) */
.co-select-wrap { position: relative; }
.co-picker { display: none; }

/* Custom trigger button */
.co-picker-trigger {
    width: 100%;
    padding: 14px 36px 14px 14px;
    background: var(--bg-card, rgba(0,0,0,0.2));
    border: 1.5px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
    text-align: left;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.co-picker-trigger.has-value { color: var(--text-bright); }
.co-picker-trigger::after {
    content: '';
    position: absolute;
    right: 12px; top: 50%;
    width: 10px; height: 10px;
    border-right: 1.5px solid var(--text-muted);
    border-bottom: 1.5px solid var(--text-muted);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.co-picker-trigger.open::after {
    transform: translateY(-35%) rotate(-135deg);
    border-color: var(--gold);
}
.co-picker-trigger.open,
.co-picker-trigger:active {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

/* Dropdown */
.co-picker-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #14142e;
    border: 1.5px solid rgba(184,150,62,0.25);
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    scrollbar-width: thin;
    scrollbar-color: rgba(184,150,62,0.2) transparent;
}
.co-picker-dropdown::-webkit-scrollbar { width: 3px; }
.co-picker-dropdown::-webkit-scrollbar-thumb { background: rgba(184,150,62,0.2); border-radius: 3px; }
.co-picker-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.co-picker-option {
    padding: 12px 14px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.co-picker-option:last-child { border-bottom: none; }
.co-picker-option:hover,
.co-picker-option:active {
    background: var(--gold-dim);
    color: var(--gold-light);
}
.co-picker-option.selected {
    color: var(--gold-light);
}
.co-birth-optional-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-bright);
    text-align: center;
    margin-bottom: 16px;
}
.co-birth-optional-title span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    opacity: 0.7;
    font-style: italic;
    display: block;
    margin-top: 4px;
}
.co-birth-time-row {
    margin-bottom: 16px;
}
.co-birth-place-wrap {
    width: 100%;
}
.co-input-place {
    padding-left: 16px !important;
}

/* =============================================
   STEP 5 — CARD SLOTS
   ============================================= */
.co-slots { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.co-slot { text-align: center; width: 52px; }
.co-slot-box {
    width: 52px; height: 78px; border-radius: 8px;
    border: 1.5px dashed rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px; transition: all 0.4s var(--ease);
    overflow: hidden; background: rgba(255,255,255,0.01);
}
.co-slot-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-slot.filled .co-slot-box {
    border-style: solid; border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 20px rgba(184,150,62,0.08);
}
.co-slot-num { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.06); }
.co-slot-label { font-size: 8px; color: var(--text-muted); opacity: 0.4; letter-spacing: 0.04em; text-transform: uppercase; }
.co-counter { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

/* =============================================
   STEP 2 — CARDS GRID
   ============================================= */
.co-cards-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
    width: 100%; margin-bottom: 28px;
}
.co-card {
    aspect-ratio: 2/3; perspective: 800px; cursor: pointer;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.co-card:hover:not(.selected) { transform: translateY(-4px) scale(1.06); }
.co-card:active:not(.selected) { transform: scale(0.95); }
.co-card.selected { opacity: 0.2; transform: scale(0.9); }
.co-card-inner {
    width: 100%; height: 100%; position: relative;
    transition: transform 0.7s var(--ease);
    transform-style: preserve-3d; border-radius: 6px;
}
.co-card.flipped .co-card-inner { transform: rotateY(180deg); }
.co-card-back, .co-card-front {
    position: absolute; inset: 0;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: 6px;
    overflow: hidden; border: 1px solid rgba(255,255,255,0.04);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.co-card-back img, .co-card-front img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.co-card-front { transform: rotateY(180deg); }
.co-card:not(.selected):hover .co-card-back {
    border-color: rgba(184,150,62,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 24px rgba(184,150,62,0.06);
}
.co-card.flipped .co-card-front {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 30px rgba(184,150,62,0.1);
}

/* =============================================
   STEP 3 — SUMMARY
   ============================================= */
.co-summary {
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.co-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    gap: 12px;
}
.co-summary-row:last-child { border-bottom: none; }
.co-summary-label { font-size: 13px; color: var(--text-muted); flex-shrink: 0; }
.co-summary-value { font-size: 13px; color: var(--text-bright); font-weight: 500; text-align: right; }
.co-summary-cards-row {
    flex-direction: column; align-items: flex-start; gap: 6px;
}
.co-summary-cards-row .co-summary-value {
    text-align: left; font-size: 12px; line-height: 1.5; opacity: 0.8;
}
.co-summary-total { background: rgba(184,150,62,0.03); }
.co-summary-price {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    color: var(--gold-light);
    text-shadow: 0 0 30px rgba(184,150,62,0.2);
}

/* =============================================
   STEP 3 — EMAIL
   ============================================= */
.co-email-glass {
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.co-email-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.co-email-label {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 600;
    color: var(--text-bright);
    text-align: center;
    margin-bottom: 14px;
}
.co-email-wrap { position: relative; }
.co-email-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); opacity: 0.4; width: 18px; height: 18px; pointer-events: none;
}
.co-input {
    width: 100%; padding: 14px 16px 14px 42px;
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    color: var(--text-bright);
    font-family: var(--font-body); font-size: 15px;
    outline: none; transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
}
.co-input:focus { border-color: rgba(184,150,62,0.2); box-shadow: 0 0 0 3px var(--gold-dim); }
.co-input::placeholder { color: var(--text-muted); opacity: 0.5; }

.co-secure {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-muted);
    margin-bottom: 16px; width: 100%;
    opacity: 0.6;
}
.co-secure svg { color: var(--gold); width: 14px; height: 14px; flex-shrink: 0; }

.co-consent {
    display: flex; align-items: flex-start; gap: 12px;
    width: 100%; cursor: pointer; margin-bottom: 28px;
}
.co-consent input { display: none; }
.co-check {
    width: 20px; height: 20px; min-width: 20px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s; margin-top: 1px;
    background: rgba(0,0,0,0.2);
}
.co-consent input:checked + .co-check { background: var(--gold); border-color: var(--gold); }
.co-check svg { width: 12px; height: 12px; color: var(--bg); opacity: 0; transform: scale(0.5); transition: all 0.25s; }
.co-consent input:checked + .co-check svg { opacity: 1; transform: scale(1); }
.co-consent-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.co-consent-text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }

/* Stripe Card Element */
.co-stripe-wrap {
    width: 100%;
    margin-bottom: 20px;
}
.co-stripe-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: left;
}
.co-stripe-element {
    padding: 14px 16px;
    background: rgba(0,0,0,0.15);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.co-stripe-element.StripeElement--focus {
    border-color: rgba(184,150,62,0.4);
    box-shadow: 0 0 0 3px rgba(184,150,62,0.08);
}
.co-stripe-element.StripeElement--invalid {
    border-color: rgba(255,107,107,0.5);
}
.co-stripe-error {
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 6px;
    min-height: 16px;
    text-align: left;
}

.co-pay-info {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 11px; color: var(--text-muted); opacity: 0.3; margin-top: 16px;
}
.co-pay-info svg { flex-shrink: 0; }

/* =============================================
   TOAST
   ============================================= */
.co-toast {
    position: fixed; bottom: -80px;
    left: 50%; transform: translateX(-50%);
    padding: 12px 24px;
    background: rgba(220,60,60,0.12);
    border: 1px solid rgba(220,60,60,0.2);
    color: #e06060; font-size: 13px;
    border-radius: 12px; z-index: 200;
    transition: bottom 0.4s var(--ease);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-width: 90vw; text-align: center;
}
.co-toast.visible { bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }

/* =============================================
   ENTRANCE ANIMATIONS
   ============================================= */
.co-step.active .co-dots { animation: fadeUp 0.4s 0.05s var(--ease) both; }
.co-step.active .co-visual { animation: fadeUp 0.5s 0.1s var(--ease) both; }
.co-step.active .co-headline { animation: fadeUp 0.5s 0.15s var(--ease) both; }
.co-step.active .co-sub { animation: fadeUp 0.5s 0.2s var(--ease) both; }
.co-step.active .co-glass:first-of-type { animation: fadeUp 0.5s 0.25s var(--ease) both; }
.co-step.active .co-glass:nth-of-type(2) { animation: fadeUp 0.5s 0.35s var(--ease) both; }
.co-step.active .co-chips-glass { animation: fadeUp 0.5s 0.4s var(--ease) both; }
.co-step.active .co-btn { animation: fadeUp 0.5s 0.45s var(--ease) both; }
.co-step.active .co-slots { animation: fadeUp 0.4s 0.15s var(--ease) both; }
.co-step.active .co-summary { animation: fadeUp 0.5s 0.15s var(--ease) both; }
.co-step.active .co-email-glass { animation: fadeUp 0.5s 0.25s var(--ease) both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 640px) {
    .co-step { padding: 64px 16px 32px; padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
    .co-cards-grid { grid-template-columns: repeat(5, 1fr); gap: 5px; }
    .co-headline { font-size: clamp(26px, 7vw, 32px); }
    .co-glass { padding: 22px 18px; }
    .co-glass-solo { padding: 24px 18px; }
    .co-glass-label { font-size: 15px; }
    .co-slot { width: 44px; }
    .co-slot-box { width: 44px; height: 66px; }
    .co-topbar { padding: 0 12px; }
    .co-back { padding: 8px 10px; font-size: 13px; }
    .co-textarea, .co-input, .co-picker-trigger { font-size: 16px; }
    .co-btn { font-size: 15px; padding: 15px 32px; }
}

@media (max-width: 380px) {
    .co-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 901px) {
    .co-btn:hover:not(:disabled):not(.co-btn-disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 40px rgba(184,150,62,0.4);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .co-step { opacity: 1 !important; transform: none !important; }
}

/* Hidden scrollbars everywhere */
.co-scene ::-webkit-scrollbar { display: none; }
.co-scene * { scrollbar-width: none; }

/* =============================================
   GENDER CHOICE (step 4)
   ============================================= */
.co-gender-choice {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.co-gender-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    color: rgba(244,240,255,0.5);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    font-family: inherit;
}

.co-gender-btn svg {
    width: 40px;
    height: 40px;
    color: rgba(184,150,62,0.5);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.co-gender-btn span {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.co-gender-btn:hover,
.co-gender-btn:focus-visible {
    border-color: rgba(184,150,62,0.5);
    background: rgba(184,150,62,0.05);
}

.co-gender-btn:hover svg,
.co-gender-btn:focus-visible svg {
    color: rgba(184,150,62,0.8);
}

.co-gender-btn.active {
    border-color: #b8963e;
    background: rgba(184,150,62,0.08);
    color: #f4f0ff;
    box-shadow: 0 0 30px rgba(184,150,62,0.15);
}

.co-gender-btn.active svg {
    color: rgba(184,150,62,0.8);
    filter: drop-shadow(0 0 8px rgba(184,150,62,0.4));
}

@media (max-width: 640px) {
    .co-gender-choice { gap: 16px; max-width: 280px; }
    .co-gender-btn { padding: 24px 16px; border-radius: 16px; }
    .co-gender-btn svg { width: 36px; height: 36px; }
}
