/* ==========================================================
   BLACKBRIDGE RCM - Premium Design System
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================
   VARIABLES
========================================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #38bdf8;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --white: #ffffff;
    --bg: #f8fafc;
    --surface: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 4px 10px rgba(15,23,42,.05);
    --shadow: 0 12px 30px rgba(15,23,42,.08);
    --shadow-lg: 0 25px 60px rgba(15,23,42,.12);
    --shadow-xl: 0 40px 90px rgba(15,23,42,.18);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --container: 1280px;
    --transition: .35s ease;
}

/* ==========================================================
   RESET & BASE
========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--primary); color: white; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 100px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: min(92%, var(--container)); margin-inline: auto; }
section { padding: 120px 0; position: relative; }

/* ==========================================================
   TYPOGRAPHY
========================================================== */
h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -2px; }
h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -1px; }
h3 { font-size: 1.45rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { font-size: 1.05rem; color: var(--gray-600); }
.section-heading { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.section-heading h2 { margin: 18px 0; }
.section-heading h2 span { color: var(--primary); }
.section-heading p { font-size: 1.15rem; }
.section-tag {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
    border-radius: 100px; background: rgba(37,99,235,.08); color: var(--primary);
    font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px;
}

/* ==========================================================
   BUTTONS
========================================================== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 28px; border-radius: 14px; font-weight: 700; transition: var(--transition); cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #3b82f6); color: white; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); color: white;}
.btn-secondary { background: white; color: var(--secondary); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: white; }
.btn-outline:hover { background: var(--primary); color: white; }
.large { padding: 20px 34px; font-size: 1rem; }

/* ==========================================================
   LOGO
========================================================== */
.logo { display: flex; align-items: center; gap: 14px; }
.logo h2 { font-size: 1.4rem; margin: 0; }
.logo span { display: block; font-size: .8rem; color: var(--gray-500); }
.logo-box {
    width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--primary)); box-shadow: var(--shadow);
}
.logo-square { width: 24px; height: 24px; border-radius: 8px; background: white; }

/* ==========================================================
   ANIMATIONS & UTILITIES
========================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 rgba(37,99,235,.2); } 50% { box-shadow: 0 0 30px rgba(37,99,235,.35); } 100% { box-shadow: 0 0 0 rgba(37,99,235,.2); } }
.reveal { opacity: 0; transform: translateY(40px); transition: .8s ease; }
.reveal.active { opacity: 1; transform: none; }
.text-center { text-align: center; }
.hidden { display: none; }

/* ==========================================================
   NAVIGATION
========================================================== */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; transition: .4s ease; }
.navbar { padding: 22px 0; background: rgba(255,255,255,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.2); transition: .35s ease; }
.navbar.scrolled { padding: 16px 0; background: rgba(255,255,255,.94); box-shadow: 0 15px 40px rgba(15,23,42,.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: .96rem; font-weight: 600; color: var(--gray-700); position: relative; }
.nav-links a::after { content: ""; position: absolute; bottom: -8px; left: 0; width: 0; height: 2px; background: var(--primary); transition: .35s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-buttons { display: flex; align-items: center; gap: 16px; }
#menuBtn { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
#menuBtn span { width: 28px; height: 3px; border-radius: 100px; background: var(--secondary); transition: .35s; }
#menuBtn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#menuBtn.active span:nth-child(2) { opacity: 0; }
#menuBtn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 88px; left: 50%; transform: translateX(-50%) translateY(-20px); width: min(92%, 420px);
    background: rgba(255,255,255,.96); backdrop-filter: blur(22px); border-radius: 24px; padding: 24px;
    display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 60px rgba(15,23,42,.16);
    opacity: 0; visibility: hidden; transition: .35s ease; z-index: 9998;
}
.mobile-menu.active { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mobile-menu a { padding: 14px 18px; border-radius: 14px; font-weight: 600; color: var(--gray-700); transition: .3s; }
.mobile-menu a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-cta { margin-top: 8px; background: linear-gradient(135deg, var(--primary), #3b82f6); color: white !important; text-align: center; }

/* ==========================================================
   HERO
========================================================== */
.hero { position: relative; overflow: hidden; padding-top: 180px; padding-bottom: 140px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 45%, #eef6ff 100%); z-index: 1;}
.hero::before { content: ""; position: absolute; top: -260px; right: -180px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.20), transparent 70%); filter: blur(30px); animation: float 8s ease-in-out infinite; }
.hero::after { content: ""; position: absolute; bottom: -220px; left: -180px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.12), transparent 72%); filter: blur(50px); animation: float 10s ease-in-out infinite; }
.hero-bg-gradient { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.6)), radial-gradient(circle at top right, rgba(37,99,235,.14), transparent 45%), radial-gradient(circle at bottom left, rgba(56,189,248,.16), transparent 45%); z-index: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-content > * { animation: fadeUp .8s ease both; }
.hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-content > *:nth-child(4) { animation-delay: .3s; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 100px; background: white; box-shadow: var(--shadow); color: var(--primary); font-weight: 700; margin-bottom: 28px; }
.hero h1 { margin-bottom: 26px; max-width: 720px; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; line-height: 1.9; max-width: 620px; margin-bottom: 42px; }
.hero-buttons { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 55px; }
.hero-proof { display: flex; gap: 50px; flex-wrap: wrap; }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-size: 1.6rem; font-weight: 800; color: var(--secondary); }
.hero-proof span { color: var(--gray-500); font-size: .9rem; margin-top: 6px; }

/* Dashboard Card in Hero */
.dashboard { position: relative; background: rgba(255,255,255,.78); backdrop-filter: blur(22px); border: 1px solid rgba(255,255,255,.55); border-radius: 32px; padding: 34px; box-shadow: 0 25px 70px rgba(15,23,42,.12), 0 10px 30px rgba(37,99,235,.08); overflow: hidden; animation: fadeUp 1s ease; transition: .4s ease; will-change: transform; }
.dashboard:hover { transform: translateY(-10px); box-shadow: 0 40px 90px rgba(15,23,42,.16), 0 15px 40px rgba(37,99,235,.12); }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.dashboard-header h4 { font-size: 1.35rem; font-weight: 700; }
.dashboard-header p { font-size: .92rem; color: var(--gray-500); }
.status { display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: rgba(34,197,94,.12); border-radius: 999px; font-weight: 600; color: var(--success); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); animation: pulseGlow 2s infinite; }
.dashboard-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.dashboard-card { background: #fff; border-radius: 22px; padding: 24px; border: 1px solid var(--gray-200); transition: .35s ease; position: relative; overflow: hidden; }
.dashboard-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(15,23,42,.12); }
.dashboard-card h5 { font-size: .88rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin-bottom: 12px; }
.dashboard-card h2 { font-size: 2.3rem; font-weight: 800; color: var(--secondary); margin-bottom: 6px; }
.floating-card { position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.6); border-radius: 18px; padding: 18px 22px; box-shadow: 0 18px 45px rgba(15,23,42,.12); display: flex; flex-direction: column; gap: 8px; font-weight: 600; animation: float 5s ease-in-out infinite; z-index: 3; transition: .35s; }
.floating-card i { font-size: 1.2rem; color: var(--primary); }
.floating-card strong { font-size: 1.4rem; font-weight: 800; color: var(--secondary); }
.floating-card.one { top: -35px; right: -55px; animation-delay: 0s; }
.floating-card.two { bottom: 40px; left: -65px; animation-delay: 1.5s; }
.floating-card.three { bottom: -30px; right: 30px; animation-delay: 3s; }

/* ==========================================================
   PROGRESS BAR & UTILITIES
========================================================== */
#progress-bar { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 10000; transition: .1s; }
#backToTop { position: fixed; right: 30px; bottom: 30px; width: 58px; height: 58px; border: none; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #4f8cff); color: white; font-size: 20px; cursor: pointer; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .35s; z-index: 999; }
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================
   TRUST BAR
========================================================== */
.trust-bar { padding: 50px 0; background: linear-gradient(180deg, #ffffff, #f8fbff); border-top: 1px solid rgba(15,23,42,.05); border-bottom: 1px solid rgba(15,23,42,.05); z-index: 1;}
.trust-bar p { text-align: center; font-weight: 600; color: var(--gray-500); margin-bottom: 34px; font-size: .95rem; text-transform: uppercase; }
.trust-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }
.trust-grid div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; background: white; border: 1px solid var(--gray-200); border-radius: 18px; font-weight: 600; color: var(--gray-700); transition: .35s; box-shadow: 0 10px 25px rgba(15,23,42,.05); }
.trust-grid div:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 20px 45px rgba(37,99,235,.12); }
.trust-grid i { font-size: 1.2rem; color: var(--primary); }

/* ==========================================================
   PROBLEMS WE SOLVE
========================================================== */
.problems { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.problem-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; margin-top: 70px; }
.problem-card { position: relative; padding: 38px; background: white; border-radius: 28px; border: 1px solid var(--gray-200); overflow: hidden; transition: .45s ease; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.problem-card:hover { transform: translateY(-12px); box-shadow: 0 28px 70px rgba(15,23,42,.12); }
.problem-icon { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(56,189,248,.12)); margin-bottom: 28px; font-size: 28px; color: var(--primary); transition: .35s; }
.problem-card:hover .problem-icon { transform: rotate(-8deg) scale(1.08); }
.problem-card h3 { margin-bottom: 16px; }

/* ==========================================================
   SERVICES
========================================================== */
.services { background: var(--bg); }
.service-stack { display: flex; flex-direction: column; gap: 70px; margin-top: 80px; }
.service-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: white; padding: 60px; border-radius: 34px; border: 1px solid var(--gray-200); box-shadow: 0 20px 60px rgba(15,23,42,.06); transition: .45s ease; position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 80px rgba(15,23,42,.12); }
.service-card.reverse { direction: rtl; }
.service-card.reverse > * { direction: ltr; }
.service-number { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(135deg, var(--primary), #4f8cff); color: white; font-weight: 800; font-size: 1.3rem; margin-bottom: 28px; }
.service-text h3 { font-size: 2rem; margin-bottom: 20px; }
.service-text p { margin-bottom: 28px; line-height: 1.9; }
.service-text ul { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 34px; }
.service-text li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--gray-700); }
.service-text li i { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(34,197,94,.12); color: var(--success); }
.service-graphic { display: flex; align-items: center; justify-content: center; position: relative; }

/* ==========================================================
   HOW WE WORK (PROCESS)
========================================================== */
.process { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.timeline { position: relative; max-width: 900px; margin: 90px auto 0; padding-left: 80px; }
.timeline::before { content: ""; position: absolute; left: 34px; top: 10px; bottom: 10px; width: 4px; border-radius: 100px; background: linear-gradient(180deg, var(--primary), var(--accent)); opacity: .15; }
.timeline-item { position: relative; display: flex; align-items: flex-start; gap: 35px; margin-bottom: 70px; opacity: 0; transform: translateY(30px); animation: fadeUp .8s ease forwards; }
.timeline-number { position: absolute; left: -80px; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.2rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); z-index: 2; transition: .35s ease; }
.timeline-item:hover .timeline-number { transform: scale(1.08) rotate(-8deg); box-shadow: 0 25px 55px rgba(37,99,235,.35); }
.timeline-content { flex: 1; background: #fff; padding: 34px; border-radius: 26px; border: 1px solid var(--gray-200); box-shadow: 0 15px 40px rgba(15,23,42,.05); transition: .4s ease; position: relative; overflow: hidden; }
.timeline-item:hover .timeline-content { transform: translateX(10px); box-shadow: 0 28px 70px rgba(15,23,42,.12); }

/* ==========================================================
   WHY BLACKBRIDGE
========================================================== */
.why-blackbridge { background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 80px; } /* Updated for 4 cards */
.feature-card { position: relative; padding: 42px; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.65); border-radius: 28px; transition: .45s ease; box-shadow: 0 20px 55px rgba(15,23,42,.06); }
.feature-card:hover { transform: translateY(-12px); box-shadow: 0 35px 80px rgba(15,23,42,.14); border-color: rgba(37,99,235,.18); }
.feature-icon { width: 82px; height: 82px; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 30px; transition: .4s ease; }
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature-card h3 { font-size: 1.55rem; margin-bottom: 18px; }

/* ==========================================================
   KPI SECTION (Aligned with HTML's .kpi-box)
========================================================== */
.kpi-section { position: relative; padding: 130px 0; background: linear-gradient(180deg, #0f172a 0%, #172554 100%); color: #fff; }
.kpi-section .section-heading h2 { color: #fff; }
.kpi-section .section-heading p { color: rgba(255,255,255,.72); }
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; z-index: 2; }
.kpi-box { position: relative; padding: 40px 30px; text-align: center; border-radius: 28px; background: rgba(255,255,255,.08); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.12); transition: .45s ease; overflow: hidden; cursor: default;}
.kpi-box:hover { transform: translateY(-12px); background: rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.kpi-box::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #60a5fa, #38bdf8); transform: scaleX(0); transform-origin: left; transition: .4s; }
.kpi-box:hover::before { transform: scaleX(1); }
.kpi-box h2 { display: block; font-size: 3.4rem; font-weight: 900; line-height: 1; margin-bottom: 14px; color: white; letter-spacing: -2px; }
.kpi-box span { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: white; display: block;}
.kpi-box:hover h2 { color: #93c5fd; }
.kpi-box:hover span { letter-spacing: .4px; }
.counter { display: inline-block; min-width: 2ch; font-variant-numeric: tabular-nums; }
.counter.loading { opacity: .4; }
.counter.finished { opacity: 1; transition: .3s ease; }

/* ==========================================================
   SPECIALTIES (Aligned with HTML's i structure)
========================================================== */
.specialties { background: var(--bg); position: relative; }
.specialty-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; margin-top: 80px; }
.specialty-card { position: relative; padding: 34px 28px; text-align: center; border-radius: 26px; background: white; border: 1px solid var(--gray-200); box-shadow: 0 16px 40px rgba(15,23,42,.05); transition: .35s ease; overflow: hidden; }
.specialty-card:hover { transform: translateY(-8px); box-shadow: 0 28px 70px rgba(15,23,42,.12); }
.specialty-card i { width: 76px; height: 76px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; border-radius: 22px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; font-size: 28px; box-shadow: 0 18px 40px rgba(37,99,235,.22); transition: .35s; }
.specialty-card:hover i { transform: scale(1.08) rotate(-6deg); }
.specialty-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.specialty-card p { font-size: .95rem; line-height: 1.8; }

/* ==========================================================
   CLIENT BENEFITS (Added for Index.html compatibility)
========================================================== */
.client-benefits { padding: 100px 0; background: white; }
.client-benefits .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefit-left h2 { margin: 20px 0; }
.benefit-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
.benefit-item i { font-size: 24px; color: var(--success); margin-top: 5px; }
.benefit-item h3 { font-size: 1.2rem; margin-bottom: 5px; }

/* ==========================================================
   FAQ SECTION
========================================================== */
.faq { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.faq-container { max-width: 920px; margin: 80px auto 0; display: flex; flex-direction: column; gap: 22px; }
.faq-item { background: white; border: 1px solid var(--gray-200); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 45px rgba(15,23,42,.05); transition: .35s ease; }
.faq-item:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.25); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 34px; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; font-size: 1.08rem; font-weight: 700; color: var(--secondary); transition: .3s ease; }
.faq-question i { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(37,99,235,.08); color: var(--primary); font-size: 16px; transition: .35s ease; flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s ease, padding .35s ease; padding: 0 34px; }
.faq-answer p { padding-bottom: 28px; line-height: 1.9; color: var(--gray-600); }
.faq-item.active { border-color: rgba(37,99,235,.28); box-shadow: 0 28px 70px rgba(37,99,235,.10); }
.faq-item.active .faq-answer { max-height: 260px; padding: 0 34px; }
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-question i { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; transform: rotate(45deg); }

/* ==========================================================
   FOOTER
========================================================== */
footer { background: linear-gradient(180deg, #0b1220, #050914); color: white; padding: 110px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.footer-logo h3 { margin-bottom: 4px; color: white;}
.footer-logo span { color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-grid h4 { margin-bottom: 24px; color: white; }
.footer-grid ul { display: flex; flex-direction: column; gap: 16px; }
.footer-grid ul a { color: rgba(255,255,255,.68); }
.footer-grid ul a:hover { color: white; padding-left: 8px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.72); }
.contact-list i { color: #60a5fa; }
.footer-bottom { margin-top: 90px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-bottom p { font-size: .95rem; color: rgba(255,255,255,.60); }
.footer-bottom a { color: rgba(255,255,255,.60); margin-left: 20px;}
.footer-bottom a:hover { color: white; }

/* ==========================================================
   GLOBAL ANIMATIONS (Fixed missing bracket)
========================================================== */
@keyframes chartGrow { 0% { height: 0; opacity: .4; } 100% { opacity: 1; } }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } } /* <- FIXED BRACKET */

/* ==========================================================
   RESPONSIVE
========================================================== */
@media(max-width:1200px) {
    .hero-grid { grid-template-columns: 1fr; gap: 70px; }
    .hero-content { max-width: 100%; text-align: center; margin: auto; }
    .hero-buttons, .hero-proof { justify-content: center; }
    .kpi-grid, .specialty-grid, .feature-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:992px) {
    .nav-links, .nav-buttons { display: none; }
    #menuBtn { display: flex; }
    .client-benefits .container { grid-template-columns: 1fr; gap: 40px;}
    section { padding: 90px 0; }
}
@media(max-width:768px) {
    .trust-grid, .problem-grid, .service-card, .footer-grid, .kpi-grid, .specialty-grid, .feature-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero h1 { font-size: clamp(2.7rem, 10vw, 4rem); }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; }
    .timeline::before { display: none; }
    .timeline-item { display: block; margin-bottom: 40px; }
    .timeline-number { position: relative; left: 0; margin-bottom: 20px; }
    .dashboard-cards { grid-template-columns: 1fr; }
    .floating-card { display: none; }
}
@media(max-width:576px) {
    section { padding: 70px 0; }
    .container { width: 94%; }
    .dashboard { padding: 20px; }
    .feature-card, .problem-card, .service-card { padding: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
}
@media(prefers-reduced-motion:reduce) {
    * { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}