:root {
    --primary: #4338ca; /* Indigo 700 for high contrast (6.5:1) */
    --primary-light: #818cf8;
    --primary-glow: rgba(67, 56, 202, 0.4);
    --secondary: #7e22ce; /* Purple 700 for high contrast (6.6:1) */
    --dark: #0f172a;
    --darker: #020617;
    --light: #ffffff;
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.15);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Effects */
.grid-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.5;
}

.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(99, 102, 241, 0.4); }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: rgba(168, 85, 247, 0.3); }
.blob-3 { top: 40%; left: 30%; width: 40vw; height: 40vw; background: rgba(56, 189, 248, 0.2); }

/* Typography */
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Outfit', sans-serif; 
    margin-top: 0;
}
.text-primary { color: var(--primary-light); }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-3 { gap: 1rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.small { font-size: 0.875rem; }

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.2s ease;
}

/* Navbar */
.navbar {
    padding: 1.2rem 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Outfit'; font-size: 1.5rem; font-weight: 800; display:flex; align-items:center; gap:0.6rem; cursor: pointer;}
.logo:hover { opacity: 0.9; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { 
    color: rgba(255, 255, 255, 0.7); 
    font-weight: 600; 
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active { 
    color: var(--primary-light); 
}

/* Footer Styling */
footer a {
    color: #94a3b8; /* Increased contrast */
    font-size: 0.9rem;
}
footer a:hover {
    color: white;
}
.hover-white:hover { color: white !important; }

/* Components */
.badge-premium {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.2) 0%, rgba(168,85,247,0.2) 100%);
    border: 1px solid rgba(168,85,247,0.3);
    color: #e879f9;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    background: #4f46e5;
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}
.hero-actions { justify-content: center; }

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.product-features li {
    padding: 0.4rem 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.product-features li i {
    color: var(--primary-light);
    margin-right: 0.5rem;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 4rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
    font-family: 'Outfit';
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Feature Grid (bento) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99,102,241,0.4);
}
.text-muted { color: #cbd5e1; }

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Legal content */
.legal-content {
    max-width: 900px;
    margin: 60px auto 120px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeIn 0.6s ease; }
.animate-fade-in-up { animation: fadeIn 0.8s ease; }

footer { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.05); }

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .nav-links { display: none; }
    .product-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
