/* css/style.css */
:root {
    --bg: #050505;
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
    background-attachment: fixed;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor.active {
    width: 50px;
    height: 50px;
}

/* Noise Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section {
    padding: 15vh 0;
    position: relative;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-muted);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: none;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg);
}

.btn-primary:hover {
    transform: scale(0.95);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg);
}

/* Lines for reveal animation */
.line-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.line {
    display: inline-block;
    transform-origin: left bottom;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4vw;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.4;
}

/* Glow Orb (Gradient Mesh Vibe) */
.glow-orb {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 60%);
    transform: translateY(-50%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-item {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
    display: block;
}

.service-item:hover {
    border-color: var(--text-main);
}

a.service-item h3 {
    color: var(--text-main);
}

a.service-item:hover h3 {
    color: var(--text-main);
}

.service-number {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* HMS Flagship */
.hms-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.large-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.3;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.hms-visual {
    height: 60vh;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-orb {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    animation: pulseOrb 10s ease-in-out infinite alternate;
}

@keyframes pulseOrb {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.05) rotate(10deg);
    }
}

/* ═══════════════════════════════════════════════════════
   SEVASANGRAHA MINI SITE
   ═══════════════════════════════════════════════════════ */

/* Seva Accent Color */
.seva-accent {
    color: #FF6B35;
}

.seva-highlight {
    color: #22c55e !important;
    font-weight: 700;
}

/* Seva Hero */
.seva-hero {
    text-align: center;
    padding: 15vh 0 8vh;
    position: relative;
}

.seva-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #FF6B35;
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 2.5rem;
    background: rgba(255, 107, 53, 0.08);
}

.seva-headline {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #fff;
}

.seva-subtext {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 3rem;
}

.seva-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-seva-primary {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    cursor: none;
}

.btn-seva-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn-seva-large {
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
}

/* Seva Sections */
.seva-section {
    padding: 8vh 0;
    border-top: 1px solid var(--border);
}

.seva-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    text-align: center;
}

/* How It Works — Steps */
.seva-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.seva-step {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    transition: var(--transition);
}

.seva-step:hover {
    border-color: #FF6B35;
}

.seva-step-num {
    font-size: 0.85rem;
    color: #FF6B35;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.seva-step h4 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.seva-step p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Module Grid */
.seva-modules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.seva-module {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    color: var(--mod-color, #fff);
    border: 1px solid var(--mod-color, rgba(255,255,255,0.2));
    background: transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.seva-module:hover {
    background: var(--mod-color, rgba(255,255,255,0.1));
    color: #fff;
    transform: translateY(-2px);
}

.seva-modules-more {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

/* Comparison Table */
.seva-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.seva-compare-col {
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.seva-compare-industry {
    background: rgba(255, 255, 255, 0.02);
}

.seva-compare-seva {
    background: rgba(255, 107, 53, 0.04);
    border-color: rgba(255, 107, 53, 0.2);
}

.seva-compare-header {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.seva-compare-seva .seva-compare-header {
    color: #FF6B35;
}

.seva-compare-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
}

.seva-compare-row:last-child {
    border-bottom: none;
}

.seva-compare-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.seva-compare-value {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.seva-compare-industry .seva-compare-value {
    color: #ef4444;
    opacity: 0.8;
}

/* Pricing Grid */
.seva-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.seva-pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}

.seva-pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.seva-pricing-popular {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.05);
}

.seva-pricing-popular:hover {
    border-color: #FF6B35;
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.seva-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 0 0 12px 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.seva-pricing-tier {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.seva-pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.seva-pricing-price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}

.seva-pricing-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.seva-pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.seva-pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.seva-pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

.seva-pricing-btn {
    width: 100%;
    text-align: center;
}

.seva-pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Final CTA */
.seva-final-cta {
    text-align: center;
    padding: 12vh 0;
}

.seva-cta-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.seva-cta-sub {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.seva-cta-phone {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .seva-headline {
        font-size: 2.5rem;
    }

    .seva-comparison {
        grid-template-columns: 1fr;
    }

    .seva-compare-row {
        padding: 0.8rem 1.2rem;
    }

    .seva-pricing-grid {
        grid-template-columns: 1fr;
    }

    .seva-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .seva-steps {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 10vh;
    mix-blend-mode: difference;
}

.footer-logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 4rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hms-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nav-links {
        display: none;
    }

    .cursor {
        display: none;
    }

    body {
        cursor: auto;
    }
}
/* ============================================
   NEW: Agent Workflows + Content Pipelines + Reviews + Live Wire
   ============================================ */

/* Section header w/ portfolio link */
.section-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.section-head-row .section-title { margin-bottom: 0; }
.portfolio-link {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0.7rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.06) inset;
    animation: portfolioPulse 3s ease-in-out infinite;
}
.portfolio-link:hover {
    background: var(--text-main);
    color: var(--bg);
    border-color: var(--text-main);
    animation: none;
}
@keyframes portfolioPulse {
    0%, 100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: 0 0 24px rgba(255, 255, 255, 0.06) inset; }
    50% { border-color: rgba(255, 255, 255, 0.7); box-shadow: 0 0 30px rgba(255, 255, 255, 0.14) inset; }
}

/* Section kicker */
.section-kicker {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 60ch;
}

/* ----- Agent Workflows ----- */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.workflow-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.75rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    overflow: hidden;
}
.workflow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, rgba(255,255,255,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.workflow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
}
.workflow-card:hover::before { opacity: 1; }

.workflow-diagram {
    width: 100%;
    height: 150px;
    margin-bottom: 1.25rem;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.workflow-diagram .node {
    fill: #0a0a0a;
    stroke: rgba(255,255,255,0.4);
    stroke-width: 1.2;
    transition: stroke 0.4s ease;
}
.workflow-diagram .node-label {
    fill: var(--text-muted);
    font-size: 9px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-anchor: middle;
}
.workflow-diagram .link {
    stroke: rgba(255,255,255,0.18);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    fill: none;
    animation: dashflow 3s linear infinite;
}
.workflow-card:hover .workflow-diagram .link { animation-duration: 1.2s; }
.workflow-card:hover .workflow-diagram .node { stroke: rgba(255,255,255,0.85); }
@keyframes dashflow {
    to { stroke-dashoffset: -32; }
}

.workflow-card h3 {
    font-size: 1.35rem;
    margin: 0 0 0.4rem;
    color: var(--text-main);
}
.workflow-problem {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}
.workflow-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.5rem;
}
.workflow-steps li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
}
.workflow-steps li::before {
    content: attr(data-step);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    min-width: 22px;
}
.outcome-pill {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--text-main);
    background: rgba(255,255,255,0.03);
}

/* ----- Content Pipelines (Magnific) — filmstrip ----- */
.filmstrip {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 4vw 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.filmstrip .pipeline-card { flex: 1 1 0; min-width: 250px; max-width: 320px; }
.filmstrip::-webkit-scrollbar { height: 6px; }
.filmstrip::-webkit-scrollbar-track { background: transparent; }
.filmstrip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 999px; }

.pipeline-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.pipeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.25);
}
.pipeline-thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 4px),
        linear-gradient(135deg, var(--thumb-a, #1a1a2e), var(--thumb-b, #050505));
    overflow: hidden;
}
.pipeline-thumb::before {
    content: "▶";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease, transform 0.3s ease;
}
.pipeline-card:hover .pipeline-thumb::before {
    color: rgba(255,255,255,0.9);
    transform: translate(-50%, -50%) scale(1.15);
}
.pipeline-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.9s ease;
}
.pipeline-card:hover .pipeline-thumb::after { transform: translateX(100%); }

.pipeline-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.pipeline-body h3 { font-size: 1.15rem; margin: 0; color: var(--text-main); }
.pipeline-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.72rem;
}
.pipeline-chip {
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}
.pipeline-outcome {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}
.pipeline-arrow {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-main);
    align-self: flex-start;
}

/* ----- Reviews ----- */
.reviews-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.review-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem 1.75rem 1.5rem;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.review-card::before {
    content: "\201C";
    position: absolute;
    top: -1.5rem;
    right: -0.5rem;
    font-size: 9rem;
    line-height: 1;
    color: rgba(255,255,255,0.06);
    font-family: Georgia, serif;
}
.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.25);
}
.review-tag {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.review-quote {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text-main);
    margin: 0;
    position: relative;
    z-index: 1;
}
.review-divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    color: var(--text-main);
    flex: 0 0 42px;
    letter-spacing: 0.04em;
}
.review-author-meta { font-size: 0.85rem; line-height: 1.35; color: var(--text-muted); }
.review-author-meta strong { color: var(--text-main); font-weight: 600; display: block; }
.review-link {
    margin-top: auto;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ----- Live Wire ----- */
.live-wire {
    position: fixed;
    top: 0;
    left: 24px;
    width: 1px;
    height: 100vh;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
    z-index: 5;
}
.live-wire::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: wirepulse 6s linear infinite;
}
.live-wire.active::after { opacity: 0.55; }
@keyframes wirepulse {
    0% { background-position: 0 -100vh; }
    100% { background-position: 0 100vh; }
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .workflow-grid { grid-template-columns: 1fr; }
    .reviews-rail { grid-template-columns: 1fr; }
    .pipeline-card { flex-basis: 240px; }
    .live-wire { display: none; }
}

/* ============================================
   Client Modal (macOS-style floating window)
   ============================================ */
.client-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    place-items: center;
    padding: 5vh 4vw;
}
.client-modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}
.client-modal {
    width: min(880px, 100%);
    max-height: 90vh;
    background: linear-gradient(180deg, #0c0c0e 0%, #050505 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow:
        0 60px 120px rgba(0,0,0,0.7),
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
    transform: scale(0.94) translateY(20px);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
    display: flex;
    flex-direction: column;
}
.client-modal-backdrop.open .client-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.client-modal-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.client-modal-dots {
    display: flex;
    gap: 0.45rem;
}
.client-modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s ease;
    cursor: pointer;
}
.client-modal-dot.red { background: #ff5f57; }
.client-modal-dot.yellow { background: #febc2e; }
.client-modal-dot.green { background: #28c840; }
.client-modal-dot.red:hover { background: #ff7a72; }
.client-modal-title {
    flex: 1;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.client-modal-spacer { width: 60px; }

.client-modal-body {
    overflow-y: auto;
    padding: 2.5rem 2.5rem 2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.client-modal-body::-webkit-scrollbar { width: 6px; }
.client-modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }

.client-modal-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.client-modal h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.client-modal-tagline {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 2.25rem;
}
.client-modal-section {
    margin-bottom: 2rem;
}
.client-modal-section h3 {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.client-modal-section p {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
}
.client-modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}
.client-modal-features li {
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.client-modal-features li::before {
    content: "→";
    color: var(--text-muted);
    flex-shrink: 0;
}
.client-modal-quote {
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.client-modal-quote::before {
    content: "\201C";
    position: absolute;
    top: -1rem;
    left: 0.5rem;
    font-size: 6rem;
    color: rgba(255,255,255,0.06);
    font-family: Georgia, serif;
    line-height: 1;
}
.client-modal-quote-text {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.client-modal-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.client-modal-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    color: var(--text-main);
    flex-shrink: 0;
}
.client-modal-author strong {
    display: block;
    color: var(--text-main);
    font-weight: 600;
}
.client-modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1.25rem 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.3);
    flex-shrink: 0;
    flex-wrap: wrap;
}
.client-modal-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: none;
    border: 1px solid var(--border);
    color: var(--text-main);
    background: transparent;
}
.client-modal-btn:hover {
    border-color: var(--text-main);
}
.client-modal-btn.primary {
    background: var(--text-main);
    color: var(--bg);
    border-color: var(--text-main);
}
.client-modal-btn.primary:hover {
    transform: scale(0.96);
}

/* Body lock when modal open */
body.modal-open { overflow: hidden; }

/* Make cards triggers */
.client-trigger {
    cursor: none;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    font: inherit;
    color: inherit;
}

@media (max-width: 700px) {
    .client-modal-body { padding: 1.75rem 1.5rem; }
    .client-modal-footer { padding: 1rem 1.5rem; }
}
