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

:root {
    --bg-void: #050505;
    --bg-deep: #0b0b0b;
    --bg-card: #121212;
    --bg-elevated: #1a1a1a;
    --gold: #e8b339;
    --gold-light: #f5d065;
    --gold-dim: #a67c1e;
    --gold-glow: rgba(232, 179, 57, 0.2);
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --border-subtle: #2a2a2a;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

a {
    color: var(--gold);
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.025"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 0;
}

.glow-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle at 30% 30%, rgba(232, 179, 57, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    top: -20vh;
    left: -10vw;
}

.orb-2 {
    bottom: -10vh;
    right: -5vw;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.05) 0%, transparent 70%);
}

.container {
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
    z-index: 5;
}

.glass-nav {
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.5);
    border-bottom: 1px solid rgba(232, 179, 57, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem ;
    position: fixed;
    z-index: 100;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 600;
}

.logo-icon {
    color: var(--gold);
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#icon {
    width: 1.75em;
    text-align: center;
    align-self: center;
}

#logo-text {
    background: linear-gradient(135deg, #fff, #e8b339);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-badge {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gold-dim);
    background: rgba(232, 179, 57, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    margin-left: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.8rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.lang-switch:hover {
    border-color: var(--gold-dim);
    background: rgba(232, 179, 57, 0.05);
}

.lang-option.active {
    color: var(--gold);
    font-weight: 600;
}

.lang-divider {
    color: var(--border-subtle);
}

.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    background: rgba(232, 179, 57, 0.08);
    border: 1px solid rgba(232, 179, 57, 0.25);
    color: var(--gold);
    padding: 0.4rem 1.6rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff 0%, #e8b339 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(232, 179, 57, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.8rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1.5px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: #050505;
    box-shadow: 0 8px 20px rgba(232, 179, 57, 0.3);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-outline:hover {
    background: rgba(232, 179, 57, 0.06);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding: 5rem 0;
}

.code-card {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid #2c2c2c;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 40px -15px #000;
    transition: var(--transition-smooth);
}

.code-card:hover {
    border-color: var(--gold-dim);
    box-shadow: 0 30px 50px -10px #000, 0 0 0 1px rgba(232, 179, 57, 0.1);
}

.code-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.8rem;
    background: #141414;
    border-bottom: 1px solid #2e2e2e;
}

.window-dots {
    display: flex;
    gap: 8px;
    margin-right: 1.5rem;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.dot:nth-child(1) {
    background: #e8b339;
    opacity: 0.9;
}

.dot:nth-child(2) {
    background: #a67c1e;
}

.dot:nth-child(3) {
    background: #5f5f5f;
}

.code-filename {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

pre {
    padding: 2rem 1.8rem;
    margin: 0;
    font-family: 'SF Mono', Menlo, Monaco, monospace;
    font-size: 1.8rem;
    line-height: 1.3;
    background: #0b0b0b;
    height: 100%;
}

.code-keyword {
    color: var(--gold);
    font-weight: 500;
}

.code-function {
    color: #e0e0e0;
}

.code-type {
    color: var(--gold-soft);
}

.code-string {
    color: #c9a53b;
}

.code-comment {
    color: #7a7a7a;
    font-style: italic;
}

.code-number {
    color: #d4a017;
}

.feature-cluster {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-tile,
.premium-card,
.perf-item,
.tooling-block,
.cta-block-premium {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.feature-tile:hover,
.premium-card:hover,
.perf-item:hover,
.tooling-block:hover,
.cta-block-premium:hover {
    border-color: var(--gold-dim);
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px #000, 0 0 0 1px rgba(232, 179, 57, 0.2);
    background: #151515;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.feature-tile h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.feature-tile p {
    color: var(--text-secondary);
}

.performance-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.perf-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.perf-item {
    text-align: center;
    min-width: 240px;
    padding: 2rem 3rem;
}

.perf-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
}

.perf-desc {
    color: var(--text-secondary);
}

.table-wrapper {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 1.2rem 1.5rem;
    background: #151515;
    font-weight: 600;
    color: var(--gold);
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.comparison-table th,
.comparison-table td {
    white-space: nowrap;
}
.comparison-table td:last-child {
    color: var(--gold-soft);
    font-weight: 500;
}

.comparison-table tbody tr:hover {
    background: rgba(232, 179, 57, 0.03);
}

.extended-features {
    padding: 4rem 0;
}

.feature-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.premium-card {
    padding: 2rem 1.5rem;
    backdrop-filter: blur(4px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.premium-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.premium-card p {
    color: var(--text-secondary);
}

.tooling-cta {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 6rem;
    border-top: 1px solid rgba(232, 179, 57, 0.1);
}

.tooling-block {
    padding: 2.5rem;
}

.tooling-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.tool-chips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chip {
    background: #151515;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    border: 1px solid #2a2a2a;
    font-family: monospace;
    color: var(--gold);
}

.cta-block-premium h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-terminal {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    padding: 1.2rem 1.8rem;
    border-radius: 40px;
    font-family: monospace;
    font-size: 1.2rem;
    margin: 2rem 0;
    color: var(--gold-soft);
    word-break: break-all;
}

.cta-buttons-group {
    display: flex;
    gap: 1.5rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 2.5rem 0;
    width: 100%;
    margin-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-tile, .premium-card, .perf-item, .tooling-block,
.cta-block-premium, .table-wrapper, .gradient-banner,
.version-card, .version-list-card, .prev-standard-card,
.split-layout, .prev-standards-grid {
    opacity: 0;
}

@media (max-width: 900px) {
    .showcase {
        grid-template-columns: 1fr;
    }

    .feature-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    .tooling-cta {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .navbar {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 600px) {
    .feature-grid-premium {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
}

* {
    transition: 0.5s;
}
body {
    background: linear-gradient(135deg, #050505 0%, #000 50%, #0a0a0a 100%);
    background-attachment: fixed;
    transition: background 0.5s ease;
}

/* Анимированный градиент (опционально, для более премиального эффекта) */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
body {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.feature-tile,
.premium-card,
.perf-item,
.tooling-block,
.cta-block-premium,
.table-wrapper,
.version-card,
.version-list-card,
.prev-standard-card,
.code-card,
.all-versions-wrapper,
.gradient-banner {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 179, 57, 0.2);
}

.version-card:hover,
.premium-card:hover {
    background: rgba(30, 30, 30, 0.8);
}

.navbar,
.footer {
    background: transparent;
    backdrop-filter: blur(20px);
}