/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 80px;
    font-family: 'Inter', sans-serif;
    background-color: #f8f9ff;
    color: #0F172A;
    line-height: 1.6;
    isolation: isolate;
}


/* =========================
   DESIGN SYSTEM VARIABLES
========================= */

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --background-light: #F8FAFC;
    --border-light: #E2E8F0;
}


/* =========================
   ADVANCED CONTAINER SYSTEM
========================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Narrow container (for text sections) */

.container-sm {
    width: 800px;
    max-width: 90%;
    margin: 0 auto;
}


/* =========================
   SECTION SYSTEM
========================= */

.section {
    padding: 90px 0;
}

.section-light {
    background-color: #ffffff;
}

.section-light {
    border-bottom: 1px solid #f1f5f9;
}

.section-gray {
    background-color: var(--background-light);
}


/* =========================
   TYPOGRAPHY SYSTEM
========================= */

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
}

h1 {
    font-size: 50px;
    line-height: 1.15;
    letter-spacing: -1px;
}

h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

p {
    font-size: 17px;
    color: var(--text-light);
}


/* =========================
   BUTTON SYSTEM
========================= */

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79,70,229,0.3);
}

.btn-secondary {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}


/* =========================
   FLEX SYSTEM
========================= */

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}


/* =========================
   GRID SYSTEM
========================= */

.grid {
    display: grid;
    gap: 40px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* =========================
   RESPONSIVE BASE
========================= */

@media (max-width: 992px) {

    h1 {
        font-size: 42px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

/* =========================
   MOBILE HERO
========================= */

.hero {
    padding: 80px 0 60px 0;
}

.hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
}

.hero-text {
    max-width: 100%;
}

h1 {
    font-size: 34px;
    line-height: 1.2;
}

.hero-buttons {
    flex-direction: column;
    align-items: stretch;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
}

.hero-stats {
    flex-direction: column;
    gap: 20px;
}

.hero-stats div {
    border-right: none;
    padding-right: 0;
}

    section {
        padding: 80px 0;
    }

    h1 {
        font-size: 34px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

}

/* =========================
   MOBILE CASE STUDY
========================= */

.case-study .container {
    grid-template-columns: 1fr;
    gap: 40px;
}

.case-text {
    max-width: 100%;
}

.service-card {
    padding: 30px;
}

.cta h2 {
    font-size: 28px;
}

.cta .btn-primary {
    width: 100%;
}

.footer-grid {
    gap: 30px;
}

/* =========================
   REFINED NAVBAR
========================= */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Logo */

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* Nav Links */

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* CTA Button Adjustment */

.nav-cta .btn-primary {
    padding: 10px 20px;
}

/* Add space for fixed navbar */

body {
    padding-top: 112px;
}

/* =========================
   HAMBURGER BUTTON
========================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0F172A;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================
   MOBILE MENU DRAWER
========================= */

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    border-bottom: 3px solid #4F46E5;
    padding: 20px 20px 28px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    z-index: 999;
}

.mobile-menu.open {
    display: block;
    animation: slideDown 0.22s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.mobile-menu ul li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu ul li a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 500;
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-menu ul li a:hover { color: #4F46E5; }

.mobile-menu .mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: #4F46E5;
    color: white;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.mobile-menu .mobile-cta:hover { background: #4338CA; }

/* =========================
   MOBILE NAV
========================= */

@media (max-width: 768px) {

    h2 {
    font-size: 26px;
    line-height: 1.3;
}

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-text {
    order: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}
    .hero-image {
    order: 2;
}


.hero-stats {
    flex-direction: column;
    gap: 15px;
}

.hero-stats div {
    border-right: none !important;
    padding-right: 0;
}
.footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
}

.footer {
    padding: 60px 0 30px 0;
}
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   SPACING UTILITIES
========================= */

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.text-center { text-align: center; }

.max-600 { max-width: 600px; }
.max-800 { max-width: 800px; }
.max-1000 { max-width: 1000px; }

.service-card {
    padding: 40px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.service-card p {
    margin-top: 10px;
}

/* =========================
   HERO PREMIUM DESIGN
========================= */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #f8fafc 100%);
}
.hero-text {
    max-width: 550px;
}


.hero-text {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Subtle background glow */


.hero::before {
    content: "";
    position: absolute;
    right: -200px;
    top: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}
/* Highlight word */

.highlight {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Badge */

.hero-badge {
    display: inline-block;
    background-color: #EEF2FF;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-trust {
    font-size: 14px;
    color: var(--text-light);
}

/* Floating background shape */

.hero-shape {
    position: absolute;
    right: -150px;
    top: 100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,70,229,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.hero-stats h3 {
    font-size: 24px;
    color: var(--text-dark);
}

.hero-stats p {
    font-size: 14px;
    color: var(--text-light);

}
.hero-stats div {
    border-right: 1px solid var(--border-light);
    padding-right: 30px;
}

.hero-stats div:last-child {
    border-right: none;
}

.hero {
    position: relative;
    padding: 120px 0 80px 0;
}




.hero {
    border-bottom: 1px solid var(--border-light);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #f8fafc 100%);
}   
/* =========================
   CASE STUDY SECTION
========================= */

.case-text h2 {
    max-width: 500px;
}

.case-text {
    max-width: 480px;
}

.case-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.case-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.case-item p {
    font-size: 15px;
    color: var(--text-light);
}

.case-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}
.case-study .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

/* =========================
   FOOTER SECTION
========================= */

.footer {
    background: linear-gradient(160deg, #04091a 0%, #0b0f2a 45%, #080d22 100%);
    color: #CBD5E1;
    padding: 90px 0 40px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(79,70,229,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(79,70,229,0.6) 50%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    border-radius: 2px;
}

.footer-logo {
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
}

.footer-col p {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #94A3B8;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    padding-left: 0;
}
.footer-col ul li a:hover {
    color: #a5b4fc;
    padding-left: 8px;
}
/* Footer bottom */

.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #475569;
    position: relative;
}
.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,70,229,0.4), rgba(124,58,237,0.4), transparent);
}

/* =========================
   CTA SECTION
========================= */

.cta {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.cta h2 {
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* =========================
   SCROLL REVEAL ANIMATION
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-image img,
.case-image img {
    transition: transform 0.6s ease;
}

.hero-image img:hover,
.case-image img:hover {
    transform: scale(1.02);
}

body {
    animation: fadePage 0.6s ease-in;
}

@keyframes fadePage {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.section-light {
    border-bottom: 1px solid #f1f5f9;
}

/* =========================
   GLOBAL OVERFLOW FIX
========================= */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* =========================
   SERVICE DETAIL MOBILE
========================= */

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr !important;
    }
    .service-detail.reverse {
        direction: ltr !important;
    }
    .service-detail .service-visual {
        min-height: 220px;
    }
}


/* ================================================================
   PREMIUM VISUAL UPGRADES — v3.0
================================================================ */

/* --- Hero image floating animation --- */
.hero-image img {
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}
.hero-image img:hover {
    animation-play-state: paused;
}

/* --- Rotating text in hero --- */
.rotating-text {
    display: inline-block;
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}
.rotating-text.animating {
    opacity: 0;
    transform: translateY(-18px);
}

/* --- Gradient highlight text --- */
.highlight {
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero badge pulse --- */
.hero-badge {
    border: 1px solid rgba(79,70,229,0.25);
    animation: badgePulse 4s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0px rgba(79,70,229,0.15); }
    50%       { box-shadow: 0 0 0 6px rgba(79,70,229,0.0); }
}

/* --- Button shimmer on hover --- */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn-primary:hover::after {
    left: 160%;
}

/* --- Secondary button animated underline --- */
.btn-secondary {
    position: relative;
    padding-bottom: 3px;
}
.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.btn-secondary:hover::after { width: 100%; }

/* --- Service card gradient top border on hover --- */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 3px 3px 0 0;
    z-index: 1;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    box-shadow: 0 24px 60px rgba(79,70,229,0.12) !important;
    border-color: rgba(79,70,229,0.18) !important;
}
.service-card-icon {
    font-size: 40px;
    margin-bottom: 18px;
    display: block;
    line-height: 1;
}

/* --- Trust strip redesign --- */
.trust {
    padding: 44px 0;
    background: #fafbff;
    border-bottom: 1px solid var(--border-light);
}
.trust .container > p {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 22px;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
}
.trust-logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
    user-select: none;
}
.trust-logo:hover {
    color: #4F46E5;
    transform: translateY(-2px);
}

/* --- Process section — premium dark --- */
.process {
    background: linear-gradient(135deg, #080e1d 0%, #191547 55%, #080e1d 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(79,70,229,0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 50%, rgba(124,58,237,0.16) 0%, transparent 45%);
    pointer-events: none;
}
.process .container { position: relative; z-index: 1; }
.process h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 70px;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    gap: 0;
}
.process-steps::after {
    content: '';
    position: absolute;
    top: 27px;
    left: 12.5%; right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.55) 20%, rgba(124,58,237,0.55) 80%, transparent);
    z-index: 0;
}
.step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
.step-circle {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px; font-weight: 600;
    color: white;
    box-shadow: 0 0 0 8px rgba(79,70,229,0.12), 0 8px 28px rgba(79,70,229,0.45);
    position: relative; z-index: 2;
}
.step h4 {
    color: #f0f4ff;
    font-size: 17px;
    margin-bottom: 10px;
}
.step > p {
    color: rgba(255,255,255,0.48);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* --- CTA dark redesign --- */
.cta {
    background: linear-gradient(135deg, #080e1d 0%, #191547 55%, #080e1d 100%) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 50%, rgba(79,70,229,0.26) 0%, transparent 55%),
        radial-gradient(circle at 72% 50%, rgba(124,58,237,0.2) 0%, transparent 55%);
    pointer-events: none;
}
.cta .container  { position: relative; z-index: 1; }
.cta h2          { color: #ffffff !important; }
.cta > .container > p { color: rgba(255,255,255,0.6) !important; }
.cta .btn-secondary   { color: rgba(255,255,255,0.65) !important; }
.cta .btn-secondary:hover { color: #fff !important; }
.cta .btn-secondary::after { background: rgba(255,255,255,0.6); }

/* --- Page hero radial glows (about/services/contact) --- */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 5%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(124,58,237,0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.page-hero .container {
    position: relative;
    z-index: 1;
    animation: pageHeroReveal 0.75s ease forwards;
}
@keyframes pageHeroReveal {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- About page — tr-num gradient --- */
.tr-stat .tr-num {
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Card hover glow improvements --- */
.why-card:hover   { box-shadow: 0 20px 50px rgba(79,70,229,0.11) !important; }
.mv-card:hover    { box-shadow: 0 16px 40px rgba(79,70,229,0.10) !important; }
.team-card:hover  { box-shadow: 0 20px 50px rgba(79,70,229,0.10) !important; }
.value-item:hover { box-shadow: 0 12px 36px rgba(79,70,229,0.11) !important; }

/* --- FAQ Accordion --- */
.faq-item {
    cursor: pointer;
    user-select: none;
}
.faq-item h4 {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 0 !important;
}
.faq-toggle {
    width: 30px; height: 30px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 300;
    color: #4F46E5;
    line-height: 1;
    transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: #4F46E5;
    color: white;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.3s ease;
    padding-top: 0;
}
.faq-item.open .faq-answer {
    max-height: 220px;
    padding-top: 12px;
}
.faq-item p { margin: 0 !important; }

/* --- Staggered grid children --- */
.stagger-child {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-child.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Fix: CTA button was globally set to width:100% (bug) --- */
.cta .btn-primary {
    width: auto !important;
    display: inline-block !important;
    padding: 16px 44px;
    font-size: 16px;
}

/* --- Case Study CSS Mockup --- */
.cs-mockup {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.10);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 460px;
}
.cs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
}
.cs-live {
    color: #22c55e;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.cs-live::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
}
.cs-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.cs-metric {
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
}
.cs-num {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}
.cs-lbl {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}
.cs-chart-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}
.cs-bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 80px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px 0;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}
.cs-bar {
    flex: 1;
    background: #c7d2fe;
    border-radius: 3px 3px 0 0;
    transition: background 0.2s ease;
}
.cs-bar.hi { background: #4F46E5; }
.cs-footer-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.cs-footer-row strong { color: #0f172a; }

/* --- Logo image in navbar --- */
.nav-logo {
    height: 80px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
    transition: height 0.35s ease;
}

/* --- Footer brand text logo --- */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #818cf8 0%, #a78bfa 60%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}
.footer-brand:hover { opacity: 0.85; }
.footer-brand-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(79,70,229,0.7);
    -webkit-text-fill-color: initial;
}

/* --- Navbar scroll shrink --- */
.navbar {
    transition: padding 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}
.navbar.scrolled {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 30px rgba(79,70,229,0.10), 0 1px 0 rgba(0,0,0,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.navbar.scrolled .nav-logo {
    height: 44px;
}
.navbar.scrolled .btn-primary {
    padding: 10px 22px;
    font-size: 14px;
}

/* --- Process mobile --- */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .process-steps::after { display: none; }
    .trust-logos { gap: 22px; }
    .trust-logo  { font-size: 13px; }
}
@media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; }
}

/* =========================
   ANIMATED PAGE BACKGROUND
========================= */

/* Dot grid overlay — fixed, behind all content */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(79,70,229,0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: -2;
}

/* Animated gradient orbs */
body::after {
    content: '';
    position: fixed;
    top: -220px;
    right: -220px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(79,70,229,0.11) 0%, rgba(124,58,237,0.06) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    animation: orbDrift1 20s ease-in-out infinite alternate;
}

.bg-orb-2 {
    position: fixed;
    bottom: -150px;
    left: -180px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(124,58,237,0.09) 0%, rgba(79,70,229,0.04) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    animation: orbDrift2 25s ease-in-out infinite alternate;
}

.bg-orb-3 {
    position: fixed;
    top: 40%;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    animation: orbDrift1 30s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(50px, 60px) scale(1.08); }
}
@keyframes orbDrift2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-40px, -50px) scale(1.06); }
}