:root {
    --bg-color: #020617;
    --card-bg: #0f172a;
    --brand-blue: #3b82f6;
    --brand-cyan: #22d3ee;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --accent-red: #ef4444;
    --neon-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* Dynamic Background Container */
#dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
}

/* Static Twinkling Stars */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle var(--duration) infinite ease-in-out;
}

/* Shooting Star Style */
.shooting-star {
    position: absolute;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-cyan), transparent);
    filter: drop-shadow(0 0 5px var(--brand-cyan));
    border-radius: 999px;
    transform: rotate(-45deg);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

/* Animations */
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes scanline { from { top: -100px; } to { top: 100%; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-6px); } }
@keyframes marqueeLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes glide {
    0% { transform: translateX(0) translateY(0) rotate(-45deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(-600px) translateY(600px) rotate(-45deg); opacity: 0; }
}

/* Entry Animations for Guide Section */
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-item { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }

.active .reveal-left, .active .reveal-right, .active .reveal-item { opacity: 1; transform: translate(0); }

.active .reveal-item:nth-child(1) { transition-delay: 0.2s; }
.active .reveal-item:nth-child(2) { transition-delay: 0.4s; }
.active .reveal-item:nth-child(3) { transition-delay: 0.6s; }

.scanline {
    position: fixed; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
    opacity: 0.2; z-index: 1001; pointer-events: none;
    animation: scanline 8s linear infinite;
}

/* Header & Logo */
header { display: flex; justify-content: space-between; align-items: center; padding: 2rem 5% 1rem; position: relative; z-index: 10; }
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -1px; font-family: var(--font-heading); }
.logo span { color: var(--brand-cyan); text-shadow: 0 0 10px rgba(34, 211, 238, 0.3); }

.live-status {
    background: rgba(30, 41, 59, 0.7); padding: 0.6rem 1.2rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; backdrop-filter: blur(10px);
}
.pulse-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; margin-right: 10px; animation: pulse 2s infinite; }

/* Hero */
.hero { text-align: center; padding: 4rem 5% 3rem; max-width: 1000px; margin: 0 auto; position: relative; z-index: 10; }
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; line-height: 1.05; margin-bottom: 2rem; font-family: var(--font-heading); }
.gradient-text { background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { font-size: 1.25rem; color: var(--text-dim); margin-bottom: 2.5rem; }

.hd-badge {
    display: inline-block; padding: 0.4rem 1rem; background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 50px;
    font-size: 0.75rem; font-weight: 800; color: var(--brand-cyan); margin-bottom: 1.5rem;
}

/* Start Card */
.start-card {
    background: rgba(15, 23, 42, 0.9); padding: 3rem 2.5rem; border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    max-width: 620px; margin: 0 auto; backdrop-filter: blur(20px);
    display: flex; flex-direction: column; gap: 2rem;
}
.start-card.invalid { animation: shake 0.4s ease-in-out; border-color: rgba(239, 68, 68, 0.4); }
.checkbox-container { display: flex; align-items: flex-start; cursor: pointer; color: var(--text-main); font-size: 1.05rem; line-height: 1.5; }
.checkmark { min-width: 24px; height: 24px; background: #1e293b; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 8px; margin-right: 16px; position: relative; transition: all 0.2s; margin-top: 3px; }
.checkbox-container input { display: none; }
.checkbox-container input:checked ~ .checkmark { background: var(--brand-blue); border-color: var(--brand-blue); }
.checkbox-container input:checked ~ .checkmark::after { content: "✓"; position: absolute; left: 5px; top: 0px; font-size: 15px; color: white; font-weight: bold; }

/* Brightened Link Styling */
.label-text a, .footer-nav a {
    color: var(--brand-cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 600;
}

.label-text a:hover, .footer-nav a:hover {
    color: var(--text-main);
    border-bottom-color: var(--text-main);
}

.primary-btn { width: 100%; padding: 1.5rem; border: none; border-radius: 18px; background: linear-gradient(135deg, #3b82f6, #22d3ee); color: white; font-weight: 800; font-size: 1.3rem; cursor: pointer; box-shadow: var(--neon-shadow); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-transform: uppercase; letter-spacing: 1.5px; }
.primary-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 30px rgba(34, 211, 238, 0.7); }

/* STAGGERED SHOWCASE */
.staggered-showcase { padding: 3rem 0; position: relative; overflow: hidden; z-index: 10; }
.showcase-block { display: flex; align-items: center; gap: 5rem; margin-bottom: 3rem; }
.showcase-block.reverse { flex-direction: row-reverse; }
.showcase-text { flex: 1; text-align: left; }
.showcase-material { flex: 1.2; position: relative; }
.section-tag { color: var(--brand-cyan); font-weight: 800; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 0.5rem; display: block; }
.showcase-text h2 { font-size: 2.8rem; font-family: var(--font-heading); margin-bottom: 1.5rem; }
.benefit-list { list-style: none; }
.benefit-list li { display: flex; align-items: flex-start; margin-bottom: 1rem; font-size: 1.1rem; color: var(--text-dim); }
.icon-dot { min-width: 12px; height: 12px; background: var(--brand-blue); border-radius: 50%; margin-right: 1.25rem; margin-top: 0.5rem; box-shadow: 0 0 10px var(--brand-blue); }
.grid-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* Image Stacks */
.image-stack { position: relative; width: 100%; height: 350px; display: flex; align-items: center; justify-content: center; }
.main-img { width: 90%; height: 300px; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); z-index: 2; }
.floating-card { position: absolute; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); padding: 0.8rem 1.2rem; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); z-index: 5; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: float 5s ease-in-out infinite; }
.material-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; height: 120%; background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%); filter: blur(40px); z-index: 1; pointer-events: none; }

/* DYNAMIC TESTIMONIALS (MARQUEE) */
.testimonials-dynamic { padding: 6rem 0; background: linear-gradient(180deg, var(--bg-color), #010411); overflow: hidden; position: relative; z-index: 10; }
.testimonials-dynamic h2 { font-size: 3rem; font-family: var(--font-heading); line-height: 1.1; font-weight: 800; text-align: center; margin-bottom: 4rem; }

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.single-track { padding: 2rem 0; }

.marquee-container::before, .marquee-container::after {
    content: "";
    position: absolute;
    top: 0; width: 20%; height: 100%;
    z-index: 10; pointer-events: none;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg-color), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg-color), transparent); }

.marquee-track {
    display: flex;
    width: max-content;
    gap: 2rem;
}

.track-left { animation: marqueeLeft 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

.testimonial-bubble {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(15px);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 380px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.testimonial-bubble:hover {
    border-color: var(--brand-cyan);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-5px);
}

.testimonial-bubble p {
    font-size: 1rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.testimonial-bubble .author {
    color: var(--brand-cyan);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ */
.faq { padding: 4rem 0; position: relative; z-index: 10; }
.faq h2 { text-align: center; margin-bottom: 3rem; font-family: var(--font-heading); font-size: 2.5rem; }
details { background: var(--card-bg); margin-bottom: 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
summary { padding: 1.5rem; cursor: pointer; font-weight: 700; list-style: none; font-size: 1.1rem; }
details article { padding: 0 1.5rem 1.5rem; color: var(--text-dim); }

/* Footer */
footer { padding: 4rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); position: relative; z-index: 10; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-bottom: 2rem; }
.footer-bottom { text-align: center; color: var(--text-dim); font-size: 0.9rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* Chat Screen */
#chat-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 2000; }
#iframe-container { width: 100%; height: 100%; }
iframe { width: 100%; height: 100%; border: none; }
#exit-btn { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: 1px solid #fff; color: #fff; padding: 0.6rem 1.2rem; border-radius: 8px; cursor: pointer; backdrop-filter: blur(10px); }

.hidden { display: none !important; }

/* Mobile */
@media (max-width: 1024px) {
    .showcase-block, .showcase-block.reverse { flex-direction: column; text-align: center; gap: 2rem; }
    .testimonials-dynamic h2 { font-size: 2.2rem; }
    .testimonial-bubble { width: 280px; padding: 1.5rem; }
}