:root {
    --bg: #0d0d0d;
    --bg-alt: #131313;
    --bg-card: #181818;
    --border: #262626;
    --border-strong: #3a3a3a;
    --text: #ededed;
    --text-dim: #a0a0a0;
    --text-mute: #6a6a6a;
    --accent: #ff5b1f;
    --accent-soft: rgba(255, 91, 31, 0.12);
    --grid: rgba(255, 255, 255, 0.03);
    --font-display: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.logo-mark {
    color: var(--accent);
    font-size: 18px;
    transform: translateY(-1px);
}

.logo-accent {
    color: var(--accent);
}

.main-nav {
    display: flex;
    gap: 36px;
}

.main-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.hero {
    padding: 100px 0 120px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 1.5px;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.meta-item {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 2px;
}

.meta-item.blink {
    color: var(--accent);
    border-color: var(--accent-soft);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(48px, 9vw, 132px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 48px;
}

.title-line {
    display: block;
}

.title-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text);
    padding-left: 0.15em;
    font-style: italic;
    font-weight: 300;
}

.hero-lead {
    max-width: 680px;
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 80px;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    padding: 28px 24px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 38px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
    line-height: 1;
}

.stat-unit {
    font-size: 18px;
    color: var(--text-dim);
}

.stat-label {
    font-size: 12px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    max-width: 760px;
    margin-bottom: 80px;
}

.section-num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 24px;
}

.section-sub {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.6;
    font-weight: 300;
    max-width: 620px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.tech-card {
    background: var(--bg);
    padding: 36px;
    transition: background 0.3s ease;
    position: relative;
}

.tech-card:hover {
    background: var(--bg-card);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.tech-card:hover::before {
    width: 100%;
}

.tech-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.tech-abbr {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
}

.tech-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.tech-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 28px;
    font-weight: 300;
}

.tech-specs {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.tech-specs li {
    display: flex;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    padding: 6px 0;
    gap: 8px;
}

.tech-specs li b {
    color: var(--text);
    font-weight: 500;
    margin-left: auto;
}

.dots {
    flex: 1;
    color: var(--border-strong);
    overflow: hidden;
    white-space: nowrap;
}

.materials-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.material {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.3s ease;
}

.material:hover {
    padding-left: 16px;
}

.material-id {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.material-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: 1.5px;
}

.material-code {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.material-body h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.material-body p {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 28px;
    font-weight: 300;
    max-width: 720px;
}

.material-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
}

.bar span {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bar-track {
    height: 4px;
    background: var(--border);
    overflow: hidden;
    border-radius: 2px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ff8a4d);
    border-radius: 2px;
}

.brands {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.brand {
    background: var(--bg);
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 48px 40px;
    gap: 40px;
    transition: background 0.3s ease;
}

.brand:hover {
    background: var(--bg-card);
}

.brand-rank {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 500;
    padding-top: 8px;
    border-top: 2px solid var(--accent);
    align-self: start;
    width: fit-content;
}

.brand-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.brand-name {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-country {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.brand-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 24px;
    font-weight: 300;
    max-width: 760px;
}

.brand-models {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-models span {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    color: var(--text-dim);
    transition: all 0.2s;
}

.brand-models span:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.workflow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 100px;
}

.workflow-step {
    background: var(--bg-alt);
    padding: 36px 28px;
    position: relative;
    transition: background 0.3s ease;
}

.workflow-step:hover {
    background: var(--bg);
}

.step-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    line-height: 1;
    margin-bottom: 28px;
}

.workflow-step h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.workflow-step p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    font-weight: 300;
}

.cta-block {
    border: 1px solid var(--border-strong);
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-card) 100%);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 900px;
}

.cta-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.cta-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.site-footer {
    background: var(--bg);
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.footer-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat:nth-child(2) {
        border-right: none;
    }
    .stat:nth-child(1), .stat:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
    .workflow {
        grid-template-columns: repeat(2, 1fr);
    }
    .material {
        grid-template-columns: 140px 1fr;
        gap: 32px;
    }
    .brand {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 36px 28px;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 20px;
    }
    .main-nav {
        display: none;
    }
    .hero {
        padding: 60px 0 80px;
    }
    .hero-meta {
        gap: 12px;
        margin-bottom: 32px;
    }
    .hero-lead {
        font-size: 16px;
        margin-bottom: 48px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .stat {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
    .stat:last-child {
        border-bottom: none;
    }
    .stat-num {
        font-size: 30px;
    }
    .section {
        padding: 80px 0;
    }
    .section-head {
        margin-bottom: 48px;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .tech-card {
        padding: 28px 24px;
    }
    .material {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 0;
    }
    .material-id {
        flex-direction: row;
        align-items: baseline;
        gap: 16px;
    }
    .material-bars {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .material-body h3 {
        font-size: 22px;
    }
    .brand {
        padding: 28px 20px;
    }
    .brand-name {
        font-size: 26px;
    }
    .brand-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .workflow {
        grid-template-columns: 1fr;
    }
    .cta-block {
        padding: 48px 28px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
