:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #3b82f6;
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-light: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #22c55e;
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ─── Navbar ─── */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand {
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    letter-spacing: -0.5px;
}
.nav-brand span { color: var(--accent); }
.nav-links {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.nav-links a:hover {
    color: #fff;
    background: var(--bg-light);
    text-decoration: none;
}
.btn-nav {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
}
.btn-nav:hover {
    background: var(--primary-dark) !important;
}

/* ─── Hero ─── */
.hero {
    padding: 100px 0 80px;
    text-align: center;
}
.hero h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

/* ─── Features ─── */
.features {
    padding: 80px 0;
}
.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color .2s;
}
.feature-card:hover {
    border-color: var(--accent);
}
.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ─── News ─── */
.news {
    padding: 80px 0;
}
.news h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.news-date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.news-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ─── Video ─── */
.video {
    padding: 80px 0;
}
.video h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.video-embed {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.video-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}
.video-embed p {
    padding: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ─── Contacts ─── */
.contacts {
    padding: 80px 0;
    text-align: center;
}
.contacts h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}
.contacts p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 16px;
}
.contact-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: border-color .2s;
}
.contact-link:hover {
    border-color: var(--accent);
    text-decoration: none;
}

/* ─── Footer ─── */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ─── ECU List ─── */
.ecu-list {
    list-style: none;
    padding: 0;
}
.ecu-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}
.ecu-list li:last-child {
    border-bottom: none;
}
.ecu-list li strong {
    color: var(--text);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .navbar { padding: 0 16px; }
    .nav-links { gap: 4px; }
    .nav-links a { padding: 8px 10px; font-size: 13px; }
    .features-grid, .news-grid, .video-grid {
        grid-template-columns: 1fr;
    }
}
