@font-face {
    font-family: 'SomeFont';
    src: url('assets/fonts/SomeFont-Regular.woff2') format('woff2'),
         url('assets/fonts/SomeFont-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SomeFont';
    src: url('assets/fonts/SomeFont-Medium.woff2') format('woff2'),
         url('assets/fonts/SomeFont-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SomeFont';
    src: url('assets/fonts/SomeFont-Semibold.woff2') format('woff2'),
         url('assets/fonts/SomeFont-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #07111f;
    --panel: rgba(255, 255, 255, 0.08);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --text: #f8fbff;
    --link-visited: #bbbdbe;
    --muted: #9fb0c9;
    --accent: #6ee7f9;
    --accent-2: #8b5cf6;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'SomeFont', "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(110, 231, 249, 0.2), transparent 24%),
        radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.2), transparent 30%),
        var(--bg);
    min-height: 100vh;
}

.container {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

header {
    padding: 1.5rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
}

.brand span {
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 1rem;
    color: var(--muted);
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--text); }

.hero {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 0;
}

.hero-header {
    max-width: 680px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge {
    align-self: flex-start;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.card-link {
    margin-top: auto;
    font-weight: 600;
    color: #c084fc;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.9rem);
    line-height: 1.05;
    margin: 0 0 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 1.5rem;
    max-width: 620px;
    font-weight: 400;
}

.buttons {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 12px 28px rgba(110, 231, 249, 0.2);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
}

.card {
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-radius: 24px;
    padding: 1.25rem;
    backdrop-filter: blur(18px);
}

.card a {
    color: var(--text);
}

.card a:hover {
    color: var(--accent);
}

.card a:visited {
    color: var(--link-visited);
}

.hero-card {
    padding: 1.4rem;
}

.hero-card .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat {
    padding: 1rem;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat strong {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.section {
    padding: 1.2rem 0 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.feature {
    padding: 1.2rem;
    width: 100%;
    min-width: 0;
    word-break: break-word;
}

.feature h3 {
    margin: 0.7rem 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.feature p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
}

.page-section {
    display: none;
}
.page-section.active {
    display: block;
}

.hero_card .title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.hero_card .body {
    color: var(--muted);
    line-height: 1.7;
}

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(110,231,249,0.2), rgba(139,92,246,0.2));
    color: var(--accent);
    font-size: 1.15rem;
}

.about-item {
    line-height: 1.8;
}

.about-title {
    font-size: 150%;
    display: block;
    font-weight: 600;
}

.about-content {
    color: var(--muted);
}

footer {
    padding: 1.3rem 0 2.2rem;
    color: var(--muted);
    text-align: center;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nav { 
        border-radius: 20px; 
        padding: 0.8rem 1.2rem; 
    }

    .nav-links { 
        display: flex; 
        align-items: center; 
        gap: 0.75rem; 
    }

    .brand { 
        font-size: 1.1rem; 
    }
    
    .nav-links a { 
        font-size: 0.95rem; 
    }

    .stat-grid { grid-template-columns: 1fr; }
    .buttons { flex-direction: column; }
    .btn { text-align: center; }
}