/* ============================================================
   WEB DEVELOPMENT PAGE STYLES (webdev.css) – Light Theme
   ============================================================ */
:root {
    --bg: #f8fafc;
    --bg-2: #ffffff;
    --card: rgba(255, 255, 255, 0.85);
    --card-solid: #ffffff;
    --primary: #5b7cff;
    --primary-2: #7c5cff;
    --cyan: #27d9ff;
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(0, 0, 0, .08);
    --success: #10b981;
    --warning: #f59e0b;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Hind Siliguri', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 5%, rgba(91, 124, 255, .06), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(39, 217, 255, .06), transparent 25%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.webdev-container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

/* ===== COMMON ===== */
.webdev-section {
    padding: 95px 0;
}

.webdev-section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.webdev-section-heading .webdev-eyebrow {
    margin-bottom: 12px;
}

.webdev-section-heading h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #0f172a;
}

.webdev-section-heading p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
}

.webdev-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f6ef2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.webdev-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.webdev-gradient-text {
    background: linear-gradient(100deg, #0f172a 10%, #4f6ef2 55%, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.webdev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 21px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
    cursor: pointer;
}

.webdev-btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 30px rgba(91, 124, 255, .25);
}

.webdev-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(91, 124, 255, .35);
}

.webdev-btn-outline {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .8);
    color: #334155;
}

.webdev-btn-outline:hover {
    border-color: rgba(124, 92, 255, .6);
    background: rgba(124, 92, 255, .08);
}

/* ===== HERO ===== */
.webdev-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
}

.webdev-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    top: 50px;
    background: rgba(91, 124, 255, .06);
    filter: blur(90px);
    border-radius: 50%;
}

.webdev-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -80px;
    background: rgba(39, 217, 255, .05);
    filter: blur(80px);
    border-radius: 50%;
}

.webdev-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 60px;
}

.webdev-hero-content h1 {
    margin-top: 18px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -3px;
    color: #0f172a;
}

.webdev-hero-content p {
    max-width: 570px;
    margin-top: 23px;
    color: var(--muted);
    font-size: 17px;
}

.webdev-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.webdev-hero-stats {
    display: flex;
    gap: 25px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.webdev-stat {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #475569;
    font-size: 13px;
}

.webdev-stat-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #4f6ef2;
    background: rgba(91, 124, 255, .11);
}

/* HERO VISUAL */
.webdev-hero-visual {
    position: relative;
    min-height: 410px;
}

.webdev-code-window {
    position: absolute;
    width: 350px;
    right: 20px;
    top: 35px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .08);
    transform: rotate(2deg);
}

.webdev-window-top {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid var(--border);
}

.webdev-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.webdev-dot.webdev-red { background: #ff6b6b; }
.webdev-dot.webdev-yellow { background: #fbbf24; }
.webdev-dot.webdev-green { background: #34d399; }

.webdev-window-title {
    margin-left: auto;
    color: #64748b;
    font-size: 10px;
}

.webdev-code {
    padding: 25px;
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 2;
    color: #334155;
}

.webdev-code .webdev-blue { color: #2563eb; }
.webdev-code .webdev-cyan { color: #0891b2; }
.webdev-code .webdev-green { color: #059669; }
.webdev-code .webdev-purple { color: #7c3aed; }

.webdev-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.webdev-floating-card strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
}

.webdev-floating-card small {
    color: var(--muted);
    font-size: 11px;
}

.webdev-float-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #0ea5e9;
    background: rgba(14, 165, 233, .1);
}

.webdev-card-one {
    left: 0;
    bottom: 45px;
}

.webdev-card-two {
    right: 0;
    bottom: -5px;
}

/* ===== SERVICES ===== */
.webdev-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.webdev-service-card {
    position: relative;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
    transition: .3s ease;
}

.webdev-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(91, 124, 255, .45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.webdev-service-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #4f6ef2;
    background: linear-gradient(135deg, rgba(91, 124, 255, .15), rgba(124, 92, 255, .1));
    margin-bottom: 22px;
}

.webdev-service-card h3 {
    font-size: 19px;
    margin-bottom: 9px;
    color: #0f172a;
}

.webdev-service-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.webdev-service-card ul {
    list-style: none;
}

.webdev-service-card li {
    display: flex;
    gap: 9px;
    margin: 8px 0;
    color: #475569;
    font-size: 13px;
}

.webdev-service-card li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

/* ===== PRICING ===== */
.webdev-pricing-section {
    position: relative;
}

.webdev-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.webdev-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
    transition: .3s ease;
}

.webdev-price-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.webdev-price-card.webdev-popular {
    border-color: rgba(91, 124, 255, .75);
    box-shadow: 0 25px 80px rgba(63, 88, 190, .15);
}

.webdev-popular-badge {
    position: absolute;
    top: 17px;
    right: 17px;
    padding: 5px 10px;
    border-radius: 30px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.webdev-price-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(91, 124, 255, .1);
    color: #4f6ef2;
    margin-bottom: 20px;
}

.webdev-price-card h3 {
    font-size: 21px;
    color: #0f172a;
}

.webdev-price-desc {
    min-height: 52px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.webdev-price {
    margin: 20px 0;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #0f172a;
}

.webdev-price span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.webdev-features {
    list-style: none;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    margin-bottom: 25px;
}

.webdev-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
    color: #475569;
    font-size: 13px;
}

.webdev-features li::first-letter {
    color: var(--success);
}

.webdev-price-card .webdev-btn {
    width: 100%;
    margin-top: auto;
}

/* Custom PHP block */
.webdev-custom-price {
    margin-top: 25px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(14, 165, 233, .14);
    border-radius: 22px;
    background: linear-gradient(100deg, rgba(14, 165, 233, .04), rgba(91, 124, 255, .04));
}

.webdev-custom-price h3 {
    font-size: 21px;
    color: #0f172a;
}

.webdev-custom-price p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 5px;
}

.webdev-custom-price strong {
    color: #0f172a;
}

/* ===== PROJECTS ===== */
.webdev-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.webdev-project-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

.webdev-project-number {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 45px;
    font-weight: 900;
    color: rgba(0, 0, 0, .04);
}

.webdev-project-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(91, 124, 255, .1);
    color: #4f6ef2;
    margin-bottom: 22px;
}

.webdev-project-card h3 {
    font-size: 19px;
    color: #0f172a;
}

.webdev-project-card p {
    color: var(--muted);
    font-size: 13px;
    max-width: 450px;
    margin-top: 8px;
}

.webdev-tech-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.webdev-tech-tags span {
    padding: 5px 9px;
    border-radius: 7px;
    color: #475569;
    background: rgba(0, 0, 0, .03);
    font-size: 10px;
}

/* ===== TECHNOLOGY STACK ===== */
.webdev-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.webdev-stack-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #475569;
    font-size: 13px;
    transition: .25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .02);
}

.webdev-stack-item:hover {
    background: rgba(91, 124, 255, .06);
    border-color: rgba(91, 124, 255, .35);
    transform: translateY(-2px);
}

.webdev-stack-icon {
    color: #4f6ef2;
}

/* ===== WHY CODEEDGE ===== */
.webdev-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.webdev-why-card {
    display: flex;
    gap: 17px;
    padding: 24px;
    border: 1px solid var(--border);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .03);
}

.webdev-why-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #0ea5e9;
    background: rgba(14, 165, 233, .08);
}

.webdev-why-card h3 {
    font-size: 16px;
    color: #0f172a;
}

.webdev-why-card p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

/* ===== PROCESS ===== */
.webdev-process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.webdev-process-item {
    position: relative;
    padding: 22px 16px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .03);
}

.webdev-process-number {
    width: 35px;
    height: 35px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    font-size: 12px;
    font-weight: 800;
}

.webdev-process-item h3 {
    font-size: 14px;
    color: #0f172a;
}

.webdev-process-item p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
}

/* ===== FAQ ===== */
.webdev-faq {
    max-width: 800px;
    margin: auto;
}

.webdev-faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.webdev-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 20px;
    border: 0;
    outline: none;
    background: transparent;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.webdev-faq-question span {
    color: var(--primary);
    font-size: 20px;
    transition: .25s ease;
}

.webdev-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: .35s ease;
}

.webdev-faq-answer p {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 13px;
}

.webdev-faq-item.webdev-active .webdev-faq-question span {
    transform: rotate(45deg);
}

.webdev-faq-item.webdev-active .webdev-faq-answer {
    max-height: 200px;
}

/* ===== CTA ===== */
.webdev-cta {
    position: relative;
    overflow: hidden;
    padding: 65px 30px;
    text-align: center;
    border-radius: 28px;
    border: 1px solid rgba(91, 124, 255, .25);
    background:
        radial-gradient(circle at 20% 50%, rgba(91, 124, 255, .08), transparent 35%),
        radial-gradient(circle at 80% 40%, rgba(39, 217, 255, .06), transparent 30%),
        #ffffff;
}

.webdev-cta h2 {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -1px;
    color: #0f172a;
}

.webdev-cta p {
    max-width: 570px;
    margin: 14px auto 25px;
    color: var(--muted);
}

.webdev-cta-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================================
   PROTECT HEADER BUTTONS FROM WEBDEV GLOBAL OVERRIDES
   ========================================================= */
.site-header .auth-action--login,
.site-header .auth-action--register {
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
}

.site-header .auth-action--login {
    background: transparent;
    color: #b0bcdb;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .auth-action--register {
    background: linear-gradient(135deg, #d4af37, #f5d77b);
    color: #0b1120;
    border: 1px solid transparent;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* ============================================================
   RESPONSIVE – All breakpoints at the end
   ============================================================ */
@media (max-width: 950px) {
    .webdev-hero-grid {
        grid-template-columns: 1fr;
    }

    .webdev-hero-content {
        text-align: center;
    }

    .webdev-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .webdev-hero-actions,
    .webdev-hero-stats {
        justify-content: center;
    }

    .webdev-hero-visual {
        max-width: 500px;
        width: 100%;
        margin: auto;
    }

    .webdev-service-grid,
    .webdev-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .webdev-process {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .webdev-container {
        width: min(100% - 28px, 1160px);
    }

    .webdev-section {
        padding: 70px 0;
    }

    .webdev-hero {
        padding-top: 70px;
        min-height: auto;
    }

    .webdev-hero-content h1 {
        letter-spacing: -2px;
    }

    .webdev-hero-content p {
        font-size: 15px;
    }

    .webdev-hero-visual {
        min-height: 340px;
    }

    .webdev-code-window {
        width: 85%;
        right: 0;
    }

    .webdev-card-one {
        left: 0;
        bottom: 25px;
    }

    .webdev-card-two {
        right: 0;
        bottom: -5px;
    }

    .webdev-service-grid,
    .webdev-pricing-grid,
    .webdev-projects-grid,
    .webdev-why-grid {
        grid-template-columns: 1fr;
    }

    .webdev-custom-price {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .webdev-custom-price .webdev-btn {
        width: 100%;
    }

    .webdev-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .webdev-price {
        font-size: 34px;
    }
}

@media (max-width: 450px) {
    .webdev-hero-actions .webdev-btn {
        width: 100%;
    }

    .webdev-hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .webdev-hero-visual {
        transform: scale(.9);
        margin-left: -5%;
        width: 110%;
    }

    .webdev-process {
        grid-template-columns: 1fr;
    }

    .webdev-cta {
        padding: 45px 20px;
    }
}