/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
-------------------------------------------------------------------------- */
:root {
    /* Brand */
    --brand-50:  #eef4ff;
    --brand-100: #dce7ff;
    --brand-200: #bcd2ff;
    --brand-300: #8fb4ff;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-800: #1e40af;

    /* Neutrals */
    --ink:      #0b1220;
    --ink-2:    #1b2637;
    --muted:    #5a6b85;
    --muted-2:  #8291a8;

    /* Surfaces */
    --bg:        #fbfaf7;
    --bg-tint:   #f5f7fc;
    --surface:   #ffffff;
    --surface-2: #f8fafc;

    --border:      #e6eaf2;
    --border-soft: #eef1f7;

    /* Radii */
    --radius-xs:  8px;
    --radius-sm:  12px;
    --radius:     16px;
    --radius-lg:  22px;
    --radius-xl:  30px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(11, 18, 32, .05);
    --shadow-sm: 0 2px 10px rgba(11, 18, 32, .05);
    --shadow-md: 0 12px 28px -14px rgba(11, 18, 32, .20);
    --shadow-lg: 0 34px 70px -30px rgba(11, 18, 32, .28);
    --shadow-brand: 0 16px 34px -14px rgba(37, 99, 235, .55);

    /* Layout */
    --max: 1200px;
    --gutter: 24px;
    --section-y: 104px;

    /* Typography */
    --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Motion */
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
-------------------------------------------------------------------------- */

/* ==========================================================================
   HIDE SCROLLBARS EVERYWHERE (scrolling still works)
   ========================================================================== */

/* Firefox + legacy Edge / IE */
html,
body,
* {
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE 10+ / legacy Edge */
}

/* WebKit — Chrome, Safari, Edge, Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
    background: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

svg.lucide { width: 20px; height: 20px; stroke-width: 1.9; flex: none; }

:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection { background: var(--brand-100); color: var(--brand-800); }

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: var(--brand-600);
    color: #fff;
    font-weight: 600;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   3. LAYOUT & TYPOGRAPHY HELPERS
-------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: 72px; }

.section--tint {
    background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 55%, #fff 100%);
}

.sec-head {
    max-width: 730px;
    margin: 0 auto 56px;
    text-align: center;
}
.sec-head h2 {
    margin-top: 18px;
    font-size: clamp(1.75rem, 3.3vw, 2.55rem);
    letter-spacing: -.03em;
}
.sec-head p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.045rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--brand-700);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: var(--shadow-xs);
}
.eyebrow svg.lucide { width: 15px; height: 15px; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* --------------------------------------------------------------------------
   4. BUTTONS, PILLS, CARDS
-------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: .94rem;
    font-weight: 600;
    letter-spacing: -.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
    background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg.lucide { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 20px 42px -14px rgba(37, 99, 235, .65); }
.btn-primary:hover svg.lucide { transform: translateX(3px); }

.btn-outline {
    background: #fff;
    border-color: var(--border);
    color: var(--ink);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover { border-color: var(--brand-300); color: var(--brand-700); box-shadow: var(--shadow-sm); }

.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }

.btn-light { background: #fff; color: var(--brand-700); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .45); }
.btn-light:hover svg.lucide { transform: translateX(3px); }

.btn-glass {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .38);
    color: #fff;
    backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .2); }

.btn-lg { padding: 15px 27px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Cards */
.card {
    position: relative;
    padding: 28px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-200);
    box-shadow: var(--shadow-md);
}
.card h3 {
    margin-top: 16px;
    font-size: 1.055rem;
    letter-spacing: -.02em;
}
.card p {
    margin-top: 9px;
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.62;
}

.card-ic {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand-600);
    border: 1px solid #e2ebff;
}
.card-ic svg.lucide { width: 21px; height: 21px; }

.card-ic--green  { background: #ecfdf3; border-color: #d3f5e2; color: #0f9f63; }
.card-ic--blue   { background: #eff4ff; border-color: #dde8ff; color: #2563eb; }
.card-ic--violet { background: #f4f0ff; border-color: #e8dfff; color: #7c5cf0; }
.card-ic--teal   { background: #ecfafb; border-color: #d2f1f4; color: #0e93a3; }
.card-ic--amber  { background: #fff7ea; border-color: #ffe9c7; color: #c47b12; }
.card-ic--indigo { background: #eef0ff; border-color: #dde1ff; color: #4f5bd5; }
.card-ic--rose   { background: #fff0f3; border-color: #ffdce4; color: #d94b6b; }

.tick-list { margin-top: 16px; display: grid; gap: 9px; }
.tick-list li {
    position: relative;
    padding-left: 24px;
    font-size: .895rem;
    color: var(--muted);
    line-height: 1.5;
}
.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* --------------------------------------------------------------------------
   5. NAVIGATION
-------------------------------------------------------------------------- */
.nav {
    width: 96%;
    margin: auto;
    position: sticky;
    top: 30px;
    border-radius: 40px;
    inset: 0 0 auto 0;
    z-index: 90;
    border-bottom: 1px solid transparent;
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
    border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.is-stuck {
    background: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
    border-bottom-color: var(--border-soft);
    box-shadow: 0 12px 32px -24px rgba(11, 18, 32, .55);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-size: 1.19rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
}
.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .75);
    overflow: hidden;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, .45), transparent 55%);
}
.brand-mark svg.lucide { position: relative; z-index: 1; width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
    padding: 9px 14px;
    border-radius: var(--radius-full);
    font-size: .92rem;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s ease, background-color .2s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(37, 99, 235, .06); }
.nav-links a.is-active { color: var(--brand-700); background: var(--brand-50); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
}
.nav-toggle span { display: grid; place-items: center; }
.nav-toggle .tg-close { display: none; }

.mobile-menu { display: none; }

/* --------------------------------------------------------------------------
   6. HERO
-------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-block: 40px 96px;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 {
    top: -180px; right: -120px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, #cfe0ff, transparent 70%);
}
.orb-2 {
    bottom: -220px; left: -160px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, #e6edff, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(37, 99, 235, .10) 1px, transparent 0);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    opacity: .8;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.hero h1 {
    margin-top: 20px;
    font-size: clamp(2.15rem, 4.5vw, 3.55rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}
.hero h1 .grad {
    background: linear-gradient(100deg, var(--brand-600) 10%, #4f8cff 55%, #7aa8ff 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    margin-top: 20px;
    max-width: 34rem;
    font-size: 1.06rem;
    color: var(--muted);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 32px;
}
.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .885rem;
    font-weight: 500;
    color: var(--ink-2);
}
.hero-points svg.lucide { width: 17px; height: 17px; color: var(--brand-600); }

/* --- Dashboard mockup --- */
.mockup { position: relative; }

.mockup-window {
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 18, 32, .04);
    overflow: hidden;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft);
    background: rgba(248, 250, 252, .92);
}
.mockup-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #dfe5ee; }
.mockup-bar .dot:nth-child(1) { background: #ffcdc9; }
.mockup-bar .dot:nth-child(2) { background: #ffe6b8; }
.mockup-bar .dot:nth-child(3) { background: #c6ecd4; }

.mockup-url {
    margin-left: 10px;
    padding: 3px 12px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    background: #fff;
    font-size: .69rem;
    color: var(--muted-2);
}

.mockup-body { padding: 18px; }

.mk-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.mk-hi { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.mk-title { font-size: 1.05rem; letter-spacing: -.02em; }
.mk-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    background: #fff;
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
}
.mk-pill svg.lucide { width: 13px; height: 13px; }

.mk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.mk-stat {
    padding: 12px 13px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.mk-stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.mk-stat-label svg.lucide { width: 13px; height: 13px; }
.mk-stat strong {
    display: block;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 1.03rem;
    letter-spacing: -.02em;
}
.mk-trend {
    display: inline-block;
    margin-top: 2px;
    font-size: .68rem;
    font-weight: 600;
    color: var(--muted-2);
}
.mk-trend--up { color: #0f9f63; }
.mk-trend--warn { color: #c47b12; }
.mk-trend svg.lucide { width: 12px; height: 12px; display: inline-block; vertical-align: -2px; }

.mk-mid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 10px; }

.mk-card {
    padding: 13px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.mk-card h4 {
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink-2);
}
.mk-mid .mk-card h4 { margin-bottom: 8px; }

.mk-chart-svg { width: 100%; height: 74px; }

.mk-chart-x {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: .58rem;
    color: var(--muted-2);
}

.mk-low { display: grid; gap: 8px; }
.mk-low li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: .72rem;
    color: var(--muted);
}
.mk-low li b { font-size: .66rem; font-weight: 700; color: #c47b12; white-space: nowrap; }

.mk-tx { margin-top: 10px; display: grid; gap: 9px; }
.mk-tx li { display: flex; align-items: center; gap: 9px; font-size: .74rem; }
.mk-tx-ic {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: var(--brand-50);
    color: var(--brand-600);
}
.mk-tx-ic svg.lucide { width: 13px; height: 13px; }
.mk-tx-name { flex: 1; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-tx b { font-family: var(--font-display); font-size: .74rem; }

/* Floating cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border: 1px solid var(--border-soft);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-md);
    font-size: .78rem;
    color: var(--ink-2);
}
.float-card b { display: block; font-family: var(--font-display); font-size: .78rem; letter-spacing: -.01em; }
.float-card small { display: block; font-size: .67rem; color: var(--muted-2); }
.float-card--1 { top: -24px; left: -30px; }
.float-card--2 { bottom: 30px; right: -32px; }

.fc-ic {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
}
.fc-ic svg.lucide { width: 15px; height: 15px; }
.fc-ic--green { background: #ecfdf3; color: #0f9f63; }
.fc-ic--amber { background: #fff7ea; color: #c47b12; }

/* --------------------------------------------------------------------------
   7a. TRUST SECTION
-------------------------------------------------------------------------- */
.trust-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    padding: 46px 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
            radial-gradient(120% 140% at 100% 0%, rgba(37, 99, 235, .07), transparent 55%),
            #fff;
    box-shadow: var(--shadow-sm);
}
.trust-copy h2 {
    margin-top: 18px;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    letter-spacing: -.03em;
    line-height: 1.22;
}
.trust-copy p { margin-top: 14px; color: var(--muted); font-size: .965rem; }

.trust-list { display: grid; gap: 14px; }
.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-list li:hover { transform: translateX(4px); border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.ti {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--brand-50);
    color: var(--brand-600);
    flex: none;
}
.ti svg.lucide { width: 18px; height: 18px; }
.trust-list b { font-family: var(--font-display); font-size: .925rem; letter-spacing: -.01em; }
.trust-list p { margin-top: 2px; font-size: .845rem; color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   7b. PROBLEM CARDS
-------------------------------------------------------------------------- */
.problem-card h3 { font-size: 1.03rem; }

/* --------------------------------------------------------------------------
   7c. FEATURES
-------------------------------------------------------------------------- */
.feature-card { display: flex; flex-direction: column; }

.card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.25fr .9fr;
    gap: 40px;
    align-items: center;
    padding: 36px 38px;
    background:
            radial-gradient(110% 160% at 100% 0%, rgba(37, 99, 235, .08), transparent 60%),
            #fff;
}
.feature-wide-copy h3 { margin-top: 16px; }
.tick-list--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.feature-wide-visual {
    padding: 20px 22px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fbfcff, #fff);
    box-shadow: var(--shadow-xs);
}

.ui-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 108px;
}
.ui-bars span {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--brand-500), #93b8ff);
}
.ui-bars--tall { height: 148px; }

/* --------------------------------------------------------------------------
   7d. PRODUCT SHOWCASE
-------------------------------------------------------------------------- */
.showcase { max-width: 1040px; margin-inline: auto; }

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    margin-bottom: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 17px;
    border-radius: var(--radius-full);
    font-size: .875rem;
    font-weight: 600;
    color: var(--muted);
    transition: color .2s ease, background-color .2s ease, box-shadow .25s var(--ease);
}
.tab svg.lucide { width: 16px; height: 16px; }
.tab:hover { color: var(--ink); background: var(--surface-2); }
.tab.is-active {
    color: #fff;
    background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
    box-shadow: 0 10px 20px -12px rgba(37, 99, 235, .9);
}

.panel-wrap { position: relative; }
.panel[hidden] { display: none; }

.app-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.app-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--surface-2);
}
.app-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #dfe5ee; }
.app-bar .dot:nth-child(1) { background: #ffcdc9; }
.app-bar .dot:nth-child(2) { background: #ffe6b8; }
.app-bar .dot:nth-child(3) { background: #c6ecd4; }
.app-url {
    margin-left: 10px;
    padding: 3px 12px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    background: #fff;
    font-size: .7rem;
    color: var(--muted-2);
}

.app-body { display: grid; gap: 14px; padding: 22px; }

.ui-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ui-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ui-tile {
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #fbfcff, #fff);
}
.ui-tile span { display: block; font-size: .72rem; font-weight: 600; color: var(--muted-2); }
.ui-tile b { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -.02em; }

.ui-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.ui-split--billing { grid-template-columns: 1.5fr 1fr; }

.ui-card {
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: #fff;
}
.ui-card h5 {
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--ink-2);
}
.ui-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.ui-card-head h5 { margin-bottom: 0; }
.ui-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    background: var(--surface-2);
    font-size: .74rem;
    color: var(--muted-2);
}
.ui-search svg.lucide { width: 13px; height: 13px; }

.ui-table { display: grid; gap: 2px; }
.ui-tr {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: .82rem;
    color: var(--ink-2);
}
.ui-tr--4 { grid-template-columns: 2fr 1.1fr .8fr .6fr; }
.ui-tr--3 { grid-template-columns: 2fr 1fr 1fr; }
.ui-tr:not(.ui-th):nth-child(odd) { background: var(--surface-2); }
.ui-th {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted-2);
    background: transparent !important;
}

.ui-list { display: grid; gap: 10px; }
.ui-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .82rem;
    color: var(--muted);
}
.ui-list li em { font-style: normal; font-weight: 600; color: var(--ink-2); }
.ui-list--plain li { padding-bottom: 10px; border-bottom: 1px dashed var(--border-soft); }
.ui-list--plain li:last-child { padding-bottom: 0; border-bottom: 0; }

.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    font-size: .68rem;
    font-weight: 700;
    font-style: normal;
    white-space: nowrap;
}
.badge--ok { background: #ecfdf3; color: #0f9f63; }
.badge--warn { background: #fff7ea; color: #c47b12; }

.ui-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-soft);
    font-size: .86rem;
    font-weight: 600;
    color: var(--muted);
}
.ui-total b { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }

.ui-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.chip {
    padding: 6px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: .76rem;
    font-weight: 600;
    color: var(--muted);
    background: #fff;
}
.chip.is-on { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-700); }

.ui-note { margin-top: 12px; font-size: .78rem; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   7e. HOW IT WORKS
-------------------------------------------------------------------------- */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-200) 12%, var(--brand-200) 88%, transparent);
    z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border: 1px solid var(--brand-100);
    border-radius: 16px;
    background: #fff;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 800;
    color: var(--brand-600);
    box-shadow: 0 10px 24px -16px rgba(37, 99, 235, .9);
    transition: transform .3s var(--ease), background-color .3s ease, color .3s ease;
}
.step:hover .step-num {
    transform: translateY(-4px);
    background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
    border-color: transparent;
    color: #fff;
}
.step h3 { font-size: 1.02rem; }
.step p { margin-top: 8px; font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   7f. BENEFITS / AUDIENCE
-------------------------------------------------------------------------- */
.benefit-card h3 { font-size: 1rem; }
.audience-card { text-align: left; }
.audience-card h3 { font-size: 1rem; }

/* --------------------------------------------------------------------------
   7g. COMPARE
-------------------------------------------------------------------------- */
.compare {
    max-width: 980px;
    margin-inline: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.compare-head,
.compare-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.3fr;
    gap: 18px;
    align-items: center;
    padding: 20px 28px;
}
.compare-head {
    background: linear-gradient(180deg, #f9fbff, #fff);
    border-bottom: 1px solid var(--border-soft);
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.compare-head .is-brand { color: var(--brand-700); }
.compare-row { border-bottom: 1px solid var(--border-soft); }
.compare-row:last-child { border-bottom: 0; }
.compare-row:hover { background: #fcfdff; }

.compare-label {
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink-2);
}
.compare-cell { font-size: .885rem; color: var(--muted); }
.compare-cell.is-brand {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ink-2);
    font-weight: 500;
}
.compare-cell.is-brand svg.lucide {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: #0f9f63;
    flex: none;
}

/* --------------------------------------------------------------------------
   7h. FAQ
-------------------------------------------------------------------------- */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item:hover { border-color: var(--brand-200); }
.faq-item.is-open { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 19px 22px;
    text-align: left;
    font-family: var(--font-display);
    font-size: .97rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
}
.faq-q svg.lucide {
    width: 19px;
    height: 19px;
    color: var(--brand-600);
    transition: transform .35s var(--ease);
    flex: none;
}
.faq-item.is-open .faq-q svg.lucide { transform: rotate(180deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s var(--ease), opacity .3s ease;
}
.faq-item.is-open .faq-a { opacity: 1; }
.faq-a p {
    padding: 0 22px 20px;
    font-size: .92rem;
    color: var(--muted);
    line-height: 1.68;
}

/* --------------------------------------------------------------------------
   7i. FINAL CTA
-------------------------------------------------------------------------- */
.cta {
    position: relative;
    padding: 72px 40px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 48%, #3b82f6 100%);
    box-shadow: 0 40px 80px -40px rgba(37, 99, 235, .85);
    overflow: hidden;
    text-align: center;
}
.cta-glow {
    position: absolute;
    inset: -40% -10% auto auto;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 65%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; }
.cta h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    letter-spacing: -.03em;
}
.cta p {
    margin-top: 16px;
    color: rgba(255, 255, 255, .86);
    font-size: 1.03rem;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

/* --------------------------------------------------------------------------
   7j. FOOTER
-------------------------------------------------------------------------- */
.footer {
    padding-top: 72px;
    border-top: 1px solid var(--border-soft);
    background: linear-gradient(180deg, #fff, #f7f9fd);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}
.footer-brand p {
    margin-top: 18px;
    max-width: 30rem;
    font-size: .89rem;
    color: var(--muted);
    line-height: 1.68;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.footer-col ul { margin-top: 16px; display: grid; gap: 11px; }
.footer-col a {
    font-size: .89rem;
    color: var(--muted);
    transition: color .2s ease, padding-left .2s ease;
}
.footer-col a:hover { color: var(--brand-700); padding-left: 3px; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 22px;
    border-top: 1px solid var(--border-soft);
    font-size: .84rem;
    color: var(--muted-2);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { transition: color .2s ease; }
.footer-legal a:hover { color: var(--brand-700); }

/* ==========================================================================
   ShopEase — responsive.css
   Mobile-first refinements, tablet and phone layouts.
   Loaded last so it overrides style.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Large laptops / small desktops
-------------------------------------------------------------------------- */
@media (max-width: 1120px) {
    .hero-inner { gap: 40px; }
    .float-card--1 { left: -14px; }
    .float-card--2 { right: -14px; }
    .trust-card { padding: 38px; gap: 36px; }
    .footer-grid { gap: 32px; }
}

/* --------------------------------------------------------------------------
   Tablets landscape
-------------------------------------------------------------------------- */
@media (max-width: 980px) {
    :root { --section-y: 84px; }

    /* --- Navigation --- */
    .nav-links,
    .nav-actions { display: none; }

    .nav-toggle { display: grid; }

    .mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        border-top: 1px solid transparent;
        background: #fff;
        transition: max-height .42s var(--ease), border-color .3s ease;
    }
    .nav.is-open .mobile-menu {
        max-height: 520px;
        border-top-color: var(--border-soft);
        box-shadow: 0 24px 40px -30px rgba(11, 18, 32, .45);
    }
    .mobile-links {
        display: grid;
        gap: 2px;
        padding: 16px var(--gutter) 4px;
    }
    .mobile-links a {
        padding: 13px 14px;
        border-radius: var(--radius-sm);
        font-size: .96rem;
        font-weight: 500;
        color: var(--muted);
        transition: background-color .2s ease, color .2s ease;
    }
    .mobile-links a:hover,
    .mobile-links a:focus-visible { background: var(--brand-50); color: var(--brand-700); }

    .mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 14px var(--gutter) 22px;
    }

    /* When the menu is open, always show the solid bar */
    .nav.is-open {
        background: #fff;
        border-bottom-color: var(--border-soft);
    }
    .nav.is-open .tg-open { display: none; }
    .nav.is-open .tg-close { display: grid; }

    /* --- Hero --- */
    .hero { padding-block: 46px 72px; }
    .hero-inner { grid-template-columns: 1fr; gap: 56px; }
    .hero-copy { max-width: 640px; }
    .hero .lead { max-width: 100%; }
    .mockup {margin-inline: auto; }
    .float-card--1 { left: -10px; top: -20px; }
    .float-card--2 { right: -10px; bottom: 18px; }

    /* --- Trust --- */
    .trust-card { grid-template-columns: 1fr; gap: 32px; }

    /* --- Grids --- */
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* --- Features wide card --- */
    .card--wide { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
    .feature-wide-visual { order: -1; }
    .ui-bars--tall { height: 120px; }

    /* --- Steps --- */
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    .steps::before { display: none; }

    /* --- Showcase --- */
    .ui-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ui-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    /* --- Footer --- */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Tablets portrait / large phones
-------------------------------------------------------------------------- */
@media (max-width: 760px) {
    :root { --section-y: 72px; --gutter: 20px; }

    .sec-head { margin-bottom: 40px; }
    .sec-head p { font-size: .975rem; }

    /* --- Hero --- */
    .hero { padding-block: 40px 60px; }
    .hero-cta { gap: 10px; }
    .hero-cta .btn { flex: 1 1 auto; }
    .hero-points { gap: 8px 18px; margin-top: 26px; }
    .float-card { display: none; }

    /* --- Grids --- */
    .grid--3 { grid-template-columns: 1fr; gap: 16px; }
    .card { padding: 24px 22px; }

    /* --- Steps: vertical timeline --- */
    .steps { grid-template-columns: 1fr; gap: 0; }
    .step {
        position: relative;
        padding: 0 0 30px 68px;
    }
    .step:last-child { padding-bottom: 0; }
    .step::before {
        content: "";
        position: absolute;
        left: 25px;
        top: 52px;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, var(--brand-200), rgba(188, 210, 255, .15));
    }
    .step:last-child::before { display: none; }
    .step-num {
        position: absolute;
        left: 0;
        top: 0;
        margin-bottom: 0;
        width: 52px;
        height: 52px;
    }

    /* --- Trust --- */
    .trust-card { padding: 28px 22px; border-radius: var(--radius-lg); }
    .trust-list li { padding: 14px 15px; }

    /* --- Compare: stacked cards --- */
    .compare { border: 0; background: transparent; box-shadow: none; overflow: visible; }
    .compare-head { display: none; }
    .compare-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow-xs);
    }
    .compare-row:last-child { margin-bottom: 0; }
    .compare-cell { font-size: .87rem; }
    .compare-cell.is-brand {
        padding: 12px 14px;
        border: 1px solid #dbe8ff;
        border-radius: var(--radius-sm);
        background: var(--brand-50);
        font-size: .86rem;
    }

    /* --- Showcase --- */
    .tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 6px;
        border-radius: var(--radius);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tabs::-webkit-scrollbar { display: none; }
    .tab { padding: 9px 14px; font-size: .82rem; }

    .app-body { padding: 16px; gap: 12px; }
    .ui-split,
    .ui-split--billing { grid-template-columns: 1fr; }
    .ui-tiles,
    .ui-tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ui-tr { font-size: .78rem; gap: 8px; padding: 9px 10px; }
    .ui-tr--4 { grid-template-columns: 1.6fr .9fr .7fr .55fr; }
    .ui-tr--3 { grid-template-columns: 1.5fr 1fr .9fr; }

    /* --- CTA --- */
    .cta { padding: 52px 24px; border-radius: var(--radius-lg); }
    .cta-actions .btn { flex: 1 1 auto; }

    /* --- Footer --- */
    .footer { padding-top: 56px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* --------------------------------------------------------------------------
   Small phones
-------------------------------------------------------------------------- */
@media (max-width: 520px) {
    :root { --gutter: 16px; }

    body { font-size: 15px; }

    .brand { font-size: 1.08rem; }
    .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
    .brand-mark svg.lucide { width: 18px; height: 18px; }

    .nav-inner { height: 60px; }

    .nav-inner img{ width: 120px }

    .hero { padding-block: 40px 52px; }
    .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.4rem); }
    .hero .lead { font-size: .975rem; }
    .hero-cta .btn { width: 100%; flex: 1 1 100%; }
    .eyebrow { font-size: .72rem; padding: 6px 12px; }

    .mockup-body { padding: 14px; }
    .mk-stats { gap: 8px; }
    .mk-stat { padding: 10px 11px; }
    .mk-stat strong { font-size: .95rem; }
    .mk-mid { grid-template-columns: 1fr; }
    .mk-chart-svg { height: 64px; }

    .card { padding: 22px 18px; }
    .card--wide { padding: 24px 18px; }
    .tick-list--inline { grid-template-columns: 1fr; }

    .tabs { border-radius: var(--radius-sm); }
    .app-body { padding: 12px; }
    .ui-tiles,
    .ui-tiles--3 { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ui-tile { padding: 11px 12px; }
    .ui-tile b { font-size: .95rem; }
    .ui-card { padding: 14px; }
    .ui-card-head { flex-direction: column; align-items: flex-start; }

    .faq-q { padding: 16px 17px; font-size: .92rem; }
    .faq-a p { padding: 0 17px 17px; font-size: .885rem; }

    .cta { padding: 44px 18px; }
    .cta-actions { gap: 10px; }
    .cta-actions .btn { width: 100%; flex: 1 1 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-legal { flex-direction: column; gap: 8px; }
}

/* --------------------------------------------------------------------------
   Very small screens
-------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .ui-tr--4 { grid-template-columns: 1fr 1fr; }
    .ui-tr--4 > span:nth-child(2) { display: none; }
    .ui-tr--3 { grid-template-columns: 1.4fr 1fr; }
    .ui-tr--3 > span:nth-child(2) { display: none; }
}

/* --------------------------------------------------------------------------
   Large screens — a little extra breathing room
-------------------------------------------------------------------------- */
@media (min-width: 1440px) {
    :root { --max: 1280px; }
}
