:root {
    /* Brand Colors */
    --primary: #0ea5e9; /* Light Ocean Blue */
    --primary-glow: rgba(14, 165, 233, 0.5);
    --secondary: #8b5cf6; /* Vibrant Purple */
    --secondary-glow: rgba(139, 92, 246, 0.5);
    
    /* Dark Mode Palette */
    --bg-base: #020617; /* Very Dark Slate */
    --bg-surface: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Spacing & Layout */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .logo, .logo-small {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}
.btn-primary-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

/* Background Glow Effects */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.15;
    animation: float 10s infinite alternate;
}

.glow-1 {
    top: -10%;
    left: -10%;
    background: var(--primary);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    background: var(--secondary);
    animation-delay: -5s;
}

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

@keyframes reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: reveal 0.8s ease forwards;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    animation: reveal 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    animation: reveal 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: reveal 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Glass Card Reusable */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Mockup UI */
.mockup-card {
    padding: 1rem;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    animation: float 6s infinite ease-in-out alternate;
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding-bottom: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
}
.dot:nth-child(1) { background: #ef4444; }
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #10b981; }

.video-placeholder {
    width: 100%;
    height: 480px;
    border-radius: 12px;
    background: linear-gradient(45deg, #1e293b, #334155);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.video-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
}
.play-btn::after {
    content: '';
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid white;
    margin-left: 5px;
}
.play-btn:hover {
    transform: scale(1.1);
}

.video-meta {
    padding: 0.5rem;
}

.meta-title {
    font-weight: 600;
    font-family: 'Outfit';
    font-size: 1.1rem;
}
.meta-dist {
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 0.2rem;
}


/* General Sections */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.bg-dark {
    background: rgba(15, 23, 42, 0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Grid 3 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Split Layouts */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-layout.reverse .split-content {
    order: 1;
}
.split-layout.reverse .split-image {
    order: 2;
}

.split-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--text-muted);
    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 li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Decorative UI Elements */
.tall-card {
    height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(30,41,59,0.5), rgba(15,23,42,0.8));
}
.ui-element {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transform: translateX(-20px);
    transition: transform 0.3s ease;
}
.tall-card:hover .ui-element { transform: translateX(0); }
.ui-1 { color: #fff; font-family: 'Outfit'; font-size: 1.2rem; }
.ui-2 { color: var(--primary); }
.ui-3 { color: #f43f5e; }


.stat-card {
    padding: 2rem;
}
.stat-header {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-value {
    font-size: 3rem;
    font-family: 'Outfit';
    font-weight: 700;
    margin: 0.5rem 0 2rem 0;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-chart {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 150px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 5px;
}
.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary), transparent);
    border-radius: 6px 6px 0 0;
    opacity: 0.7;
    transition: height 1s ease-out, opacity 0.3s ease;
}
.stat-card:hover .bar { opacity: 1; }

/* Final CTA */
.cta-section {
    padding: 6rem 0;
}
.cta-box {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(139,92,246,0.1));
}
.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary);
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive constraints */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .split-layout, .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-layout.reverse .split-content { order: 0; }
    .split-layout.reverse .split-image { order: 1; }
    .split-image { margin: 0 auto; max-width: 500px; width: 100%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.8rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero { padding-top: 6rem; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem auto; }
    .hero-cta { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .section-header h2 { font-size: 2.2rem; }
}
