:root {
    --bg: #0f172a;
    --bg-soft: #111827;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius: 20px;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 30%), radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 25%), linear-gradient(180deg, #020617 0%, #0f172a 100%);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 40px;
}

.section-tag,
.tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(56, 189, 248, 0.08);
    font-size: 0.9rem;
    font-weight: bold;
}

.section-header h2,
.hero h1 {
    line-height: 1.1;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 14px;
}

.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(2, 6, 23, 0.65);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.main-nav {
    display: flex;
    gap: 22px;
}

.main-nav a {
    color: var(--muted);
    transition: 0.25s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
}

.hero {
    padding: 110px 0 90px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    margin-bottom: 20px;
    max-width: 750px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: bold;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #00111b;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
}

.hero-card {
    position: relative;
}

.card-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 60%);
    filter: blur(20px);
    z-index: 0;
}

.hero-box {
    position: relative;
    z-index: 1;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hero-box p {
    color: var(--muted);
    margin-bottom: 16px;
}

.hero-box ul {
    list-style: none;
}

.hero-box li {
    padding: 10px 0;
    border-top: 1px solid var(--border);
    color: var(--text);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card,
.contact-card,
.contact-form,
.about-box,
.cta-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-card {
    padding: 26px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.4);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
}

.about-grid p {
    color: var(--muted);
    margin-bottom: 16px;
}

.about-box {
    padding: 30px;
    display: grid;
    gap: 18px;
}

.stat {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--muted);
}

.cta-box {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.contact-card,
.contact-form {
    padding: 28px;
}

.contact-card h3 {
    margin-bottom: 14px;
}

.contact-card p {
    color: var(--muted);
    margin-bottom: 10px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-message {
    min-height: 24px;
    color: var(--primary);
    font-weight: bold;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    background: rgba(2, 6, 23, 0.55);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-content p,
.footer-links a {
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 18px;
}

@media (max-width: 992px) {
    .hero-content,
    .feature-grid,
    .about-grid,
    .contact-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        display: grid;
    }
    .cta-box {
        display: grid;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: 78px;
        right: 4%;
        width: min(260px, 92vw);
        background: rgba(15, 23, 42, 0.96);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
        padding: 16px;
        display: none;
        flex-direction: column;
        gap: 14px;
    }
    .main-nav.show {
        display: flex;
    }
    .hero {
        padding-top: 80px;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .section {
        padding: 70px 0;
    }
}