/* =========================================================================
   More Studio - Design System
   Tone: Minimal, high-tech, precise, dark theme
========================================================================= */

:root {
    /* Colors - Monochrome Base (Light Mode) */
    --bg-color: #ffffff;
    --surface-color: #f9f9f9;
    --surface-hover: #f1f1f1;
    --border-color: #e5e5e5;
    --border-hover: #d1d1d1;

    /* Typography Colors */
    --text-primary: #000000;
    --text-secondary: #4d4d4d;
    --text-tertiary: #868686;

    /* Accent Color - Cool Blue */
    --accent-color: #0066FF;
    --accent-hover: #0052cc;
    --accent-glow: rgba(0, 102, 255, 0.08);

    /* Spacing & Layout */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 2.3rem;
    --space-xl: 4.6rem;
    --side-padding: 1.5rem;
    --side-padding-mobile: 16px;

    /* Structure */
    --radius-sm: 2px;
    --radius-md: 4px;
    /* Minimal rounding for 'data module' feel */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

.text-center {
    text-align: center;
}

/* =========================================================================
   Typography
========================================================================= */
h1 {
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #000000;
}

h2,
h3,
h4 {
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #000000;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: var(--space-md);
    max-width: 1000px;
    font-weight: 300;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.5;
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

/* =========================================================================
   Buttons & Actions
========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid #000000;
}

.btn-outline:hover {
    color: #ffffff;
    background-color: #000000;
}

/* =========================================================================
   Navigation
========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color var(--transition-fast), border-bottom var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem var(--side-padding);
    min-height: 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 26px;
    /* Compact navbar logo height */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-toggle .close-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: block;
}

.menu-toggle.active .lucide-menu {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .btn {
    padding: 0.45rem 1.25rem;
}

.menu-toggle:active {
    transform: scale(0.9);
}

/* =========================================================================
   Hero Section
========================================================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10rem;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.hero-section .blob-veil {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(120px) saturate(1.2);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.tech-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-md);
    mix-blend-mode: multiply;
    /* Helps blend with the white background */
    filter: grayscale(0.2) contrast(1.05);
    /* Technical serious tone */
}

.hero-paragraph {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.hero-summary-note {
    margin-top: 1.5rem;
}

.hero-summary-note strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.hero-summary-note p {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* =========================================================================
   Services Grid
========================================================================= */
.section-header {
    margin-bottom: var(--space-lg);
}

.section-header.text-center .section-subtitle,
#services .section-header .section-subtitle,
#industries .section-header .section-subtitle,
#faq .section-header .section-subtitle,
section.hero-section + section .section-header .section-subtitle {
    margin-inline: auto;
}

#services .section-header,
#industries .section-header,
#faq .section-header,
section.hero-section + section .section-header {
    text-align: center;
}

.services-section {
    padding: var(--space-xl) 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 3rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    /* Ultra-clean, subtle Apple-style shadow */
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.01),
        0 10px 30px -10px rgba(0, 0, 0, 0.02),
        0 30px 60px -15px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow:
        0 10px 20px -8px rgba(0, 0, 0, 0.02),
        0 30px 60px -12px rgba(0, 0, 0, 0.04),
        0 50px 100px -20px rgba(0, 102, 255, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-card:hover::before {
    opacity: 1;
}

.card-banner-wrapper {
    width: calc(100% + 6rem);
    margin: -3rem -3rem 2.5rem -3rem;
    overflow: hidden;
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
    aspect-ratio: 1024 / 716;
}

.card-banner-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium) cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-banner-wrapper img {
    transform: scale(1.04);
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
    stroke-width: 1.25px;
    stroke-linecap: square;
    stroke-linejoin: miter;
    margin-bottom: 0.5rem;
}

.card-header h3 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.services-section .card-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.725rem;
    padding: 0.45rem 0.95rem;
    /* High-end Liquid Glass Background */
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(12px) saturate(2);

    /* Persistent Visual Cues */
    border: 0.5px solid rgba(0, 0, 0, 0.05);
    /* Subdued dark border */
    border-top: 1px solid rgba(255, 255, 255, 1);
    /* Refractive highlight */
    border-radius: 100px;
    color: var(--text-primary);
    /* Persistent black text */
    font-weight: 400;
    /* Regular weight */

    /* Persistent Floating Shadow */
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        0 4px 12px rgba(0, 0, 0, 0.04);

    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

/* Removed tag hover state as per request */

/* =========================================================================
   Who We Work With (Industries)
========================================================================= */
.industries-section {
    position: relative;
    padding: var(--space-xl) 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.blob-industries-1 {
    background: rgba(56, 193, 182, 0.5);
    /* Teal */
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    filter: blur(80px);
}

.blob-industries-2 {
    background: #FFF991;
    /* Soft Yellow */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    opacity: 0.4;
    mix-blend-mode: multiply;
    filter: blur(100px);
}

.industries-section .blob-veil {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(60px) saturate(1.5);
    z-index: 1;
}

.industries-section .container {
    position: relative;
    z-index: 5;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    row-gap: 0;
    background-color: rgba(255, 255, 255, 0.4);
    /* Refractive separator line */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.05);
    /* Container floating effect */
}

.industry-card {
    /* High-end Liquid Glass Background */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);

    padding: 2.5rem;
    transition: all var(--transition-smooth);

    /* Refractive Glass Borders */
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.8);

    /* Inner Glow & Subtle Shadow */
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        0 4px 24px -1px rgba(0, 0, 0, 0.03);

    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 1),
        0 20px 40px -10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

/* Optional: Add a subtle 'liquid' highlight overlay */
.industry-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
}

.industry-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.industry-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* =========================================================================
   Process Section
========================================================================= */
.process-section {
    padding: var(--space-xl) 0;
}

.process-showcase {
    margin-top: 4rem;
}

.process-main-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    background: #f8f8f8;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 4rem;
}

.process-stage-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 5s ease;
    filter: saturate(1.1);
}

.process-stage-img.active {
    opacity: 1;
    visibility: visible;
    transform: none;
    /* Removed zoom as requested */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

/* Modifier for 5-column service layout to avoid affecting home page */
.process-grid--5-cols {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.process-grid--5-cols .process-card {
    padding-top: 1rem;
}

.process-grid--5-cols .progress-wrap {
    height: 1px;
}

.process-card {
    position: relative;
    padding-top: 1.5rem;
    cursor: pointer;
    opacity: 0.35;
    transition: all var(--transition-smooth);
}

.process-card.active {
    opacity: 1;
}

.progress-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
}

.process-card.active .progress-bar {
    animation: progress-fill 8s linear forwards;
}

@keyframes progress-fill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.step-number {
    font-family: 'Geist', sans-serif;
    font-size: 3.5rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1;
}

.process-grid--5-cols .step-number {
    font-size: 2rem;
    font-weight: 300;
}

.process-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.process-grid--5-cols .process-card h3 {
    font-size: 1rem;
    font-weight: 400;
}

.process-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* =========================================================================
   Outcomes Section
========================================================================= */
.outcomes-section {
    padding: 1.5rem 0;
    position: relative;
    background-color: #ffffff;
}

/* Restoring Mesh Animation Styles */
.mesh-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
    will-change: transform;
    animation: float-mesh 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    background: #72b9bb;
    top: -10%;
    left: -10%;
    animation-duration: 40s;
}

.blob-2 {
    background: #ffd1bd;
    bottom: -10%;
    right: -10%;
    animation-duration: 35s;
    animation-delay: -5s;
}

.blob-3 {
    background: #dbf4a4;
    top: 30%;
    left: 20%;
    width: 50%;
    height: 50%;
    animation-duration: 45s;
    animation-delay: -10s;
}

@keyframes float-mesh {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(15%, 15%) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(-10%, 20%) rotate(240deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.container-wide {
    max-width: 100%;
}

/* Runway Style Banner (Light Theme Version) */
.outcomes-banner {
    background-color: #ffffff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    min-height: auto;
}

.outcomes-banner .mesh-container {
    opacity: 1;
    /* Original visibility */
}

.outcomes-banner .blob-veil {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    /* Original white veil */
    backdrop-filter: blur(100px) saturate(1.8);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem 3rem;
    gap: 4rem;
    align-items: center;
}

.banner-left {
    max-width: 480px;
}

.eyebrow.banner-eyebrow {
    color: var(--text-secondary);
    text-transform: none;
    /* Removing uppercase */
    letter-spacing: normal;
    /* Removing heavy tracking */
    font-weight: 400;
    /* Matching body weight */
    font-size: 0.9375rem;
    /* Closer to body/desc size */
    margin-bottom: 1.5rem;
}

.banner-title {
    color: var(--text-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 0;
    /* Clear margin since button is removed */
    font-weight: 400;
    /* Matching standard section headers */
    letter-spacing: -0.04em;
    max-width: 400px;
}

.banner-right {
    display: flex;
    flex-direction: column;
}

.outcome-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
}

.outcome-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.item-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    stroke-width: 1.5;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.outcome-item .outcome-value {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

.outcome-item .outcome-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    max-width: 450px;
}

/* Staggered Child Reveal Adjustment for Banner */
.reveal.active .outcomes-banner {
    animation: banner-reveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes banner-reveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

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

@media (max-width: 1024px) {
    .banner-content {
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 3rem;
    }

    .banner-title {
        font-size: 2.5rem;
    }
}

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

/* =========================================================================
   FAQ Section
========================================================================= */
.faq-section {
    padding: var(--space-xl) 0;
}

.faq-accordion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:nth-child(1),
.faq-item:nth-child(2) {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.75rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
    font-family: inherit;
}

.faq-question:hover {
    color: var(--accent-color);
}

.accordion-icon {
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
    stroke-width: 1.25px;
    stroke-linecap: square;
    stroke-linejoin: miter;
    transition: transform var(--transition-fast);
}

.faq-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.answer-content {
    padding-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================================================
   Footer (Mockup Replacement)
========================================================================= */
.footer {
    background-color: #111111;
    color: #ffffff;
    padding: 3.45rem 0 1.725rem;
    font-size: 0.875rem;
}

.footer-main-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.6fr 1.5fr;
    gap: 2rem;
    padding-bottom: 4rem;
}

.footer-icon-top {
    margin-bottom: 1.25rem;
}

.m-mark-img {
    width: 160px;
    height: auto;
    opacity: 0.95;
    display: block;
}

.footer-subtext {
    color: #888888;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 220px;
}

.footer-logo-bottom {
    display: none;
}

.footer-brand-img {
    height: 38px;
    width: auto;
    display: block;
}

.footer-title {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title span {
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social-row {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}

.footer-social-row a {
    color: #ffffff;
    opacity: 0.6;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social-row a:hover {
    opacity: 1;
}

.footer-social-row svg {
    width: 1.25rem;
    /* ~20px */
    height: 1.25rem;
    stroke-width: 1.5;
}

.footer-cta-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-cta-msg {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 380px;
}

.footer-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    color: #111111;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.footer-pill-btn i,
.footer-pill-btn svg.lucide {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

/* Legal Bar */
.footer-legal-bar {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    color: #555555;
    font-size: 0.75rem;
}

.legal-links {
    display: contents;
    /* Allows children to be placed in the parent's grid */
}

.legal-link-item {
    text-decoration: underline;
    color: #555555;
    transition: color var(--transition-fast);
}

.legal-link-item:hover {
    color: #888888;
}

.footer-copyright {
    grid-column: 5;
    text-align: right;
    line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 1024px) {

    .footer-main-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-cta-col {
        grid-column: span 3;
        align-items: flex-start;
        text-align: left;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {

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

    .footer-legal-bar {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-main-row {
        grid-template-columns: 1fr;
    }

    .footer-cta-col {
        grid-column: span 1;
    }
}

/* =========================================================================
   CTA Section
========================================================================= */
.cta-section {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at center, rgba(46, 104, 255, 0.05) 0%, transparent 60%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-button {
    font-size: 1rem;
    padding: 1rem 2rem;
}

/* Footer styles were consolidated above in the Mockup Replacement section */


/* =========================================================================
   Tesla-inspired Scroll Animations
========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   Responsive Adjustments
========================================================================= */
@media (max-width: 1200px) {
    .service-grid,
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .service-grid,
    .industry-grid,
    .process-grid,
    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 2.875rem;
        --space-lg: 1.725rem;
        --side-padding: var(--side-padding-mobile);
    }

    .hero-section {
        padding-top: 8rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: auto;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        gap: 2.5rem;
        backdrop-filter: blur(20px);
    }

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

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 400;
        letter-spacing: -0.02em;
        color: var(--text-primary);
    }

    .nav-actions {
        display: none;
    }

    .hero-grid,
    .service-grid,
    .process-grid,
    .outcomes-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .industry-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        row-gap: 0;
    }

    .outcomes-main-title {
        max-width: 100%;
    }

    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
        row-gap: 3rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-visual {
        justify-content: center;
        order: -1;
        /* Image first on mobile for engagement */
    }

    .faq-accordion {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-item:nth-child(2) {
        border-top: none;
    }

    .industry-card,
    .process-card,
    .outcome-card {
        padding: 1.5rem 0;
    }

    .industry-card {
        padding: 1.5rem;
    }

    .process-main-visual {
        aspect-ratio: 16/9;
        margin-bottom: 2.5rem;
    }

    .process-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
        overflow-x: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .process-grid::-webkit-scrollbar {
        display: none;
    }

    .process-card {
        scroll-snap-align: none;
        padding: 0;
        border-top: none;
        min-width: 0;
        /* Resetting min-width to let grid handle it */
    }

    .progress-wrap {
        position: relative;
        margin-bottom: 1.5rem;
    }

    .process-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .process-card p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
}

/* =========================================================================
   Subpage / Service Details Additions
========================================================================= */

/* Hero Section Modifier for Subpages */
.hero-section--subpage {
    padding-bottom: var(--space-lg);
    border-bottom: none;
}

.hero-section--subpage .hero-paragraph {
    max-width: 900px;
    font-size: 1.125rem;
}

/* Common Utilities */
.margin-top-md {
    margin-top: var(--space-md);
}

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

.text-semibold {
    font-weight: 600;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

/* Tech Stack Container */
.tech-stack-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.tech-pill {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.tech-pill:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Minimal Grid (For How it works) */
.minimal-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: var(--space-md);
}

.minimal-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.minimal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border-color: #d1d1d1;
}

.minimal-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.minimal-icon {
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    stroke-width: 1.5px;
}

.minimal-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Deliverables Section */
.deliverables-section {
    padding: var(--space-xl) 0;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: var(--space-md);
}

.deliverable-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all var(--transition-fast);
}

.deliverable-card:hover {
    background-color: #fafafa;
}

.deliverable-card h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deliverable-icon {
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    margin-bottom: 0.5rem;
}

.deliverable-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =========================================================================
   Integrations/Deliverables Marquee
========================================================================= */
.marquee-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 1.5rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    gap: 1.5rem;
    min-width: 100%;
    animation: scroll 80s linear infinite;
}

.marquee-content.marquee-reverse {
    animation-direction: reverse;
}

.client-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: all var(--transition-medium) cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 1.5rem));
    }
}

.integration-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    padding: 2rem;
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    white-space: normal;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.03);
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.integration-icon {
    font-size: 2rem;
}

.integration-header h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
}

.integration-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Footer Summary Section */
.footer-summary {
    padding: var(--space-md) 0 var(--space-xl);
    background-color: #ffffff;
}

.footer-summary .section-title {
    margin-bottom: var(--space-sm);
}

.footer-summary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-summary-link {
    font-size: 0.9375rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.footer-summary-link:hover {
    border-color: #000000;
    background-color: #fafafa;
}

.footer-summary-link--next {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.footer-summary-link--next:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
}

@media (max-width: 900px) {

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

@media (max-width: 600px) {

    .deliverables-grid,
    .minimal-card-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   Service Details Page Specifics
========================================================================= */
.hero-section--subpage {
    padding-top: 12rem;
    padding-bottom: 6rem;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 2rem 0;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-label {
    font-family: 'Geist Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
}

.spec-value {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
}

.app-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.app-type-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card-id {
    font-family: 'Geist Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.app-type-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 10px 20px -8px rgba(0, 0, 0, 0.02),
        0 30px 60px -12px rgba(0, 0, 0, 0.04),
        0 50px 100px -20px rgba(0, 102, 255, 0.06);
}

.app-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.app-type-card:hover::before {
    opacity: 1;
}

.app-type-card h4 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.app-type-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.connectivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.conn-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-color);
    position: relative;
}

.conn-label {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.conn-card:hover {
    border-color: var(--text-primary);
}

.conn-card h4 {
    font-size: 1.0625rem;
    font-weight: 600;
}

.conn-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tech-pill {
    font-size: 0.725rem;
    padding: 0.45rem 0.95rem;
    /* High-end Liquid Glass Background */
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(12px) saturate(2);

    /* Persistent Visual Cues */
    border: 0.5px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-radius: 100px;
    color: var(--text-primary);
    font-weight: 400;

    /* Persistent Floating Shadow */
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        0 4px 12px rgba(0, 0, 0, 0.04);

    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.tech-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.tech-pill:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 1),
        0 8px 16px rgba(0, 0, 0, 0.06);
}

.deliverables-grid--clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .deliverables-grid--clean {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .deliverables-grid--clean {
        grid-template-columns: 1fr;
    }
}

.deliverable-item {
    background: #ffffff;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.deliverable-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-primary);
}

.deliverable-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.deliverable-item:hover {
    background: var(--surface-color);
}



.next-service-nav {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.nav-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-item-link {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    font-weight: 700;
}

.nav-title {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    transition: all var(--transition-fast);
}

.nav-item-link:hover .nav-title {
    color: var(--accent-color);
    transform: translateX(8px);
}

.nav-item-link[style*="text-align: right"]:hover .nav-title {
    transform: translateX(-8px);
}

@media (max-width: 768px) {
    .nav-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item-link[style*="text-align: right"] {
        text-align: left !important;
    }

    .nav-title {
        font-size: 1.5rem;
    }
}

/* =========================================================================
   Stack Cards - Revolut Inspired
   ========================================================================= */
.stack-section {
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0;
    text-align: center;
    background-color: var(--bg-color);
}

/* Note: Using global .section-header for headings */


.stack-cta-wrap {
    margin-bottom: var(--space-lg);
}

.btn-pill {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1.25rem 2.75rem;
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.btn-pill:hover {
    background-color: #000000;
    transform: scale(1.02);
}

.tech-swiper {
    width: 100%;
    padding: 2rem 1rem 5rem;
    margin-top: 2rem;
}

.stack-card {
    /* Swiper compatibility */
    height: auto !important;
    
    /* Liquid Glass Surface - Apple Style */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: 42px;
    padding: 3.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-smooth);

    /* Physical Edge Highlights */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.8);

    /* Multilayer Depth */
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -8px 16px -8px rgba(0, 0, 0, 0.05);

    aspect-ratio: 1/1.1;
    position: relative;
    overflow: hidden;
}

.tech-swiper .swiper-pagination-bullet {
    background: var(--text-tertiary);
    opacity: 0.3;
}

.tech-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}


/* Shine Effect Profile */
.stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent);
    pointer-events: none;
    z-index: 1;
}

.stack-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    /* Push name to bottom */
}

.stack-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.stack-card-name {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.6;
    letter-spacing: 0.02em;
    margin-top: 1.5rem;
}

.stack-card:hover .stack-card-name {
    opacity: 1;
}

@media (max-width: 768px) {
    .stack-card {
        padding: 2.5rem 1rem 2rem;
    }
}

/* Center-aligned hero layout for subpages */
.hero-center-aligned {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-center-aligned .hero-title,
.hero-center-aligned .hero-paragraph {
    margin-left: auto;
    margin-right: auto;
}

/* Split layout for service detail hero */
.hero-split-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.hero-split-grid .hero-title {
    max-width: 100%;
    margin-bottom: 0;
}

.hero-split-grid .hero-details {
    display: flex;
    flex-direction: column;
}

.hero-split-grid .hero-paragraph {
    max-width: 100%;
    margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Custom standalone tech slider styling */
.tech-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    margin-top: 2rem;
}

.tech-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.tech-slider-track .stack-card {
    flex-shrink: 0;
    width: calc((100% - (4 * 2rem)) / 5);
    margin-right: 2rem;
}

@media (max-width: 1024px) {
    .tech-slider-track .stack-card {
        width: calc((100% - (2 * 1.5rem)) / 3);
        margin-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tech-slider-track .stack-card {
        width: calc((100% - (1 * 1rem)) / 2);
        margin-right: 1rem;
    }
}

.tech-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
    opacity: 0.3;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent-color);
    opacity: 1;
    transform: scale(1.2);
}

/* 2 Column process grid layout */
.process-grid--2-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

@media (max-width: 768px) {
    .process-grid--2-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Static process card style */
.process-card-static {
    position: relative;
    padding-top: 1.5rem;
    opacity: 1;
}

.process-card-static h3 {
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #000000;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.process-card-static p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 3 Column process grid layout */
.process-grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 1024px) {
    .process-grid--3-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .process-grid--3-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================================================
   Home Page Custom Styles
   ========================================================================= */

/* Numbers Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Vision & Mission Section */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.vm-card {
    padding: 3.5rem 3rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vm-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.vm-header {
    margin-bottom: 2rem;
}

.vm-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #000000;
}

.vm-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #000000;
    line-height: 1.2;
}

.vm-content {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* AI Agents Grid */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.agent-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium) cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.product-card-cover {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium) cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: block;
}

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

.agent-image-wrapper {
    width: 100%;
    padding-bottom: 118.4%; /* Match height aspect ratio of new vertical images (1024/865) */
    position: relative;
    overflow: hidden;
}

.agent-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.product-card-cover:hover .agent-image-wrapper img {
    transform: scale(1.05);
}

/* Media Queries for New Sections */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vm-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .agents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =========================================================================
   Contact Page Custom Styles
   ========================================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.contact-info-value {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info-value a:hover {
    color: var(--accent-color);
}

.contact-social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.contact-social-links a {
    font-size: 1.125rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-social-links a:hover {
    color: var(--accent-color);
}

.contact-office-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Google Map Styles */
.map-section {
    padding: var(--space-lg) 0;
}

.map-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Accordion FAQ Styles */
.faq-accordion {
    margin-top: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Media Queries for Contact Page */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 3rem;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-office-desc {
        font-size: 1.125rem;
    }
    
    .map-container {
        height: 350px;
    }
}