﻿:root {
    --bg-dark: #0b132b;
    --bg-darker: #050a18;
    --bg-light: #f7f9fc;
    --accent-primary: #5ae0ff;
    --accent-secondary: #a855f7;
    --accent-tertiary: #22d3ee;
    --text-primary: #0f172a;
    --text-secondary: #4f5b7a;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-light: rgba(255, 255, 255, 0.2);
    --shadow-md: 0 20px 40px -20px rgba(15, 23, 42, 0.35);
    --shadow-soft: 0 10px 25px -15px rgba(15, 23, 42, 0.25);
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: radial-gradient(circle at top left, rgba(90, 224, 255, 0.12), rgba(15, 23, 42, 0) 45%),
                radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), rgba(15, 23, 42, 0) 50%),
                #ffffff;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1080px, 92vw);
    margin: 0 auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-container {
    width: min(1080px, 92vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -15px rgba(90, 224, 255, 0.8);
}

.logo-text {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.nav-link {
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    transition: background 0.2s ease, color 0.2s ease;
    color: var(--text-secondary);
}

.nav-link:hover {
    background: rgba(90, 224, 255, 0.12);
    color: var(--text-primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #0b132b;
    box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
    color: #0b132b;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.2s ease;
}

.hero {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background: radial-gradient(circle at 15% 20%, rgba(90, 224, 255, 0.25), rgba(90, 224, 255, 0) 48%),
                radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.28), rgba(168, 85, 247, 0) 45%),
                var(--bg-dark);
    color: #ffffff;
}

.hero .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 3vw, 3.3rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    margin-bottom: 2rem;
    max-width: 36ch;
    color: rgba(226, 232, 240, 0.86);
    font-size: 1.05rem;
    line-height: 1.6;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(90, 224, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    color: #051026;
    box-shadow: var(--shadow-soft);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(11, 19, 43, 0.75);
    border: 1px solid rgba(90, 224, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 320px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.hero-logo {
    width: 92px;
    height: 92px;
    margin: 0 auto 1.5rem auto;
    border-radius: 22px;
    background: rgba(90, 224, 255, 0.1);
    padding: 0.75rem;
}

.hero-note {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.75);
    line-height: 1.5;
}

.section {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.section-title {
    font-size: clamp(2rem, 2.6vw, 2.6rem);
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.section-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.stat-card,
.resource-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.stat-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.stat-card ul,
.resource-card ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    padding: 1.6rem;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.features {
    background: linear-gradient(180deg, rgba(90, 224, 255, 0.1), rgba(255, 255, 255, 0));
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}

.feature-card {
    padding: 1.7rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-soft);
}

.feature-card h3 {
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.community {
    background: var(--bg-light);
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.cta {
    background: radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.18), rgba(255, 255, 255, 0) 55%),
                radial-gradient(circle at 80% 40%, rgba(90, 224, 255, 0.25), rgba(255, 255, 255, 0) 60%);
}

.cta-card {
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    border-radius: calc(var(--radius-lg) + 6px);
    padding: clamp(2.2rem, 4vw, 3rem);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-card h2 {
    font-size: clamp(1.9rem, 2.4vw, 2.4rem);
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(226, 232, 240, 0.75);
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.footer {
    background: #0b132b;
    color: rgba(226, 232, 240, 0.7);
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.footer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.footer a {
    color: rgba(226, 232, 240, 0.8);
}

.footer a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 68px;
        right: 4vw;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 18px;
        padding: 1.2rem;
        display: grid;
        gap: 0.8rem;
        box-shadow: var(--shadow-soft);
        min-width: 220px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .link-buttons,
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}