/* Web Development service page — scoped to .web-page */

.web-page {
    --web-brand: #2f6bff;
    --web-brand-dark: #0a0e1a;
    --web-accent: #8b3bff;
    --web-dark: #050810;
    --web-dark-soft: #0a0e1a;
    --web-panel: #111827;
    --web-paper: #ffffff;
    --web-paper-dim: #f8f8f9;
    --web-muted: #9498a1;
    --web-muted-dark: #6b6f78;
    --web-line: #2a2d35;
    --web-line-soft: #3a3e48;
    --web-text-soft: #c7cad2;

    background: var(--web-dark);
    color: var(--web-paper);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.web-page img,
.web-page svg {
    display: block;
    max-width: 100%;
}

.web-page ::selection {
    background: var(--web-brand);
    color: var(--web-paper);
}

.web-page .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Hero */
.web-page .web-hero {
    padding: 88px 0 96px;
    position: relative;
    overflow: hidden;
    background: var(--web-dark);
}

.web-page .web-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -160px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.22), transparent 70%);
    pointer-events: none;
}

.web-page .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.web-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--web-accent);
    margin-bottom: 22px;
}

.web-page .eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--web-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(38, 212, 140, 0.15);
}

.web-page .web-hero h1 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 620px;
    color: var(--web-paper);
}

.web-page .web-hero h1 em {
    font-style: normal;
    color: var(--web-accent);
}

.web-page .hero-sub {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--web-text-soft);
    max-width: 480px;
}

.web-page .hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.web-page .web-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    padding: 14px 26px;
    border-radius: 50px;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.web-page .web-btn-primary {
    background: var(--web-brand);
    color: var(--web-paper);
    border: 2px solid var(--web-brand);
}

.web-page .web-btn-primary:hover {
    background: var(--web-dark);
    border-color: var(--web-paper);
    color: var(--web-paper);
    transform: translateY(-2px);
}

.web-page .web-btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: var(--web-paper);
    background: transparent;
}

.web-page .web-btn-secondary:hover {
    border-color: var(--web-accent);
    color: var(--web-accent);
    transform: translateY(-2px);
}

.web-page .hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.web-page .hero-meta div {
    font-size: 11px;
    color: var(--web-muted-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.web-page .hero-meta strong {
    display: block;
    font-family: 'Saira', sans-serif;
    font-size: 22px;
    color: var(--web-paper);
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: none;
}

/* Browser mock */
.web-page .browser {
    background: var(--web-panel);
    border: 1px solid var(--web-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.web-page .browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--web-line);
    background: var(--web-dark-soft);
}

.web-page .browser-bar .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--web-line-soft);
}

.web-page .browser-url {
    flex: 1;
    background: var(--web-dark);
    border: 1px solid var(--web-line);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11.5px;
    color: var(--web-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.web-page .browser-url .caret {
    display: inline-block;
    width: 6px;
    height: 12px;
    background: var(--web-accent);
    animation: web-blink 1.1s step-end infinite;
}

@keyframes web-blink {
    50% { opacity: 0; }
}

.web-page .browser-body {
    padding: 22px;
    display: grid;
    gap: 14px;
}

.web-page .mock-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--web-line);
}

.web-page .mock-logo {
    width: 64px;
    height: 10px;
    background: var(--web-paper);
    opacity: 0.85;
    border-radius: 2px;
}

.web-page .mock-links {
    display: flex;
    gap: 8px;
}

.web-page .mock-links span {
    width: 28px;
    height: 8px;
    background: var(--web-line-soft);
    border-radius: 2px;
}

.web-page .mock-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 6px 0 10px;
}

.web-page .mock-lines span {
    display: block;
    height: 9px;
    border-radius: 2px;
    background: var(--web-line-soft);
    margin-bottom: 8px;
}

.web-page .mock-lines span:nth-child(1),
.web-page .mock-lines span:nth-child(2) {
    width: 88%;
    background: var(--web-paper);
    opacity: 0.9;
    height: 13px;
}

.web-page .mock-lines span:nth-child(2) { width: 70%; }
.web-page .mock-lines span:nth-child(3) { width: 95%; }
.web-page .mock-lines span:nth-child(4) { width: 60%; }

.web-page .mock-btn {
    margin-top: 10px;
    width: 86px;
    height: 20px;
    background: var(--web-brand);
    border-radius: 5px;
}

.web-page .mock-art {
    aspect-ratio: 1 / 0.8;
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.35), rgba(139, 59, 255, 0.12));
    border: 1px solid var(--web-line);
    border-radius: 8px;
    position: relative;
}

.web-page .mock-art::after {
    content: "</>";
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 12px;
    color: var(--web-muted-dark);
}

.web-page .mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 8px;
}

.web-page .mock-card {
    border: 1px solid var(--web-line);
    border-radius: 6px;
    padding: 10px;
    background: var(--web-dark-soft);
}

.web-page .mock-card span {
    display: block;
    height: 6px;
    border-radius: 2px;
    background: var(--web-line-soft);
    margin-bottom: 6px;
}

.web-page .mock-card span:first-child {
    width: 60%;
    background: var(--web-brand);
    opacity: 0.85;
}

.web-page .status-line {
    font-size: 11px;
    color: var(--web-muted-dark);
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid var(--web-line);
    background: var(--web-dark-soft);
}

.web-page .status-line .ok {
    color: var(--web-accent);
}

/* Sections */
.web-page section {
    padding: 88px 0;
}

.web-page .section-head {
    max-width: 640px;
    margin-bottom: 52px;
}

.web-page .tag {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--web-brand);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.web-page .web-section-dark .tag {
    color: var(--web-accent);
}

.web-page h2 {
    font-family: 'Saira', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--web-paper);
}

.web-page .section-head p {
    margin-top: 14px;
    color: var(--web-muted);
    font-size: 15.5px;
    line-height: 1.65;
}

/* Included */
.web-page .included {
    background: var(--web-paper-dim);
    color: var(--web-dark);
}

.web-page .included .tag {
    color: var(--web-brand);
}

.web-page .included h2 {
    color: var(--web-dark);
}

.web-page .included .section-head p {
    color: var(--web-muted-dark);
}

.web-page .web-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #dee2e6;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    overflow: hidden;
}

.web-page .web-card {
    background: var(--web-paper);
    padding: 32px 28px;
    transition: background 0.2s ease;
}

.web-page .web-card:hover {
    background: #eef1f3;
}

.web-page .web-card .icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--web-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.web-page .web-card .icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--web-paper);
}

.web-page .web-card h3 {
    font-family: 'Saira', sans-serif;
    font-size: 17.5px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--web-dark);
}

.web-page .web-card p {
    font-size: 14.5px;
    color: var(--web-muted-dark);
    line-height: 1.6;
    margin: 0;
}

/* Process */
.web-page .web-section-dark {
    background: var(--web-dark);
}

.web-page .process-list {
    display: flex;
    flex-direction: column;
}

.web-page .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 28px;
    padding: 28px 0;
    border-top: 1px solid var(--web-line);
}

.web-page .step:last-child {
    border-bottom: 1px solid var(--web-line);
}

.web-page .step-num {
    font-size: 13px;
    font-weight: 600;
    color: var(--web-accent);
    padding-top: 3px;
}

.web-page .step-body h3 {
    font-family: 'Saira', sans-serif;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--web-paper);
}

.web-page .step-body p {
    color: var(--web-muted);
    font-size: 14.5px;
    max-width: 560px;
    line-height: 1.65;
    margin: 0;
}

/* Stack */
.web-page .stack-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.web-page .chip {
    font-size: 12.5px;
    padding: 9px 16px;
    border: 1px solid var(--web-line-soft);
    border-radius: 100px;
    color: var(--web-text-soft);
    background: rgba(255, 255, 255, 0.03);
}

.web-page .chip .dot-brand {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--web-brand);
    margin-right: 8px;
}

/* CTA */
.web-page .web-cta {
    background: linear-gradient(180deg, var(--web-brand-dark) 0%, var(--web-dark) 100%);
    border-top: 1px solid var(--web-line);
    text-align: center;
}

.web-page .web-cta h2 {
    max-width: 560px;
    margin: 0 auto 16px;
}

.web-page .web-cta p {
    color: var(--web-text-soft);
    max-width: 460px;
    margin: 0 auto 34px;
    font-size: 15.5px;
}

.web-page .web-cta .web-btn-primary {
    padding: 16px 34px;
    font-size: 15px;
}

@media (max-width: 860px) {
    .web-page .hero-grid {
        grid-template-columns: 1fr;
    }

    .web-page .web-cards {
        grid-template-columns: 1fr;
    }

    .web-page .mock-hero {
        grid-template-columns: 1fr;
    }

    .web-page .mock-cards {
        grid-template-columns: 1fr 1fr;
    }

    .web-page .wrap {
        padding: 0 20px;
    }

    .web-page section,
    .web-page .web-hero {
        padding: 64px 0;
    }
}

@media (max-width: 520px) {
    .web-page .mock-cards {
        grid-template-columns: 1fr;
    }

    .web-page .hero-meta {
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .web-page * {
        animation: none !important;
        transition: none !important;
    }
}
