:root {
    --bg-dark: #000000;
    --bg-surface: #1d1d1f;
    --bg-glass: rgba(20, 20, 20, 0.75);

    --accent-blue: #2997ff;
    --accent-blue-hover: #54b2ff;
    --gradient-start: #2997ff;
    --gradient-end: #30D0FF;

    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --border-color: rgba(255, 255, 255, 0.15);

    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-system);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 0;
}

/* Dark Scheme Ambient Background Layers */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    /* Dark mode glowing 3D dots */
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    background-position: center;
    /* Create 3D perspective */
    transform: perspective(1000px) rotateX(60deg) translateY(-100px);
    mask-image: radial-gradient(circle at center, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 60%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(41, 151, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(162, 59, 237, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(248, 87, 166, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Typography */
h1, h2, h3 { letter-spacing: -0.02em; }

.text-gradient {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-color);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; }
.nav-links { display: none; }
@media (min-width: 768px) { .nav-links { display: flex; gap: 2rem; } }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text-primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; font-weight: 600; border-radius: 999px; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background-color: var(--accent-blue); color: white; padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.btn-primary:hover { background-color: var(--accent-blue-hover); transform: scale(1.02); }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }

/* Common Section Styles */
.section-container { max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 6rem; }
.section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 3rem; }
.grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* Cards & Glassmorphism */
.glass {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.card { padding: 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(255, 255, 255, 0.2); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(41, 151, 255, 0.15);
}
.card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; color: var(--text-primary); }
.card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Hero Section */
.hero { padding-top: 8rem; text-align: center; position: relative; overflow: hidden; }
.hero-content { max-width: 900px; margin: 0 auto; padding: 2rem; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { margin-bottom: 4rem; }

.split-hero { display: flex; flex-direction: column; gap: 3rem; align-items: center; text-align: center; }
@media (min-width: 992px) {
    .split-hero { flex-direction: row; text-align: left; max-width: 1200px; }
    .hero-text-block { flex: 1; padding-right: 2rem; }
    .hero-visual-block { flex: 1; }
    .split-hero .hero-subtitle { margin-left: 0; margin-right: 0; }
    .split-hero h1 { text-align: left; }
}

.mock-window {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(41, 151, 255, 0.15);
    position: relative;
    padding-top: 2rem;
    background: #1d1d1f; 
}
.mock-window::before {
    content: '';
    position: absolute;
    top: 0.65rem;
    left: 1rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 1.25rem 0 0 #ffbd2e, 2.5rem 0 0 #27c93f;
    z-index: 2;
}

.hero-img, .img-fluid { width: 100%; display: block; height: auto; object-fit: cover; }

/* Video Section */
.video-container { aspect-ratio: 16 / 9; width: 100%; max-width: 900px; margin: 0 auto 4rem auto; }

/* Steps Section */
.step-card { text-align: center; }
.step-icon {
    width: 4rem; height: 4rem; margin: 0 auto 1.5rem auto; border-radius: 50%;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.15), rgba(41, 151, 255, 0.4));
    color: var(--accent-blue-hover);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700;
    border: 1px solid rgba(41, 151, 255, 0.3);
    box-shadow: 0 0 15px rgba(41, 151, 255, 0.2);
}
.step-card h3 { margin-bottom: 0.75rem; color: var(--text-primary); }
.step-card p { color: var(--text-secondary); }

/* Feature Split */
.split { display: flex; flex-direction: column; gap: 4rem; align-items: center; }
@media (min-width: 992px) { .split { flex-direction: row; } .feature-text, .feature-image { flex: 1; } }
.feature-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.feature-text p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2rem; }
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 1.05rem; }
.feature-list span { color: var(--accent-blue-hover); font-weight: bold; }

/* FAQ Accordion */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0; color: var(--text-primary);
    font-size: 1.1rem; font-weight: 600; cursor: pointer; font-family: inherit; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--text-secondary); transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-secondary); }

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 4rem 2rem 2rem; background: var(--bg-surface); }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .footer-container { flex-direction: row; justify-content: space-between; } }
.footer-brand p { color: var(--text-secondary); margin-top: 0.5rem; font-size: 0.9rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copyright { text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-top: 4rem; }

/* Animations */
.slide-up { animation: slideUp 1s cubic-bezier(0.15, 1, 0.2, 1) forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }