/* =============================================
   iLovePDF — "Crimson Obsidian" by Stitch MCP
   Full Design Override
   ============================================= */

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

/* ================================================
   STITCH HEADER — exact match to design
   ================================================ */
.stitch-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 52px;
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stitch-nav {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 0;
}

/* Logo */
.stitch-logo {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 28px;
}

.stitch-logo__i {
  color: var(--primary);
  font-style: italic;
}

.stitch-logo__love {
  color: #fff;
}

.stitch-logo__pdf {
  color: #fff;
  font-weight: 900;
}

/* Nav links */
.stitch-nav__links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2px;
  flex: 1;
}

.stitch-nav__link {
  font-family: var(--font);
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(200, 196, 220, 0.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.stitch-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.stitch-nav__link--active {
  color: var(--primary) !important;
  background: rgba(232,23,11,0.08);
}

.stitch-nav__link--active:hover {
  background: rgba(232,23,11,0.14);
}

/* Hamburger (mobile) */
.stitch-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.stitch-nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(200,196,220,0.8);
  border-radius: 2px;
  transition: 0.2s;
}

/* Right actions */
.stitch-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stitch-btn-login {
  font-family: var(--font);
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(200,196,220,0.85);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.stitch-btn-login:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.stitch-btn-signup {
  font-family: var(--font);
  font-size: 0.83rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 8px;
  background: var(--primary);
  transition: all 0.22s ease;
  box-shadow: 0 2px 12px rgba(232,23,11,0.35);
}

.stitch-btn-signup:hover {
  background: #c9110a;
  box-shadow: 0 4px 18px rgba(232,23,11,0.5);
  transform: translateY(-1px);
}

/* ================================================
   STITCH FOOTER — exact match to design
   ================================================ */
.stitch-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font);
}

.stitch-footer__top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 28px 48px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
}

.stitch-footer__brand .stitch-logo--footer {
  font-size: 1.1rem;
  font-weight: 800;
}

.stitch-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.stitch-footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--on-bg);
  margin-bottom: 16px;
}

.stitch-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stitch-footer__col ul li {
  margin-bottom: 10px;
}

.stitch-footer__col ul li a {
  font-size: 0.84rem;
  color: var(--on-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.stitch-footer__col ul li a:hover {
  color: var(--primary);
}

/* Footer bottom bar */
.stitch-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stitch-footer__copy {
  font-size: 0.78rem;
  color: var(--on-muted);
  opacity: 0.65;
}

.stitch-footer__copy strong {
  color: var(--on-bg);
  opacity: 0.9;
}

.stitch-footer__social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stitch-footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--on-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
  text-decoration: none;
}

.stitch-footer__social-icon:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.12);
}

/* ================================================
   RESPONSIVE — TABLET (≤900px)
   ================================================ */
@media (max-width: 900px) {
  /* Nav: hide desktop links, show hamburger */
  .stitch-nav__links { display: none; }
  .stitch-nav__hamburger { display: flex; order: 3; }
  .stitch-nav__actions { order: 2; }
  .stitch-nav__actions .stitch-btn-login { display: none; }
  .stitch-logo { order: 1; flex: 1; }

  /* Footer */
  .stitch-footer__top { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
  .stitch-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ================================================
   RESPONSIVE — MOBILE (≤600px)
   ================================================ */
@media (max-width: 600px) {
  /* Prevent horizontal overflow */
  body { overflow-x: hidden !important; }
  .main, .stitch-footer, .stitch-trust { overflow-x: hidden !important; }

  /* Header */
  .stitch-header { height: 52px; }
  .stitch-nav { padding: 0 16px; gap: 0; }
  .stitch-logo { font-size: 1.05rem; margin-right: 0; }

  /* Hero */
  .home-title { padding: 64px 18px 40px !important; }
  .home-title__title { font-size: 1.75rem !important; letter-spacing: -0.03em !important; }
  .home-title__subtitle { font-size: 0.9rem !important; margin-bottom: 28px !important; }

  /* Hero CTA buttons — stack vertically */
  .hero-cta-group { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 4px; }
  .hero-btn { justify-content: center; padding: 13px 20px; font-size: 0.9rem; width: 100%; }

  /* Filter tags — wrap nicely */
  .tools { padding: 0 14px 60px !important; }
  .tools__filter { gap: 8px !important; }
  .tools__filter .tag { padding: 7px 14px !important; font-size: 0.8rem !important; }

  /* Tool cards — 1 column on very small screens */
  .tools__container { grid-template-columns: 1fr !important; gap: 12px !important; }
  .tools__item { padding: 18px 16px !important; }
  .tools__item__icon { width: 40px !important; height: 40px !important; }
  .tools__item__icon svg { width: 32px !important; height: 32px !important; }
  .tools__item h3 { font-size: 0.95rem !important; }

  /* Trust section */
  .stitch-trust__inner { padding: 44px 18px 36px; }
  .stitch-trust__title { font-size: 1.3rem; }
  .stitch-trust__badges { gap: 12px; }
  .stitch-trust__badge { min-width: 90px; padding: 14px 12px; }
  .stitch-trust__badge-img { height: 28px; }
  .stitch-trust__badge span { font-size: 0.6rem; }

  /* Footer */
  .stitch-footer__top { padding: 32px 18px 24px; gap: 24px; }
  .stitch-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stitch-footer__col-title { font-size: 0.7rem; margin-bottom: 10px; }
  .stitch-footer__col ul li a { font-size: 0.8rem; }
  .stitch-footer__bottom { flex-direction: column; gap: 12px; text-align: center; padding: 16px 18px; }
  .stitch-mobile-menu { top: 52px; }
}

/* ================================================
   RESPONSIVE — VERY SMALL (≤380px)
   ================================================ */
@media (max-width: 380px) {
  .home-title__title { font-size: 1.5rem !important; }
  .tools__container { grid-template-columns: 1fr !important; }
  .stitch-footer__cols { grid-template-columns: 1fr !important; }
}

/* ================================================
   MOBILE MENU DRAWER
   ================================================ */
.stitch-mobile-menu {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(12, 12, 22, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.28s ease;
  pointer-events: none;
}

.stitch-mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.stitch-mobile-menu__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 24px 28px;
}

.stitch-mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stitch-mobile-menu__link {
  display: block;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(200,196,220,0.8);
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.stitch-mobile-menu__link:hover,
.stitch-mobile-menu__link--active {
  background: rgba(232,23,11,0.1);
  color: var(--primary);
}

.stitch-mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stitch-mobile-menu__login {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(200,196,220,0.85);
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.stitch-mobile-menu__login:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Overlay */
.stitch-mobile-overlay {
  position: fixed;
  inset: 52px 0 0 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.stitch-mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* Hamburger → X animation */
.stitch-nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(200,196,220,0.85);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

.stitch-nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.stitch-nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.stitch-nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --bg:           #0d0d18;
  --surface:      #12121d;
  --surf-low:     #1b1a26;
  --surf:         #1f1e2a;
  --surf-high:    #292935;
  --surf-highest: #343440;
  --primary:      #e8170b;
  --primary-dark: #b80f08;
  --primary-glow: rgba(232,23,11,0.18);
  --purple:       #7f52ff;
  --purple-glow:  rgba(127,82,255,0.2);
  --orange:       #e8640b;
  --on-bg:        #e3e0f1;
  --on-muted:     #9a97b5;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(232,23,11,0.35);
  --radius:       14px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --ease:         cubic-bezier(.4,0,.2,1);
  --font:         'Inter', system-ui, sans-serif;
}

/* ================================================
   GLOBAL RESET
   ================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body,
body.lang-en-US,
body.lang-en-US.home {
  font-family: var(--font) !important;
  background: var(--bg) !important;
  color: var(--on-bg) !important;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

::-webkit-scrollbar { width: 5px; background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--surf-highest); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }


/* ================================================
   HEADER / NAVBAR
   ================================================ */
.header,
header.header {
  height: 64px !important;
  background: rgba(13,13,24,0.82) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) !important;
}

.header nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo – remove white box */
.header .brand,
.header a.brand,
header .brand,
header a.brand {
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.header .brand img,
header .brand img {
  height: 32px !important;
  width: auto !important;
  filter: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  max-width: 160px !important;
}

/* Override any white-box on brand */
a.brand,
.brand {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* menu text */
.header .menu--md,
.header .menu span {
  color: var(--on-muted) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  font-family: var(--font) !important;
}

.header nav ul li a {
  color: var(--on-muted) !important;
  font-size: 0.875rem !important;
  font-family: var(--font) !important;
  transition: color .2s;
}

.header nav ul li a:hover { color: var(--primary) !important; }

/* Buy / Premium button in nav */
.buy-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  font-family: var(--font) !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(232,23,11,0.3) !important;
  transition: all .25s var(--ease) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.buy-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 24px rgba(232,23,11,0.5) !important;
}


/* ================================================
   MAIN / HERO WRAPPER
   ================================================ */
.main {
  padding-top: 52px !important;
  background: var(--bg) !important;
  position: relative;
  overflow: hidden;
}

/* Animated red glow orb */
.pattern-bg {
  position: absolute !important;
  inset: 0 !important;
  height: 700px !important;
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%,  rgba(232,23,11,0.22)  0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 85% 15%,  rgba(127,82,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 10% 25%,  rgba(127,82,255,0.08) 0%, transparent 60%) !important;
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid pattern */
.pattern-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}


/* ================================================
   HOME TITLE (HERO)
   ================================================ */
.home-title {
  position: relative !important;
  z-index: 1 !important;
  text-align: center !important;
  padding: 88px 24px 56px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.home-title__title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  font-family: var(--font) !important;
  /* gradient text */
  background: linear-gradient(160deg, #ffffff 0%, #d4cfee 60%, #a9a3d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-title__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem) !important;
  font-weight: 400 !important;
  color: var(--on-muted) !important;
  line-height: 1.7 !important;
  max-width: 640px !important;
  margin: 0 auto 36px !important;
  font-family: var(--font) !important;
}

/* CTA buttons in hero (inject via CSS :after sibling) */
.home-title::after {
  content: '';
  display: block;
}

/* Hero CTA buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font);
  text-decoration: none;
  transition: all .25s var(--ease);
  cursor: pointer;
}

.hero-btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,23,11,0.35);
}

.hero-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,23,11,0.55);
  color: #fff;
}

.hero-btn--secondary {
  background: rgba(255,255,255,0.06);
  color: var(--on-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.hero-btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  color: var(--on-bg);
}


/* ================================================
   TOOLS SECTION
   ================================================ */
.tools {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 28px 100px !important;
}

/* ---- Filter Tags ---- */
.tools__filter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 40px !important;
  padding: 0 !important;
}

.tools__filter .tag {
  padding: 8px 20px !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  font-family: var(--font) !important;
  cursor: pointer !important;
  background: var(--surf-high) !important;
  color: var(--on-muted) !important;
  border: 1px solid var(--border) !important;
  transition: all .22s var(--ease) !important;
  user-select: none !important;
  white-space: nowrap !important;
}

.tools__filter .tag:hover {
  background: var(--surf-highest) !important;
  color: var(--on-bg) !important;
  border-color: rgba(232,23,11,0.25) !important;
}

.tools__filter .tag.active {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 18px rgba(232,23,11,0.4) !important;
  font-weight: 600 !important;
}

/* ---- Tools Grid ---- */
.tools__container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)) !important;
  gap: 16px !important;
}

@media (max-width: 600px) {
  .tools__container {
    grid-template-columns: 1fr !important;
  }
}

/* ---- Tool Card ---- */
.tools__item {
  background: var(--surf) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 22px 20px !important;
  position: relative !important;
  cursor: pointer !important;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease) !important;
  overflow: hidden !important;
  /* animation reset */
  animation: card-in .4s var(--ease) both !important;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Red glow on hover */
.tools__item::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: radial-gradient(ellipse at top left, rgba(232,23,11,0.12), transparent 70%) !important;
  opacity: 0 !important;
  transition: opacity .28s !important;
  pointer-events: none !important;
}

.tools__item:hover {
  transform: translateY(-5px) !important;
  border-color: var(--border-hover) !important;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    0 0 0 1px rgba(232,23,11,0.12),
    0 2px 60px rgba(232,23,11,0.1) !important;
}

.tools__item:hover::after { opacity: 1 !important; }

.tools__item a {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: inherit !important;
  text-decoration: none !important;
  height: 100% !important;
}

/* Card icon */
.tools__item__icon {
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.tools__item__icon svg {
  transition: transform .3s var(--ease), filter .3s !important;
}

.tools__item:hover .tools__item__icon svg {
  transform: scale(1.12) !important;
  filter: drop-shadow(0 0 8px var(--primary-glow)) !important;
}

/* Card title */
.tools__item h3 {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--on-bg) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  font-family: var(--font) !important;
}

/* Card description */
.tools__item .tools__item__content p,
.tools__item__content {
  font-size: 0.78rem !important;
  color: var(--on-muted) !important;
  line-height: 1.5 !important;
  font-family: var(--font) !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ---- Premium Card (purple) ---- */
.tools__item--premium {
  background: linear-gradient(135deg, #130930 0%, #220c52 60%, #2d0f6e 100%) !important;
  border: 1px solid rgba(127,82,255,0.35) !important;
  box-shadow: 0 4px 28px rgba(127,82,255,0.15) !important;
  transform: none !important;
  animation: card-in .4s var(--ease) both !important;
}

.tools__item--premium:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(127,82,255,0.65) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 60px rgba(127,82,255,0.22) !important;
}

.tools__item--premium::after {
  background: radial-gradient(ellipse at top left, rgba(127,82,255,0.15), transparent 70%) !important;
}

.tools__item--premium h3 { color: #fff !important; }
.tools__item--premium .tools__item__content { color: rgba(200,190,255,0.75) !important; }

/* ---- Featured Card (orange) ---- */
.tools__item--featured {
  background: linear-gradient(135deg, #1e1000 0%, #341900 60%, #3d2000 100%) !important;
  border: 1px solid rgba(232,100,11,0.35) !important;
  box-shadow: 0 4px 28px rgba(232,100,11,0.1) !important;
  transform: none !important;
  animation: card-in .4s var(--ease) both !important;
}

.tools__item--featured:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(232,100,11,0.65) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 60px rgba(232,100,11,0.18) !important;
}

.tools__item--featured::after {
  background: radial-gradient(ellipse at top left, rgba(232,100,11,0.12), transparent 70%) !important;
}

.tools__item--featured h3 { color: #fff !important; }
.tools__item--featured .tools__item__content { color: rgba(255,200,150,0.7) !important; }

/* Shimmer override — stop old shimmer animation */
.tools__item--featured::before {
  content: none !important;
  animation: none !important;
}

/* ---- Badges ---- */
.badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  padding: 3px 10px !important;
  border-radius: var(--radius-pill) !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  z-index: 4 !important;
  font-family: var(--font) !important;
}

.badge--new {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(16,185,129,0.4) !important;
}

.badge--premium {
  background: linear-gradient(135deg, #7f52ff, #5b2fd6) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(127,82,255,0.45) !important;
}

.badge--featured {
  background: linear-gradient(135deg, #e8640b, #c04c00) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(232,100,11,0.4) !important;
}

/* pulse animation override */
.tools__item--premium { animation: card-in .4s var(--ease) both !important; }
@keyframes premium-pulse { 0%,50%,100% { box-shadow: 0 4px 28px rgba(127,82,255,0.18); } }


/* ================================================
   BLOCK SECTIONS (Work Your Way, Banner, Trust)
   ================================================ */
.block--white,
div.block.block--white {
  background: var(--surf-low) !important;
  border-top: 1px solid var(--border);
}

.block--banner,
div.block.block--white.block--banner {
  background: var(--surface) !important;
  border-top: 1px solid var(--border);
}

.block__container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}

.block__header { padding: 72px 0 44px !important; }
.block__body   { padding-bottom: 72px !important; }

/* Titles */
.title1,
.title2 {
  font-family: var(--font) !important;
  color: var(--on-bg) !important;
  letter-spacing: -0.025em !important;
}

.title1 { font-size: clamp(1.5rem,2.8vw,2.2rem) !important; font-weight: 700 !important; }
.title2 { font-size: clamp(1.25rem,2.2vw,1.8rem) !important; font-weight: 700 !important; margin-bottom: 16px !important; }

.subtitle1 {
  color: var(--on-muted) !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
  max-width: 680px !important;
  margin: 12px auto 0 !important;
  font-family: var(--font) !important;
}

/* ---- Image Cards ---- */
.img-card {
  background: var(--surf) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease) !important;
  height: 100% !important;
}

.img-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(232,23,11,0.3) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 50px var(--primary-glow) !important;
}

.img-card__img {
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
  filter: brightness(0.75) saturate(0.9) !important;
  transition: filter .3s, transform .3s !important;
}

.img-card:hover .img-card__img {
  filter: brightness(0.9) saturate(1) !important;
  transform: scale(1.03) !important;
}

.img-card__container {
  padding: 20px 22px !important;
  flex: 1 !important;
}

.img-card__title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--on-bg) !important;
  margin-bottom: 8px !important;
  font-family: var(--font) !important;
}

.img-card__body p {
  font-size: 0.875rem !important;
  color: var(--on-muted) !important;
  line-height: 1.6 !important;
}

.img-card__footer {
  padding: 14px 22px !important;
  border-top: 1px solid var(--border) !important;
  color: var(--primary) !important;
}

/* ---- Premium Banner Block ---- */
.banner-block--premium {
  background: linear-gradient(135deg, #120040 0%, #1e0060 50%, #2a0080 100%) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(127,82,255,0.25) !important;
  overflow: hidden !important;
}

.banner-block--mobile { display: none !important; }

/* ---- Buttons ---- */
.btn--premium {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #7f52ff, #5528dd) !important;
  color: #fff !important;
  padding: 13px 28px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  font-family: var(--font) !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 22px rgba(127,82,255,0.35) !important;
  transition: all .25s var(--ease) !important;
  margin-top: 20px !important;
}

.btn--premium:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(127,82,255,0.55) !important;
}

.btn--secondary {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--surf-highest) !important;
  color: var(--on-bg) !important;
  padding: 12px 26px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  font-family: var(--font) !important;
  border: 1px solid var(--border) !important;
  text-decoration: none !important;
  transition: all .25s var(--ease) !important;
  margin-top: 16px !important;
}

.btn--secondary:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px var(--primary-glow) !important;
}

/* ---- List check ---- */
.listcheck {
  list-style: none !important;
  padding: 0 !important;
}

.listcheck__item {
  font-family: var(--font) !important;
  color: var(--on-muted) !important;
  font-size: 0.95rem !important;
  padding: 5px 0 5px 28px !important;
  position: relative !important;
}

.listcheck__item::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* ---- Trust logos ---- */
.new-premium__logos {
  display: flex !important;
  align-items: center !important;
  gap: 48px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

.new-premium__logos img {
  filter: invert(1) grayscale(1) brightness(0.5) !important;
  opacity: 0.55 !important;
  height: 42px !important;
  object-fit: contain !important;
  transition: all .25s !important;
}

.new-premium__logos img:hover {
  opacity: 0.85 !important;
  filter: invert(1) grayscale(1) brightness(0.75) !important;
}

.img-fluid {
  border-radius: var(--radius) !important;
  filter: brightness(0.8) saturate(0.8) !important;
}

/* ================================================
   FOOTER
   ================================================ */
.footer-main {
  background: var(--bg) !important;
  border-top: 1px solid var(--border) !important;
  padding: 64px 0 40px !important;
  font-family: var(--font) !important;
}

.footer-main__title {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--on-bg) !important;
  margin-bottom: 18px !important;
  font-family: var(--font) !important;
}

.footer-main__nav {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-main__nav li { margin-bottom: 10px !important; }

.footer-main__nav a,
.footer-main__nav .nav-link {
  color: var(--on-muted) !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  transition: color .2s !important;
  opacity: 1 !important;
  padding: 0 !important;
  font-family: var(--font) !important;
}

.footer-main__nav a:hover,
.footer-main__nav .nav-link:hover {
  color: var(--primary) !important;
}

.separator {
  border-color: var(--border) !important;
  margin: 40px 0 24px !important;
}

.slogan,
.footer-main__info .slogan {
  color: var(--on-muted) !important;
  font-size: 0.8rem !important;
  opacity: 0.65 !important;
  font-family: var(--font) !important;
}


/* ================================================
   TOOLTIP
   ================================================ */
.tooltip::after {
  background: var(--surf-highest) !important;
  color: var(--on-bg) !important;
  border: 1px solid var(--border) !important;
  font-family: var(--font) !important;
  font-size: 0.78rem !important;
  border-radius: 8px !important;
}


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .tools__container {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)) !important;
  }

  .home-title {
    padding: 72px 20px 48px !important;
  }

  .tools { padding: 0 20px 72px !important; }
  .block__container { padding: 0 20px !important; }
}

@media (max-width: 576px) {
  .tools__container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .tools__item {
    padding: 16px 14px !important;
  }

  .tools__filter .tag {
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
  }

  .home-title__title {
    font-size: 1.9rem !important;
  }
}

/* ================================================
   TRUST SECTION
   ================================================ */
.stitch-trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stitch-trust__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 28px 56px;
  text-align: center;
}

.stitch-trust__title {
  font-family: var(--font);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--on-bg);
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.stitch-trust__sub {
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--on-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

.stitch-trust__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.stitch-trust__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 140px;
  transition: border-color .2s, box-shadow .2s;
}

.stitch-trust__badge:hover {
  border-color: rgba(232,23,11,0.25);
  box-shadow: 0 4px 20px rgba(232,23,11,0.08);
}

.stitch-trust__badge-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(0.7);
}

.stitch-trust__badge span {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-muted);
}

.stitch-trust__note {
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--on-muted);
  opacity: 0.6;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .stitch-trust__badges { gap: 14px; }
  .stitch-trust__badge { min-width: 110px; padding: 14px 18px; }
}
/* Fixed Disclaimer Bar */
body {
    padding-bottom: 40px; /* Space for the disclaimer bar */
}

.fixed-disclaimer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #4a4e69; /* Dark muted blue-grey matching the image */
    color: #ffffff;
    font-size: 13px;
    padding: 8px 15px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.fixed-disclaimer-bar .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Disclaimer Bar Mobile Adjustment */
@media (max-width: 768px) {
    .fixed-disclaimer-bar {
        font-size: 10px;
        padding: 6px 10px;
        line-height: 1.4;
    }
    body {
        padding-bottom: 50px;
    }
}
