:root {
    --bg-main: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-glass: rgba(18, 18, 26, 0.6);
    --bg-glass-hover: rgba(30, 30, 45, 0.8);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 15, 1) 50%);
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

/* Utilities */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

.hero-content .badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* App Mockup */
.app-mockup {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    flex: 1;
    position: relative;
    background: #e2e8f0;
}

.mockup-map {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 20px 20px;
}

.pulse-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: pulse 2s infinite;
}

.pulse-marker.accent {
    background: var(--accent-secondary);
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    animation: pulse-accent 2s infinite 1s;
}

.route-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

@keyframes pulse-accent {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
    100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* Features */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--bg-glass-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

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

/* Analytics Section */
.analytics {
    background: linear-gradient(180deg, transparent, rgba(30, 30, 45, 0.4), transparent);
    padding: 100px 0;
}

.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.analytics-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.analytics-text p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.table-mockup {
    padding: 24px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.header {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-moving { color: var(--success); }
.status-halt { color: var(--warning); }

/* How It Works */
.how-it-works {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    z-index: -1;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: var(--bg-main);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.step h3 {
    margin-bottom: 12px;
}

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

/* CTA */
.cta {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

.cta-panel {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(30,30,45,0.8), rgba(15,15,25,0.8));
}

.cta-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-panel p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    background: rgba(10, 10, 15, 0.9);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 992px) {
    .hero, .analytics-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 { font-size: 3rem; }
    .hero p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step::after { display: none; }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 2.5rem; }
}
