/* ── Service Page Base ── */
@import url('brand.css?v=20260510');

body {
    background: var(--bg-graphite);
    color: var(--text-primary);
}

/* Re-apply Background Patterns for consistency */
.bg-pattern {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, var(--accent-blue-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--accent-amber-glow) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.bg-network {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(0,102,255,0.05)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 72px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-back {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.nav-back:hover {
    color: #fff;
    transform: translateX(-4px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-name {
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
    white-space: nowrap;
}

.nav-cta-link {
    font-weight: 700;
    color: var(--accent-blue);
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid var(--accent-blue);
    border-radius: 99px;
    transition: var(--transition);
}

.nav-cta-link:hover {
    background: var(--accent-blue);
    color: #fff;
}

.residential-page .nav-cta-link {
    color: var(--accent-amber);
    border-color: var(--accent-amber);
}

.residential-page .nav-cta-link:hover {
    background: var(--accent-amber);
    color: #fff;
}

/* ── Hero ── */
.hero {
    padding: 180px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero accent glows */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
}

.business-page .hero::before {
    background: var(--accent-blue);
}

.residential-page .hero::before {
    background: var(--accent-amber);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin: 20px 0;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* Fix: CTA button spacing — more room below subtitle */
.hero .btn {
    margin-top: 8px;
}

/* ── Content Sections ── */
.section {
    padding: 100px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-blue);
}

.residential-page .section-label {
    color: var(--accent-amber);
}

.section-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

/* ═══════════════════════════════════════════
   What's Included — Rich Card Grid (redesigned)
   ═══════════════════════════════════════════ */
.includes-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.includes-list li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 32px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.includes-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Icon for each include card */
.includes-list li .includes-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    flex-shrink: 0;
}

.includes-list li .includes-icon i {
    font-size: 1.6rem;
    color: var(--accent-blue);
}

.residential-page .includes-list li .includes-icon {
    background: rgba(255, 138, 0, 0.12);
    border-color: rgba(255, 138, 0, 0.25);
}

.residential-page .includes-list li .includes-icon i {
    color: var(--accent-amber);
}

/* Title inside include card */
.includes-list li h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

/* Description text */
.includes-list li p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Bullet sub-list inside include cards */
.includes-list li ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.includes-list li ul li {
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    transform: none;
}

.includes-list li ul li:hover {
    background: none;
    border-color: transparent;
    transform: none;
}

.includes-list li ul li::before {
    content: "✓";
    color: var(--accent-blue);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 2px;
}

.residential-page .includes-list li ul li::before {
    color: var(--accent-amber);
}

/* Legacy fallback: plain text items without sub-structure */
.includes-list li::before {
    content: none;
}

/* ═══════════════════════════════════════════
   How It Works — Pipeline (redesigned)
   ═══════════════════════════════════════════ */
.pipeline {
    max-width: 1120px;
}

.pipeline-flow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
    counter-reset: pipeline-step;
    padding: 0;
}

.pipeline-step {
    counter-increment: pipeline-step;
    position: relative;
    flex: none;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px 28px;
    transition: var(--transition);
}

.pipeline-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* Step number badge */
.pipeline-step::before {
    content: counter(pipeline-step, decimal-leading-zero);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    opacity: 0.5;
    letter-spacing: 0.05em;
}

.residential-page .pipeline-step::before {
    color: var(--accent-amber);
}

/* Connector arrow between steps */
.pipeline-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 2px);
    width: calc(20px - 4px);
    height: 2px;
    transform: translateY(-50%);
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.1),
            var(--accent-blue),
            rgba(255, 255, 255, 0.1)
        );
    background-size: 220% 100%;
    opacity: 0.45;
    animation: pipeline-pulse 4s ease-in-out infinite;
}

.pipeline-step:last-child::after {
    display: none;
}

.residential-page .pipeline-step::after {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.1),
            var(--accent-amber),
            rgba(255, 255, 255, 0.1)
        );
    background-size: 220% 100%;
}

.pipeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 18px;
    color: var(--accent-blue);
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    box-shadow: 0 0 32px var(--accent-blue-glow);
}

.residential-page .pipeline-icon {
    color: var(--accent-amber);
    background: rgba(255, 138, 0, 0.12);
    border-color: rgba(255, 138, 0, 0.25);
    box-shadow: 0 0 32px var(--accent-amber-glow);
}

.pipeline-icon i {
    font-size: 2rem;
}

.pipeline-step h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pipeline-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes pipeline-pulse {
    0%,
    100% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 0% 50%;
    }
}

@keyframes pipeline-neon-flow {
    0%   { background-position: 50% 200%; }
    100% { background-position: 50% -100%; }
}

@media (prefers-reduced-motion: reduce) {
    .pipeline-step,
    .pipeline-step::after {
        animation: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════════
   Real-World Examples — Card Grid (new)
   ═══════════════════════════════════════════ */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.example-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.example-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.example-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.example-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    flex-shrink: 0;
}

.example-card-icon i {
    font-size: 1.4rem;
    color: var(--accent-blue);
}

.residential-page .example-card-icon {
    background: rgba(255, 138, 0, 0.12);
    border-color: rgba(255, 138, 0, 0.25);
}

.residential-page .example-card-icon i {
    color: var(--accent-amber);
}

.example-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.example-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.example-card .example-outcome {
    font-size: 0.88rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
}

.residential-page .example-card .example-outcome {
    color: var(--accent-amber);
}

.example-card .example-outcome i {
    font-size: 1rem;
}

/* ═══════════════════════════════════════════
   Trust / Why Us Section (fix centering + redesign)
   ═══════════════════════════════════════════ */
.trust {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    margin: 40px auto;
    max-width: 1000px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-body {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.trust-body strong {
    color: #fff;
}

/* Why Us feature grid */
.trust-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    text-align: center;
    width: 100%;
    justify-items: center;
}

.trust-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: 280px;
}

.trust-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    margin: 0 auto;
}

.trust-feature-icon i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.residential-page .trust-feature-icon {
    background: rgba(255, 138, 0, 0.12);
    border-color: rgba(255, 138, 0, 0.25);
}

.residential-page .trust-feature-icon i {
    color: var(--accent-amber);
}

.trust-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.trust-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ═══════════════════════════════════════════
   Contact Section — Handled by brand.css
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   Footer Quick Support — Enhanced
   ═══════════════════════════════════════════ */
.footer-support-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.footer-support-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-support-pill-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #3d5afe 50%, var(--accent-blue) 100%);
    background-size: 200% 200%;
    animation: support-gradient-shift 4s ease infinite;
    color: #fff;
    padding: 16px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 20px rgba(0, 102, 255, 0.35),
        0 0 60px rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-support-pill-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-support-pill-enhanced:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 8px 32px rgba(0, 102, 255, 0.5),
        0 0 80px rgba(0, 102, 255, 0.15);
    filter: brightness(1.1);
    color: #fff;
}

.footer-support-pill-enhanced i {
    font-size: 1.3rem;
}

@keyframes support-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .nav-back span { display: none; }
    .hero { padding: 140px 20px 60px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-sub { font-size: 1.1rem; }
    .section { padding: 60px 16px; }
    .section-heading { font-size: 1.6rem; margin-bottom: 32px; }

    /* ── Includes: compact list on mobile ── */
    .includes-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .includes-list > li {
        padding: 20px;
        gap: 10px;
        border-radius: 16px;
    }
    /* Shrink icon and put inline with title */
    .includes-list > li .includes-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .includes-list > li .includes-icon i {
        font-size: 1.2rem;
    }
    .includes-list > li h3 {
        font-size: 1rem;
    }
    /* Hide the description paragraph on mobile — bullets say it all */
    .includes-list > li > p {
        display: none;
    }
    /* Compact bullet sub-list */
    .includes-list > li > ul {
        gap: 4px;
        margin-top: 2px;
    }
    .includes-list > li > ul li {
        font-size: 0.85rem;
        gap: 8px;
        line-height: 1.4;
        padding: 0;
    }

    /* ── Pipeline: compact on mobile ── */
    .pipeline-flow {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pipeline-step {
        padding: 20px;
        border-radius: 16px;
    }
    .pipeline-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 14px;
    }
    .pipeline-icon i { font-size: 1.4rem; }
    .pipeline-step h3 { font-size: 1rem; margin-bottom: 8px; }
    .pipeline-step p { font-size: 0.88rem; line-height: 1.5; }
    .pipeline-step::after {
        top: calc(100% + 2px);
        left: 50%;
        width: 2px;
        height: calc(16px - 4px);
        transform: translateX(-50%);
        background:
            linear-gradient(
                180deg,
                transparent 0%,
                var(--accent-blue) 35%,
                #ffffff 50%,
                var(--accent-blue) 65%,
                transparent 100%
            );
        background-size: 100% 300%;
        background-repeat: no-repeat;
        opacity: 1;
        box-shadow:
            0 0 6px var(--accent-blue),
            0 0 12px var(--accent-blue-glow),
            0 0 20px var(--accent-blue-glow);
        animation: pipeline-neon-flow 1.6s linear infinite;
    }
    .residential-page .pipeline-step::after {
        background:
            linear-gradient(
                180deg,
                transparent 0%,
                var(--accent-amber) 35%,
                #ffffff 50%,
                var(--accent-amber) 65%,
                transparent 100%
            );
        background-size: 100% 300%;
        background-repeat: no-repeat;
        box-shadow:
            0 0 6px var(--accent-amber),
            0 0 12px var(--accent-amber-glow),
            0 0 20px var(--accent-amber-glow);
    }

    /* ── Examples: compact on mobile ── */
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .example-card {
        padding: 20px;
        border-radius: 16px;
        gap: 10px;
    }
    .example-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .example-card-icon i { font-size: 1.2rem; }
    .example-card h3 { font-size: 0.95rem; }
    .example-card p { font-size: 0.88rem; line-height: 1.5; }
    .example-card .example-outcome { font-size: 0.82rem; padding-top: 6px; }

    /* ── Trust: compact on mobile ── */
    .trust { padding: 48px 20px; }
    .trust-body { font-size: 1.05rem; }
    .trust-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }
    .trust-feature-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .trust-feature-icon i { font-size: 1.2rem; }
    .trust-feature h4 { font-size: 0.95rem; }
    .trust-feature p { font-size: 0.85rem; }

    /* ── Mobile: Handle specific overrides ── */
}

/* Tablet: 2 columns for pipeline */
@media (min-width: 768px) and (max-width: 1023px) {
    .pipeline-flow {
        grid-template-columns: repeat(2, 1fr);
    }
    .pipeline-step:nth-child(2)::after,
    .pipeline-step:last-child::after {
        display: none;
    }
}
