/* =========================================================
   Kanhaxy - Design System
   Colours derived from the brand logo
   Navy #001542 - Navy2 #01245B - Blue #0062CB - Teal #00BD9B
   ========================================================= */

:root {
    --navy: #001542;
    --navy-2: #01245b;
    --navy-3: #0a2f6e;
    --blue: #0062cb;
    --blue-600: #0a6fe0;
    --blue-400: #4b9bff;
    --teal: #00bd9b;
    --teal-600: #00a88a;
    --teal-100: #d6f7ef;

    --ink: #0d1b34;
    --body: #45526b;
    --muted: #6b7891;
    --line: #e6eaf1;
    --line-2: #eef1f6;
    --bg: #ffffff;
    --bg-soft: #f6f8fc;
    --bg-tint: #f0f5ff;

    --white: #ffffff;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-xs: 0 1px 2px rgba(13, 27, 52, .06);
    --shadow-sm: 0 4px 14px rgba(13, 27, 52, .06);
    --shadow: 0 14px 40px rgba(13, 27, 52, .09);
    --shadow-lg: 0 30px 70px rgba(1, 36, 91, .16);

    --grad-brand: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 45%, var(--blue) 100%);
    --grad-teal: linear-gradient(120deg, var(--blue) 0%, var(--teal) 100%);

    --container: 1200px;
    --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -.02em;
}

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-2); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-head);
    font-weight: 600; font-size: 15px;
    padding: 13px 24px; border-radius: 12px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap; line-height: 1;
}
.btn i { font-size: .9em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 98, 203, .28); }
.btn-primary:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 98, 203, .34); }
.btn-teal { background: var(--teal); color: #04241d; box-shadow: 0 8px 20px rgba(0, 189, 155, .3); }
.btn-teal:hover { background: var(--teal-600); color: #04241d; transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-2); color: var(--navy-2); background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef4ff; color: var(--navy); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ghost-sm { background: rgba(255,255,255,.1); color: #fff; padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-ghost-sm:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-2);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13, 27, 52, .08); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }

.main-nav { margin-left: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px;
    color: var(--ink); background: none; border: none; cursor: pointer;
    padding: 10px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--blue); background: var(--bg-soft); }
.nav-caret { font-size: 10px; transition: transform .25s ease; opacity: .65; }
.has-mega:hover .nav-caret { transform: rotate(180deg); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Mega menu */
.mega-menu {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 999;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; box-shadow: var(--shadow-lg);
    margin-top: 12px; padding: 28px; overflow: hidden;
}
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mega-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mega-title {
    display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px;
}
.mega-col ul { display: flex; flex-direction: column; gap: 2px; }
.mega-col a {
    display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px;
    color: var(--ink); font-weight: 500; font-size: 14.5px; transition: background .18s, color .18s;
}
.mega-col a:hover { background: var(--bg-tint); color: var(--blue); }
.mega-col a i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
    background: var(--bg-soft); color: var(--blue); font-size: 14px; flex-shrink: 0; transition: background .18s, color .18s; }
.mega-col a:hover i { background: var(--blue); color: #fff; }
.mega-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: 24px; padding: 18px 22px; border-radius: 14px; background: var(--grad-brand);
}
.mega-foot strong { color: #fff; font-family: var(--font-head); font-size: 15px; }
.mega-foot p { color: rgba(255,255,255,.75); font-size: 13.5px; margin-top: 2px; }

/* Mobile nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 998; transform: translateX(100%);
    transition: transform .3s ease; overflow-y: auto; visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-scroll { padding: 16px 24px 40px; }
.m-group { border-bottom: 1px solid var(--line-2); }
.m-group summary { list-style: none; cursor: pointer; padding: 16px 4px;
    font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary i { transition: transform .25s; font-size: 13px; color: var(--muted); }
.m-group[open] summary i { transform: rotate(180deg); }
.m-links { display: flex; flex-direction: column; padding: 4px 0 14px; }
.m-links a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; color: var(--body);
    font-weight: 500; border-radius: 8px; }
.m-links a i { width: 22px; text-align: center; color: var(--blue); }
.m-single { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line-2);
    font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.mobile-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.mobile-cta .btn { width: 100%; padding: 15px; }

/* ---------- Shared section helpers ---------- */
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.82); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
    text-transform: uppercase; letter-spacing: .1em; color: var(--blue);
    background: var(--bg-tint); padding: 7px 14px; border-radius: 100px; margin-bottom: 18px;
}
.section-dark .eyebrow { background: rgba(255,255,255,.08); color: var(--teal); }
.eyebrow i { font-size: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { font-size: 17.5px; color: var(--muted); margin-top: 16px; }
.section-dark .section-head p { color: rgba(255,255,255,.72); }

.text-teal { color: var(--teal); }
.text-blue { color: var(--blue); }
.text-grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--grad-brand); color: #fff;
    padding: 78px 0 0;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(680px 340px at 82% 8%, rgba(0, 189, 155, .28), transparent 60%),
        radial-gradient(560px 340px at 8% 92%, rgba(75, 155, 255, .22), transparent 60%);
    pointer-events: none;
}
.hero-grid-lines {
    position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
    mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding-bottom: 70px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
    padding: 8px 16px; border-radius: 100px; font-size: 13.5px; font-weight: 500;
    color: rgba(255,255,255,.9); margin-bottom: 26px;
}
.hero-badge i { color: var(--teal); }
.hero h1 {
    color: #fff; font-size: clamp(34px, 5.4vw, 62px); font-weight: 800;
    max-width: 15ch; margin: 0 auto; letter-spacing: -.03em;
}
.hero h1 .text-grad { background: linear-gradient(120deg, #4b9bff, var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19.5px); color: rgba(255,255,255,.82);
    max-width: 640px; margin: 24px auto 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.62);
    display: inline-flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { color: var(--teal); }

/* Hero dashboard mockup */
.hero-mockup {
    position: relative; z-index: 2; max-width: 1060px; margin: 0 auto;
    transform: translateY(1px);
}
.mockup-window {
    background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -20px 70px rgba(0,0,0,.28);
    overflow: hidden; border: 1px solid rgba(255,255,255,.5);
}
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px;
    background: #0e2452; border-bottom: 1px solid rgba(255,255,255,.08); }
.mockup-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-bar .dot:nth-child(1) { background: #ff5f57; }
.mockup-bar .dot:nth-child(2) { background: #febc2e; }
.mockup-bar .dot:nth-child(3) { background: #28c840; }
.mockup-bar .url { margin-left: 14px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
    font-size: 12px; padding: 5px 14px; border-radius: 7px; font-family: var(--font-body); }
.mockup-body { display: grid; grid-template-columns: 210px 1fr; min-height: 380px; background: #f7f9fc; }
.mk-side { background: #fff; border-right: 1px solid var(--line-2); padding: 18px 14px; }
.mk-side .mk-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head);
    font-weight: 800; color: var(--navy); font-size: 16px; margin-bottom: 20px; padding: 0 6px; }
.mk-side .mk-logo span i { color: var(--teal); }
.mk-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px;
    color: var(--muted); font-size: 13.5px; font-weight: 500; margin-bottom: 2px; }
.mk-nav a i { width: 16px; text-align: center; }
.mk-nav a.active { background: var(--bg-tint); color: var(--blue); font-weight: 600; }
.mk-main { padding: 22px 24px; }
.mk-main-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mk-main-head h4 { font-size: 17px; }
.mk-pill { font-size: 11px; font-weight: 600; color: var(--teal-600); background: var(--teal-100);
    padding: 5px 11px; border-radius: 100px; }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mk-stat { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; }
.mk-stat .lbl { font-size: 11.5px; color: var(--muted); }
.mk-stat .val { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 21px; margin-top: 4px; }
.mk-stat .trend { font-size: 11px; color: var(--teal-600); font-weight: 600; }
.mk-chart { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 16px 8px; }
.mk-chart .ct-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.mk-bars { display: flex; align-items: flex-end; gap: 12px; height: 120px; }
.mk-bars .bar { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(var(--blue-400), var(--blue)); opacity: .9; }
.mk-bars .bar.teal { background: linear-gradient(#33cdb1, var(--teal)); }

/* ---------- Logos / trusted strip ---------- */
.trusted { padding: 46px 0; border-bottom: 1px solid var(--line-2); background: #fff; }
.trusted p { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 46px; }
.logo-row .logo-item { display: inline-flex; align-items: center; gap: 10px; color: #94a2b8;
    font-family: var(--font-head); font-weight: 700; font-size: 20px; opacity: .85; transition: color .2s, opacity .2s; }
.logo-row .logo-item i { font-size: 22px; }
.logo-row .logo-item:hover { color: var(--navy-2); opacity: 1; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 12px; }
.stat-card .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4vw, 46px);
    color: #fff; letter-spacing: -.02em; }
.stat-card .num .text-grad { background: linear-gradient(120deg, #4b9bff, var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .lbl { color: rgba(255,255,255,.68); font-size: 14.5px; margin-top: 6px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    font-size: 22px; color: #fff; background: var(--grad-brand); margin-bottom: 20px;
}
.card-icon.teal { background: var(--grad-teal); color: #04241d; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
    font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--blue); }
.card-link i { transition: transform .2s; }
.card:hover .card-link i { transform: translateX(4px); }

/* Feature card (links to platform pages) */
.feature-card { display: flex; flex-direction: column; }
.feature-card .card-icon { margin-bottom: 18px; }

/* ---------- Challenges (problem) section ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px;
    display: flex; gap: 14px; align-items: flex-start; }
.problem-item i { color: #e0574f; font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.problem-item span { font-weight: 500; color: var(--ink); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.solve-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.solve-list li { display: flex; gap: 14px; align-items: flex-start; }
.solve-list li i { width: 26px; height: 26px; border-radius: 8px; background: var(--teal-100);
    color: var(--teal-600); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; margin-top: 3px; }
.solve-list li strong { color: var(--ink); display: block; font-family: var(--font-head); }
.solve-list li p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Why / value grid ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-item { padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.value-item .vi-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint);
    color: var(--blue); display: grid; place-items: center; font-size: 19px; margin-bottom: 16px; }
.value-item h3 { font-size: 17px; margin-bottom: 8px; }
.value-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- Interactive platform tabs ---------- */
.platform-preview { background: var(--navy); border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg); }
.pp-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px;
    background: transparent; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7);
    font-family: var(--font-head); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: .2s; }
.pp-tab:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.pp-tab.active { background: var(--grad-teal); color: #04241d; border-color: transparent; }
.pp-panels { padding: 32px; }
.pp-panel { display: none; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.pp-panel.active { display: grid; animation: fadeUp .4s ease; }
.pp-panel h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.pp-panel p { color: rgba(255,255,255,.72); font-size: 15.5px; }
.pp-panel ul { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.pp-panel ul li { display: flex; gap: 11px; align-items: center; color: rgba(255,255,255,.85); font-size: 14.5px; }
.pp-panel ul li i { color: var(--teal); }
.pp-visual { background: linear-gradient(160deg, #0b2a63, #071d4a); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 22px; min-height: 260px; }
.pp-visual .pv-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px;
    background: rgba(255,255,255,.05); margin-bottom: 10px; }
.pp-visual .pv-row i { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
    background: rgba(0,189,155,.16); color: var(--teal); flex-shrink: 0; }
.pp-visual .pv-row .pv-t { color: #fff; font-weight: 600; font-size: 13.5px; }
.pp-visual .pv-row .pv-s { color: rgba(255,255,255,.55); font-size: 12px; }
.pp-visual .pv-row .pv-tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 10px;
    border-radius: 100px; background: rgba(75,155,255,.18); color: #7db4ff; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    padding: 28px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
    color: var(--ink); font-family: var(--font-head); font-weight: 600; transition: .22s; }
.ind-card i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--bg-tint); color: var(--blue); font-size: 22px; transition: .22s; }
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--blue); }
.ind-card:hover i { background: var(--grad-brand); color: #fff; }

/* ---------- Integrations preview ---------- */
.integ-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.integ-tile { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px;
    display: grid; place-items: center; font-size: 30px; color: var(--navy-2); transition: .22s; }
.integ-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); color: var(--blue); border-color: transparent; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; height: 100%; }
.tst-stars { color: #f6b93b; margin-bottom: 14px; font-size: 14px; }
.tst-card blockquote { font-size: 15.5px; color: var(--ink); line-height: 1.7; }
.tst-author { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.tst-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff;
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.tst-author .an { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 14.5px; }
.tst-author .ar { font-size: 13px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-toggle { display: inline-flex; align-items: center; gap: 12px; background: var(--bg-soft);
    border: 1px solid var(--line); border-radius: 100px; padding: 6px; margin: 0 auto 44px; }
.pricing-toggle button { border: none; background: none; padding: 9px 20px; border-radius: 100px;
    font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: .2s; }
.pricing-toggle button.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-xs); }
.pricing-toggle .save { font-size: 11px; color: var(--teal-600); font-weight: 700; }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px;
    display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.price-card.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%); background: var(--grad-teal); color: #04241d; font-family: var(--font-head);
    font-weight: 700; font-size: 11.5px; padding: 6px 16px; border-radius: 100px; white-space: nowrap; }
.price-card .pc-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.price-card .pc-desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; min-height: 40px; }
.price-card .pc-price { margin: 18px 0 6px; }
.price-card .pc-price .amt { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--ink); letter-spacing: -.03em; }
.price-card .pc-price .per { color: var(--muted); font-size: 14px; }
.price-card .pc-note { font-size: 12.5px; color: var(--muted); min-height: 18px; }
.price-card .btn { margin: 22px 0; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; }
.price-card ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--body); }
.price-card ul li i { color: var(--teal-600); margin-top: 4px; font-size: 12px; }
.price-card ul li.muted { color: var(--muted); }
.price-card ul li.muted i { color: var(--line); }

/* comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
.compare-table thead th { font-family: var(--font-head); color: var(--ink); font-size: 15px; }
.compare-table tbody th { font-weight: 500; color: var(--body); }
.compare-table td { text-align: center; color: var(--body); }
.compare-table td .fa-check { color: var(--teal-600); }
.compare-table td .fa-minus { color: var(--line); }
.compare-table tr.group td { background: var(--bg-soft); font-family: var(--font-head); font-weight: 700;
    color: var(--ink); text-align: left; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-brand); border-radius: var(--radius-xl);
    padding: 66px 40px; text-align: center; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 80% 20%, rgba(0,189,155,.3), transparent 60%),
        radial-gradient(500px 260px at 15% 90%, rgba(75,155,255,.25), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 17px; margin: 16px auto 30px; max-width: 52ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--grad-brand); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0;
    background: radial-gradient(560px 300px at 85% 10%, rgba(0,189,155,.22), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero.center { text-align: center; }
.page-hero .breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px;
    color: rgba(255,255,255,.6); margin-bottom: 18px; }
.page-hero.center .breadcrumbs { justify-content: center; }
.page-hero .breadcrumbs a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); max-width: 18ch; }
.page-hero.center h1 { margin: 0 auto; }
.page-hero .lead { font-size: 18px; color: rgba(255,255,255,.82); max-width: 60ch; margin-top: 18px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 30px; }
.page-hero.center .hero-actions { justify-content: center; }

/* feature page layout */
.feature-hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
@media (max-width: 900px) { .feature-hero-split { grid-template-columns: 1fr; } }

.feat-visual { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px; padding: 22px; }
.feat-visual .fv-row { display: flex; align-items: center; gap: 13px; padding: 13px 15px;
    border-radius: 11px; background: rgba(255,255,255,.05); margin-bottom: 11px; }
.feat-visual .fv-row:last-child { margin-bottom: 0; }
.feat-visual .fv-row i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(0,189,155,.16); color: var(--teal); flex-shrink: 0; font-size: 15px; }
.feat-visual .fv-t { color: #fff; font-weight: 600; font-size: 14px; }
.feat-visual .fv-s { color: rgba(255,255,255,.6); font-size: 12.5px; }
.feat-visual .fv-tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 11px;
    border-radius: 100px; background: rgba(75,155,255,.18); color: #7db4ff; }

/* Feature detail grid */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detail-item { padding: 4px; }
.detail-item .di-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--bg-tint);
    color: var(--blue); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.detail-item h3 { font-size: 18px; margin-bottom: 8px; }
.detail-item p { font-size: 14.5px; color: var(--muted); }

/* alternating feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-row + .feature-row { margin-top: 80px; }
.feature-row.reverse .fr-media { order: 2; }
.feature-row .fr-media { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px;
    padding: 26px; }
.feature-row h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.feature-row .chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head);
    font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-600);
    background: var(--teal-100); padding: 6px 12px; border-radius: 100px; margin-bottom: 16px; }
.feature-row p { font-size: 16px; color: var(--body); }
.fr-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.fr-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
.fr-list li i { width: 24px; height: 24px; border-radius: 7px; background: var(--teal-100); color: var(--teal-600);
    display: grid; place-items: center; font-size: 11px; flex-shrink: 0; margin-top: 3px; }

/* faux ui blocks inside media */
.ui-block { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px;
    margin-bottom: 10px; box-shadow: var(--shadow-xs); }
.ui-block:last-child { margin-bottom: 0; }
.ui-row { display: flex; align-items: center; gap: 12px; }
.ui-row i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
    background: var(--bg-tint); color: var(--blue); flex-shrink: 0; }
.ui-row .ui-t { font-weight: 600; color: var(--ink); font-size: 14px; }
.ui-row .ui-s { font-size: 12.5px; color: var(--muted); }
.ui-row .ui-tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.ui-tag.green { background: var(--teal-100); color: var(--teal-600); }
.ui-tag.blue { background: var(--bg-tint); color: var(--blue); }
.ui-bar { height: 8px; border-radius: 100px; background: var(--line-2); overflow: hidden; margin-top: 10px; }
.ui-bar span { display: block; height: 100%; border-radius: 100px; background: var(--grad-teal); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px;
    box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
    color: var(--ink); margin-bottom: 8px; }
.form-group label .req { color: #e0574f; }
.form-control { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
    font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,98,203,.12); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7891' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px;
    margin-bottom: 22px; font-size: 14.5px; line-height: 1.5; }
.alert i { margin-top: 2px; font-size: 17px; }
.alert strong { font-family: var(--font-head); }
.alert-success { background: var(--teal-100); color: #05564a; }
.alert-success i { color: var(--teal-600); }
.alert-error { background: #fdecec; color: #8a2b23; }
.alert-error i { color: #e0574f; }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success i { font-size: 46px; color: var(--teal); margin-bottom: 14px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.checkbox-line input { margin-top: 4px; }

/* contact info cards */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; }
.contact-method i { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--blue);
    display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.contact-method h4 { font-size: 16px; margin-bottom: 4px; }
.contact-method p { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.contact-method a { font-weight: 600; font-size: 14.5px; }
.map-embed { border: 0; width: 100%; height: 260px; border-radius: 16px; margin-top: 8px; }

/* ---------- Legal / doc pages ---------- */
.doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.doc-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.doc-toc ul { display: flex; flex-direction: column; gap: 2px; }
.doc-toc a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--body); border-left: 2px solid transparent; }
.doc-toc a:hover { background: var(--bg-soft); color: var(--blue); }
.doc-content { max-width: 760px; }
.doc-content h2 { font-size: 24px; margin: 40px 0 14px; padding-top: 10px; }
.doc-content h2:first-child { margin-top: 0; }
.doc-content h3 { font-size: 18px; margin: 24px 0 10px; }
.doc-content p { margin-bottom: 16px; }
.doc-content ul.doc-list { list-style: none; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.doc-content ul.doc-list li { position: relative; padding-left: 26px; }
.doc-content ul.doc-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 2px; color: var(--teal-600); font-size: 12px; }
.doc-content .doc-note { background: var(--bg-tint); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0;
    padding: 16px 20px; margin: 18px 0; font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px;
    font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q i { color: var(--blue); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Misc ---------- */
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 12px;
    background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden;
    transform: translateY(12px); transition: .3s; z-index: 900; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 100px;
    background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.pill i { color: var(--teal-600); }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Pre-footer highlights ---------- */
.prefooter { background: var(--bg-soft); border-top: 1px solid var(--line-2); padding: 40px 0; }
.prefooter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pf-item { display: flex; align-items: center; gap: 14px; }
.pf-item i { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-brand); color: #fff;
    display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.pf-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15.5px; }
.pf-item span { display: block; color: var(--muted); font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 3fr; gap: 50px; padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-logo { height: 32px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: 14.5px; line-height: 1.7; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.8); display: grid; place-items: center; transition: .2s; }
.footer-social a:hover { background: var(--teal); color: #04241d; transform: translateY(-2px); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-family: var(--font-head); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: 14px; }
.footer-col a:hover { color: var(--teal); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-contact .fc-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; max-width: 60ch; }
.footer-contact .fc-item i { color: var(--teal); margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding-top: 26px; font-size: 13.5px; flex-wrap: wrap; }
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { color: rgba(255,255,255,.65); }
.footer-legal-links a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .integ-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .main-nav, .header-actions { display: none; }
    .nav-toggle { display: flex; }
    .grid-4, .value-grid, .problem-grid, .ind-grid, .price-grid, .stat-band { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .detail-grid, .tst-grid { grid-template-columns: repeat(2, 1fr); }
    .prefooter-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .doc-layout { grid-template-columns: 1fr; }
    .doc-toc { position: static; display: none; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .section { padding: 64px 0; }
    .split, .pp-panel.active, .feature-row, .feature-hero-split { grid-template-columns: 1fr; gap: 30px; }
    .feature-row.reverse .fr-media { order: 0; }
    .pp-panels { padding: 22px; }
    .cta-band { padding: 48px 24px; }
}

@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .brand-logo { height: 30px; }
    .grid-2, .grid-3, .grid-4, .value-grid, .problem-grid, .ind-grid, .price-grid,
    .detail-grid, .tst-grid, .stat-band, .footer-cols, .form-row { grid-template-columns: 1fr; }
    .integ-grid { grid-template-columns: repeat(3, 1fr); }
    .prefooter-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 54px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .mockup-body { grid-template-columns: 1fr; }
    .mk-side { display: none; }
    .card, .form-card { padding: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .stat-band { gap: 26px; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}

@media (max-width: 400px) {
    .integ-grid { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 18px; }
}
