/* ===== Reset & Variables ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:            #07090d;
    --bg-raised:     #0b0f17;
    --bg-card:       #0d1118;
    --bg-card-hover: #111720;
    --border:        #18263a;
    --border-hover:  #243650;
    --text:          #dde6f0;
    --text-muted:    #6e8aaa;
    --text-dim:      #3d5470;
    --accent:        #10d9a0;
    --accent-light:  #3ee3b2;
    --accent-dim:    rgba(16, 217, 160, 0.1);
    --accent-glow:   rgba(16, 217, 160, 0.22);
    --accent2:       #38bdf8;
    --accent2-dim:   rgba(56, 189, 248, 0.1);
    --amber:         #f59e0b;
    --amber-dim:     rgba(245, 158, 11, 0.1);
    --red:           #f87171;
    --radius:        12px;
    --radius-lg:     20px;
    --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-mono:     'SF Mono', 'Fira Code', 'Fira Mono', Menlo, monospace;
    --max-w:         1200px;
    --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Nav ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
    background: rgba(7, 9, 13, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--text);
}

.nav-logo svg { flex-shrink: 0; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-links .nav-github a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    border: 1px solid rgba(16, 217, 160, 0.25);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition);
}

.nav-links .nav-github a:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all var(--transition);
    display: block;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* dot grid */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(16, 217, 160, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* radial spotlight */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, var(--bg) 70%);
}

.hero-glow {
    position: absolute;
    width: 640px;
    height: 640px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
    border-radius: 50%;
    animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
    display: block;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 24px;
    max-width: 780px;
}

.hero-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin: 0 auto;
    animation: scroll-drop 1.8s ease-in-out infinite;
}

@keyframes scroll-drop {
    0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #030a06;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.04);
}

/* ===== Stats Strip ===== */
.stats-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-raised);
    padding: 20px 24px;
}

.stats-strip-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 32px 4px 0;
    margin-right: 32px;
    border-right: 1px solid var(--border);
}

.strip-item:last-child { border-right: none; margin-right: 0; }

.strip-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
}

.strip-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-raised); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header.left { text-align: left; }

.section-label {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header.left .section-sub { margin: 0; }

/* ===== Projects Grid (index) ===== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.proj-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.proj-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-accent, var(--accent)), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.proj-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

.proj-card:hover::before { opacity: 1; }

.proj-card.featured {
    grid-column: span 3;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.proj-card.featured .proj-content { flex: 1; }
.proj-card.featured .proj-visual {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.proj-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    flex-shrink: 0;
}

.proj-icon.blue  { background: var(--accent2-dim); }
.proj-icon.amber { background: var(--amber-dim); }

.proj-icon svg { width: 26px; height: 26px; }

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--accent-dim);
    color: var(--accent);
    letter-spacing: 0.02em;
}

.tag.blue  { background: var(--accent2-dim); color: var(--accent2); }
.tag.amber { background: var(--amber-dim);  color: var(--amber); }
.tag.muted { background: rgba(255,255,255,0.05); color: var(--text-muted); }

.proj-name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

.proj-card.featured .proj-name { font-size: 1.75rem; }

.proj-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.proj-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proj-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.proj-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 7px;
}

.proj-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    padding: 7px 14px;
    border: 1px solid rgba(16, 217, 160, 0.25);
    border-radius: 8px;
    transition: all var(--transition);
}

.proj-link:hover { background: var(--accent-dim); border-color: var(--accent); }

.proj-link.secondary {
    color: var(--text-muted);
    border-color: var(--border);
}

.proj-link.secondary:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border-color: var(--border-hover);
}

/* Featured card visual panel */
.visual-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.8;
    color: var(--text-dim);
}

.visual-panel .vp-line { display: flex; gap: 12px; }
.visual-panel .vp-key { color: var(--text-muted); min-width: 60px; }
.visual-panel .vp-val { color: var(--accent); }
.visual-panel .vp-val.blue { color: var(--accent2); }
.visual-panel .vp-val.amber { color: var(--amber); }

.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-dim);
    border: 1px solid rgba(16, 217, 160, 0.2);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--accent);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: blink 1.4s ease-in-out infinite;
}

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

/* ===== Project Detail Hero ===== */
.project-hero {
    padding: 140px 24px 80px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(16, 217, 160, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
}

.project-hero.blue::before {
    background-image: radial-gradient(circle, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
}

.project-hero.amber::before {
    background-image: radial-gradient(circle, rgba(245, 158, 11, 0.06) 1px, transparent 1px);
}

.project-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.project-hero-content { flex: 1; }

.project-hero-label {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-hero-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.project-hero.blue .project-hero-label,
.project-hero.blue .project-hero-label::before { color: var(--accent2); background: var(--accent2); }

.project-hero.amber .project-hero-label,
.project-hero.amber .project-hero-label::before { color: var(--amber); background: var(--amber); }

.project-hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 20px;
}

.project-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 32px;
}

.project-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.project-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.project-hero-side {
    width: 340px;
    flex-shrink: 0;
}

/* ===== Spec Card ===== */
.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.spec-card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-raised);
}

.spec-card-header-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.project-hero.blue .spec-card-header-dot { background: var(--accent2); }
.project-hero.amber .spec-card-header-dot { background: var(--amber); }

.spec-card-header span {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.spec-table { width: 100%; }

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}

.spec-row:last-child { border-bottom: none; }

.spec-key {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.spec-val {
    font-size: 0.82rem;
    color: var(--accent);
    font-family: var(--font-mono);
    text-align: right;
}

.project-hero.blue .spec-val  { color: var(--accent2); }
.project-hero.amber .spec-val { color: var(--amber); }

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition), background var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    margin-bottom: 16px;
}

.feature-icon.blue  { background: var(--accent2-dim); }
.feature-icon.amber { background: var(--amber-dim); }

.feature-icon svg { width: 22px; height: 22px; }

.feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== Hardware Table ===== */
.hw-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 0.875rem;
}

.hw-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.hw-table td {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: top;
}

.hw-table tr:last-child td { border-bottom: none; }

.hw-table td:first-child {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.hw-table td code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ===== Code Block ===== */
.code-block {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    overflow-x: auto;
    color: var(--text-muted);
}

.code-block .cb-comment { color: var(--text-dim); }
.code-block .cb-cmd     { color: var(--accent); }
.code-block .cb-arg     { color: var(--accent2); }

/* ===== Detail Section ===== */
.detail-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.detail-section:last-of-type { border-bottom: none; }

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.about-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.stack-item:hover { border-color: var(--border-hover); }

.stack-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.stack-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.stack-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: auto;
    text-align: right;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    background: var(--bg-raised);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: color var(--transition);
}

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

/* ===== Back link ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 20px 24px 0;
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    transition: color var(--transition);
}

.back-link:hover { color: var(--accent); }

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(7, 9, 13, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px 24px;
        gap: 2px;
    }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .projects-grid { grid-template-columns: 1fr; }
    .proj-card.featured { flex-direction: column; }
    .proj-card.featured { grid-column: span 1; }
    .proj-card.featured .proj-visual { width: 100%; }

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

    .project-hero-inner { flex-direction: column; }
    .project-hero-side { width: 100%; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.4rem; }
    .section { padding: 64px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-strip-inner { gap: 16px; }
    .strip-item { padding-right: 16px; margin-right: 16px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
