/* ==========================================================================
   CodeScrapers — Premium Light Theme
   Enterprise-grade, conversion-focused design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Ultra Premium Light Palette */
    --bg-main: #F7F9FC;
    --bg-alt: #FFFFFF;
    --bg-soft: #EEF2F8;
    --bg-tertiary: #E9EEF6;

    --surface-color: #FFFFFF;
    --card-bg: #FFFFFF;
    --bg-color: #F7F9FC;
    --heading-color: #0F172A;
    --text-color: #1E293B;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-white: #FFFFFF;

    --primary: #0891B2;
    --primary-2: #38BDF8;
    --secondary: #0EA5E9;
    --accent: #10B981;
    --accent-primary: #10B981;

    /* Thin borders */
    --border-light: #E5EAF1;
    --border-color: #E2E8F0;
    --border-hover: #C7D0DB;

    /* Soft shadows (light theme) */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 50px -12px rgba(15, 23, 42, 0.18);
    --box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --glow-primary: 0 18px 40px -12px rgba(8, 145, 178, 0.35);
    --glow-secondary: 0 18px 40px -12px rgba(14, 165, 233, 0.35);

    /* Typography */
    --font-body: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;

    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --border-radius: 16px;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease, opacity 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

::selection {
    background: rgba(8, 145, 178, 0.18);
    color: var(--heading-color);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-bg-alt {
    background-color: var(--bg-alt);
}

.section-bg-soft {
    background-color: var(--bg-soft);
}

.section-padding {
    padding: 6.5rem 0;
}

.section-alt {
    background-color: var(--bg-soft);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--heading-color);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 620px;
    margin: 0 auto 4rem;
}

.text-gradient {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(120deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Light-theme heading gradients (soft ink) */
.text-gradient-ink {
    background: linear-gradient(120deg, #1E293B 0%, #0891B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.1rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--heading-color);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px -8px rgba(8, 145, 178, 0.55);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -10px rgba(14, 165, 233, 0.6);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--heading-color);
    border: 1.5px solid var(--border-color);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-light {
    background: #fff;
    color: var(--heading-color);
    border: none;
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.15rem 2.6rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Badge / Chip ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.18);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
    /* background-color: rgba(255, 255, 255, 0.85); */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    animation: slideDownHeader 0.3s ease-out forwards;
}

.site-header.scrolled {
    top: auto;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    padding: 0.85rem 0;
    /* Increased height */
    border-radius: 100px;
    z-index: 9999;

    /* True Glassmorphism with inner glow for 3D uniqueness */
    background: rgba(15, 23, 42, 0.45);
    border-bottom: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 12px 40px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);

    animation: popInBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Unique glowing dot indicator on hover instead of a line */
.site-header.scrolled .nav-links a::after {
    left: 50%;
    bottom: -10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .nav-links a:hover::after,
.site-header.scrolled .nav-links a.active::after {
    width: 6px;
    /* Override the 100% width from default */
    transform: translateX(-50%) scale(1);
}

@keyframes slideDownHeader {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popInBottom {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.site-header.scrolled .container {
    width: 100%;
    padding: 0 1.5rem;
}

.site-header.scrolled .logo,
.site-header.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.95);
}

.site-header.scrolled .nav-links {
    gap: clamp(1.5rem, 3vw, 3rem);
}

.site-header.scrolled .nav-toggle {
    color: #FFFFFF;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--heading-color);
}

.logo svg {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: clamp(5rem, 9vw, 6rem);
    list-style: none;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    font-size: 1.05rem;
    color: var(--heading-color);
    font-weight: 700;
    position: relative;
    font-family: var(--font-body);
    letter-spacing: -0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
    cursor: pointer;
    color: var(--heading-color);
    font-size: 1.2rem;
    line-height: 0;
}

/* Mobile drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--bg-alt);
    border-left: 1px solid var(--border-color);
    z-index: 1200;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--heading-color);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-close {
    align-self: flex-end;
    background: var(--bg-soft);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    color: var(--heading-color);
    font-size: 1rem;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 8.5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 45% at 15% 10%, rgba(8, 145, 178, 0.08), transparent 60%),
        radial-gradient(ellipse 55% 42% at 90% 20%, rgba(14, 165, 233, 0.08), transparent 60%),
        radial-gradient(ellipse 70% 60% at 60% 100%, rgba(16, 185, 129, 0.06), transparent 55%),
        var(--bg-main);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.75rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.hero-content h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2.75rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--heading-color);
    letter-spacing: -0.02em;
}

.hero-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero visual — pure CSS dashboard mockup */
.hero-visual {
    position: relative;
}

.hero-dash {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.hero-dash-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-soft);
}

.hero-dash-top .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-dash-top .dot.red {
    background: #F87171;
}

.hero-dash-top .dot.yellow {
    background: #FBBF24;
}

.hero-dash-top .dot.green {
    background: #34D399;
}

.hero-dash-top .url {
    flex: 1;
    margin-left: 0.75rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-dash-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dash-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 1.1rem;
    border: 1px solid var(--border-light);
}

.dash-card h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 0.35rem;
}

.dash-card .value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.dash-card .delta {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
}

.dash-spark {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 46px;
    margin-top: 0.75rem;
}

.dash-spark span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--primary-2), rgba(99, 102, 241, 0.25));
}

.dash-tags {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dash-tags span {
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.15);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
}

.hero-float {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.9rem 1.2rem;
    font-size: 0.8rem;
    z-index: 3;
    animation: floaty 5s ease-in-out infinite;
}

.hero-float .fl-title {
    font-weight: 700;
    color: var(--heading-color);
    font-family: var(--font-display);
}

.hero-float .fl-sub {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.hero-float.a {
    top: 9%;
    right: -6%;
}

.hero-float.b {
    bottom: 8%;
    left: -8%;
    animation-delay: 1.6s;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    filter: blur(90px);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.35;
}

.hero-glow.one {
    background: rgba(8, 145, 178, 0.45);
    top: -40px;
    right: -30px;
    animation: cs-blobFloat1 8s ease-in-out infinite alternate;
}

.hero-glow.two {
    background: rgba(14, 165, 233, 0.35);
    bottom: -60px;
    left: -20px;
    animation: cs-blobFloat2 10s ease-in-out infinite alternate;
}

@keyframes cs-blobFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-40px, 40px) scale(1.1);
    }
}

@keyframes cs-blobFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -40px) scale(1.15);
    }
}

/* ---------- Logo strip ---------- */
.logo-strip {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-alt);
}

.logo-strip p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 2rem;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.logo-item svg {
    color: var(--text-muted);
}

/* ---------- Bento / Feature cards ---------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
}

.bento-item:nth-child(1) {
    grid-column: span 2;
}

.bento-item:nth-child(4) {
    grid-column: span 2;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.bento-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.15);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.35rem;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.bento-meta {
    margin-top: auto;
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------- Generic cards ---------- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow);
}

/* ---------- Stats ---------- */
.stats-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    margin-top: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------- Process steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.6rem;
    color: rgba(8, 145, 178, 0.18);
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    letter-spacing: -0.03em;
}

.process-step h3 {
    font-size: 1.25rem;
    margin: 1rem 0 0.6rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.process-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--glow-primary);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testimonial {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.testimonial .stars {
    color: #F59E0B;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
}

.testimonial p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.testimonial-author .avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    font-family: var(--font-display);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--heading-color);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ---------- Industries ---------- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-chip {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    transition: all 0.3s ease;
}

.industry-chip:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.industry-chip i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 22px;
}

.industry-chip span {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
    border-radius: var(--radius-lg);
    padding: 4.5rem 3rem;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 50% 80% at 20% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
        linear-gradient(120deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(8, 145, 178, 0.5);
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.1rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 2.25rem;
    font-size: 1.05rem;
}

.cta-band .btn-light:hover {
    color: var(--primary);
}

/* ---------- Blog cards ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.blog-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.blog-card .thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .thumb img {
    transform: scale(1.06);
}

.blog-card .content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card .tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(8, 145, 178, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.82rem;
}

.blog-meta a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Page header ---------- */
.page-header {
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 50% at 50% -10%, rgba(8, 145, 178, 0.09), transparent 65%),
        var(--bg-main);
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto;
}

.page-header .badge {
    margin-bottom: 1.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* ---------- Grids ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ---------- Job cards ---------- */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.job-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.job-row:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.job-row h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.job-row .job-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.job-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 145, 178, 0.08);
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.job-row:hover .job-arrow {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
}

/* ---------- Photos / media ---------- */
.media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Check list ---------- */
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: var(--text-color);
    font-size: 0.98rem;
}

.check-list li i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--heading-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-control {
    width: 100%;
    padding: 0.95rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--heading-color);
    font-family: inherit;
    font-size: 0.98rem;
    transition: all 0.25s ease;
}

.form-control::placeholder {
    color: #94A3B8;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #DC2626;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #059669;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 0;
    background: var(--bg-alt);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.25rem;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 0.2rem;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.6rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: translateY(-3px);
}

/* ---------- Floating elements ---------- */
.back-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- Misc utilities (kept for legacy pages) ---------- */
.flex {
    display: flex;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.gap-2 {
    gap: 0.75rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-6 {
    gap: 2rem;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.italic {
    font-style: italic;
}

.block {
    display: block;
}

.inline-flex {
    display: inline-flex;
}

.align-items-center {
    align-items: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.ml-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.text-xs {
    font-size: 0.72rem;
}

.text-sm {
    font-size: 0.82rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.05rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.85rem;
}

.text-4xl {
    font-size: 2.4rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.6rem;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: #fff;
}

.text-heading-color {
    color: var(--heading-color);
}

.text-heading {
    color: var(--heading-color);
}

.text-color {
    color: var(--text-color);
}

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-full {
    height: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.hero-image {
    box-shadow: var(--shadow-lg);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.object-cover {
    object-fit: cover;
}

.section-title-block {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title-block h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-title-block p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.divider {
    height: 1px;
    background: var(--border-light);
    border: none;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2.25rem;
    max-width: 760px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.15);
}

.timeline-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.timeline-item .t-date {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ */
.faq-item {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
}

.faq-item h3 i {
    color: var(--primary);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.open h3 i {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.85rem;
    display: none;
}

.faq-item.open p {
    display: block;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.35s ease;
}

.pricing-card.featured {
    background: linear-gradient(170deg, rgba(8, 145, 178, 0.06), rgba(14, 165, 233, 0.04)), #fff;
    border: 1.5px solid var(--primary);
    box-shadow: var(--glow-primary);
}

.pricing-card .price {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 1rem 0 0.25rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card h3 {
    font-size: 1.3rem;
}

.pricing-card .p-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0.75rem 0 1.5rem;
}

.pricing-card ul li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.45rem 0;
    color: var(--text-color);
    font-size: 0.92rem;
}

.pricing-card ul li i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.popular-flag {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* Contact info cards */
.info-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.info-card i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(8, 145, 178, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    word-break: break-word;
}

/* Section eyebrow */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-float.a {
        right: 2%;
    }

    .hero-float.b {
        left: 2%;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-item:nth-child(1),
    .bento-item:nth-child(4) {
        grid-column: span 1;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3,
    .blog-grid,
    .industry-grid,
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta .desktop-only {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .grid-2,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .blog-grid,
    .industry-grid,
    .grid-cols-3,
    .testimonial-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stats-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .hero-dash {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* ================================================================
   ANIMATION TOOLKIT (home page micro-interactions)
   ================================================================ */

/* Animated gradient text */
.text-gradient {
    background-size: 200% auto;
    animation: cs-textFlow 6s ease-in-out infinite;
}

@keyframes cs-textFlow {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Floating glow orbs in the hero */
@keyframes cs-glowDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -22px) scale(1.18);
    }

    100% {
        transform: translate(-12px, 12px) scale(0.94);
    }
}

.hero-glow.one {
    animation: cs-glowDrift 9s ease-in-out infinite;
}

.hero-glow.two {
    animation: cs-glowDrift 11s ease-in-out infinite reverse;
}

/* Pulsing ping ring */
@keyframes cs-ping {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.ping-ring {
    position: relative;
}

.ping-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.5);
    animation: cs-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Spinning conic ring behind hero dashboard */
.cs-spin-ring {
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(8, 145, 178, 0.28), rgba(14, 165, 233, 0.06), rgba(16, 185, 129, 0.22), rgba(8, 145, 178, 0.28));
    filter: blur(22px);
    animation: cs-spin 16s linear infinite;
    pointer-events: none;
}

@keyframes cs-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Shimmer sweep across a button */
.cs-shine {
    position: relative;
    overflow: hidden;
}

.cs-shine::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -70%;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: cs-shine 3.2s ease-in-out infinite;
}

@keyframes cs-shine {

    0%,
    55% {
        left: -70%;
    }

    100% {
        left: 130%;
    }
}

/* Typewriter caret */
@keyframes cs-caret {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cs-caret {
    display: inline-block;
    width: 3px;
    height: 0.95em;
    margin-left: 4px;
    vertical-align: -0.12em;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: cs-caret 0.85s steps(1) infinite;
}

/* Marquee (logo strips, testimonial streams) */
.cs-marquee {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.cs-marquee::before,
.cs-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.cs-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-main), transparent);
}

.cs-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-main), transparent);
}

.cs-marquee-track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1.25rem;
    padding-right: 1.25rem;
    width: max-content;
    animation: cs-marquee 36s linear infinite;
}

.cs-marquee-track.cs-reverse {
    animation-direction: reverse;
}

.cs-marquee:hover .cs-marquee-track {
    animation-play-state: paused;
}

@keyframes cs-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* marquees inside soft/grey bands fade to band color */
.band-soft .cs-marquee::before {
    background: linear-gradient(90deg, var(--bg-soft), transparent);
}

.band-soft .cs-marquee::after {
    background: linear-gradient(-90deg, var(--bg-soft), transparent);
}

.testimonial-row .cs-marquee::before {
    background: linear-gradient(90deg, var(--bg-soft), transparent);
}

.testimonial-row .cs-marquee::after {
    background: linear-gradient(-90deg, var(--bg-soft), transparent);
}

/* Reveal on scroll */
.cs-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

.cs-reveal.cs-visible {
    opacity: 1;
    transform: none;
}

.cs-reveal.cs-delay-1 {
    transition-delay: 0.12s;
}

.cs-reveal.cs-delay-2 {
    transition-delay: 0.24s;
}

.cs-reveal.cs-delay-3 {
    transition-delay: 0.36s;
}

/* Directional scroll reveals */
.cs-reveal-right,
.cs-reveal-left,
.cs-reveal-zoom {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.cs-reveal-right {
    transform: translateX(80px);
}

.cs-reveal-left {
    transform: translateX(-80px);
}

.cs-reveal-zoom {
    transform: scale(0.9);
}

.cs-reveal-right.cs-visible,
.cs-reveal-left.cs-visible,
.cs-reveal-zoom.cs-visible {
    opacity: 1;
    transform: none;
}

.cs-reveal-right.cs-delay-1,
.cs-reveal-left.cs-delay-1,
.cs-reveal-zoom.cs-delay-1 {
    transition-delay: 0.12s;
}

.cs-reveal-right.cs-delay-2,
.cs-reveal-left.cs-delay-2,
.cs-reveal-zoom.cs-delay-2 {
    transition-delay: 0.24s;
}

.cs-reveal-right.cs-delay-3,
.cs-reveal-left.cs-delay-3,
.cs-reveal-zoom.cs-delay-3 {
    transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {

    .cs-reveal,
    .cs-reveal-right,
    .cs-reveal-left,
    .cs-reveal-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Slow float for floating cards */
@keyframes cs-floater {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.cs-floater {
    animation: cs-floater 4.5s ease-in-out infinite;
}

.cs-floater.cs-slow {
    animation-duration: 7s;
}

/* Count-up numbers */
.cs-count {
    font-variant-numeric: tabular-nums;
}

/* Testimonial card hover lift */
.testimonial {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(8, 145, 178, 0.35);
}

/* Bento card shine sweep on hover */
.bento-item {
    position: relative;
    overflow: hidden;
}

.bento-item::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -130%;
    width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.bento-item:hover::after {
    left: 140%;
}

@media (max-width: 768px) {

    .cs-marquee::before,
    .cs-marquee::after {
        width: 30px;
    }
}

/* ================================================================
   HERO — rotating words (agency style)
   ================================================================ */
.hero-v2 {
    padding: 11rem 0 5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 40% at 12% 8%, rgba(8, 145, 178, 0.09), transparent 60%),
        radial-gradient(ellipse 50% 38% at 90% 15%, rgba(14, 165, 233, 0.09), transparent 60%),
        radial-gradient(ellipse 60% 50% at 60% 105%, rgba(16, 185, 129, 0.06), transparent 55%),
        var(--bg-main);
}

.hero-v2 .hero-center {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-v2 .hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.55rem 1.4rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
}

.hero-v2 .hero-rating .stars {
    color: #F59E0B;
    letter-spacing: 1px;
}

.hero-v2 .hero-rating .rate {
    color: var(--primary);
    font-weight: 700;
}

.hero-v2 h1 {
    font-size: clamp(2.8rem, 6.2vw, 5rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--heading-color);
    margin-bottom: 1.6rem;
}

.hero-v2 .hero-sub {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 2.6rem;
}

.hero-v2 .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* vertical word rotator */
.cs-rotator {
    position: relative;
    display: inline-grid;
    overflow: hidden;
    height: 1.1em;
    vertical-align: top;
    text-align: center;
    justify-items: center;
}

.cs-rotator .word {
    grid-area: 1 / 1;
    display: block;
    padding-right: 0.15em;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(100%);
    /* 6 words * 3s = 18s total */
    animation: cs-wordRise 18s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.cs-rotator .word:nth-child(1) {
    animation-delay: 0s;
    background: linear-gradient(120deg, #0EA5E9, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
}

.cs-rotator .word:nth-child(2) {
    animation-delay: 3s;
    background: linear-gradient(120deg, #8B5CF6, #D946EF);
    -webkit-background-clip: text;
    background-clip: text;
}

.cs-rotator .word:nth-child(3) {
    animation-delay: 6s;
    background: linear-gradient(120deg, #10B981, #14B8A6);
    -webkit-background-clip: text;
    background-clip: text;
}

.cs-rotator .word:nth-child(4) {
    animation-delay: 9s;
    background: linear-gradient(120deg, #F59E0B, #EF4444);
    -webkit-background-clip: text;
    background-clip: text;
}

.cs-rotator .word:nth-child(5) {
    animation-delay: 12s;
    background: linear-gradient(120deg, #EC4899, #F43F5E);
    -webkit-background-clip: text;
    background-clip: text;
}

.cs-rotator .word:nth-child(6) {
    animation-delay: 15s;
    background: linear-gradient(120deg, #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes cs-wordRise {

    0%,
    2% {
        transform: translateY(100%);
        opacity: 0;
    }

    5%,
    14% {
        transform: translateY(0);
        opacity: 1;
    }

    17%,
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* scroll-down indicator */
.scroll-hint {
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 4px;
    background: var(--primary);
    animation: cs-wheel 1.6s ease-in-out infinite;
}

@keyframes cs-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(12px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* hero blueprint grid backdrop */
.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(8, 145, 178, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    z-index: 0;
    animation: cs-gridPan 15s linear infinite;
}

@keyframes cs-gridPan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 46px 46px;
    }
}

/* Button Shine Effect */
.btn.cs-shine {
    position: relative;
    overflow: hidden;
}

.btn.cs-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: cs-shineSlide 3s infinite;
}

@keyframes cs-shineSlide {
    0% {
        left: -100%;
    }

    20%,
    100% {
        left: 200%;
    }
}

/* floating stat chips */
.hero-chips {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.85rem 1.15rem;
    box-shadow: var(--shadow-lg);
    animation: cs-floater 7s ease-in-out infinite;
}

.hero-chip .hc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1rem;
}

.hero-chip strong {
    display: block;
    font-size: 0.95rem;
    color: var(--heading-color);
    font-family: var(--font-display);
}

.hero-chip span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-chip.tl {
    top: 26%;
    left: 3%;
}

.hero-chip.br {
    bottom: 16%;
    right: 3%;
    animation-delay: -3.5s;
}

/* ================================================================
   DIFFERENTIATORS — icon cards
   ================================================================ */
/* ================================================================
   Why Us — Interactive IDE UI
   ================================================================ */
.ide-container {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
}

.ide-header {
    background: var(--bg-soft);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.ide-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 1.5rem;
}

.ide-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.ide-dots span:nth-child(1) {
    background: #ef4444;
}

/* Red */
.ide-dots span:nth-child(2) {
    background: #f59e0b;
}

/* Yellow */
.ide-dots span:nth-child(3) {
    background: #10b981;
}

/* Green */

.ide-title {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ide-body {
    display: flex;
    height: 400px;
}

.ide-sidebar {
    width: 250px;
    background: var(--bg-main);
    border-right: 1px solid var(--border-color);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ide-file {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.ide-file i {
    font-size: 1.1rem;
}

.ide-file:hover {
    background: var(--bg-soft);
    color: var(--text-main);
}

.ide-file.active {
    background: var(--surface-color);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.ide-content {
    flex: 1;
    padding: 2rem;
    background: var(--surface-color);
    position: relative;
    overflow: hidden;
}

.ide-pane {
    position: absolute;
    inset: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.ide-pane.active {
    opacity: 1;
    visibility: visible;
}

.ide-pane pre {
    margin: 0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.ide-pane code {
    display: block;
}

/* Syntax Highlighting (Light Theme) */
.ide-pane .kw {
    color: #db2777;
    font-weight: 600;
}

/* Pink/Red for keywords */
.ide-pane .str {
    color: #16a34a;
}

/* Green for strings */
.ide-pane .fn {
    color: #2563eb;
    font-weight: 600;
}

/* Blue for functions */
.ide-pane .prop {
    color: #0891b2;
}

/* Cyan for properties */
.ide-pane .cm {
    color: #94a3b8;
    font-style: italic;
}

/* Gray for comments */
.ide-pane .bool {
    color: #ea580c;
    font-weight: 600;
}

/* Orange for booleans */
.ide-pane .type {
    color: #9333ea;
}

/* Purple for types */

/* Typing Animation Effect */
@keyframes typing {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

.ide-pane.active pre {
    overflow: hidden;
    white-space: pre-wrap;
    animation: typing 1s cubic-bezier(0.1, 0.7, 0.1, 1);
}

@media (max-width: 768px) {
    .ide-body {
        flex-direction: column;
        height: auto;
    }

    .ide-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem;
    }

    .ide-file {
        padding: 0.5rem 1rem;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .ide-file.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary);
    }

    .ide-content {
        padding: 1.5rem;
        height: 350px;
    }

    .ide-pane {
        inset: 1.5rem;
    }

    .ide-pane pre {
        font-size: 0.85rem;
    }
}

/* ================================================================
   FAQ — accordion
   ================================================================ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(8, 145, 178, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.6rem;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--heading-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item .faq-a {
    padding: 0 1.6rem 1.4rem;
    color: var(--text-muted);
    font-size: 0.97rem;
}

@media (max-width: 1024px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-chip {
        display: none;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   SERVICES — watch-style horizontal slider
   ================================================================ */
/* ================================================================
   SERVICES — watch-style horizontal slider (Carousel style)
   ================================================================ */
/* ================================================================
   SERVICES — watch-style horizontal slider (Carousel style)
   ================================================================ */
.svc-slider-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 850px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    padding: 2rem 0;
}

/* Faint curved background lines like in image */
.svc-slider-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    right: -20%;
    bottom: -50%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 40%);
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    pointer-events: none;
    z-index: 0;
}

/* Left Watch-Style Numbers */
.svc-slider-numbers {
    position: absolute;
    /* Slide width is 80% (max 1300px), so half width is min(40vw, 650px). */
    left: calc(50% - min(40vw, 650px) + 10px);
    top: 50%;
    margin-top: -150px;
    width: 80px;
    height: 300px;
    z-index: 5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    pointer-events: none;
}

.svc-numbers-track {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.svc-num-item {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: #e0e0e0;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: auto;
    cursor: pointer;
    padding-right: 15px;
}

.svc-num-item.active {
    font-size: 3.5rem;
    color: #a0a0a0;
    font-weight: 700;
}

/* Navigation Buttons */
.svc-nav-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 4%;
    pointer-events: none;
    z-index: 10;
    transform: translateY(-50%);
}

.svc-nav {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: transparent;
    border: 1px dashed #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.svc-nav:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.03);
    border-style: solid;
}

.svc-nav:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Slider Track */
.svc-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.svc-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.svc-slide {
    position: absolute;
    width: 80%;
    max-width: 1300px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: transparent;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.svc-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
}

.svc-slide.prev {
    opacity: 0.8;
    visibility: visible;
    transform: translate(-150%, -50%) scale(0.85);
    z-index: 2;
}

.svc-slide.next {
    opacity: 0.8;
    visibility: visible;
    transform: translate(50%, -50%) scale(0.85);
    z-index: 2;
}

.svc-slide .svc-body {
    background: transparent;
    padding: 0 0 0 120px;
    /* Reserve 120px on the left for the numbers */
    border-radius: 0;
    box-shadow: none;
}

.svc-slide .svc-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #111;
    font-weight: 700;
}

.text-highlight-dashed {
    color: #1dd377;
    border-bottom: 5px dashed #1dd377;
    display: inline-block;
    padding-bottom: 4px;
    line-height: 1.1;
}

.svc-slide .svc-desc {
    color: #777;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.svc-slide .svc-imag {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    height: 650px;
    margin: 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    background: #fcebeb;
}

.svc-slide .svc-imag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc-feat {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.svc-feat span {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

@media (max-width: 992px) {
    .svc-slider-container {
        height: auto;
        padding: 2rem 1rem;
        margin-left: 0;
        width: 100%;
    }

    .svc-slider-numbers {
        display: none;
    }

    .svc-slide {
        position: relative;
        left: 0;
        top: 0;
        transform: none !important;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
        opacity: 0;
        display: none;
    }

    .svc-slide.active {
        display: grid;
        opacity: 1;
    }

    .svc-nav-wrapper {
        position: relative;
        transform: none;
        padding: 0;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .svc-slide .svc-imag {
        height: 300px;
        margin: 0;
    }

    .svc-slide .svc-body {
        padding: 0;
    }
}

/* ================================================================
   INDUSTRIES — icon cards
   ================================================================ */
.industries-split {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}

.industries-content {
    max-width: 500px;
}

.industries-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.industries-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.industries-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.industries-link .circle-arrow {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.industries-link:hover .circle-arrow {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.industries-link:hover {
    color: var(--primary);
}

/* Centered Layout with Side Sketches */
.industries-layout-center {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.industries-content-center {
    text-align: center;
    padding: 0 1rem;
}

.ig-grid-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ig-item {
    background: #ffffff;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
    transition: all 0.2s ease;
    cursor: pointer;

    /* Sketched Hand-drawn Look */
    border: 2px solid #2c3e50;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    box-shadow: 4px 4px 0px rgba(44, 62, 80, 0.15);
}

.ig-item:nth-child(even) {
    border-radius: 15px 225px 15px 255px/255px 15px 225px 15px;
    transform: rotate(2deg);
}

.ig-item:nth-child(odd) {
    transform: rotate(-2deg);
}

.ig-item:hover {
    background: #fdfbf7;
    /* Slight paper tint on hover */
    box-shadow: 6px 6px 0px rgba(44, 62, 80, 0.25);
    transform: translateY(-4px) scale(1.05) rotate(0deg);
}

.ig-item i {
    font-size: 2rem;
    color: var(--primary);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ig-item:hover i {
    transform: scale(1.15) translateY(-3px);
}

.ig-item span {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.ig-item:hover span {
    color: var(--primary);
}

.industries-content-center .industries-link {
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .industries-layout-center {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .industries-layout-center {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .industries-content-center {
        order: -1;
        /* Move text to top on mobile */
    }

    .ig-grid-side {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ig-grid-side {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================================
   PROCESS — Simple Modern Grid
   ================================================================ */
.process-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(8, 145, 178, 0.2);
}

.process-card .step-number {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(8, 145, 178, 0.08);
    /* Faint blue number */
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    transition: all 0.3s ease;
}

.process-card:hover .step-number {
    color: rgba(8, 145, 178, 0.15);
    transform: scale(1.05);
}

.process-card h3 {
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
    position: relative;
    z-index: 2;
}

.process-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .process-simple-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-simple-grid {
        grid-template-columns: 1fr;
    }
}

/* COUNTERS — by the numbers */
.counters-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.counter-cell .c-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--heading-color);
}

.counter-cell .c-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.4rem;
}

/* ================================================================
   SHOWCASE — portfolio banners
   ================================================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.showcase-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-lg);
}

.showcase-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.showcase-card:hover img {
    transform: scale(1.06);
}

.showcase-card .sc-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.05));
    padding: 2.5rem 2rem 2rem;
    color: #fff;
    transition: padding 0.4s ease;
}

.showcase-card:hover .sc-overlay {
    padding-bottom: 2.75rem;
}

.showcase-card h3 {
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.showcase-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
}

.showcase-card .sc-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.showcase-card .sc-chip {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
}

/* ================================================================
   TESTIMONIALS — meta chips under quotes
   ================================================================ */
.testimonial .t-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.testimonial .t-meta span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-color);
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
}

/* ================================================================
   AWARDS / RECOGNITION row
   ================================================================ */
.awards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 0.9rem 1.6rem;
    font-weight: 700;
    color: var(--heading-color);
    box-shadow: var(--shadow-sm);
}

.award-item i {
    color: #F59E0B;
}

.award-item .a-detail {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-top: 0.1rem;
}

.award-item .a-main {
    line-height: 1.15;
}



@media (max-width: 1024px) {
    .svc-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.25rem;
    }

    .svc-row.reverse .svc-imag,
    .svc-row.reverse .svc-body {
        order: initial;
    }

    .industry-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .counters-band {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .industry-cards {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .counters-band {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================================
   SHARED LAYOUT HELPERS (homepage restructure)
   ================================================================ */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-head .eyebrow {
    display: block;
}

.eyebrow.center {
    display: block;
    text-align: center;
}

.center {
    text-align: center;
}

.band {
    position: relative;
}

.band-soft {
    background: var(--bg-soft);
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.textlink {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    text-underline-offset: 4px;
}

.textlink.arrow {
    display: inline-block;
    margin-top: 1.75rem;
}

.textlink.arrow i {
    transition: transform 0.3s ease;
}

.textlink.arrow:hover i {
    transform: translateX(4px);
}

/* Client wordmark marquee items */
.cs-marquee-track>span {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-muted);
    opacity: 0.65;
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
}

.cs-marquee {
    margin: 0 -1.25rem;
}

.testimonial-row {
    margin-top: 0.5rem;
}

/* Split intro block */
.split-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 145, 178, 0.35);
}

.stat-card h3 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Testimonial author row (marquee cards) */
.testimonial .t-autor {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.testimonial .t-autor img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
}

.testimonial .t-autor strong {
    display: block;
    font-size: 0.95rem;
    color: var(--heading-color);
}

.testimonial .t-autor span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Final CTA */
.cta {
    padding: 3rem 0 5rem;
}

.cta-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 15% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
        linear-gradient(120deg, var(--primary), var(--secondary));
    border-radius: var(--radius-xl, 28px);
    text-align: center;
    padding: 4.5rem 2rem;
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 340px;
    height: 340px;
    border: 46px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-card h2 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 560px;
    margin: 0 auto 2.25rem;
    font-size: 1.08rem;
}

.cta-card .btn-light {
    background: #fff;
    color: var(--primary);
}

.cta-card .btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.cta-card .btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
}

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-trust span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-trust i {
    margin-right: 0.4rem;
    color: #BEF264;
}

@media (max-width: 768px) {
    .split-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-cards {
        grid-template-columns: 1fr 1fr;
    }

    .btn-row {
        justify-content: center;
    }
}

/* Big text word scroller */
.word-ticker {
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 1.25rem 0 0.75rem;
}

.word-ticker:hover .wt-track {
    animation-play-state: paused;
}

.wt-track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    white-space: nowrap;
    animation: cs-marquee 34s linear infinite;
}

.wt-item {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7.5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    padding: 0 1.5rem;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(8, 145, 178, 0.55));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wt-sep {
    flex-shrink: 0;
    color: var(--primary);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
}

@media (prefers-reduced-motion: reduce) {
    .wt-track {
        animation: none;
    }
}

/* ================================================================
   PREMIUM ADDITIONS
   ================================================================ */
/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1001;
    box-shadow: 0 0 10px rgba(8, 145, 178, 0.4);
}

/* Tech stack marquee */
.tech-stack-container {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transform: translateZ(0);
}

.tech-marquee-track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1.2rem;
    padding-left: 1.2rem;
    animation: tech-marquee 30s linear infinite;
    will-change: transform;
}

.tech-marquee-track.reverse {
    animation: tech-marquee-reverse 35s linear infinite;
}

.tech-stack-container:hover .tech-marquee-track {
    animation-play-state: paused;
}

@keyframes tech-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes tech-marquee-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.tech-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-full);
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--heading-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    cursor: default;
}

.tech-chip:hover {
    transform: translateY(-6px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(8, 145, 178, 0.15);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
}

.tech-chip i,
.tech-chip svg {
    font-size: 1.35rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.tech-chip:hover i,
.tech-chip:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Engagement / pricing teaser */
.engage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.engage-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.engage-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.engage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(8, 145, 178, 0.35);
}

.engage-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #fff;
}

.engage-card.featured h3,
.engage-card.featured .ec-price {
    color: #fff;
}

.engage-card.featured p,
.engage-card.featured .ec-note {
    color: rgba(255, 255, 255, 0.86);
}

.engage-card.featured .ec-list li {
    color: rgba(255, 255, 255, 0.9);
}

.engage-card.featured .ec-list i {
    color: #BEF264;
}

.engage-card .ec-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.engage-card.featured .ec-tag {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

.engage-card .ec-price {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.engage-card h3 {
    font-size: 1.12rem;
    margin-bottom: 0.6rem;
}

.engage-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
}

.engage-card .ec-note {
    margin-top: 1.1rem;
    font-size: 0.82rem;
}

.engage-card .ec-list {
    margin-top: 1.2rem;
    display: grid;
    gap: 0.45rem;
}

.engage-card .ec-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.engage-card .ec-list i {
    color: var(--accent);
    margin-right: 0.45rem;
}

/* Trust strip */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
}

.trust-strip span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-color);
}

.trust-strip i {
    color: var(--primary);
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .engage-card {
        grid-column: initial;
    }

    .engage-grid,
    .engage-cards {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   PROCESS — Sketch Chain Layout
   ================================================================ */
.process-chain-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
    margin-top: 3.5rem;
}

.sketch-card {
    background: transparent;
    border: 2px dashed var(--primary);
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    /* Hand-drawn box border */
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Caveat', cursive;
    /* Sketch font */
}

/* Alternate slight rotations for the messy sketch look */
.sketch-card.step-1 {
    transform: rotate(-1.5deg);
}

.sketch-card.step-2 {
    transform: rotate(1deg);
}

.sketch-card.step-3 {
    transform: rotate(-2deg);
}

.sketch-card.step-4 {
    transform: rotate(2deg);
}

.sketch-card.step-5 {
    transform: rotate(-1deg);
}

.sketch-card.step-6 {
    transform: rotate(1.5deg);
}

.sketch-card:hover {
    transform: translateY(-5px) rotate(0deg);
    background: rgba(8, 145, 178, 0.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.sketch-card .step-number {
    font-family: 'Caveat', cursive;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.sketch-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--heading-color);
    font-family: 'Caveat', cursive;
    font-weight: 700;
}

.sketch-card p {
    color: var(--text-muted);
    font-size: 1.25rem;
    /* Slightly larger for Caveat readability */
    line-height: 1.4;
    margin: 0;
    font-family: 'Caveat', cursive;
}

/* Chain Connectors (the physical links) */
.chain-connector {
    position: absolute;
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Connectors pointing right (between columns) */
.chain-connector.next-right {
    top: 50%;
    right: -2rem;
    /* Halfway into the gap */
    transform: translateY(-50%) rotate(0deg);
}

@media (max-width: 992px) {
    .process-chain-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    /* On 2 columns, step 2 and step 4 are on the right edge, so hide their links */
    .sketch-card.step-2 .chain-connector.next-right,
    .sketch-card.step-4 .chain-connector.next-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-chain-layout {
        grid-template-columns: 1fr;
    }

    /* On mobile, chains should point down */
    .chain-connector.next-right {
        top: auto;
        bottom: -2.5rem;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
    }

    /* Restore hidden links for mobile, since everything is in a single column */
    .sketch-card.step-2 .chain-connector.next-right,
    .sketch-card.step-4 .chain-connector.next-right {
        display: flex;
    }
}

/* ================================================================
   UNIQUE STATS (Apple Sticky Scroll Style)
   ================================================================ */
.section-unique-stats {
    padding: 10rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    margin-top: 3rem;
}

.unique-stats-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
}

.stats-left-sticky {
    flex: 0 0 45%;
    position: sticky;
    top: 150px;
    /* Offset from header, better centered */
}

.stats-left-sticky .eyebrow {
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stats-left-sticky .section-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--heading-color);
}

.sticky-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 85%;
}

.stats-right-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding: 4.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-row:first-child {
    padding-top: 0;
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-row:hover {
    transform: translateX(25px);
}

.s-large-num {
    font-size: 7.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -0.04em;
    line-height: 1;
    min-width: 260px;
    background: linear-gradient(135deg, var(--heading-color) 0%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-row:hover .s-large-num {
    transform: scale(1.08) rotate(-1deg);
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.s-large-num span {
    font-size: 3.5rem;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    transition: color 0.3s ease;
}

.stat-row:hover .s-large-num span {
    -webkit-text-fill-color: #0284c7;
}

.s-info {
    transition: transform 0.4s ease;
}

.stat-row:hover .s-info {
    transform: translateX(10px);
}

.s-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-row:hover .s-info h3 {
    color: var(--primary);
}

.s-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-left-sticky .section-title {
        font-size: 3.5rem;
    }

    .s-large-num {
        font-size: 5.5rem;
        min-width: 180px;
    }

    .s-large-num span {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .unique-stats-wrapper {
        flex-direction: column;
        gap: 4rem;
    }

    .stats-left-sticky {
        position: relative;
        top: 0;
        flex: auto;
    }

    .stats-left-sticky .section-title {
        br {
            display: none;
        }

        /* Don't break lines on mobile/tablet */
    }

    .sticky-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 3rem 0;
    }

    .stat-row:hover {
        transform: translateX(10px);
    }

    .s-large-num {
        font-size: 5rem;
        min-width: auto;
    }
}


/* ================================================================
   GIANT QUOTE TESTIMONIALS (Apple/Editorial Style)
   ================================================================ */
.section-giant-quote {
    padding: 8rem 0 10rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.quote-mark {
    font-size: 25rem;
    font-family: serif;
    color: var(--primary);
    opacity: 0.05;
    position: absolute;
    top: -5rem;
    left: 2rem;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.quote-display-area {
    position: relative;
    min-height: 350px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.quote-slide {
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stats-left-sticky .section-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--heading-color);
}

.sticky-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 85%;
}

.stats-right-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding: 4.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-row:first-child {
    padding-top: 0;
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-row:hover {
    transform: translateX(25px);
}

.s-large-num {
    font-size: 7.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -0.04em;
    line-height: 1;
    min-width: 260px;
    background: linear-gradient(135deg, var(--heading-color) 0%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-row:hover .s-large-num {
    transform: scale(1.08) rotate(-1deg);
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.s-large-num span {
    font-size: 3.5rem;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    transition: color 0.3s ease;
}

.stat-row:hover .s-large-num span {
    -webkit-text-fill-color: #0284c7;
}

.s-info {
    transition: transform 0.4s ease;
}

.stat-row:hover .s-info {
    transform: translateX(10px);
}

.s-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-row:hover .s-info h3 {
    color: var(--primary);
}

.s-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-left-sticky .section-title {
        font-size: 3.5rem;
    }

    .s-large-num {
        font-size: 5.5rem;
        min-width: 180px;
    }

    .s-large-num span {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .unique-stats-wrapper {
        flex-direction: column;
        gap: 4rem;
    }

    .stats-left-sticky {
        position: relative;
        top: 0;
        flex: auto;
    }

    .stats-left-sticky .section-title {
        br {
            display: none;
        }

        /* Don't break lines on mobile/tablet */
    }

    .sticky-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 3rem 0;
    }

    .stat-row:hover {
        transform: translateX(10px);
    }

    .s-large-num {
        font-size: 5rem;
        min-width: auto;
    }
}

/* ================================================================
   TESTIMONIALS (Split Slider Style)
   ================================================================ */
.section-split-testimonials {
    background-color: var(--bg-light);
    padding: 8rem 0;
    overflow: hidden;
}

.split-slider-wrapper {
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.split-slider-inner {
    position: relative;
    min-height: 500px;
}

.split-slide {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.split-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    /* Allows wrapper to adjust height automatically based on content */
}

.slide-left {
    flex: 1;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-right {
    flex: 0 0 400px;
    background: #f8fafc;
    padding: 5rem;
    border-left: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.client-name-small {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: block;
}

.review-body {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--heading-color);
    font-weight: 500;
}

.company-header {
    position: relative;
    margin-bottom: 3rem;
}

.company-header .quote-icon {
    font-size: 6rem;
    font-family: serif;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: -2rem;
    left: -1rem;
    line-height: 1;
}

.company-name {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    font-size: 0.95rem;
}

.meta-list li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.meta-list li strong {
    color: var(--heading-color);
    margin-right: 0.5rem;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-block img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.author-name {
    font-weight: 700;
    color: var(--heading-color);
}

.slider-controls {
    position: absolute;
    bottom: 0;
    right: 400px;
    /* align to the right edge of left panel */
    display: flex;
}

.nav-btn {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: none;
    border-top: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--heading-color);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 1024px) {
    .split-slide {
        flex-direction: column;
    }

    .slide-left,
    .slide-right {
        flex: none;
        width: 100%;
        padding: 3rem;
    }

    .slide-right {
        border-left: none;
        border-top: 1px solid var(--border-light);
    }

    .slider-controls {
        right: 0;
        bottom: auto;
        top: 0;
    }

    .nav-btn {
        border-top: none;
        border-bottom: 1px solid var(--border-light);
        border-left: 1px solid var(--border-light);
        border-right: none;
    }
}

@media (max-width: 768px) {
    .review-body {
        font-size: 1.15rem;
    }

    .slide-left,
    .slide-right {
        padding: 2rem;
    }
}




/* ================================================================
   TECH STACK GALAXY
   ================================================================ */
.galaxy-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 4rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galaxy-core {
    position: relative;
    width: 120px;
    height: 120px;
    background: var(--surface-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

.core-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.core-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: corePulse 3s infinite;
}

@keyframes corePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.galaxy-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed var(--border-light);
    border-radius: 50%;
    animation: spin linear infinite;
}

.orbit-1 {
    width: 300px;
    height: 300px;
    animation-duration: 40s;
    z-index: 3;
}

.orbit-2 {
    width: 450px;
    height: 450px;
    animation-duration: 60s;
    animation-direction: reverse;
    z-index: 2;
}

.orbit-3 {
    width: 600px;
    height: 600px;
    animation-duration: 80s;
    z-index: 1;
}

.planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: -24px 0 0 -24px;
    /* Position on circle */
    transform: rotate(var(--angle)) translate(var(--radius)) rotate(calc(-1 * var(--angle)));
    transition: transform 0.3s;
}

.orbit-1 .planet {
    --radius: 150px;
}

.orbit-2 .planet {
    --radius: 225px;
}

.orbit-3 .planet {
    --radius: 300px;
}

/* Counter-rotation to keep icons upright */
.planet>i {
    animation: counter-spin linear infinite;
}

.orbit-1 .planet>i {
    animation-duration: 40s;
    animation-direction: reverse;
}

.orbit-2 .planet>i {
    animation-duration: 60s;
    animation-direction: normal;
}

.orbit-3 .planet>i {
    animation-duration: 80s;
    animation-direction: reverse;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes counter-spin {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .galaxy-container {
        transform: scale(0.6);
        margin-top: -2rem;
        margin-bottom: -2rem;
    }
}

/* ==========================================================================
   Skeleton Page Loader
   ========================================================================== */
.skeleton-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.skeleton-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.skeleton-logo {
    width: 140px;
    height: 40px;
    background: var(--border-color);
    border-radius: var(--radius);
    animation: shimmer 1.5s infinite ease-in-out;
}

.skeleton-nav {
    display: flex;
    gap: 2rem;
}

.skeleton-nav-item {
    width: 60px;
    height: 16px;
    background: var(--border-color);
    border-radius: 8px;
    animation: shimmer 1.5s infinite ease-in-out;
}

.skeleton-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skeleton-title {
    width: 60%;
    height: 48px;
    background: var(--border-color);
    border-radius: 12px;
    animation: shimmer 1.5s infinite ease-in-out;
    margin-bottom: 1rem;
}

.skeleton-text {
    width: 100%;
    height: 20px;
    background: var(--border-color);
    border-radius: 8px;
    animation: shimmer 1.5s infinite ease-in-out;
}

.skeleton-text.short {
    width: 80%;
}

.skeleton-cards {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.skeleton-card {
    flex: 1;
    height: 250px;
    background: var(--border-color);
    border-radius: var(--radius-lg);
    animation: shimmer 1.5s infinite ease-in-out;
}

@keyframes shimmer {
    0% {
        background-color: var(--border-color);
        opacity: 0.5;
    }

    50% {
        background-color: var(--border-hover);
        opacity: 1;
    }

    100% {
        background-color: var(--border-color);
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .skeleton-nav {
        display: none;
    }

    .skeleton-cards {
        flex-direction: column;
    }

    .skeleton-card {
        height: 180px;
    }

    .skeleton-title {
        width: 90%;
        height: 36px;
    }

    .skeleton-wrapper {
        padding: 1.5rem;
    }
}