/* ============================================================
   WEB DEVELOPMENT PAGE
============================================================ */

.web-page {
    overflow: hidden;
}

/* ============================================================
   HERO
============================================================ */

.web-hero {
    position: relative;
    min-height: 820px;
    padding-top: 170px;
    padding-bottom: 100px;
    overflow: hidden;
}

.web-hero::before {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    right: -220px;
    top: 60px;
    background: radial-gradient(circle, rgba(59,130,246,.14), rgba(118,92,245,.06) 32%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
}

.web-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 60px;
    align-items: center;
}

.web-hero-content {
    position: relative;
    z-index: 2;
}

.web-hero h1 {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: clamp(48px, 5vw, 78px);
    line-height: .98;
    letter-spacing: -.065em;
    font-weight: 800;
}

.web-hero-description {
    max-width: 650px;
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.web-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.hero-link {
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    opacity: .8;
}

.web-hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.web-hero-note span {
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

/* ============================================================
   VISUAL
============================================================ */

.web-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 530px;
}

.web-browser {
    position: relative;
    width: min(100%, 560px);
    min-height: 420px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17,22,31,.98), rgba(9,12,18,.95));
    box-shadow: 0 25px 80px rgba(10,14,22,.65), inset 0 0 36px rgba(59,130,246,.08);
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.02);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff6a6a; }
.dot-yellow { background: #f7c65d; }
.dot-green { background: #4dcc7d; }

.browser-screen {
    padding: 28px 22px 26px;
}

.screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.screen-title {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.screen-pill {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(59,130,246,.12);
    border: 1px solid rgba(59,130,246,.2);
    color: #6da2ff;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mini-card {
    min-height: 120px;
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.018);
}

.big-card {
    min-height: 150px;
    background: linear-gradient(135deg, rgba(59,130,246,.14), rgba(118,92,245,.06));
}

.wide-card {
    grid-column: 1 / -1;
    min-height: 110px;
}

.mini-label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.mini-card strong {
    font-size: 26px;
    letter-spacing: -.04em;
}

.bars {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 40px;
    margin-top: 8px;
}

.bars span {
    display: block;
    width: 18%;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, rgba(109,162,255,.95), rgba(118,92,245,.65));
}

.bars span:nth-child(1) { height: 38%; }
.bars span:nth-child(2) { height: 68%; }
.bars span:nth-child(3) { height: 82%; }
.bars span:nth-child(4) { height: 100%; }

/* ============================================================
   PROBLEM
============================================================ */

.web-problem {
    background: rgba(10,14,22,.55);
}

.web-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.web-problem h2,
.web-section-intro h2,
.web-process h2,
.web-technology h2,
.web-result-header h2,
.web-final-content h2 {
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -.055em;
    line-height: .98;
}

.web-problem-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.web-problem-copy p,
.web-tech-description,
.web-final-content p,
.web-section-intro p,
.web-process-step p,
.web-result-card p,
.web-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
}

/* ============================================================
   SOLUTIONS
============================================================ */

.web-section-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 48px;
}

.web-section-intro > p {
    max-width: 520px;
}

.web-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.web-card {
    min-height: 270px;
    padding: 28px 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
    position: relative;
    overflow: hidden;
    transition: .35s ease;
}

.web-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59,130,246,.24);
    background: var(--surface);
}

.web-card::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -120px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.14), transparent 65%);
}

.web-card-number {
    color: #7ca8ff;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.web-card h3 {
    font-size: 24px;
    letter-spacing: -.04em;
    margin-bottom: 14px;
}

/* ============================================================
   PROCESS
============================================================ */

.web-process {
    background: rgba(9,13,19,.72);
}

.web-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 56px;
}

.web-process-step {
    padding: 28px 22px 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.018);
}

.process-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 22px;
    background: rgba(59,130,246,.1);
    border: 1px solid rgba(59,130,246,.35);
    color: #7aa8ff;
    font-size: 11px;
    font-weight: 700;
}

.web-process-step h3 {
    margin-bottom: 10px;
    font-size: 20px;
    letter-spacing: -.03em;
}

/* ============================================================
   TECHNOLOGIES
============================================================ */

.web-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.web-tech-description {
    max-width: 560px;
    margin-top: 22px;
}

.web-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.web-tech-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(109,162,255,.18);
    background: rgba(59,130,246,.06);
    color: #dfeaff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}

/* ============================================================
   RESULT
============================================================ */

.web-result {
    background: rgba(10,14,22,.6);
}

.web-result-header {
    margin-bottom: 42px;
}

.web-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.web-result-card {
    padding: 30px 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}

.web-result-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: -.03em;
}

/* ============================================================
   FINAL CTA
============================================================ */

.web-final {
    min-height: 650px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.web-final::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 500px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, .11), transparent 65%);
}

.web-final-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.web-final-content h2 {
    max-width: 850px;
    margin: auto;
    font-size: clamp(48px, 7vw, 82px);
    line-height: .94;
    letter-spacing: -.06em;
}

.web-final-content p {
    max-width: 480px;
    margin: 27px auto 35px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .web-hero-grid,
    .web-problem-grid,
    .web-tech-grid,
    .web-section-intro {
        grid-template-columns: 1fr;
        display: grid;
    }

    .web-solution-grid,
    .web-process-grid,
    .web-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .web-section-intro {
        align-items: start;
    }
}

@media (max-width: 640px) {
    .web-hero {
        padding-top: 150px;
    }

    .web-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .web-solution-grid,
    .web-process-grid,
    .web-result-grid {
        grid-template-columns: 1fr;
    }

    .web-card,
    .web-process-step {
        min-height: auto;
    }

    .web-final-content {
        padding: 38px 22px;
    }
}
