:root {
    --bg-base: #000000;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(10, 10, 12, 0.6);
    --glow-color: rgba(99, 102, 241, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; width: 100%; overflow: hidden; background: #000; font-family: 'Inter', sans-serif; }

/* Intro Gate */
.intro-gate {
    position: fixed; inset: 0; z-index: 1000; background: #000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.bg-glow-intro {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.intro-card-container {
    width: 90%; max-width: 360px; height: 480px; position: relative; z-index: 1001; touch-action: none;
    perspective: 1500px; cursor: pointer;
}

.intro-card-inner {
    width: 100%; height: 100%; position: absolute;
    transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8); border-radius: 32px;
}

.intro-card-inner.is-flipped { transform: rotateY(180deg); }

.intro-card-face {
    width: 100%; height: 100%; position: absolute; backface-visibility: hidden;
    background: linear-gradient(145deg, #1a1a20, #0a0a0c); border: 1px solid rgba(255,255,255,0.15); 
    border-radius: 32px; padding: 40px; display: flex; flex-direction: column;
}
.intro-card-face.back {
    transform: rotateY(180deg); background: linear-gradient(145deg, #0f1015, #1a1a25);
}

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.badge-tag { font-size: 0.8rem; padding: 4px 12px; border-radius: 100px; background: rgba(255,255,255,0.1); color: var(--text-secondary); }
.badge-tag.green { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.dots { display: flex; gap: 4px; }
.dots span { width: 6px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 50%; }

.card-title { font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1.3; }
.card-answer { font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.card-sub-answer { font-size: 1rem; color: var(--text-secondary); line-height: 1.5; }

.card-footer { margin-top: auto; text-align: center; }
.swipe-hint-text { font-size: 0.9rem; font-weight: 600; display: inline-block; }
.tap-anim { color: #fff; opacity: 0.7; }
.swipe-anim { color: #34d399; animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { opacity: 0.5; transform: translateX(0); } 50% { opacity: 1; transform: translateX(5px); } }

.intro-message {
    position: absolute; text-align: center; opacity: 0; transform: scale(0.9); pointer-events: none;
    z-index: 1002; width: 100%; padding: 0 20px;
}
.message-text { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 8px; }
.message-brand { font-size: 4rem; font-weight: 800; margin-bottom: 32px; }
.btn-primary-premium {
    background: #fff; color: #000; border: none; padding: 18px 48px; border-radius: 100px;
    font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: transform 0.3s;
}
.btn-primary-premium:hover { transform: scale(1.05); }

/* Landing Page Styles */
.landing-page { height: 100%; width: 100%; overflow-y: auto; position: relative; }
.bg-glow { position: fixed; top: -10%; left: 50%; transform: translateX(-50%); width: 80vw; height: 50vh; background: radial-gradient(ellipse at top, var(--glow-color) 0%, transparent 60%); z-index: -1; }

.navbar { position: fixed; top: 0; width: 100%; z-index: 100; border-bottom: 1px solid var(--border-subtle); }
.glass { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 600; }
.logo img { height: 26px; border-radius: 6px; }

.hero { padding: 160px 24px 80px; text-align: center; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; color: #fff; font-weight: 800; }
.hero-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 550px; margin: 0 auto; }
.text-gradient { background: linear-gradient(180deg, #fff 0%, #a5b4fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.bento-section { max-width: 1100px; margin: 0 auto; padding: 40px 24px 100px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-item { background: rgba(20,20,22,0.4); border: 1px solid var(--border-subtle); border-radius: 24px; padding: 32px; }
.bento-item.large { grid-column: span 3; }
.icon-box { width: 48px; height: 48px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.bento-item h3 { margin-bottom: 10px; font-size: 1.4rem; }
.bento-item p { color: var(--text-secondary); }

.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border-subtle); background: rgba(255,255,255,0.03); font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 24px; }
.pill-dot { width: 6px; height: 6px; background: #818cf8; border-radius: 50%; }

.reveal { opacity: 0; transform: translateY(20px); transition: 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }

.btn-sm { background: #fff; color: #000; padding: 8px 20px; border-radius: 100px; text-decoration: none; font-size: 0.85rem; font-weight: 600; }

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.large { grid-column: span 1; }
    .hero h1 { font-size: 2.5rem; }
    .message-brand { font-size: 3rem; }
}
