/* FounderGen Design System */
:root {
    /* ── Unified Brand Color Palette ─────────────────── */
    --bg-primary: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;

    /* Primary: Electric Blue */
    --accent-primary: #3b82f6;
    --accent-secondary: #2563EB;
    --accent-dark: #1D4ED8;
    --highlight: #3b82f6;

    /* Green accent — used sparingly for success states only */
    --accent-green: #10B981;

    /* Text */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    /* Border */
    --border-light: rgba(15, 23, 42, 0.08);

    /* ── Gradients ────────────────────────────────────── */
    --gradient-brand: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
    --gradient-highlight: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
    --gradient-mesh-1: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.06), transparent 50%), radial-gradient(circle at 85% 30%, rgba(15, 23, 42, 0.04), transparent 50%);
    --gradient-mesh-2: radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.05), transparent 50%);

    /* ── Typography ──────────────────────────────────── */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* ── Spacing ─────────────────────────────────────── */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* ── Glassmorphism ───────────────────────────────── */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: 1px solid rgba(15, 23, 42, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

/* Typography Utilities */
.hero-title {
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    font-weight: 800;
}

/* Specific fix for contact page long titles */
.page-contact .hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-sm);
}

.text-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 60ch;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 10;
}

.section-mesh-1 {
    background: var(--bg-alt);
    background-image: var(--gradient-mesh-1);
}

.section-mesh-2 {
    background: var(--bg-primary);
    background-image: var(--gradient-mesh-2);
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Glassmorphism Logic */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
    /* Softer shadow */
    padding: var(--space-md);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 15px 45px 0 rgba(15, 23, 42, 0.12);
    /* Soft shadow depth */
    border-color: rgba(37, 99, 235, 0.25);
}

/* Add subtle indigo top glow to cards on hover */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

/* Service Card Specialty (TeamTweaks Inspired) */
.service-card {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: rgba(37, 99, 235, 0.08) 0px 22px 25px 0px;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(37, 99, 235, 0.18) 0px 30px 40px -10px;
}

.service-card .ser-part {
    padding: 1.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    transition: background-color 0.4s ease;
    position: relative;
}

/* Emerald top-stripe reveal on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 10px 10px 0 0;
    z-index: 2;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Unified electric-blue tint for all service icon blocks */
.service-card .ser-part.bg-sky {
    background: #EEF2FF;
}

.service-card .ser-part.bg-emerald {
    background: #EEF2FF;
}

.service-card .ser-part.bg-violet {
    background: #EEF2FF;
}

.service-card .ser-part.bg-amber {
    background: #EEF2FF;
}

/* Floating Animation for Icons */
@keyframes elegant-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.service-card .icon-wrapper {
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon-wrapper.floating {
    animation: elegant-float 4s ease-in-out infinite;
}

/* Disable float and pop on hover */
.service-card:hover .icon-wrapper.floating {
    animation-play-state: paused;
    transform: scale(1.15) translateY(-5px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card .ser-cnt {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.service-card .ser-cnt p {
    min-height: 80px;
    /* Fixed height for alignment */
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.learn-more-link {
    display: inline-block;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    margin-top: auto;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.service-card:hover .learn-more-link {
    color: var(--highlight);
}

/* Expanding Underline Animation */
.learn-more-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: var(--highlight);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .learn-more-link::after {
    width: 100%;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.15), transparent);
    width: 100%;
    margin: 0 auto;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
}

.logo-founder {
    color: #000000;
}

.logo-founder-white {
    color: #ffffff;
}

.logo-gen {
    color: #3b82f6;
}



.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.contact-item svg {
    color: var(--accent-secondary);
    width: 1rem;
    height: 1rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.contact-label {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
}

.contact-text a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--accent-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Menu */
.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    max-height: 600px;
}

.nav-list {
    padding: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-link {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1rem 2rem;
    display: block;
    position: relative;
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.nav-link:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    /* Improved easing */
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
}

.hero-whatsapp-btn:hover {
    background: #10B981 !important;
    border-color: #10B981 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 122, 74, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-width: 100vw;
    height: 800px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.hero-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-grid {
    align-items: center;
}

.hero-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(11, 122, 74, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.15;
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

/* Layered Mockups */
.hero-visuals {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* -------------------------------------------------------------------------- */
/*                               INDUSTRIES SECTION                           */
/* -------------------------------------------------------------------------- */
.industry-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(11, 122, 74, 0.12);
    border-color: rgba(11, 122, 74, 0.2);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.09);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.industry-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.industry-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------------------------------------------- */
/*                               SELECTED WORK SECTION                        */
/* -------------------------------------------------------------------------- */
.selected-work-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .selected-work-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .selected-work-layout {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.work-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(11, 122, 74, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(11, 122, 74, 0.15);
    border-color: rgba(11, 122, 74, 0.15);
}

.work-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 16/10;
    width: 100%;
}

.work-card:hover .work-visual {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(11, 122, 74, 0.15);
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.work-card:hover .work-img {
    transform: scale(1.05);
}

.work-visual-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0B0B15;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
    text-align: center;
    padding: 2rem;
}

.work-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.work-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.auth-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-primary);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: 1px solid rgba(11, 122, 74, 0.15);
}

.work-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.work-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
    /* Pushes the metric box to the bottom */
}

.work-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid rgba(11, 122, 74, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
    margin-top: auto;
}

.work-card:hover .work-metric {
    background: rgba(11, 122, 74, 0.03);
    border-color: rgba(11, 122, 74, 0.2);
    transform: translateX(4px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    letter-spacing: -1px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* -------------------------------------------------------------------------- */
/*                        Hero Multi-System Rotator                         */
/* -------------------------------------------------------------------------- */
.showcase-rotator {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transform-style: preserve-3d;
    transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
    border-radius: 12px;
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-width: 100vw;
    height: 800px;
    background: radial-gradient(circle at center, rgba(11, 122, 74, 0.08) 0%, transparent 60%);
    z-index: 0;
}

/* Individual Slides */
.showcase-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: fit-content;
    height: fit-content;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.05);

    /* Crossfade + Slight Scale setup */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96) translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
    /* Ignore clicks when hidden */
}

.showcase-item.active {
    position: relative;
    top: auto;
    left: auto;
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 2;
    pointer-events: auto;
}

/* btn-outline-light: for use on DARK section backgrounds only */
.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

/* btn-outline-primary: for use on LIGHT/WHITE card backgrounds */
.btn-outline-primary {
    background: transparent;
    border: 1.5px solid var(--accent-primary);
    color: var(--accent-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
}

/* =========================================================
   Footer Styles
   ========================================================= */
.main-footer {
    background: #0A0F1E;
    color: #CBD5E1;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-about {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: #475569;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Pause indicator state (optional subtle feedback) */
.showcase-rotator:hover .showcase-item.active {
    box-shadow: 0 35px 60px -15px rgba(37, 99, 235, 0.25);
}

/* Faux Browser Window Bar */
.showcase-browser-bar {
    height: 30px;
    background: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.showcase-browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
}

.showcase-browser-bar span:nth-child(1) {
    background: #FF5F56;
}

.showcase-browser-bar span:nth-child(2) {
    background: #FFBD2E;
}

.showcase-browser-bar span:nth-child(3) {
    background: #27C93F;
}

/* Top Corner Label Badge */
.showcase-badge {
    position: absolute;
    top: 1.5rem;
    right: -1.5rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* Entrance animation sequence when slide becomes active */
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.showcase-item.active .showcase-badge {
    opacity: 1;
    right: 1.5rem;
    transform: translateX(0);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Image scaling wrapper */
.showcase-img-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #F8FAFC;
    display: flex;
    justify-content: center;
}

.showcase-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 480px;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 10s ease-out;
    /* Slow zoom while active */
}

/* Subtle pan/zoom effect when slide gets active */
.showcase-item.active .showcase-img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-label {
        margin: 0 auto 1.5rem auto;
    }

    .pricing-anchor {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--highlight);
        padding-top: 1rem;
        margin: 0 auto 2.5rem auto;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visuals {
        height: 400px;
        margin-top: 2rem;
    }

    .mockup-stack {
        transform: rotateY(0deg) rotateX(0deg);
    }

    .mockup-back {
        top: 0;
        right: auto;
        left: 10%;
        width: 80%;
    }

    .mockup-front {
        bottom: 0;
        left: auto;
        right: 10%;
        width: 85%;
    }
}

/* Business Transformation Visuals */
.transformation-visual {
    perspective: 1000px;
}

.transform-divider {
    position: absolute;
    top: -10%;
    left: 45%;
    width: 2px;
    height: 120%;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
    z-index: 10;
    transform: rotate(15deg);
    opacity: 0.5;
}

.transform-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.transformation-visual:hover .transform-before {
    transform: translateY(-5px) scale(0.98);
    filter: grayscale(0.9) opacity(0.5);
}

.transformation-visual:hover .transform-after {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(11, 122, 74, 0.25);
}

/* Winding Roadmap Layout */
.roadmap-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .roadmap-layout {
        grid-template-columns: 350px 1fr;
        gap: 2rem;
    }
}

.roadmap-header {
    position: sticky;
    top: 150px;
    align-self: start;
    z-index: 10;
}

.roadmap-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 800;
}

.roadmap-timeline {
    position: relative;
    width: 100%;
    min-height: 1000px;
    /* SVG scaling room */
}

.roadmap-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Base vs Animated Path */
.roadmap-path-base {
    transition: stroke 0.3s ease;
}

.roadmap-path-anim {
    stroke-dasharray: 4000;
    stroke-dashoffset: 4000;
    /* transition handled by GSAP */
}

/* Roadmap step positioning */
.roadmap-step {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    /* Center over path coordinate */
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

/* Active State */
.roadmap-step.active {
    opacity: 1;
}

/* Markers */
.roadmap-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    z-index: 3;
}

.roadmap-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.roadmap-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Roadmap / Industry circle colors — electric blue palette */
.roadmap-circle.bg-sky {
    background: #DBEAFE;
    border-color: #BAE6FD;
}

.roadmap-circle.bg-emerald {
    background: #DBEAFE;
    border-color: #A7F3D0;
}

.roadmap-circle.bg-amber {
    background: #FEF9C3;
    border-color: #FDE68A;
}

.roadmap-circle.bg-violet {
    background: #EEF2FF;
    border-color: #DDD6FE;
}

.roadmap-step.active .roadmap-circle {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.8);
    background: var(--highlight);
    border-color: #FFFFFF;
    transform: scale(1.3);
}

/* Content Blocks */
.roadmap-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 350px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.roadmap-step.active .roadmap-content {
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.roadmap-content.left-side {
    position: absolute;
    right: 50%;
    /* Anchor to middle */
    margin-right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    justify-content: flex-end;
}

.roadmap-step.active .roadmap-content.left-side {
    transform: translateY(-50%) scale(1.02);
}

.roadmap-content.right-side {
    position: absolute;
    left: 50%;
    margin-left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    justify-content: flex-start;
}

.roadmap-step.active .roadmap-content.right-side {
    transform: translateY(-50%) scale(1.02);
}

.roadmap-icon {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.roadmap-text-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.roadmap-text-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Fallback Restyling */
.roadmap-mobile-stack .process-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.roadmap-mobile-stack .process-card.active {
    opacity: 1;
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

/* Trust Strip */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Transformation Split */
.transformation-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
}

.transform-old {
    flex: 1;
    background: #f0f0f0;
    padding: 2rem;
    filter: grayscale(100%);
    opacity: 0.7;
    border-right: 2px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    font-family: monospace;
}

.transform-new {
    flex: 1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Industry Cards — Hover Micro-Animations */
.industry-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    overflow: hidden;
    cursor: default;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.industry-card .industry-icon {
    transition: color 0.3s ease, transform 0.3s ease;
}

.industry-card:hover .industry-icon {
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* Case Study Enhancements */
.case-study-visual {
    width: calc(100% + var(--space-md) * 2);
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) 1.5rem calc(var(--space-md) * -1);
    height: 200px;
    background: var(--bg-alt);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.case-study-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .case-study-visual img {
    transform: scale(1.05);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-primary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.results-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

/* Pricing Section — White Cards on Blue Background */
.premium-glass-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.premium-glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

/* All text on white card should be dark */
.premium-glass-card .price-title {
    color: #475569 !important;
}

.premium-glass-card .price-amount {
    color: #0F172A !important;
}

.premium-glass-card .price-amount span {
    color: #64748B !important;
}

.premium-glass-card .price-features li {
    color: #334155 !important;
}

.premium-glass-card .pricing-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Middle ERP card — Blue top accent stripe */
.anchor-tier {
    border-top: 4px solid var(--accent-primary) !important;
}

.anchor-tier .price-title {
    color: var(--accent-primary) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.anchor-tier .price-amount {
    color: var(--accent-primary) !important;
}

/* Badge on the anchor card */
.pricing-badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: var(--accent-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 0 0 10px 10px;
}

.pricing-card.highlight {
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.pricing-card.highlight:hover {
    transform: scale(1.06) translateY(-4px);
}


.price-title {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
}

.price-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--accent-secondary);
    stroke-width: 2.5;
    fill: none;
}

/* WhatsApp Floating Button */
@keyframes wa-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    3% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.8);
    }

    6% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, box-shadow 0.3s ease;
    text-decoration: none;
    animation: wa-pulse 20s infinite;
}

.whatsapp-float.hidden-scroll {
    transform: translateY(150px) scale(0.8);
    opacity: 0;
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
    animation-play-state: paused;
}

/* Hover Icons for WhatsApp */
.wa-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Utilities */
.hidden {
    display: none;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Responsive */
@media (max-width: 768px) {
    .header-center {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        text-align: left;
        padding: 1.2rem 1.5rem;
    }

    .nav-link:hover {
        padding-left: 2rem;
        transform: translateY(0);
    }

    .nav-link.active {
        border-left: 4px solid var(--accent-secondary);
    }

    .header-right .btn {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    /* Fix Squished Hero CTAs */
    .hero-actions {
        display: flex;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Adjust overlapping system status card */
    .status-card {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 2rem;
        width: 100% !important;
        max-width: 300px;
    }
}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ========== FOOTER ========== */
.main-footer {
    background: #0B0B15;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 10;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.footer-brand h2 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-about {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: scale(1.1);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 0.7rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--highlight);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact svg {
    color: var(--accent-secondary);
    margin-top: 0.3rem;
    width: 1rem;
    height: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--highlight);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: 0;
        /* Reset padding as container handles it on mobile */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                        Responsive Visibility Utilities                     */
/* -------------------------------------------------------------------------- */

/* Hide on desktop, show on mobile */
@media (min-width: 992px) {
    .visible-mobile {
        display: none !important;
    }
}

/* Hide on mobile, show on desktop */
@media (max-width: 991px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* Ensure text readability on subpages by hardcoding color if necessary */
.text-lead,
p,
.section-title {
    color: var(--text-primary);
}

.section[style*="background: var(--bg-alt);"] p,
.section[style*="background: var(--bg-alt);"] ul {
    color: var(--text-secondary) !important;
}

/* -------------------------------------------------------------------------- */
/*                        Premium Pricing Cards (Dark Theme)                  */
/* -------------------------------------------------------------------------- */

.premium-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.premium-glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.1);
}

.premium-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.pricing-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.premium-glass-card .price-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.premium-glass-card .price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.premium-glass-card .price-amount.custom-quote {
    font-size: 2rem;
}

.premium-glass-card .price-suffix {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-main);
}

.premium-glass-card .price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    position: relative;
    z-index: 2;
}

.premium-glass-card .price-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--highlight);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Button Variants for Dark Backgrounds */
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-btn {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Anchor Tier (The Centerpiece) */
.premium-glass-card.anchor-tier {
    border: 1px solid rgba(37, 99, 235, 0.3);
    background: rgba(15, 23, 42, 0.4);
    /* Slightly deeper dark for contrast */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 99, 235, 0.15);
}

.premium-glass-card.anchor-tier:hover {
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4), 0 0 50px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.6);
}

/* Glowing pseudo-border logic for anchor */
.premium-glass-card.anchor-tier::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-highlight);
    border-radius: 16px 16px 0 0;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: var(--gradient-highlight);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.text-gradient {
    background: var(--gradient-highlight);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
}

.highlight-amount {
    color: transparent !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

@media (min-width: 992px) {
    .premium-glass-card.anchor-tier {
        transform: scale(1.05);
        z-index: 5;
    }

    .premium-glass-card.anchor-tier:hover {
        transform: scale(1.08) translateY(-5px);
    }
}

/* -------------------------------------------------------------------------- */
/*                        Mobile Responsive Fixes                             */
/* -------------------------------------------------------------------------- */
/* Global Overflow Avoidance */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 991px) {

    /* Header & Navigation */
    .header-container {
        padding: 1rem;
        gap: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .contact-info {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem) !important;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-visuals {
        height: 350px;
        margin-top: 2rem;
    }

    .hero-label {
        font-size: 0.75rem;
    }

    /* Process Flow / Winding Roadmap (Mobile Vertical List) */
    .roadmap-timeline {
        height: auto !important;
        margin-top: 2rem;
        padding-left: 1rem;
        border-left: 3px solid rgba(37, 99, 235, 0.2);
        display: block !important;
    }

    .roadmap-svg {
        display: none !important;
    }

    .roadmap-step {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin-bottom: 2rem;
        width: 100% !important;
    }

    .roadmap-content,
    .roadmap-content.left-side,
    .roadmap-content.right-side {
        flex-direction: column !important;
        text-align: left !important;
        align-items: flex-start !important;
        padding-left: 20px;
        padding-right: 0 !important;
    }

    .roadmap-icon {
        margin-bottom: 1rem;
    }

    .roadmap-marker {
        left: -1rem !important;
        top: 0 !important;
        transform: translateX(-50%) !important;
    }

    /* Industries Grid */
    .industry-card {
        padding: 1.5rem;
    }

    /* Case Studies Grid */
    .selected-work-layout .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .work-metric {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================================================ */
/*                        PRODUCTION ADDITIONS                                   */
/* ============================================================================ */

/* ─── Skip to Content (Accessibility) ─────────────────────────────────────── */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* ─── Focus Visible (Keyboard Navigation) ──────────────────────────────────── */
:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ─── Section Accent Line ──────────────────────────────────────────────────── */
.section-accent-line {
    width: 56px;
    height: 4px;
    background: var(--gradient-brand);
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* ─── Hero Trust Indicators ────────────────────────────────────────────────── */
.hero-trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-trust-item svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* ─── Animated Counter ─────────────────────────────────────────────────────── */
.counter-value {
    display: inline-block;
    transition: opacity 0.3s ease;
}

/* ─── Contact Form Styles ──────────────────────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-label .required {
    color: #EF4444;
    margin-left: 2px;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
}

/* ─── Success / Error Messages ─────────────────────────────────────────────── */
.form-success-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.form-success-msg h3 {
    color: var(--accent-green);
    font-size: 1.5rem;
}

.form-success-msg p {
    color: var(--text-secondary);
}

.form-error-msg {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: #DC2626;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ─── Contact Detail Blocks ────────────────────────────────────────────────── */
.contact-detail-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail-block strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-detail-block p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-link {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* ─── Honeypot (visually hidden) ────────────────────────────────────────────── */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ─── Spin Animation (loading button) ─────────────────────────────────────── */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spin-icon {
    animation: spin 0.8s linear infinite;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================================ */
/*                        PROCESS-FLOW / ROADMAP SECTION                        */
/* ============================================================================ */

/* ─── Layout ───────────────────────────────────────────────────────────────── */
.roadmap-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.roadmap-header {
    position: sticky;
    top: 120px;
}

.roadmap-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.roadmap-illustration {
    display: block;
}

/* ─── Desktop Timeline ──────────────────────────────────────────────────────── */
.roadmap-timeline {
    position: relative;
    min-height: 900px;
}

.roadmap-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.roadmap-path-base {
    stroke: rgba(15, 23, 42, 0.06);
    stroke-width: 6;
    fill: none;
    stroke-linecap: round;
}

.roadmap-path-anim {
    stroke: var(--accent-primary);
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 2800;
    stroke-dashoffset: 2800;
    transition: stroke-dashoffset 2s ease;
    opacity: 0.35;
}

/* ─── Step Nodes (absolute positioned) ─────────────────────────────────────── */
.roadmap-step {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.roadmap-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.roadmap-number {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.roadmap-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--accent-primary), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bg-sky {
    background: #38BDF8;
    box-shadow: 0 0 0 3px #38BDF8, 0 4px 12px rgba(56, 189, 248, 0.3);
}

.bg-emerald {
    background: #10B981;
    box-shadow: 0 0 0 3px #10B981, 0 4px 12px rgba(16, 185, 129, 0.3);
}

.bg-amber {
    background: #F59E0B;
    box-shadow: 0 0 0 3px #F59E0B, 0 4px 12px rgba(245, 158, 11, 0.3);
}

.bg-violet {
    background: #8B5CF6;
    box-shadow: 0 0 0 3px #8B5CF6, 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* ─── Step Content Boxes ────────────────────────────────────────────────────── */
.roadmap-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    white-space: nowrap;
}

.roadmap-content.right-side {
    flex-direction: row;
    transform: translateX(30px);
}

.roadmap-content.left-side {
    flex-direction: row-reverse;
    transform: translateX(-30px);
}

.roadmap-text-box {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    min-width: 180px;
    max-width: 220px;
    white-space: normal;
}

.roadmap-text-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: var(--text-primary);
}

.roadmap-text-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.roadmap-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
}

/* ─── Visibility Utilities ──────────────────────────────────────────────────── */
.hidden-mobile {
    display: block;
}

.visible-mobile {
    display: none;
}

/* ─── Mobile: Clean Centred Card Stepper ───────────────────────────────────── */
.roadmap-mobile-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.process-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

/* Dashed connector between cards */
.process-card::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 1rem;
    background: var(--border-light);
}

.process-card:last-child::after {
    display: none;
}

.process-card .roadmap-marker {
    flex-shrink: 0;
    align-items: center;
    gap: 0.4rem;
}

.process-card .roadmap-circle {
    width: 32px;
    height: 32px;
}

.process-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
    max-width: 30ch;
}

/* ─── Responsive Breakpoints ────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .roadmap-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .roadmap-header {
        position: static;
        text-align: center;
    }

    .roadmap-illustration {
        display: none;
    }
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .visible-mobile {
        display: block !important;
    }

    .roadmap-mobile-stack {
        width: 100%;
    }
}