﻿/* --- 1. CORE VARIABLES & RESET --- */
:root {
    --bg-dark: #030304;       /* Darker, richer black */
    --bg-panel: #0E0E11;      /* Subtle panel color */
    --primary: #6366f1;       /* Indigo */
    --primary-glow: #818cf8;  
    --accent: #a855f7;        /* Purple */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08); /* Slightly more visible border */
    --border-glow: rgba(99, 102, 241, 0.4);
    --font-inter: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- 2. PREMIUM BACKGROUNDS --- */
/* Noise Texture for that "Film Grain" look */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbm9pc2UpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
    opacity: 0.4;
    pointer-events: none;
    z-index: 9999;
}

.grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-image: 
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

.ambient-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.top-center { top: -200px; left: 50%; transform: translateX(-50%); }
.center-glow { top: 20%; left: 50%; transform: translateX(-50%); width: 800px; background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(0,0,0,0) 70%); }

/* --- 3. NAVIGATION --- */
nav {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 10px 0; z-index: 100;
    background: rgba(3, 3, 4, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-weight: 700; font-size: 1.25rem;
    display: flex; align-items: center; gap: 10px;
}
.logo-icon { color: var(--primary); }

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }

.nav-actions { display: flex; gap: 20px; align-items: center; }
.link-text { color: var(--text-main); font-size: 0.9rem; font-weight: 500; }

.nav-btn {
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: 0.3s;
}
.nav-btn:hover { background: rgba(255,255,255,0.15); box-shadow: 0 0 15px rgba(255,255,255,0.1); }

/* --- 4. HERO SECTION --- */
.hero { padding: 84px 0 80px; position: relative; }
.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-glow); font-size: 0.85rem; font-weight: 500;
    margin-bottom: 24px;
}
.dot { width: 6px; height: 6px; background-color: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary); }

.hero-text h1 {
    font-size: 4rem; line-height: 1.1; margin-bottom: 24px;
    font-weight: 800; letter-spacing: -1.5px;
}
.text-gradient {
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-text p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 40px; max-width: 500px; }

.cta-group { display: flex; flex-direction: column; gap: 20px; }
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--primary); color: white;
    padding: 14px 32px; border-radius: 8px; font-weight: 600; width: fit-content;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5); }

.stats-mini { display: flex; align-items: center; gap: 15px; font-size: 0.9rem; color: var(--text-muted); }
.avatars { display: flex; }
.avatars span {
    width: 32px; height: 32px; background: #2d2d35;
    border: 2px solid var(--bg-dark); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }

.glowing-box { position: relative; }
.dashboard-img {
    height:400px;
    width: 95%; border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1s ease-out;
}
.floating-badge {
    position: absolute; bottom: 40px; left: -30px;
    background: #1e1e24; padding: 12px 24px; border-radius: 10px;
    border: 1px solid var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; color: white;
    animation: float 4s ease-in-out infinite;
}

/* --- 5. LOGO MARQUEE (NEW) --- */
.logo-marquee {
    padding: 40px 0; border-bottom: 1px solid var(--border-light); border-top: 1px solid var(--border-light);
    background: rgba(255,255,255,0.01);
    text-align: center; overflow: hidden;
}
.logo-marquee p { font-size: 0.8rem; color: #64748b; margin-bottom: 20px; font-weight: 600; letter-spacing: 1px; }
.marquee-track { overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track::before, .marquee-track::after {
    content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2;
}
.marquee-track::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.marquee-track::after { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-content span {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 30px; font-size: 1.2rem; font-weight: 600; color: #52525b;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- 6. BENTO GRID FEATURES (NEW) --- */
.features { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 24px;
}
/* Bento Spans */
.span-2 { grid-column: span 2; }

.feature-box {
    background: var(--bg-panel);
    padding: 35px; border-radius: 16px;
    border: 1px solid var(--border-light);
    position: relative; transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
}
.feature-box:hover {
    transform: translateY(-5px); border-color: var(--border-glow);
    box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.25);
}
.icon-wrapper {
    width: 45px; height: 45px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--primary-glow); font-size: 1.1rem; margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.feature-box h3 { margin-bottom: 10px; font-size: 1.2rem; color: #fff; }
.feature-box p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Horizontal feature box specific */
.feature-content.horizontal { display: flex; gap: 20px; align-items: flex-start; }
.feature-content.horizontal .icon-wrapper { margin-bottom: 0; flex-shrink: 0; }

/* --- 7. PRICING & ABOUT --- */
.pricing { padding: 100px 0; position: relative; }
.pricing-wrapper { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.price-card {
    background: var(--bg-panel); border: 1px solid var(--border-light);
    border-radius: 16px; padding: 40px 32px; width: 340px;
    display: flex; flex-direction: column; transition: 0.3s; position: relative;
}
.price-card.popular {
    background: radial-gradient(circle at top right, rgba(99,102,241,0.08), transparent), var(--bg-panel);
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.1);
    transform: scale(1.03); z-index: 2;
}
.popular-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; font-size: 0.75rem; font-weight: 700;
    padding: 4px 12px; border-radius: 12px;
}
.card-header { margin-bottom: 30px; text-align: center; }
.price-card h3 { color: var(--text-muted); font-size: 1rem; margin-bottom: 15px; }
.price { font-size: 3rem; font-weight: 700; color: #fff; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.checklist { margin-bottom: 40px; flex: 1; }
.checklist li { display: flex; gap: 12px; margin-bottom: 16px; color: #cbd5e1; font-size: 0.95rem; }
.checklist li i { color: var(--primary); margin-top: 4px; }

.btn-outline {
    display: block; text-align: center; padding: 12px;
    border: 1px solid var(--border-light); border-radius: 8px; color: white; font-weight: 600;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }
.full-width { width: 100%; display: block; text-align: center; }

/* About */
.about { padding: 120px 0; border-top: 1px solid var(--border-light); background: linear-gradient(to bottom, var(--bg-dark), #000); }
.about-wrapper { display: flex; align-items: center; gap: 80px; }
.about-content { flex: 1; }
.about-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; }
.stats-row { display: flex; gap: 60px; border-top: 1px solid var(--border-light); padding-top: 30px; }
.stat h4 { font-size: 2rem; color: #fff; margin-bottom: 5px; }
.stat span { color: var(--text-muted); font-size: 0.9rem; }
.about-visual { flex: 1; display: flex; justify-content: center; }
.team-img { width: 100%; max-width: 500px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); }

/* --- 8. FINAL CTA (NEW) --- */
.final-cta { padding: 80px 0; }
.cta-box {
    background: radial-gradient(circle at center, rgba(99,102,241,0.2) 0%, rgba(5,5,7,1) 100%), var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: 24px; text-align: center; padding: 80px 20px;
    position: relative; overflow: hidden;
}
.cta-box h2 { font-size: 2.5rem; margin-bottom: 20px; color: white; }
.cta-box p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }

/* --- 9. FOOTER --- */
footer {
    position: relative; padding: 80px 0 40px; background: #020202;
    border-top: 1px solid var(--border-light);
}
.footer-glow {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 200px;
    background: radial-gradient(ellipse at bottom, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; position: relative; z-index: 1; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 24px; font-weight: 600; }
.brand-col p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; max-width: 300px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.badge-mini { font-size: 10px; background: rgba(99, 102, 241, 0.2); color: var(--primary-glow); padding: 2px 6px; border-radius: 4px; margin-left: 6px; }

.newsletter-box { background: rgba(255,255,255,0.03); padding: 20px; border-radius: 12px; border: 1px solid var(--border-light); max-width: 320px; }
.newsletter-label { margin-bottom: 10px; font-size: 0.85rem; font-weight: 600; color: #fff; }
.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; background: rgba(0,0,0,0.3); border: 1px solid var(--border-light); padding: 10px; border-radius: 6px; color: #fff; }
.input-group button { background: var(--primary); border: none; color: white; width: 40px; border-radius: 6px; cursor: pointer; }

.contact-details li { display: flex; gap: 16px; margin-bottom: 24px; }
.icon-circle { width: 32px; height: 32px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); border: 1px solid var(--border-light); flex-shrink: 0; }
.contact-details .label { display: block; font-size: 0.75rem; color: #64748b; text-transform: uppercase; margin-bottom: 4px; }
.contact-details .value { color: #e2e8f0; font-size: 0.9rem; }

.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.copyright { color: #64748b; font-size: 0.85rem; }
.social-links { display: flex; gap: 12px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: 0.3s; }
.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* --- ANIMATIONS --- */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.fade-in { animation: fadeIn 1s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- MOBILE --- */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-content, .about-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-visual, .about-visual { order: -1; margin-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .nav-links, .nav-actions { display: none; }
    .cta-group { align-items: center; }
}