/* === CSS Variables & Resets === */
:root {
    /* Colors */
    --bg-base: #0B1120;
    --bg-surface: rgba(17, 24, 39, 0.6);
    --bg-surface-hover: rgba(31, 41, 55, 0.8);
    
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #00D2FF;
    
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --text-light: #D1D5DB;
    
    --border-color: rgba(255, 255, 255, 0.1);
    
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.08) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-center { text-align: center; }

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.pt-32 { padding-top: 128px !important; }
.pt-16 { padding-top: 64px !important; }
.pb-0 { padding-bottom: 0 !important; }

.glass {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3b33bd);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 18px; border-radius: 12px;}

.pulse-glow {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* 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);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.brand-logo.sm {
    width: 24px;
    height: 24px;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

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

.hero-bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: #818cf8;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

/* Browser Mockup Visual */
.visual-card {
    border-radius: var(--radius-lg);
    padding: 8px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    box-shadow: -20px 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-mockup {
    background: #1F2937;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.browser-header {
    background: #111827;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.browser-body {
    padding: 30px;
    min-height: 400px;
    background: #F9FAFB;
    color: #111827;
    position: relative;
}

.mockup-content p {
    font-size: 18px;
    line-height: 1.6;
}

.highlighted {
    background-color: #BFDBFE;
    color: #1E3A8A;
    padding: 2px 4px;
    border-radius: 4px;
}

.floating-feedback {
    position: absolute;
    top: 60px;
    left: 200px;
    background: #10B981;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.mockup-menu {
    position: absolute;
    top: 100px;
    left: 150px;
    width: 250px;
    background: white !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
}

.menu-header {
    background: #F3F4F6;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #4B5563;
    border-bottom: 1px solid #E5E7EB;
}

.menu-item {
    padding: 10px 12px;
    font-size: 13px;
    color: #1F2937;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-item i { color: #9CA3AF; }

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

/* Logos Banner */
.ticker-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(17, 24, 39, 0.4);
}
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 24px;
    flex-wrap: wrap;
}

/* Features */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* How It Works */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-6 {
    width: 50%;
    padding: 0 15px;
}
.pr-lg { padding-right: 60px; }

.timeline {
    margin-top: 40px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    z-index: 1;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    margin-top: 6px;
}

.step-content p {
    color: var(--text-muted);
}

.img-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
}

.floating-logo {
    width: 180px;
    height: 180px;
    border-radius: 36px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
    animation: floatLogo 6s ease-in-out infinite;
}

.glow-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 210, 255, 0.4);
    animation: spin 20s linear infinite;
    z-index: 1;
}

@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* CTA */
.cta-card {
    padding: 80px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(to right, rgba(17,24,39,0.8), rgba(79,70,229,0.1));
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.cta-card h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-card p {
    color: var(--text-light);
    font-size: 18px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    background: rgba(11, 17, 32, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Privacy Layout Adjustments */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    margin: 40px 0 16px;
    color: var(--secondary);
    font-size: 24px;
}

.privacy-content p, .privacy-content ul {
    margin-bottom: 16px;
    color: var(--text-light);
}

.privacy-content ul {
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 991px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 48px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .visual-card { display: none; } /* Hide complex visual on mobile */
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide for brevity, would need mobile menu JS */
    }
    .features-grid { grid-template-columns: 1fr; }
    .col-6 { width: 100%; padding: 0; }
    .pr-lg { padding-right: 0; }
    .timeline { margin-bottom: 40px; }
    .img-showcase { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
