/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ── Reset & Variables ──────────────────────────────────────── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

:root {
    --bg:        #0a0a0f;
    --bg-card:   #12121a;
    --bg-card-hover: #1a1a2e;
    --surface:   #16162a;
    --border:    #1e1e3a;
    --text:      #e2e2f0;
    --text-dim:  #8888a8;
    --accent:    #6366f1;
    --accent-2:  #8b5cf6;
    --cyan:      #22d3ee;
    --green:     #10b981;
    --radius:    12px;
    --radius-lg: 20px;
    --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono:      'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Gradient text ─────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.logo-icon { width: 36px; height: 36px; }
.accent { color: var(--accent); }
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Language Switcher ──────────────────────────────────────── */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: 16px;
    padding: 3px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.lang-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font);
    color: var(--text-dim);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.03em;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
    background: var(--accent);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 36px;
}
.hero-subtitle strong { color: var(--text); font-weight: 600; }
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(99,102,241,0.05);
}

/* ── Hero Stats ────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    gap: 48px;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--mono);
    color: var(--accent);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
    padding: 100px 0;
}
.section-dark {
    background: var(--surface);
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ── About Grid ────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s;
}
.about-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}
.about-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--accent);
}
.about-icon svg { width: 24px; height: 24px; }
.about-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.about-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── Expertise ─────────────────────────────────────────────── */
.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.expertise-lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 32px;
}
.expertise-lead strong { color: var(--text); }
.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.expertise-item {
    display: flex;
    gap: 16px;
}
.expertise-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
}
.expertise-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}
.expertise-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}
.expertise-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.car-graphic svg {
    width: 100%;
    max-width: 400px;
}

/* ── Pulse animations ──────────────────────────────────────── */
@keyframes pulse {
    0% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.05; transform: scale(1.05); }
    100% { opacity: 0.15; transform: scale(1); }
}
.pulse-ring {
    animation: pulse 3s ease-in-out infinite;
    transform-origin: center;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.sensor-blink { animation: blink 2s ease-in-out infinite; }
@keyframes stream {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -16; }
}
.data-stream { animation: stream 1s linear infinite; }

/* ── Products ──────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.product-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}
.product-featured {
    border-color: rgba(99,102,241,0.2);
    background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.03));
}
.product-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(99,102,241,0.1);
    color: var(--accent);
    margin-bottom: 16px;
    width: fit-content;
}
.product-icon {
    margin-bottom: 20px;
}
.product-icon svg { width: 48px; height: 48px; }
.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: var(--mono);
    letter-spacing: -0.02em;
}
.product-card > p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}
.product-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}
.product-features li {
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.2s;
}
.product-link:hover { gap: 10px; }
.product-link-soon {
    color: var(--text-dim);
    font-style: italic;
    font-weight: 400;
}

/* ── WOW Metrics ──────────────────────────────────────────── */
.wow-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    text-align: center;
}
.wow-metric {
    padding: 28px 16px;
    background: rgba(99,102,241,0.05);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}
.wow-metric:hover {
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-4px);
    background: rgba(99,102,241,0.08);
}
.wow-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--mono);
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.wow-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ── Fade-in animation ────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Tech Grid ─────────────────────────────────────────────── */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.tech-item {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
}
.tech-item:hover {
    border-color: var(--accent);
    background: rgba(99,102,241,0.05);
    transform: translateY(-2px);
}
.tech-name {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--mono);
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-content { text-align: center; }
.contact-lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.contact-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 640px;
    margin: 0 auto;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}
.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}
.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.1);
    border-radius: 12px;
    color: var(--accent);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}
.contact-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-left { display: flex; flex-direction: column; gap: 12px; }
.footer-left .nav-logo .logo-icon { width: 28px; height: 28px; }
.footer-left .nav-logo { font-size: 0.95rem; }
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}
.footer-right {
    display: flex;
    gap: 24px;
}
.footer-right a {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.2s;
}
.footer-right a:hover { color: var(--accent); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid,
    .products-grid,
    .contact-links {
        grid-template-columns: 1fr;
    }
    .wow-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .expertise-content {
        grid-template-columns: 1fr;
    }
    .expertise-visual { order: -1; }
    .hero-stats { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .lang-switcher { order: 3; margin-left: auto; margin-right: 12px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,15,0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .hero { padding: 100px 0 60px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .section { padding: 60px 0; }
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
    }
    .footer-right { flex-direction: column; gap: 12px; align-items: center; }
}

/* ── Podstrony (publikacje / blog / usługi) ─────────────────── */
.page-hero {
    padding: 140px 0 48px;
    position: relative;
    overflow: hidden;
}
.page-hero .hero-grid { position: absolute; inset: 0; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 16px 0 12px;
    max-width: 860px;
}
.page-hero .lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 720px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-dim);
}
.breadcrumbs a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: 0.5; }
.paper-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: var(--mono);
}
.paper-meta span strong { color: var(--text); font-weight: 500; }

/* Typografia artykułów */
.prose {
    max-width: 760px;
    margin: 0 auto;
}
.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 48px 0 16px;
}
.prose h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 32px 0 12px;
}
.prose p { margin: 0 0 18px; color: var(--text-dim); line-height: 1.8; }
.prose p strong, .prose li strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--text-dim); line-height: 1.8; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.prose code {
    font-family: var(--mono);
    font-size: 0.85em;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 6px;
    padding: 1px 6px;
}
.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 8px 20px;
    margin: 0 0 18px;
    background: rgba(99,102,241,0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-dim);
}
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.prose th, .prose td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}
.prose th {
    color: var(--text);
    font-weight: 600;
    background: rgba(99,102,241,0.06);
}
.prose td { color: var(--text-dim); }
.prose td strong { font-family: var(--mono); }

/* Karty wpisów bloga */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}
.post-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    transition: all 0.3s;
}
.post-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-3px);
}
.post-card .post-date {
    font-size: 0.8rem;
    font-family: var(--mono);
    color: var(--text-dim);
}
.post-card h2, .post-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 8px 0 10px;
    letter-spacing: -0.01em;
}
.post-card p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.7; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.post-tag {
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--mono);
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    color: var(--accent);
}

/* CTA box */
.cta-box {
    max-width: 760px;
    margin: 56px auto 0;
    padding: 36px;
    text-align: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius-lg);
}
.cta-box h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.cta-box p { color: var(--text-dim); margin-bottom: 22px; }

/* Sekcja usług na stronie głównej i podstronie */
.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 24px;
}
.service-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    counter-reset: step;
}
.service-step {
    position: relative;
    padding: 28px 24px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.service-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.service-step strong { display: block; margin-bottom: 8px; }
.service-step p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

@media (max-width: 900px) {
    .service-steps { grid-template-columns: 1fr; }
    .post-card { padding: 24px 20px; }
}
