.web-design-page {
    position: relative;
    color: var(--dark);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
}

.web-hero {
    position: relative;
    padding: 7rem 0 5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08), transparent 40%), radial-gradient(circle at 80% 10%, rgba(79, 70, 229, 0.06), transparent 45%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(226, 232, 240, 0.7) 1px, transparent 1px), linear-gradient(to bottom, rgba(226, 232, 240, 0.7) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
}

.grid-overlay.light {
    opacity: 0.35;
}

.orb {
    position: absolute;
    filter: blur(70px);
    opacity: 0.6;
    pointer-events: none;
}

.orb-blue {
    width: 320px;
    height: 320px;
    background: rgba(99, 102, 241, 0.35);
    top: -120px;
    left: -120px;
}

.orb-indigo {
    width: 420px;
    height: 420px;
    background: rgba(79, 70, 229, 0.25);
    bottom: -180px;
    right: -80px;
}

.hero-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin: 1rem 0;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 640px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.code-shadow {
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(79, 70, 229, 0.3));
    border-radius: 18px;
    filter: blur(18px);
    opacity: 0.8;
}

.code-window {
    position: relative;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    min-width: 320px;
    max-width: 480px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.code-window-top {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    background: #111827;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #cbd5e1;
}

.code-window-top .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.file-label {
    margin-left: 0.4rem;
    color: #94a3b8;
    font-weight: 700;
}

.code-body {
    padding: 1.5rem;
    background: #0b1222;
    display: grid;
    gap: 0.3rem;
    font-size: 0.95rem;
}

.code-body .line {
    display: inline-block;
    width: 22px;
    color: #475569;
}

.code-body .keyword { color: #a855f7; font-weight: 700; }
.code-body .string { color: #facc15; }
.code-body .function { color: #22d3ee; }
.code-body .token { color: #e5e7eb; }
.code-body .dim { color: #475569; }

.status-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    font-weight: 700;
}

.status-label { color: #22c55e; }
.status-arrow { color: #a855f7; }

.stats-bar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    border-left: 1px solid rgba(226, 232, 240, 0.7);
}

.stat-card:first-child {
    border-left: none;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: ui-monospace, monospace;
    letter-spacing: -0.04em;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    font-weight: 700;
    font-size: 0.75rem;
}

.intro {
    padding: 5rem 0;
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid var(--border);
}

.intro .narrow {
    text-align: center;
}

.intro h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.intro p {
    color: var(--gray);
    font-size: 1.05rem;
}

.solutions {
    position: relative;
    padding: 5.5rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-heading p {
    color: var(--gray);
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: var(--primary);
    font-weight: 700;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.solution-card {
    position: relative;
    padding: 1.75rem;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
    box-shadow: 0 16px 38px var(--shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(99, 102, 241, 0.16);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.icon-circle {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

.icon-circle svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.tag {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-family: ui-monospace, monospace;
}

.solution-card h3 {
    margin-bottom: 0.5rem;
}

.solution-card p {
    color: var(--gray);
    line-height: 1.6;
}

.solution-card.accent-blue:hover { border-color: rgba(59, 130, 246, 0.6); }
.solution-card.accent-purple:hover { border-color: rgba(107, 33, 168, 0.5); }
.solution-card.accent-green:hover { border-color: rgba(34, 197, 94, 0.5); }
.solution-card.accent-orange:hover { border-color: rgba(249, 115, 22, 0.5); }
.solution-card.accent-indigo:hover { border-color: rgba(79, 70, 229, 0.6); }
.solution-card.accent-pink:hover { border-color: rgba(236, 72, 153, 0.5); }

.stack {
    position: relative;
    padding: 5rem 0;
    background: rgba(248, 250, 252, 0.95);
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.stack-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.stack-copy h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    margin-bottom: 1rem;
}

.stack-copy p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.checklist {
    display: grid;
    gap: 1rem;
}

.check-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: flex-start;
}

.check-circle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    box-shadow: 0 10px 20px var(--shadow);
}

.check-item h4 {
    margin-bottom: 0.25rem;
}

.check-item p {
    margin: 0;
    color: var(--gray);
}

.stack-panel {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
    padding: 1.75rem;
    box-shadow: 0 18px 38px var(--shadow);
    backdrop-filter: blur(10px);
}

.stack-panel h3 {
    font-family: ui-monospace, monospace;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

.stack-pill {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    background: white;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--dark);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.stack-pill.orange { border-color: rgba(249, 115, 22, 0.4); }
.stack-pill.red { border-color: rgba(248, 113, 113, 0.4); }
.stack-pill.green { border-color: rgba(34, 197, 94, 0.4); }
.stack-pill.blue { border-color: rgba(59, 130, 246, 0.4); }
.stack-pill.yellow { border-color: rgba(234, 179, 8, 0.4); }
.stack-pill.indigo { border-color: rgba(79, 70, 229, 0.45); }

.stack-status {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.08em;
    font-family: ui-monospace, monospace;
}

.cta {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--darker), var(--primary-dark));
    color: white;
    overflow: hidden;
}

.cta-card {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-card h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0.5rem auto 1.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ghost-link.ghost-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.ghost-link.ghost-light:hover {
    color: white;
    background: rgba(255, 255, 255, 0.14);
}

.orb-soft {
    width: 360px;
    height: 360px;
    background: rgba(99, 102, 241, 0.18);
    top: -120px;
    right: -80px;
}

.orb-cta {
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.12);
    bottom: -160px;
    left: -60px;
    filter: blur(90px);
}

@media (max-width: 768px) {
    .stats-grid {
        border-left: none;
    }

    .stat-card {
        border-left: none;
        border-top: 1px solid rgba(226, 232, 240, 0.7);
    }

    .stat-card:first-child {
        border-top: none;
    }

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 640px) {
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .code-window {
        width: 100%;
    }
}
