/* ============================================
   lowcodepeople — Full Redesign
   Inspired by lowcode.agency
   ============================================ */

/* ---- Variables ---- */
:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --accent: #0066FF;
    --accent-purple: #6C5CE7;
    --accent-light: rgba(0, 102, 255, 0.08);
    --accent-glow: rgba(0, 102, 255, 0.2);
    --text: #0f172a;
    --text-mid: #475569;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --bg-dark: #0a0e27;
    --bg-dark-card: rgba(255, 255, 255, 0.04);
    --border: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.04);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 56px;
    --space-2xl: 80px;
    --space-3xl: 120px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 700px;
}

/* ---- Sections ---- */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-gray {
    background: var(--bg-gray);
}

.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

.sec-label {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.sec-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
}

.sec-title.light {
    color: #fff;
}

.sec-sub {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.sec-sub.light {
    color: rgba(255, 255, 255, 0.6);
}

.section-line {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 4px;
    margin-bottom: var(--space-md);
}

.text-accent {
    color: var(--accent);
}


/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: all 0.3s var(--ease);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

.logo-slash {
    color: var(--text-light);
    margin: 0 1px;
    font-weight: 300;
}

.logo-people {
    color: var(--text);
    margin-left: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.2s;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 102, 255, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.82rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
}

.btn-arrow {
    font-size: 1.1em;
}


/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0, 102, 255, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(108, 92, 231, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 102, 255, 0.04) 0%, transparent 70%);
}

/* Floating Icons */
.hero-float-icon {
    position: absolute;
    z-index: 1;
    opacity: 0.5;
    animation: heroFloat 6s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon-1 {
    top: 18%;
    left: 8%;
    animation-delay: 0s;
}

.float-icon-2 {
    top: 22%;
    right: 10%;
    animation-delay: 1.5s;
}

.float-icon-3 {
    bottom: 30%;
    left: 6%;
    animation-delay: 3s;
}

.float-icon-4 {
    bottom: 25%;
    right: 7%;
    animation-delay: 4.5s;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.hero-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Showcase */
.hero-showcase {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin: var(--space-xl) auto 0;
    padding: 0 24px;
}

.showcase-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease);
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.showcase-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-gray);
}

.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-dot.red {
    background: #ff5f57;
}

.card-dot.yellow {
    background: #ffbd2e;
}

.card-dot.green {
    background: #28c840;
}

.showcase-card-title {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-left: 8px;
    font-weight: 500;
}

.showcase-card-body {
    padding: 20px 16px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mini Chart */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.chart-bar {
    flex: 1;
    background: rgba(0, 102, 255, 0.12);
    border-radius: 4px 4px 0 0;
    height: var(--h);
    transition: all 0.3s;
}

.chart-bar.accent {
    background: var(--accent);
}

.chart-bar:hover {
    background: rgba(0, 102, 255, 0.3);
}

.chart-bar.accent:hover {
    background: #0052cc;
}

/* Mini Workflow */
.mini-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 12px;
}

.workflow-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    color: var(--text-light);
    font-size: 0.7rem;
}

.workflow-step.done {
    background: #dcfce7;
    border-color: #22c55e;
    color: #22c55e;
}

.workflow-step.active {
    background: rgba(0, 102, 255, 0.08);
    border-color: var(--accent);
    color: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 102, 255, 0);
    }
}

.workflow-line {
    width: 40px;
    height: 2px;
    background: var(--border);
}

.workflow-labels {
    display: flex;
    justify-content: space-around;
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Mini Table */
.mini-table {
    font-size: 0.72rem;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
}

.table-row.header {
    font-weight: 600;
    color: var(--text-mid);
}

.table-row span {
    color: var(--text-mid);
}

.badge-green,
.badge-blue,
.badge-yellow {
    font-size: 0.62rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-green {
    background: #dcfce7;
    color: #16a34a;
}

.badge-blue {
    background: #dbeafe;
    color: #2563eb;
}

.badge-yellow {
    background: #fef3c7;
    color: #d97706;
}


/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof-bar {
    background: var(--bg-gray);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.social-proof-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-mid);
    letter-spacing: 0.5px;
}

.social-proof-text strong {
    color: var(--text);
    font-weight: 700;
}


/* ============================================
   UNFAIR ADVANTAGE
   ============================================ */
.advantage-content {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.advantage-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.advantage-text {
    font-size: 1.2rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.advantage-highlight {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -0.02em;
}

.advantage-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.adv-stat {
    text-align: center;
    min-width: 120px;
}

.adv-stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
}

.adv-stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.adv-stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-top: 8px;
    font-weight: 500;
}


/* ============================================
   SERVICES — SPLIT LAYOUT (For Businesses / For Startups)
   ============================================ */
.services-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: var(--space-lg);
}

.service-column {
    padding: 0;
}

.service-column-header {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.service-column-desc {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 32px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.service-list-item:first-child {
    border-top: 1px solid var(--border);
}

.service-list-item:hover {
    padding-left: 8px;
}

.service-list-item:hover .svc-icon {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.svc-icon {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    background: var(--bg);
    transition: all 0.25s ease;
}

.svc-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .services-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}


/* ============================================
   SERVICES — TABBED
   ============================================ */
.service-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.service-tab {
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.service-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.service-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.2);
}

.service-panels {
    position: relative;
}

.service-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    animation: fadeIn 0.4s var(--ease);
}

.service-panel.active {
    display: grid;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-category {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 8px 0;
    letter-spacing: -0.02em;
}

.service-subtitle {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-features {
    margin-bottom: var(--space-md);
}

.service-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-mid);
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Service Mockup */
.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-mockup {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
}

.service-mockup.dark {
    background: #1a1e36;
    border-color: rgba(255, 255, 255, 0.08);
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-gray);
}

.service-mockup.dark .mockup-header {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.mockup-body {
    padding: 20px;
    min-height: 240px;
}

/* Dashboard Mockup */
.mockup-body {
    display: flex;
    gap: 16px;
}

.mockup-sidebar {
    width: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 102, 255, 0.1);
}

.sidebar-item.active {
    background: var(--accent);
}

.mockup-content {
    flex: 1;
}

.mockup-stats-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mockup-stat-box {
    flex: 1;
    height: 40px;
    background: var(--bg-gray);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.mockup-chart-area {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
}

.mockup-chart-area .chart-bar {
    flex: 1;
}

/* AI Mockup */
.mockup-ai-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.ai-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.5;
    max-width: 85%;
}

.ai-bubble.user {
    background: rgba(0, 102, 255, 0.15);
    color: #a5c4ff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-bubble.bot {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-bubble.bot.result {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    line-height: 1.8;
}

/* App UI Mockup */
.mockup-app-ui {
    width: 100%;
}

.app-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 12px;
}

.app-nav-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
}

.app-nav-user {
    font-size: 0.72rem;
    color: var(--text-light);
}

.app-table {
    font-size: 0.78rem;
}

.app-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.app-row.header {
    font-weight: 600;
    color: var(--text-mid);
}

.app-row span {
    color: var(--text-mid);
}


/* ============================================
   PHILOSOPHY — DARK 2×2
   ============================================ */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.35s var(--ease);
    text-align: center;
}

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

.philosophy-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #fff;
}

.philosophy-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* Philosophy Visuals */
.philosophy-visual {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

/* Orbit visual */
.phil-icon-orbit {
    position: relative;
    width: 100px;
    height: 100px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-dot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    animation: orbitPulse 3s ease-in-out infinite;
}

.orbit-dot.o1 {
    top: -8px;
    right: -8px;
    animation-delay: 0s;
}

.orbit-dot.o2 {
    bottom: -8px;
    left: -8px;
    animation-delay: 1s;
}

.orbit-dot.o3 {
    bottom: -8px;
    right: -8px;
    animation-delay: 2s;
}

@keyframes orbitPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* AI Chat visual */
.phil-ai-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 260px;
}

.phil-chat-bubble {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.5;
}

.phil-chat-bubble.bot {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.phil-chat-icon {
    flex-shrink: 0;
}

/* Design Preview visual */
.phil-design-preview {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 160px;
    justify-content: center;
}

.design-block {
    width: 45px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.design-block.wide {
    width: 96px;
}

.design-block.tall {
    height: 66px;
}

/* Partnership visual */
.phil-partnership {
    display: flex;
    align-items: center;
    gap: 0;
}

.partner-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    border: 2px solid;
}

.partner-circle.you {
    background: rgba(108, 92, 231, 0.15);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.partner-circle.us {
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.partner-bridge {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.bridge-pulse {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: bridgeMove 2s linear infinite;
}

@keyframes bridgeMove {
    0% {
        left: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 8px);
        opacity: 0;
    }
}


/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-filters {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-img {
    height: 180px;
    overflow: hidden;
    background: var(--bg-gray);
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-body {
    padding: 24px;
}

.portfolio-cat-badge {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.cat-dashboard {
    background: #dbeafe;
    color: #2563eb;
}

.cat-otomasi {
    background: #fef3c7;
    color: #d97706;
}

.cat-webapp {
    background: #dcfce7;
    color: #16a34a;
}

.portfolio-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-subtitle {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.portfolio-desc {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portfolio-tags span {
    font-size: 0.68rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--bg-gray);
    color: var(--text-mid);
    border: 1px solid var(--border-light);
}


/* ============================================
   PROCESS
   ============================================ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: var(--space-lg);
    position: relative;
}

.process-line {
    display: none;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid rgba(0, 102, 255, 0.15);
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* ============================================
   TECH STACK — CLEAN GRID
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    background: var(--bg);
}

.tech-item:nth-child(3n) {
    border-right: none;
}

.tech-item:nth-child(n+4) {
    border-bottom: none;
}

.tech-item:hover {
    background: var(--bg-gray);
}

.tech-logo {
    margin-bottom: 16px;
    object-fit: contain;
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.tech-role {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}


/* ============================================
   TEAM
   ============================================ */
/* ============================================
   TEAM PReMIUM (Redesign)
   ============================================ */
.team-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.team-card-p {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.team-card-p:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.team-card-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f7;
    position: relative;
}

.team-photo-p {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.team-card-p:hover .team-photo-p {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.team-content-p {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-header-p h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.team-role-p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--accent);
}

.team-bio-p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #424245;
}

.team-tags-p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tag-p {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: #f5f5f7;
    color: #1d1d1f;
    border-radius: 6px;
    font-weight: 500;
}

.team-link-p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 8px;
    display: inline-block;
    transition: opacity 0.2s;
}

.team-link-p:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .team-grid-premium {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-img-wrapper {
        aspect-ratio: 16/9;
    }
}


/* ============================================
   FAQ
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.2s;
}

.faq[open] {
    border-color: rgba(0, 102, 255, 0.15);
}

.faq summary {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    transition: background 0.2s;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    transition: transform 0.2s;
}

.faq[open] summary::after {
    content: '−';
    color: var(--accent);
}

.faq summary:hover {
    background: var(--bg-gray);
}

.faq p {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}


/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    text-align: center;
}

.cta-heading {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
}

.cta-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-lg);
}

.form-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    color: #fff;
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
}

.field select {
    appearance: none;
    cursor: pointer;
}

.field select option {
    background: var(--bg-dark);
    color: #fff;
}

.form-alt {
    margin-top: var(--space-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.form-alt a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer .logo-people {
    color: #fff;
}

.footer .logo-slash {
    color: rgba(255, 255, 255, 0.2);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-left {
    max-width: 280px;
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.footer-brand .brand-gradient {
    font-size: 0.9rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: var(--space-md);
    text-align: center;
}


/* ============================================
   ANIMATIONS — Scroll Reveal
   ============================================ */
.anim-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.anim-card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }

    .showcase-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-panel {
        grid-template-columns: 1fr;
    }

    .service-visual {
        margin-top: var(--space-md);
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-item:nth-child(3n) {
        border-right: 1px solid var(--border);
    }

    .tech-item:nth-child(2n) {
        border-right: none;
    }

    .tech-item:nth-child(n+4) {
        border-bottom: 1px solid var(--border);
    }

    .tech-item:nth-child(n+5) {
        border-bottom: none;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .advantage-stats {
        gap: var(--space-lg);
    }

    .hero-float-icon {
        display: none;
    }
}

@media (max-width: 640px) {
    :root {
        --space-3xl: 80px;
    }

    .sec-title {
        font-size: 1.8rem;
    }

    .cta-heading {
        font-size: 1.8rem;
    }

    .adv-stat-num {
        font-size: 2.4rem;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 24px 100px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateX(100%);
        transition: transform 0.3s var(--ease);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    /* Mobile Mega Menu Overrides */
    .nav-dropdown {
        width: 100%;
    }

    .nav-mega-menu {
        position: static;
        width: 100%;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        border-radius: 12px;
        padding: 16px;
        min-width: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 12px;
    }

    .nav-dropdown.open .nav-mega-menu {
        display: grid;
    }

    .mega-col:first-child {
        display: none;
    }

    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        font-size: 1rem;
        font-weight: 600;
    }

    .nav-toggle {
        display: flex;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }

    .tech-item:last-child {
        border-bottom: none;
    }
}


/* ============================================
   NAV MEGA-MENU DROPDOWN
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
}

.nav-dropdown-trigger:hover {
    color: var(--text);
}

.nav-dropdown-trigger svg {
    transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    padding: 24px;
    min-width: 420px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
    z-index: 100;
}

.nav-dropdown.open .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.mega-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
}

.mega-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    text-decoration: none;
}

.mega-link:hover {
    background: var(--bg-gray);
}

.mega-link.active {
    background: var(--accent-light);
}

.mega-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-link strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.mega-link span {
    font-size: 0.78rem;
    color: var(--text-light);
}


/* ============================================
   SERVICE PAGES — Hero
   ============================================ */
.svc-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.03) 0%, var(--bg) 80%);
    overflow: hidden;
}

.svc-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.svc-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: var(--space-sm);
}

.svc-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.svc-hero-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: var(--space-lg);
}

.svc-social-proof {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: var(--space-md);
}

.svc-social-proof strong {
    color: var(--text-mid);
}

.svc-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-mockup-large {
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.svc-mockup-large .mockup-body {
    min-height: 280px;
}

/* Mock stat values in service hero */
.mock-stat-val {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

.mock-stat-lbl {
    display: block;
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 500;
}

.mockup-stat-box {
    padding: 10px;
    text-align: center;
}


/* ============================================
   SERVICE PAGES — Pain Point
   ============================================ */
.svc-pain {
    padding: var(--space-2xl) 0;
}

.pain-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pain-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.pain-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.pain-cta {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    margin-top: var(--space-md) !important;
}


/* ============================================
   SERVICE PAGES — Solution Grid 2×2
   ============================================ */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
}

.solution-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s var(--ease);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.solution-num {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.solution-card p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.7;
}


/* ============================================
   SERVICE PAGES — Benefits Grid 3×2
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
}

.benefit-item {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.benefit-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.benefit-item p {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* ============================================
   SERVICE PAGES — FAQ Split Layout
   ============================================ */
.svc-faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

.svc-faq-left .sec-sub {
    margin-bottom: 0;
}


/* ============================================
   SERVICE PAGES — CTA Buttons Center
   ============================================ */
.cta-buttons-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}


/* ============================================
   SERVICE PAGES — RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .svc-hero-inner {
        grid-template-columns: 1fr;
    }

    .svc-hero-visual {
        margin-top: var(--space-lg);
    }

    .svc-mockup-large {
        max-width: 100%;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-faq-layout {
        grid-template-columns: 1fr;
    }

    .nav-mega-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-gray);
        border-radius: var(--radius-sm);
        padding: 16px;
        min-width: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .nav-dropdown.open .nav-mega-menu {
        display: grid;
        transform: none;
    }
}

@media (max-width: 640px) {
    .svc-hero {
        padding: 120px 0 60px;
    }

    .svc-hero-title {
        font-size: 1.6rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .pain-content h2 {
        font-size: 1.4rem;
    }
}


/* ============================================
   PROCESS PAGE — DARK THEME BASE
   ============================================ */
.page-process {
    background: #0a0a0f;
}

.page-process .nav {
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-process .nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
}

.page-process .nav-links a,
.page-process .nav-dropdown-trigger {
    color: rgba(255, 255, 255, 0.6);
}

.page-process .nav-links a:hover,
.page-process .nav-links a.active,
.page-process .nav-dropdown-trigger:hover {
    color: #fff;
}

.page-process .brand-people {
    color: rgba(255, 255, 255, 0.9);
}

/* Grid background pattern */
.proc-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.proc-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.proc-accent {
    color: #5CFF7E;
}


/* ============================================
   PROCESS — Hero
   ============================================ */
.proc-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.proc-label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.proc-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.proc-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}


/* ============================================
   PROCESS — Timeline
   ============================================ */
.proc-timeline {
    position: relative;
    padding: 0 0 100px;
    overflow: hidden;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(92, 255, 126, 0.4) 0%, rgba(0, 102, 255, 0.4) 50%, rgba(92, 255, 126, 0.2) 100%);
    transform: translateX(-50%);
}

.proc-step {
    position: relative;
    margin-bottom: 100px;
}

.proc-step:last-child {
    margin-bottom: 0;
}

.proc-step .step-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: #0a0a0f;
    border: 2px solid #5CFF7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 24px rgba(92, 255, 126, 0.2);
}

.proc-step .step-marker span {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #5CFF7E;
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-top: 8px;
}

/* Reverse layout for alternating steps */
.proc-step.reverse .step-content {
    direction: rtl;
}

.proc-step.reverse .step-content>* {
    direction: ltr;
}

.step-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.step-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.step-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin-bottom: 24px;
}

.step-points {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-points li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-points li strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.step-points li span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}


/* ============================================
   STEP VISUALS — Checklist (Step 01)
   ============================================ */
.vis-checklist {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
}

.vis-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}

.vis-check-item.done {
    color: rgba(255, 255, 255, 0.6);
}

.vis-check-item.active {
    background: rgba(92, 255, 126, 0.08);
    color: #5CFF7E;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.vis-check-item.done .check-icon {
    background: rgba(92, 255, 126, 0.15);
    color: #5CFF7E;
}

.vis-check-item.active .check-icon {
    background: #5CFF7E;
    color: #0a0a0f;
}

.check-icon.pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(92, 255, 126, 0.3);
    }

    50% {
        box-shadow: 0 0 12px 4px rgba(92, 255, 126, 0.15);
    }
}

.vis-pills {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.vis-pill {
    font-family: var(--mono);
    font-size: 0.7rem;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.vis-pill.accent {
    background: rgba(92, 255, 126, 0.1);
    border-color: rgba(92, 255, 126, 0.3);
    color: #5CFF7E;
}


/* ============================================
   STEP VISUALS — Flowchart (Step 02)
   ============================================ */
.vis-flowchart {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.flow-node {
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.flow-node.start {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    color: #5ca0ff;
}

.flow-node.accent {
    background: rgba(92, 255, 126, 0.1);
    border-color: rgba(92, 255, 126, 0.3);
    color: #5CFF7E;
}

.flow-node.end {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    color: #5ca0ff;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.flow-branch {
    display: flex;
    gap: 24px;
}

.flow-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}


/* ============================================
   STEP VISUALS — Kanban (Step 03)
   ============================================ */
.vis-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
}

.kanban-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kanban-header {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.kanban-card {
    font-size: 0.72rem;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}

.kanban-card.active {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.25);
    color: #5ca0ff;
}

.kanban-card.done {
    background: rgba(92, 255, 126, 0.06);
    border-color: rgba(92, 255, 126, 0.15);
    color: rgba(92, 255, 126, 0.6);
}


/* ============================================
   STEP VISUALS — Launch (Step 04)
   ============================================ */
.vis-launch {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.launch-rocket {
    font-size: 2.5rem;
    margin-bottom: 16px;
    animation: float-rocket 3s ease-in-out infinite;
}

@keyframes float-rocket {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.launch-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.launch-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.launch-val {
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.launch-lbl {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

.launch-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.launch-item {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(92, 255, 126, 0.04);
    border: 1px solid rgba(92, 255, 126, 0.08);
    text-align: left;
}


/* ============================================
   PROCESS — Tech Stack (Dark)
   ============================================ */
.proc-tech {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.proc-section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.proc-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.proc-tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s;
}

.tech-featured {
    border: 1px solid rgba(0, 102, 255, 0.4);
    background: radial-gradient(circle at top right, rgba(0, 102, 255, 0.1), transparent);
    box-shadow: 0 10px 30px -10px rgba(0, 102, 255, 0.2);
}

.proc-tech-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.proc-tech-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.proc-tech-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.proc-tech-item em {
    font-size: 0.65rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.3);
}


/* ============================================
   PROCESS — Testimonial (Light break)
   ============================================ */
.proc-testimonial {
    background: #f8f9fa;
    padding: 80px 0;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    color: var(--accent);
    margin-bottom: 24px;
}

.testimonial-card blockquote {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-card blockquote strong {
    font-weight: 800;
    font-style: normal;
    color: var(--accent);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text);
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-light);
}


/* ============================================
   PROCESS — CTA
   ============================================ */
.proc-cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.proc-cta-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.proc-cta-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}


/* ============================================
   PROCESS — Footer (Dark page override)
   ============================================ */
.page-process .footer {
    background: #050508;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* ============================================
   PROCESS PAGE — RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .step-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .proc-step.reverse .step-content {
        direction: ltr;
    }

    .timeline-line {
        left: 24px;
    }

    .step-marker {
        left: 24px;
        width: 40px;
        height: 40px;
    }

    .step-content {
        padding-left: 64px;
    }

    .proc-tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .proc-hero {
        padding: 100px 0 40px;
    }

    .proc-hero-title {
        font-size: 2rem;
    }

    .step-text h2 {
        font-size: 1.3rem;
    }

    /* Timeline Adjustments */
    .timeline-line {
        left: 20px;
    }

    .proc-step .step-marker {
        left: 20px;
        width: 32px;
        height: 32px;
    }

    .proc-step .step-marker span {
        font-size: 0.7rem;
    }

    .step-content {
        padding-left: 50px;
        gap: 24px;
        padding-top: 0;
    }

    /* Visuals - Kanban flattening */
    .vis-kanban {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    /* Visuals - Flowchart */
    .vis-flowchart {
        padding: 16px;
        overflow-x: auto;
    }

    .flow-branch {
        flex-direction: column;
        gap: 12px;
    }

    .flow-path {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .flow-arrow {
        transform: rotate(-90deg);
    }

    .flow-path .flow-arrow {
        transform: rotate(0);
    }

    .flow-branch+.flow-arrow {
        transform: rotate(0);
    }

    /* Visuals - Checklist */
    .vis-checklist {
        padding: 16px;
    }

    .vis-check-item {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .proc-tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .proc-tech-item {
        padding: 16px 10px;
    }

    .launch-items {
        grid-template-columns: 1fr;
    }

    .launch-stats {
        gap: 16px;
    }

    .launch-val {
        font-size: 0.9rem;
    }
}


/* ============================================
   CASE STUDY PAGE — HEADER
   ============================================ */
.cs-header {
    padding: 140px 0 40px;
    border-bottom: 1px solid var(--border);
}

.cs-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.cs-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.cs-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.cs-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cs-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-meta-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

.cs-meta-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.cs-timeline-val strong {
    font-size: 1.6rem;
    color: var(--accent);
}


/* ============================================
   CASE STUDY — STATS BANNER (Dark)
   ============================================ */
.cs-hero-image {
    padding-bottom: 60px;
}

.cs-hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.cs-stats-banner {
    background: #0a0a0f;
    padding: 60px 0;
}

.cs-stats-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.cs-stats-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cs-big-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-stat-num {
    font-family: var(--mono);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.04em;
}

.cs-stat-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}


/* ============================================
   CASE STUDY — CSS DASHBOARD MOCKUP
   ============================================ */
.cs-mockup-dashboard {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.mock-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-dots {
    display: flex;
    gap: 5px;
}

.mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mock-dots span:first-child {
    background: #ff5f57;
}

.mock-dots span:nth-child(2) {
    background: #ffbd2e;
}

.mock-dots span:nth-child(3) {
    background: #28c840;
}

.mock-url {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
}

.mock-dash-body {
    padding: 16px;
}

.mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.mock-mini-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mms-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
}

.mms-val {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.mms-change {
    font-size: 0.6rem;
    font-weight: 600;
}

.mms-change.up {
    color: #5CFF7E;
}

.mms-change.down {
    color: #ff6b6b;
}

.mock-chart-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.mock-bar {
    flex: 1;
    background: rgba(0, 102, 255, 0.3);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.mock-bar.accent {
    background: var(--accent);
    opacity: 0.7;
}


/* ============================================
   CASE STUDY — ORDER PIPELINE MOCKUP
   ============================================ */
.mock-pipeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mock-pipe-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pipe-header {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pipe-card {
    font-size: 0.65rem;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
}

.pipe-card.active {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.25);
    color: #ffa500;
}

.pipe-card.done {
    background: rgba(92, 255, 126, 0.06);
    border-color: rgba(92, 255, 126, 0.15);
    color: rgba(92, 255, 126, 0.6);
}


/* ============================================
   CASE STUDY — TESTIMONIAL
   ============================================ */
.cs-testimonial {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.cs-testimonial-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
}

.cs-quote-mark {
    display: block;
    font-size: 4rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: -16px;
}

.cs-quote-left blockquote {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
}

.cs-quote-left blockquote strong {
    font-weight: 800;
    font-style: normal;
    color: var(--accent);
}

.cs-author-card {
    background: #0a0a0f;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cs-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cs-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-author-info strong {
    font-size: 1rem;
    color: #fff;
}

.cs-author-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.cs-author-loc {
    font-size: 0.72rem !important;
    margin-top: 4px;
}


/* ============================================
   CASE STUDY — NARRATIVE SECTIONS
   ============================================ */
.cs-narrative {
    padding: 60px 0;
}

.cs-narrative-inner {
    max-width: 720px;
}

.cs-section-label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

.cs-nar-section {
    margin-bottom: 40px;
}

.cs-nar-section:last-child {
    margin-bottom: 0;
}

.cs-nar-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.cs-nar-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.cs-nar-section p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.cs-nar-section p strong {
    font-weight: 700;
    color: var(--text);
}

.cs-challenge-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.cs-challenge-list li {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.cs-challenge-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

.cs-challenge-list li strong {
    font-weight: 700;
    color: var(--text);
}


/* ============================================
   CASE STUDY — VISUAL ASSETS
   ============================================ */
.cs-visuals {
    padding: 40px 0 60px;
}

.cs-visuals-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.cs-visual-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.cs-visual-card.info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-visual-card.info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.cs-visual-caption {
    padding: 16px 20px;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
    border-top: 1px solid var(--border);
}

/* Table mockup */
.cs-mockup-table {
    background: #1a1a2e;
    overflow: hidden;
}

.mock-table-body {
    padding: 12px;
}

.mock-table-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.7fr 1fr;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-table-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.7fr 1fr;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.status-ok {
    color: #5CFF7E;
    font-size: 0.7rem;
}

.status-warn {
    color: #ffa500;
    font-size: 0.7rem;
}

/* Before-After comparison */
.cs-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ba-item {
    border-radius: 12px;
    padding: 16px;
}

.ba-item.before {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.ba-item.after {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ba-label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.ba-item.before .ba-label {
    color: #dc2626;
}

.ba-item.after .ba-label {
    color: #16a34a;
}

.ba-item ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ba-item ul li {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.ba-item.before ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-size: 0.65rem;
}

.ba-item.after ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-size: 0.65rem;
    font-weight: 700;
}

/* WhatsApp Mockup */
.cs-mockup-wa {
    background: #e5ddd5;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #075e54;
    color: #fff;
}

.wa-back {
    font-size: 1rem;
    opacity: 0.7;
}

.wa-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.wa-contact strong {
    display: block;
    font-size: 0.82rem;
}

.wa-contact span {
    font-size: 0.65rem;
    opacity: 0.7;
}

.wa-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8bfac' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.wa-msg.bot {
    background: #fff;
    align-self: flex-start;
    border-radius: 0 8px 8px 8px;
}

.wa-msg.user {
    background: #dcf8c6;
    align-self: flex-end;
    border-radius: 8px 0 8px 8px;
}

.wa-msg p {
    font-size: 0.75rem;
    color: #303030;
    line-height: 1.5;
    margin-bottom: 2px;
}

.wa-msg p strong {
    font-weight: 700;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.6rem;
    color: #999;
    margin-top: 2px;
}


/* ============================================
   CASE STUDY — FEATURES GRID
   ============================================ */
.cs-features {
    padding: 60px 0;
    background: var(--bg-gray);
}

.cs-features h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.cs-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cs-feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s var(--ease);
}

.cs-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cs-feat-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.cs-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.cs-feature-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}


/* ============================================
   CASE STUDY — RESULTS CARDS
   ============================================ */
.cs-results-section {
    background: var(--bg-gray);
}

.cs-results-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.cs-result-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.cs-result-num {
    display: block;
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.04em;
}

.cs-result-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin: 4px 0 8px;
}

.cs-result-card p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
}


/* ============================================
   CASE STUDY — PROJECT PHASES
   ============================================ */
.cs-phases {
    padding: 60px 0;
}

.cs-phases-card {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.cs-phases-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 28px;
}

.cs-phases-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cs-phase {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cs-phase-num {
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent);
    background: var(--accent-light);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-phase strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.cs-phase p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}


/* ============================================
   CASE STUDY — CTA
   ============================================ */
.cs-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-gray) 0%, var(--bg) 100%);
}

.cs-cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.cs-cta h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cs-cta p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}


/* ============================================
   CASE STUDY — MORE CASE STUDIES
   ============================================ */
.cs-more {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.cs-more h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 24px;
}

.cs-more-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cs-more-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s var(--ease);
}

.cs-more-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.cs-more-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--accent);
    text-transform: uppercase;
}

.cs-more-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin: 8px 0;
}

.cs-more-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.cs-more-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
}


.portfolio-case-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.01em;
}


/* ============================================
   CASE STUDY — RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .cs-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cs-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-stats-inner {
        grid-template-columns: 1fr;
    }

    .cs-testimonial-inner {
        grid-template-columns: 1fr;
    }

    .cs-visuals-grid {
        grid-template-columns: 1fr;
    }

    .cs-features-grid {
        grid-template-columns: 1fr;
    }

    .cs-results-cards {
        grid-template-columns: 1fr;
    }

    .cs-more-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cs-header {
        padding: 120px 0 30px;
    }

    .cs-title {
        font-size: 2rem;
    }

    .cs-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-before-after {
        grid-template-columns: 1fr;
    }

    .cs-phases-card {
        padding: 24px;
    }

    .mock-stat-row {
        grid-template-columns: 1fr;
    }

    .mock-pipeline {
        grid-template-columns: 1fr;
    }
}