/* ============================================
   ReklaWeb - Dark Terminal Theme
   ============================================ */

:root {
    --bg: #0a0a0f;
    --surface: #121318;
    --surface-low: #16161d;
    --surface-high: #1e1e26;
    --primary: #f2f200;
    --primary-dim: rgba(242, 242, 0, 0.12);
    --primary-glow: rgba(242, 242, 0, 0.4);
    --accent: #ffd700;
    --on-surface: #e8e8ef;
    --on-surface-dim: #9999aa;
    --outline: rgba(255,255,255,0.08);
    --danger: #ff4444;
    --success: #00cc66;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-headline: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--on-surface);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Data Grid Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(242,242,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,242,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(18,19,24,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--outline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 64px;
    box-shadow: 0 20px 40px rgba(242,242,0,0.06);
}

.nav-logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--on-surface);
    transition: color 0.2s;
}
.nav-logo:hover { color: var(--primary); }
.logo-img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }

.nav-links {
    display: flex; align-items: center; gap: 2rem;
}
.nav-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--on-surface-dim);
    transition: color 0.15s;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--primary);
    transition: width 0.2s;
}
.nav-link:hover::after { width: 100%; }

.nav-cta {
    background: var(--primary);
    color: var(--bg);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: box-shadow 0.2s, transform 0.1s;
}
.nav-cta:hover {
    box-shadow: 0 0 20px var(--primary-glow);
}
.nav-cta:active { transform: scale(0.95); }

.mobile-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--on-surface);
    transition: 0.2s;
}

/* ============ SIDEBAR ============ */
.sidebar {
    display: none;
    position: fixed; left: 0; top: 64px;
    width: 240px; height: calc(100vh - 64px);
    background: var(--surface-low);
    border-right: 1px solid var(--outline);
    flex-direction: column;
    z-index: 40;
    overflow-y: auto;
}
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--outline);
}
.sidebar-brand {
    font-family: var(--font-headline);
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.03em;
    font-size: 1.2rem;
}
.sidebar-logo-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}
.sidebar-version {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--on-surface-dim);
    opacity: 0.5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 2px;
}
.sidebar-nav {
    flex: 1; padding: 1.5rem 0;
    display: flex; flex-direction: column; gap: 2px;
}
.sidebar-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--on-surface-dim);
    transition: all 0.1s;
}
.sidebar-link:hover {
    background: var(--primary-dim);
    color: var(--primary);
}
.sidebar-link.active {
    background: var(--primary-dim);
    color: var(--primary);
    border-right: 2px solid var(--primary);
}
.sidebar-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--on-surface-dim);
    opacity: 0.4;
    transition: 0.2s;
}
.sidebar-link:hover .sidebar-dot,
.sidebar-link.active .sidebar-dot {
    background: var(--primary);
    opacity: 1;
    box-shadow: 0 0 6px var(--primary);
}
.sidebar-footer {
    padding: 1.5rem;
}
.sidebar-cta {
    display: block; text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background 0.2s;
}
.sidebar-cta:hover {
    background: var(--primary-dim);
}

/* ============ MAIN CONTENT ============ */
.main-content {
    position: relative;
    z-index: 1;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
}

.code-rain {
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: 0.15;
    overflow: hidden;
}
.rain-col {
    position: absolute; top: -100%;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--primary);
    line-height: 1;
    writing-mode: vertical-rl;
    animation: rain-fall linear infinite;
    opacity: 0.6;
}
@keyframes rain-fall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(calc(100vh + 100%)); }
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(242,242,0,0.3);
    background: rgba(242,242,0,0.05);
    margin-bottom: 1.5rem;
}
.badge-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--primary);
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}
.text-primary { color: var(--primary); }

.hero-subtitle {
    font-size: 1rem;
    color: var(--on-surface-dim);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}
.hero-actions {
    display: flex; gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--bg);
    padding: 0.75rem 2rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: box-shadow 0.2s, transform 0.1s;
    border: none; cursor: pointer;
}
.btn-primary:hover { box-shadow: 0 0 25px var(--primary-glow); }
.btn-primary:active { transform: scale(0.96); }

.btn-outline {
    display: inline-block;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 2rem;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
    cursor: pointer; background: transparent;
}
.btn-outline:hover { background: var(--primary-dim); }

.btn-full { width: 100%; text-align: center; }

/* Domain Prices */
.domain-prices {
    display: flex; gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.domain-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--outline);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}
.domain-ext { color: var(--primary); font-weight: 500; }
.domain-price { color: var(--on-surface-dim); }

/* Hero scroll indicator */
.hero-scroll {
    position: absolute; bottom: 2rem;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
}
.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--on-surface-dim);
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============ SECTIONS ============ */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(242,242,0,0.2);
    background: rgba(242,242,0,0.05);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-desc {
    color: var(--on-surface-dim);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}
.section-center {
    text-align: center;
    margin-top: 3rem;
}

/* ============ SERVICES ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
    border-color: rgba(242,242,0,0.3);
    transform: translateY(-4px);
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }

.size-large { grid-column: span 2; }
.size-vertical { grid-row: span 2; }
.size-wide { grid-column: span 2; }

.service-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-dim);
    background: rgba(242,242,0,0.05);
}
.service-title {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}
.service-desc {
    font-size: 0.9rem;
    color: var(--on-surface-dim);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.service-stats {
    margin-top: 1rem;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.stat-line {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--primary);
    padding: 0.3rem 0.6rem;
    background: rgba(242,242,0,0.05);
    border-left: 2px solid var(--primary);
}
.stat-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
}

.service-tags, .project-tags {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    margin-top: 1rem;
}
.tag {
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--outline);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--on-surface-dim);
    text-transform: uppercase;
}

/* ============ ARCHITECTURE ============ */
.architecture-steps {
    display: flex; flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}
.arch-step {
    display: flex; align-items: flex-start; gap: 2rem;
    padding: 2rem 0;
    position: relative;
}
.arch-step:not(:last-child) {
    border-bottom: 1px solid var(--outline);
}
.step-number {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    min-width: 60px;
}
.step-content h3 {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}
.step-content p {
    color: var(--on-surface-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============ PROJECTS ============ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.project-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.project-card:hover {
    border-color: rgba(242,242,0,0.3);
    transform: translateY(-4px);
}
.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.project-card:hover .project-image img {
    transform: scale(1.05);
}
.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.project-category {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(242,242,0,0.3);
    background: rgba(242,242,0,0.1);
}
.project-info {
    padding: 1.5rem;
}
.project-info h3 {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.project-info p {
    font-size: 0.85rem;
    color: var(--on-surface-dim);
    line-height: 1.6;
}

/* ============ BLOG ============ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
    border-color: rgba(242,242,0,0.3);
    transform: translateY(-4px);
}
.blog-image {
    height: 180px; overflow: hidden;
}
.blog-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
.blog-info {
    padding: 1.5rem;
}
.blog-meta {
    display: flex; gap: 1rem; align-items: center;
    margin-bottom: 0.75rem;
}
.blog-category {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(242,242,0,0.2);
}
.blog-date {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--on-surface-dim);
}
.blog-info h3 {
    font-family: var(--font-headline);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.blog-info p {
    font-size: 0.85rem;
    color: var(--on-surface-dim);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.blog-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--primary);
    transition: opacity 0.2s;
}
.blog-link:hover { opacity: 0.7; }

/* Blog Detail */
.blog-detail {
    padding-top: 100px;
    max-width: 800px;
}
.back-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    display: inline-block;
    transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }
.blog-detail-meta {
    display: flex; gap: 1rem; align-items: center;
    margin-bottom: 1rem;
}
.blog-detail-meta .blog-author {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--on-surface-dim);
}
.blog-detail-title {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}
.blog-detail-image {
    margin-bottom: 2rem;
    border: 1px solid var(--outline);
    overflow: hidden;
}
.blog-detail-image img {
    width: 100%;
    height: auto;
}
.blog-detail-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--on-surface-dim);
}
.blog-detail-content h3 {
    font-family: var(--font-headline);
    color: var(--on-surface);
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
}
.blog-detail-content p {
    margin-bottom: 1.25rem;
}
.blog-detail-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--outline);
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.contact-card:hover { border-color: rgba(242,242,0,0.3); }
.contact-icon {
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.contact-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--on-surface-dim);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.contact-value {
    font-size: 0.9rem;
    color: var(--on-surface);
}

.contact-form {
    display: flex; flex-direction: column;
    gap: 1.25rem;
}
.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--on-surface-dim);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--outline);
    color: var(--on-surface);
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(242,242,0,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--on-surface-dim);
    opacity: 0.4;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--outline);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--outline);
}
.footer-logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.footer-logo-img { height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.footer-desc {
    font-size: 0.85rem;
    color: var(--on-surface-dim);
    line-height: 1.7;
}
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--on-surface-dim);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.footer-col a, .footer-col span {
    display: block;
    font-size: 0.85rem;
    color: var(--on-surface-dim);
    margin-bottom: 0.5rem;
    transition: color 0.15s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 1.5rem auto 0;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--on-surface-dim);
    letter-spacing: 0.1em;
}
.footer-cofounder {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--primary);
}
.footer-status {
    display: flex; align-items: center; gap: 0.5rem;
}
.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============ RESPONSIVE ============ */
@media (min-width: 1200px) {
    .sidebar { display: flex; }
    .main-content { margin-left: 240px; }
    .footer { margin-left: 240px; }
    .navbar { padding-left: calc(240px + 2rem); }
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .size-large, .size-wide { grid-column: span 2; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--outline);
        gap: 0.5rem;
    }
    .nav-links.active { display: flex; }
    .nav-cta { display: none; }
    .mobile-toggle { display: flex; }

    .services-grid { grid-template-columns: 1fr; }
    .size-large, .size-wide { grid-column: span 1; }
    .size-vertical { grid-row: span 1; }
    .projects-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .hero-actions { flex-direction: column; align-items: center; }

    .arch-step { flex-direction: column; gap: 0.75rem; }
    .step-number { font-size: 2rem; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Glitch effect for hero title */
.hero-title {
    position: relative;
}
.hero-title::before,
.hero-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-high); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dim); }
