/* ==========================================================================
   Stellio — SaaS & AI Startup Template
   Built on Bootstrap 5.3. This file only adds the Stellio look on top.
   --------------------------------------------------------------------------
   1. Fonts            6. Navbar & footer      11. Pricing
   2. Theme tokens     7. Sections & titles    12. Testimonials, FAQ, CTA
   3. Demo themes      8. Buttons & badges     13. Product mockups (CSS)
   4. Base             9. Cards & icons        14. Animations
   5. Utilities       10. Logos, stats, steps  15. Pages (auth, blog, docs)
   ========================================================================== */

/* 1. Fonts (self-hosted, no Google Fonts request) ------------------------- */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

/* 2. Theme tokens --------------------------------------------------------- */
:root {
  --st-primary: #5b4cf0;
  --st-primary-rgb: 91, 76, 240;
  --st-accent: #22c1ee;
  --st-accent-rgb: 34, 193, 238;
  --st-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --st-font-head: "Plus Jakarta Sans", var(--st-font);
  --st-radius: 1rem;
  --st-radius-lg: 1.5rem;
  --st-bg: #ffffff;
  --st-bg-soft: #f6f7fb;
  --st-surface: #ffffff;
  --st-border: #e7e9f2;
  --st-text: #101326;
  --st-muted: #5f6680;
  --st-faint: #9aa0b6;
  --st-shadow: 0 1px 2px rgba(16, 19, 38, .04), 0 12px 32px -12px rgba(16, 19, 38, .14);
  --st-shadow-lg: 0 30px 80px -24px rgba(16, 19, 38, .28);
  --st-nav-h: 76px;

}
:root, [class*="theme-"] {
  /* Derived tokens. Re-declared on every theme class so they pick up the theme colors. */
  --st-grad: linear-gradient(135deg, var(--st-primary), var(--st-accent));
  --bs-primary: var(--st-primary);
  --bs-primary-rgb: var(--st-primary-rgb);
  --bs-link-color: var(--st-primary);
  --bs-link-color-rgb: var(--st-primary-rgb);
  --bs-link-hover-color: var(--st-primary);
  --bs-body-font-family: var(--st-font);
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: var(--st-radius);
  --bs-focus-ring-color: rgba(var(--st-primary-rgb), .3);
}
:root { --bs-body-color: var(--st-text); --bs-body-bg: var(--st-bg); --bs-border-color: var(--st-border); --bs-secondary-color: var(--st-muted); --bs-emphasis-color: var(--st-text); }
[data-bs-theme="dark"] {
  --st-bg: #0a0b14;
  --st-bg-soft: #10121f;
  --st-surface: #131526;
  --st-border: #23263a;
  --st-text: #eef0fa;
  --st-muted: #a2a7c0;
  --st-faint: #6b7090;
  --st-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --st-shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .8);
  --bs-body-color: var(--st-text);
  --bs-body-bg: var(--st-bg);
  --bs-border-color: var(--st-border);
  --bs-secondary-color: var(--st-muted);
  --bs-emphasis-color: #fff;
  --bs-tertiary-bg: var(--st-bg-soft);
}

/* 3. Demo themes (set on <body class="theme-…">) ------------------------------ */
.theme-ai        { --st-primary: #6d4cff; --st-primary-rgb: 109, 76, 255;  --st-accent: #ff5fb2; --st-accent-rgb: 255, 95, 178; --st-font-head: "Plus Jakarta Sans", var(--st-font); }
.theme-analytics { --st-primary: #2563eb; --st-primary-rgb: 37, 99, 235;   --st-accent: #06b6d4; --st-accent-rgb: 6, 182, 212;   --st-font-head: "Inter", var(--st-font); }
.theme-builder   { --st-primary: #0d9488; --st-primary-rgb: 13, 148, 136;  --st-accent: #84cc16; --st-accent-rgb: 132, 204, 22;  --st-font-head: "Sora", var(--st-font); }
.theme-support   { --st-primary: #16a34a; --st-primary-rgb: 22, 163, 74;   --st-accent: #0ea5e9; --st-accent-rgb: 14, 165, 233;  --st-font-head: "Manrope", var(--st-font); }
.theme-fintech   { --st-primary: #a3e635; --st-primary-rgb: 163, 230, 53;  --st-accent: #22d3ee; --st-accent-rgb: 34, 211, 238;  --st-font-head: "Space Grotesk", var(--st-font); --st-on-primary: #0b1205; }
.theme-devtools  { --st-primary: #22d3ee; --st-primary-rgb: 34, 211, 238;  --st-accent: #a78bfa; --st-accent-rgb: 167, 139, 250; --st-font-head: "Space Grotesk", var(--st-font); --st-on-primary: #041317; }
.theme-crm       { --st-primary: #e11d74; --st-primary-rgb: 225, 29, 116;  --st-accent: #f97316; --st-accent-rgb: 249, 115, 22;  --st-font-head: "Sora", var(--st-font); }
.theme-marketing { --st-primary: #f59e0b; --st-primary-rgb: 245, 158, 11;  --st-accent: #ef4444; --st-accent-rgb: 239, 68, 68;   --st-font-head: "Plus Jakarta Sans", var(--st-font); --st-on-primary: #1f1300; }
.theme-hr        { --st-primary: #4f46e5; --st-primary-rgb: 79, 70, 229;   --st-accent: #14b8a6; --st-accent-rgb: 20, 184, 166;  --st-font-head: "Manrope", var(--st-font); }
.theme-security  { --st-primary: #10b981; --st-primary-rgb: 16, 185, 129;  --st-accent: #3b82f6; --st-accent-rgb: 59, 130, 246;  --st-font-head: "Space Grotesk", var(--st-font); --st-on-primary: #02130d; }

/* 4. Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--st-nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--st-font); color: var(--st-text); background: var(--st-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 { font-family: var(--st-font-head); font-weight: 700; letter-spacing: -.025em; color: var(--bs-emphasis-color); }
.display-3, .display-4 { font-weight: 800; letter-spacing: -.035em; }
.lead { color: var(--st-muted); font-size: 1.15rem; line-height: 1.65; }
a { text-decoration: none; }
::selection { background: rgba(var(--st-primary-rgb), .22); }
:focus-visible { outline: 3px solid rgba(var(--st-primary-rgb), .45); outline-offset: 2px; }
img, svg { max-width: 100%; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--st-primary); color: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

/* 5. Utilities -------------------------------------------------------------- */
.text-gradient { background: var(--st-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-muted-st { color: var(--st-muted) !important; }
.text-faint { color: var(--st-faint) !important; }
.bg-soft { background: var(--st-bg-soft) !important; }
.bg-primary-soft { background: rgba(var(--st-primary-rgb), .08) !important; }
.border-st { border: 1px solid var(--st-border) !important; }
.rounded-st { border-radius: var(--st-radius) !important; }
.rounded-st-lg { border-radius: var(--st-radius-lg) !important; }
.shadow-st { box-shadow: var(--st-shadow) !important; }
.shadow-st-lg { box-shadow: var(--st-shadow-lg) !important; }
.fw-800 { font-weight: 800 !important; }
.fs-sm { font-size: .875rem !important; }
.fs-xs { font-size: .78rem !important; }
.mw-560 { max-width: 560px; } .mw-640 { max-width: 640px; } .mw-720 { max-width: 720px; } .mw-820 { max-width: 820px; }
.grid-bg { background-image: linear-gradient(rgba(var(--st-primary-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--st-primary-rgb), .07) 1px, transparent 1px); background-size: 44px 44px; }
.dot-bg { background-image: radial-gradient(rgba(var(--st-primary-rgb), .18) 1px, transparent 1px); background-size: 22px 22px; }
.mask-fade { -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0; }
.blob-1 { width: 520px; height: 520px; background: rgba(var(--st-primary-rgb), .55); }
.blob-2 { width: 420px; height: 420px; background: rgba(var(--st-accent-rgb), .45); }
[data-bs-theme="dark"] .blob { opacity: .35; }
.z-1 { z-index: 1; position: relative; }
.divider { height: 1px; background: var(--st-border); }

/* 6. Navbar & footer ----------------------------------------------------------- */
.announce { background: var(--st-grad); color: #fff; font-size: .875rem; }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.navbar-st { height: var(--st-nav-h); transition: background .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.navbar-st.sticky-top { background: color-mix(in srgb, var(--st-bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.navbar-st.scrolled { border-bottom-color: var(--st-border); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.navbar-st .navbar-brand { font-family: var(--st-font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; display: flex; align-items: center; gap: .55rem; color: var(--bs-emphasis-color); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--st-grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(var(--st-primary-rgb), .7); flex: none; }
.brand-mark svg { width: 20px; height: 20px; }
.navbar-st .nav-link { font-weight: 500; color: var(--st-muted); padding: .5rem .85rem !important; border-radius: .6rem; }
.navbar-st .nav-link:hover, .navbar-st .nav-link.active, .navbar-st .show > .nav-link { color: var(--bs-emphasis-color); }
.navbar-st .dropdown-menu { border: 1px solid var(--st-border); border-radius: var(--st-radius); box-shadow: var(--st-shadow-lg); padding: .5rem; background: var(--st-surface); }
.navbar-st .dropdown-item { border-radius: .6rem; padding: .55rem .8rem; font-size: .925rem; }
.navbar-st .dropdown-item:hover { background: rgba(var(--st-primary-rgb), .08); color: var(--st-primary); }
.mega { min-width: 560px; }
.mega .dropdown-item { white-space: normal; }
.mega .dropdown-item small { display: block; color: var(--st-faint); font-size: .78rem; }
.theme-toggle { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--st-border); background: transparent; color: var(--st-muted); display: grid; place-items: center; }
.theme-toggle:hover { color: var(--bs-emphasis-color); }
.navbar-toggler { border: 0; padding: .5rem; } .navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .navbar-st .navbar-collapse { position: absolute; top: var(--st-nav-h); left: 0; right: 0; background: var(--st-bg); border-bottom: 1px solid var(--st-border); padding: 1rem 1.25rem 1.5rem; box-shadow: var(--st-shadow-lg); max-height: calc(100vh - var(--st-nav-h)); overflow-y: auto; }
  .mega { min-width: 0; }
}
.footer-st { border-top: 1px solid var(--st-border); background: var(--st-bg-soft); font-size: .95rem; }
.footer-st h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--st-faint); font-family: var(--st-font); font-weight: 700; }
.footer-st a { color: var(--st-muted); } .footer-st a:hover { color: var(--st-primary); }
.footer-st .list-unstyled li { margin-bottom: .6rem; }
.social a { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; border: 1px solid var(--st-border); color: var(--st-muted); }
.social a:hover { color: var(--st-primary); border-color: rgba(var(--st-primary-rgb), .4); }
.footer-dark { background: #0b0c17; color: #c9cce0; border-top: 0; }
.footer-dark h6 { color: #7d82a4; } .footer-dark a { color: #c9cce0; } .footer-dark .social a { border-color: #262a40; color: #c9cce0; }

/* 7. Sections & titles --------------------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--st-primary); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.12; margin-bottom: 1rem; }
.section-head { max-width: 720px; margin: 0 auto 3.25rem; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; margin-bottom: 1.4rem; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 620px; }
.hero-center { text-align: center; } .hero-center .lead { margin-inline: auto; }
.pill-link { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .5rem .35rem .4rem; border-radius: 99px; border: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-muted); font-size: .875rem; font-weight: 500; box-shadow: var(--st-shadow); margin-bottom: 1.6rem; }
.pill-link .badge { background: var(--st-grad); }
.pill-link:hover { color: var(--bs-emphasis-color); }
.avatars { display: flex; } .avatars img, .avatars .av { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--st-bg); margin-inline-start: -10px; } .avatars > :first-child { margin-inline-start: 0; }

/* 8. Buttons & badges ----------------------------------------------------------- */
.btn { font-weight: 600; border-radius: .8rem; padding: .7rem 1.25rem; transition: transform .15s, box-shadow .2s, background .2s, color .2s; }
.btn-lg { padding: .9rem 1.6rem; border-radius: .95rem; font-size: 1.02rem; }
.btn-sm { padding: .45rem .9rem; border-radius: .65rem; }
.btn-primary { --bs-btn-bg: var(--st-primary); --bs-btn-border-color: var(--st-primary); --bs-btn-hover-bg: var(--st-primary); --bs-btn-hover-border-color: var(--st-primary); --bs-btn-active-bg: var(--st-primary); --bs-btn-active-border-color: var(--st-primary); --bs-btn-color: var(--st-on-primary, #fff); --bs-btn-hover-color: var(--st-on-primary, #fff); --bs-btn-active-color: var(--st-on-primary, #fff); --bs-btn-disabled-bg: var(--st-primary); --bs-btn-disabled-border-color: var(--st-primary); box-shadow: 0 10px 24px -10px rgba(var(--st-primary-rgb), .75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(var(--st-primary-rgb), .8); filter: brightness(1.05); }
.btn-gradient { background: var(--st-grad); color: #fff; border: 0; box-shadow: 0 12px 28px -12px rgba(var(--st-primary-rgb), .8); }
.btn-gradient:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); }
.btn-outline-st { border: 1px solid var(--st-border); color: var(--bs-emphasis-color); background: var(--st-surface); }
.btn-outline-st:hover { border-color: rgba(var(--st-primary-rgb), .5); color: var(--st-primary); transform: translateY(-2px); }
.btn-ghost { color: var(--bs-emphasis-color); } .btn-ghost:hover { color: var(--st-primary); }
.btn-white { background: #fff; color: #101326; } .btn-white:hover { background: #fff; color: var(--st-primary); transform: translateY(-2px); }
.badge-soft { background: rgba(var(--st-primary-rgb), .1); color: var(--st-primary); font-weight: 600; border-radius: 99px; padding: .45em .85em; }
[data-bs-theme="dark"] .badge-soft { background: rgba(var(--st-primary-rgb), .18); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s; } .link-arrow:hover i { transform: translateX(4px); }

/* 9. Cards & icons ----------------------------------------------------------------- */
.card-st { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); padding: 1.75rem; height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.card-st.hover:hover, a.card-st:hover { transform: translateY(-6px); box-shadow: var(--st-shadow-lg); border-color: rgba(var(--st-primary-rgb), .35); }
a.card-st { color: inherit; display: block; }
.card-st h3, .card-st h4, .card-st h5 { font-size: 1.15rem; margin-bottom: .55rem; }
.card-st p { color: var(--st-muted); margin-bottom: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; background: rgba(var(--st-primary-rgb), .1); color: var(--st-primary); margin-bottom: 1.2rem; flex: none; }
.icon-box.grad { background: var(--st-grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(var(--st-primary-rgb), .8); }
.icon-box.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 1.1rem; margin-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .75rem; color: var(--st-muted); }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .1rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: rgba(var(--st-primary-rgb), .12); color: var(--st-primary); }
.check-list strong { color: var(--bs-emphasis-color); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; } .bento .span-4 { grid-column: span 4; } .bento .span-6 { grid-column: span 6; }
@media (max-width: 991.98px) { .bento { grid-template-columns: 1fr 1fr; } .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 1; } .bento .span-6, .bento .span-4 { grid-column: span 2; } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento .span-6, .bento .span-4 { grid-column: span 1; } }
.bento .card-st { overflow: hidden; }
.feature-tabs .nav-link { text-align: start; border-radius: var(--st-radius); padding: 1.1rem 1.2rem; color: var(--st-muted); border: 1px solid transparent; display: flex; gap: 1rem; width: 100%; }
.feature-tabs .nav-link.active { background: var(--st-surface); border-color: var(--st-border); box-shadow: var(--st-shadow); color: var(--st-muted); }
.feature-tabs .nav-link b { display: block; color: var(--bs-emphasis-color); font-size: 1.02rem; margin-bottom: .2rem; }

/* 10. Logos, stats, steps ----------------------------------------------------------- */
.logo-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3rem; }
.logo-cloud .logo, .marquee .logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--st-faint); font-family: var(--st-font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; opacity: .9; filter: grayscale(1); transition: color .2s, filter .2s; white-space: nowrap; }
.logo-cloud .logo:hover { color: var(--bs-emphasis-color); filter: none; }
.logo i { font-size: 1.45rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: st-marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes st-marquee { to { transform: translateX(-50%); } }
.stat-num { font-family: var(--st-font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat-label { color: var(--st-muted); margin-top: .5rem; }
.stats-band { background: var(--st-grad); color: #fff; border-radius: var(--st-radius-lg); }
.stats-band .stat-label { color: rgba(255, 255, 255, .82); }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--st-grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--st-primary-rgb), .7); flex: none; }
.steps-line { position: relative; }
@media (min-width: 992px) { .steps-line::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(var(--st-primary-rgb), .35) 0 8px, transparent 8px 16px); } }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .4rem; bottom: 0; width: 2px; background: var(--st-border); }
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item::before { content: ""; position: absolute; left: -1.85rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--st-bg); border: 3px solid var(--st-primary); }

/* 11. Pricing ------------------------------------------------------------------------ */
.billing-switch { display: inline-flex; align-items: center; gap: .9rem; padding: .35rem; border-radius: 99px; background: var(--st-bg-soft); border: 1px solid var(--st-border); }
.billing-switch button { border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 99px; font-weight: 600; color: var(--st-muted); }
.billing-switch button.active { background: var(--st-surface); color: var(--bs-emphasis-color); box-shadow: var(--st-shadow); }
.price-card { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); padding: 2rem; height: 100%; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--st-shadow-lg); }
.price-card.featured { border: 2px solid var(--st-primary); box-shadow: 0 30px 60px -30px rgba(var(--st-primary-rgb), .55); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--st-grad); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .85rem; border-radius: 99px; white-space: nowrap; }
.price { font-family: var(--st-font-head); font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--st-muted); letter-spacing: 0; }
.price-card .check-list { margin: 1.5rem 0 2rem; flex: 1; }
.compare-table th, .compare-table td { padding: 1rem; vertical-align: middle; }
.compare-table thead th { position: sticky; top: var(--st-nav-h); background: var(--st-bg); z-index: 1; }
.compare-table .bi-check-circle-fill { color: var(--st-primary); }
.compare-table .bi-dash { color: var(--st-faint); }

/* 12. Testimonials, FAQ, CTA -------------------------------------------------------- */
.testimonial { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: var(--st-radius-lg); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; gap: 1.2rem; }
.testimonial blockquote { margin: 0; color: var(--bs-emphasis-color); font-size: 1.02rem; line-height: 1.65; flex: 1; }
.stars { color: #fbbf24; letter-spacing: 2px; }
.person { display: flex; align-items: center; gap: .8rem; }
.person b { display: block; color: var(--bs-emphasis-color); line-height: 1.2; } .person small { color: var(--st-faint); }
.av { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem; flex: none; background: var(--st-grad); }
.quote-big { font-family: var(--st-font-head); font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--bs-emphasis-color); }
.masonry { columns: 3 300px; column-gap: 1.25rem; } .masonry .testimonial { break-inside: avoid; margin-bottom: 1.25rem; height: auto; }
.carousel-st .carousel-indicators { position: static; margin: 2rem 0 0; } .carousel-st .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--st-primary); border: 0; }
.accordion-st .accordion-item { border: 1px solid var(--st-border); border-radius: var(--st-radius) !important; margin-bottom: .85rem; overflow: hidden; background: var(--st-surface); }
.accordion-st .accordion-button { font-weight: 600; font-size: 1.05rem; padding: 1.25rem 1.4rem; background: transparent; color: var(--bs-emphasis-color); box-shadow: none; }
.accordion-st .accordion-button:not(.collapsed) { color: var(--st-primary); }
.accordion-st .accordion-body { color: var(--st-muted); padding: 0 1.4rem 1.4rem; }
.cta-band { background: var(--st-grad); border-radius: var(--st-radius-lg); color: #fff; position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-band h2 { color: #fff; } .cta-band p { color: rgba(255, 255, 255, .85); }
.cta-dark { background: #0b0c17; color: #fff; border-radius: var(--st-radius-lg); position: relative; overflow: hidden; }
.cta-dark h2 { color: #fff; } .cta-dark p { color: #a8acc8; }
.newsletter { display: flex; gap: .5rem; padding: .4rem; border: 1px solid var(--st-border); border-radius: 1rem; background: var(--st-surface); max-width: 480px; }
.newsletter input { border: 0; background: transparent; flex: 1; padding: .5rem .9rem; min-width: 0; color: var(--bs-emphasis-color); }
.newsletter input:focus { outline: 0; }
.form-control, .form-select { border-radius: .8rem; padding: .75rem 1rem; border-color: var(--st-border); background-color: var(--st-surface); }
.form-control:focus, .form-select:focus { border-color: rgba(var(--st-primary-rgb), .6); box-shadow: 0 0 0 .25rem rgba(var(--st-primary-rgb), .15); }
.form-check-input:checked { background-color: var(--st-primary); border-color: var(--st-primary); }
.form-label { font-weight: 600; font-size: .9rem; }

/* 13. Product mockups (pure HTML/CSS — recolor automatically with the theme) ---------- */
.mock { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 1.1rem; box-shadow: var(--st-shadow-lg); overflow: hidden; text-align: start; font-size: .8rem; color: var(--st-muted); position: relative; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--st-border); background: var(--st-bg-soft); }
.mock-bar i.d { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .mock-bar i.d:nth-child(2) { background: #febc2e; } .mock-bar i.d:nth-child(3) { background: #28c840; }
.mock-bar .url { margin-inline-start: .8rem; flex: 1; max-width: 320px; height: 22px; border-radius: 7px; background: var(--st-surface); border: 1px solid var(--st-border); font-size: .7rem; display: flex; align-items: center; padding: 0 .6rem; color: var(--st-faint); }
.mock-body { display: flex; min-height: 300px; }
.mock-side { width: 150px; border-inline-end: 1px solid var(--st-border); padding: .9rem .7rem; display: flex; flex-direction: column; gap: .35rem; flex: none; }
.mock-side .it { display: flex; align-items: center; gap: .5rem; padding: .4rem .55rem; border-radius: .55rem; white-space: nowrap; }
.mock-side .it.on { background: rgba(var(--st-primary-rgb), .1); color: var(--st-primary); font-weight: 600; }
.mock-main { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock-kpi { border: 1px solid var(--st-border); border-radius: .75rem; padding: .65rem .75rem; }
.mock-kpi b { display: block; font-size: 1.15rem; color: var(--bs-emphasis-color); font-family: var(--st-font-head); }
.mock-kpi .up { color: #16a34a; font-weight: 600; font-size: .7rem; }
.mock-chart { border: 1px solid var(--st-border); border-radius: .75rem; padding: .7rem; flex: 1; min-height: 130px; display: flex; flex-direction: column; }
.mock-chart svg { width: 100%; flex: 1; min-height: 110px; }
.bars { display: flex; align-items: flex-end; gap: 6%; height: 110px; padding-top: .5rem; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(var(--st-primary-rgb), .22); }
.bars span.hi { background: var(--st-grad); }
.line { height: 8px; border-radius: 6px; background: var(--st-border); }
.line.w-40 { width: 40%; } .line.w-60 { width: 60%; } .line.w-75 { width: 75%; } .line.w-90 { width: 90%; }
.mock-row { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px dashed var(--st-border); } .mock-row:last-child { border-bottom: 0; }
.mock-chip { font-size: .66rem; font-weight: 700; padding: .15rem .5rem; border-radius: 99px; background: rgba(var(--st-primary-rgb), .12); color: var(--st-primary); white-space: nowrap; }
.mock-chip.g { background: rgba(22, 163, 74, .12); color: #16a34a; } .mock-chip.a { background: rgba(245, 158, 11, .14); color: #d97706; } .mock-chip.r { background: rgba(239, 68, 68, .12); color: #dc2626; }
.dotav { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--st-grad); color: #fff; display: grid; place-items: center; font-size: .6rem; font-weight: 700; }
.msg { max-width: 82%; padding: .6rem .85rem; border-radius: 1rem; line-height: 1.45; font-size: .8rem; }
.msg.me { margin-inline-start: auto; background: var(--st-primary); color: var(--st-on-primary, #fff); border-end-end-radius: .3rem; }
.msg.bot { background: var(--st-bg-soft); color: var(--bs-emphasis-color); border: 1px solid var(--st-border); border-end-start-radius: .3rem; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--st-faint); margin: 0 1px; animation: st-blink 1.2s infinite; } .typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes st-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.mock-input { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--st-border); border-radius: .8rem; padding: .55rem .7rem; margin-top: auto; }
.code { background: #0b0d18; color: #d5d8f0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.75; padding: 1.1rem 1.2rem; white-space: pre; overflow-x: auto; }
.code .k { color: #c792ea; } .code .s { color: #a5e844; } .code .f { color: #82aaff; } .code .c { color: #646a8a; } .code .n { color: #f78c6c; } .code .p { color: var(--st-primary); }
.mock.dark { background: #0b0d18; border-color: #1f2236; } .mock.dark .mock-bar { background: #0f1120; border-color: #1f2236; } .mock.dark .mock-bar .url { background: #15172a; border-color: #23263b; }
.float-card { position: absolute; background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 1rem; box-shadow: var(--st-shadow-lg); padding: .8rem 1rem; font-size: .8rem; z-index: 3; display: flex; align-items: center; gap: .7rem; white-space: nowrap; animation: st-float 6s ease-in-out infinite; }
.float-card b { display: block; color: var(--bs-emphasis-color); font-size: .95rem; }
.float-card.f2 { animation-delay: -2s; } .float-card.f3 { animation-delay: -4s; }
@keyframes st-float { 50% { transform: translateY(-10px); } }
@media (max-width: 767.98px) { .float-card { display: none; } .mock-side { display: none; } }
.mock-wrap { position: relative; }
.mock-glow { position: absolute; inset: 8% 6% -4%; background: var(--st-grad); filter: blur(60px); opacity: .35; z-index: -1; border-radius: 40px; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.kanban .col { background: var(--st-bg-soft); border-radius: .8rem; padding: .6rem; display: flex; flex-direction: column; gap: .5rem; }
.kanban .tk { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: .65rem; padding: .55rem .6rem; }
.kanban .tk b { display: block; color: var(--bs-emphasis-color); font-size: .78rem; margin-bottom: .2rem; }
.bank-card { width: 300px; max-width: 100%; aspect-ratio: 1.586; border-radius: 1.2rem; padding: 1.3rem; color: #0b1205; background: linear-gradient(135deg, var(--st-primary), var(--st-accent)); box-shadow: 0 30px 60px -20px rgba(var(--st-primary-rgb), .6); display: flex; flex-direction: column; justify-content: space-between; font-family: var(--st-font-head); position: relative; overflow: hidden; }
.bank-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -110px; background: rgba(255, 255, 255, .25); }
.bank-card .num { font-size: 1.15rem; letter-spacing: .12em; font-weight: 600; }
.shield { width: 220px; height: 250px; margin: auto; position: relative; display: grid; place-items: center; }
.shield .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(var(--st-primary-rgb), .35); animation: st-pulse 3.5s ease-out infinite; }
@keyframes st-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.org { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.org .row-o { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.org .node { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem .45rem .45rem; border: 1px solid var(--st-border); border-radius: 99px; background: var(--st-surface); box-shadow: var(--st-shadow); white-space: nowrap; }
.email-mock .blk { border: 2px dashed rgba(var(--st-primary-rgb), .35); border-radius: .7rem; padding: .7rem; }
.orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: auto; }
.orbit .ring { position: absolute; inset: 0; border: 1px dashed var(--st-border); border-radius: 50%; }
.orbit .ring.r2 { inset: 18%; } .orbit .ring.r3 { inset: 36%; }
.orbit .center { position: absolute; inset: 40%; border-radius: 26px; background: var(--st-grad); display: grid; place-items: center; color: #fff; font-size: 2rem; box-shadow: 0 20px 40px -12px rgba(var(--st-primary-rgb), .7); }
.orbit .sat { position: absolute; width: 56px; height: 56px; margin: -28px; border-radius: 16px; background: var(--st-surface); border: 1px solid var(--st-border); box-shadow: var(--st-shadow); display: grid; place-items: center; font-size: 1.5rem; }
.int-tile { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: var(--st-surface); height: 100%; transition: border-color .2s, transform .2s; }
.int-tile:hover { border-color: rgba(var(--st-primary-rgb), .4); transform: translateY(-3px); }
.int-logo { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; flex: none; }
.video-thumb { position: relative; border-radius: var(--st-radius-lg); overflow: hidden; cursor: pointer; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--st-primary); display: grid; place-items: center; font-size: 2rem; box-shadow: 0 0 0 12px rgba(255, 255, 255, .25); border: 0; transition: transform .2s; }
.video-thumb:hover .play-btn { transform: scale(1.08); }
.tour { aspect-ratio: 16/9; background: var(--st-bg-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.tour .slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: st-tour 12s infinite; padding: 2rem; text-align: center; }
.tour .slide:nth-child(2) { animation-delay: 4s; } .tour .slide:nth-child(3) { animation-delay: 8s; }
@keyframes st-tour { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }

/* 14. Animations ------------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } .marquee-track, .float-card, .shield .ring, .tour .slide { animation: none; } .tour .slide:first-child { opacity: 1; } }
.no-js [data-reveal] { opacity: 1; transform: none; }
.back-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--st-primary); color: var(--st-on-primary, #fff); box-shadow: var(--st-shadow-lg); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1030; }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* 15. Pages ------------------------------------------------------------------------------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: var(--st-grad); color: #fff; padding: 3rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-art h2 { color: #fff; }
.auth-form { display: grid; place-items: center; padding: 3rem 1.5rem; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }
.btn-social { border: 1px solid var(--st-border); background: var(--st-surface); color: var(--bs-emphasis-color); }
.btn-social:hover { border-color: rgba(var(--st-primary-rgb), .4); }
.post-cover { border-radius: var(--st-radius-lg); overflow: hidden; aspect-ratio: 16/9; display: block; }
.post-cover svg { width: 100%; height: 100%; display: block; }
.post-meta { color: var(--st-faint); font-size: .875rem; }
.article { font-size: 1.1rem; line-height: 1.8; color: var(--st-text); }
.article h2 { font-size: 1.7rem; margin: 2.4rem 0 1rem; } .article p { margin-bottom: 1.4rem; color: var(--st-muted); }
.article blockquote { border-left: 4px solid var(--st-primary); padding: .5rem 0 .5rem 1.4rem; font-size: 1.25rem; font-weight: 500; color: var(--bs-emphasis-color); margin: 2rem 0; }
.toc a { display: block; padding: .35rem 0; color: var(--st-muted); border-left: 2px solid var(--st-border); padding-left: 1rem; } .toc a:hover { color: var(--st-primary); border-color: var(--st-primary); }
.job { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: var(--st-surface); transition: border-color .2s, transform .2s; color: inherit; }
.job:hover { border-color: rgba(var(--st-primary-rgb), .45); transform: translateY(-2px); color: inherit; }
.countdown { display: flex; gap: 1rem; justify-content: center; }
.countdown div { min-width: 92px; padding: 1rem; border-radius: var(--st-radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.countdown b { display: block; font-size: 2.4rem; font-family: var(--st-font-head); line-height: 1; } .countdown span { font-size: .8rem; opacity: .8; }
.demo-card { display: block; border-radius: var(--st-radius-lg); overflow: hidden; border: 1px solid var(--st-border); background: var(--st-surface); transition: transform .3s, box-shadow .3s; color: inherit; }
.demo-card:hover { transform: translateY(-8px); box-shadow: var(--st-shadow-lg); color: inherit; }
.demo-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--st-bg-soft); position: relative; border-bottom: 1px solid var(--st-border); }
.demo-card .thumb iframe { width: 1440px; height: 900px; border: 0; transform: scale(var(--s, .27)); transform-origin: 0 0; pointer-events: none; }
.demo-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sec-label { position: sticky; top: var(--st-nav-h); z-index: 5; display: flex; align-items: center; gap: .6rem; padding: .5rem 1rem; background: color-mix(in srgb, var(--st-bg) 85%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--st-border); font-size: .8rem; font-weight: 700; color: var(--st-muted); }
.sec-label code { color: var(--st-primary); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; } .legal p, .legal li { color: var(--st-muted); line-height: 1.8; }

/* Bootstrap's g-5 gutter (3rem) is wider than the container padding on phones: tighten it */
@media (max-width: 575.98px) { .g-5, .gx-5 { --bs-gutter-x: 1.5rem; } .g-lg-5 { --bs-gutter-x: 1.5rem; } }
