/* EasyGo Landing Page Styles */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --gradient-start: #6366f1;
    --gradient-end: #0ea5e9;
    --background: #0f172a;
    --background-light: #1e293b;
    --surface: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --border: #475569;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; }
p { color: var(--text-muted); }
a { color: inherit; text-decoration: none; transition: var(--transition); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    transition: var(--transition); border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); background: rgba(99, 102, 241, 0.1); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

kbd {
    display: inline-block; padding: 3px 8px;
    background: var(--background-light); border: 1px solid var(--border);
    border-radius: 5px; font-family: inherit; font-size: 0.8em;
    color: var(--text); box-shadow: 0 2px 0 var(--border);
}

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 14px 0; background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px); border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; }
.logo-img { width: 32px; height: 32px; object-fit: contain; }
.footer-brand .logo-img { width: 28px; height: 28px; }
.nav-menu { display: flex; list-style: none; gap: 28px; }
.nav-menu a { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
.nav-menu a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100vh; padding: 120px 0 60px; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-title { margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.1rem; max-width: 480px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.8rem; color: var(--text-dark); }
.hero-image-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: auto; display: block; }

/* Sections */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 0; }

/* Features */
.feature-showcase { display: flex; flex-direction: column; gap: 24px; margin-bottom: 50px; }
.feature-item {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;
    background: var(--background-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.feature-item.reverse { direction: rtl; }
.feature-item.reverse > * { direction: ltr; }
.feature-image {
    background: #080c1e;
    padding: 20px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-image img {
    width: 100%; height: auto; display: block;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.feature-content { padding: 32px 36px; }
.feature-content h3 { margin-bottom: 12px; }
.feature-content > p { margin-bottom: 16px; font-size: 1rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
    color: var(--text-muted); font-size: 0.9rem;
    padding-left: 20px; position: relative;
}
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-light); font-weight: 600; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 20px; background: var(--background-light); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.feature-card h4 { margin-bottom: 4px; font-size: 0.95rem; }
.feature-card p { font-size: 0.85rem; }

/* Use Cases */
.usecases-section { background: var(--background-light); }
.section-desc { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; }
.usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usecase-card {
    padding: 28px 24px; background: var(--background); border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.usecase-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.usecase-icon { font-size: 2.5rem; margin-bottom: 16px; }
.usecase-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.usecase-card > p { font-size: 0.9rem; margin-bottom: 16px; line-height: 1.5; }
.usecase-benefits { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.usecase-benefits li {
    font-size: 0.85rem; color: var(--text-muted); padding-left: 20px;
    position: relative;
}
.usecase-benefits li::before {
    content: "✓"; position: absolute; left: 0; color: var(--primary-light);
}

/* Demo */
.demo-section { background: var(--background); padding: 80px 0; }
.demo-video-container { max-width: 900px; margin: 0 auto; }
.video-wrapper { width: 100%; }
.video-wrapper.has-video {
    display: flex;
    justify-content: center;
}
.video-wrapper.has-video video {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
}

/* Download */
.download-section { padding: 80px 0; }
.download-card {
    padding: 60px 40px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: var(--radius-lg); text-align: center;
}
.download-card h2 { color: white; margin-bottom: 12px; }
.download-requirements { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-bottom: 24px; }
.download-actions { display: flex; justify-content: center; gap: 14px; }
.download-section .btn-primary { background: white; color: var(--primary-dark); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.download-section .btn-primary:hover { transform: translateY(-2px); }
.download-section .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: white; }
.download-section .btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

/* Footer */
.footer { background: var(--background-light); padding: 30px 0; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.85rem; }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-description { margin: 0 auto 28px; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-image { max-width: 550px; margin: 0 auto; }
    .feature-item, .feature-item.reverse { grid-template-columns: 1fr; direction: ltr; }
    .feature-item .feature-image { order: -1; }
    .feature-item.reverse .feature-image { order: -1; }
    .feature-content { padding: 24px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .features-grid, .usecases-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .download-card { padding: 40px 24px; }
    .download-actions { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; align-items: center; }
}

.navbar.open .nav-menu {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--background);
    padding: 20px; border-bottom: 1px solid var(--border); gap: 16px;
}
.navbar.open .nav-actions {
    display: flex; flex-direction: column; position: absolute;
    top: calc(100% + 120px); left: 0; right: 0; background: var(--background);
    padding: 20px; border-bottom: 1px solid var(--border); gap: 10px;
}
