/* ==========================================================================
   Assignment Studio – Next-Gen Design System & Stylesheet (site.css)
   Ultra-modern, high-performance SaaS aesthetic for students & developers
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=JetBrains+Mono:wght@400;500;600&family=Patrick+Hand&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand color palette */
  --brand-primary: #4f46e5;
  --brand-primary-hover: #4338ca;
  --brand-purple: #7c3aed;
  --brand-blue: #2563eb;
  --brand-cyan: #06b6d4;
  --brand-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  --brand-gradient-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #1d4ed8 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  --brand-glow: 0 0 32px rgba(99, 102, 241, 0.28);

  /* Surface & backgrounds */
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --bg-card-alt: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-dark-glass: rgba(15, 23, 42, 0.88);

  /* Text colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-inverse: #ffffff;

  /* Borders & lines */
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #6366f1;
  --border-glow: rgba(99, 102, 241, 0.4);

  /* Functional colors */
  --success: #10b981;
  --success-soft: #ecfdf5;
  --success-border: #a7f3d0;
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --danger-border: #fecaca;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;

  /* Handwriting & Paper specifics */
  --paper-bg: #fffefa;
  --paper-line: #cbd5e1;
  --paper-margin: #f43f5e;
  --pen-ink: #1e40af;
  --pen-black: #0f172a;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 50px -12px rgba(15, 23, 42, 0.14), 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  --shadow-float: 0 30px 60px -15px rgba(30, 41, 59, 0.22);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Plus Jakarta Sans', sans-serif;
  --font-hand: 'Caveat', 'Patrick Hand', cursive;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Animation timing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(99, 102, 241, 0.2);
  color: var(--brand-primary);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--brand-primary-hover);
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: all 0.22s var(--ease-spring);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  color: #ffffff;
  background: var(--brand-gradient-hover);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.btn-white {
  background: #ffffff;
  color: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f8fafc;
  color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 650;
}

.btn-block {
  width: 100%;
}

.btn[disabled], .btn[aria-busy="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translateX(2px);
}

/* ==========================================================================
   Header & Top Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.25s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-light);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
  white-space: nowrap;
}

.brand-logo-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-gradient);
  padding: 3px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.32);
  transition: transform 0.2s var(--ease-spring);
}

.brand:hover .brand-logo-wrap {
  transform: scale(1.05);
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient-subtle);
  color: var(--brand-primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0 auto;
  min-width: 0;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.nav-links a[aria-current="page"] {
  color: var(--brand-primary);
  background: rgba(99, 102, 241, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .nav.open .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 0 20px;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 4px;
    margin: 12px 0 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
  }
  .nav.open .nav-links a {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }
  .nav.open .nav-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 4;
    gap: 8px;
    margin-top: 8px;
  }
  .nav.open .nav-cta .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 50% 95%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    var(--bg-page);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* Hero Pill Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-badge .badge-tag {
  color: var(--brand-primary);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.hero h1 .gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero h1 .hand {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--brand-purple);
  -webkit-text-fill-color: var(--brand-purple);
  display: inline-block;
  font-size: 1.15em;
  transform: rotate(-2deg);
}

.hero-lead {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note .icon {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ==========================================================================
   Hero Interactive Demo Card
   ========================================================================== */

.demo {
  position: relative;
  padding: 10px 0 10px 30px;
}

.demo-input {
  position: absolute;
  left: -10px;
  bottom: 40px;
  z-index: 3;
  width: 270px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  animation: float-slight 6s ease-in-out infinite;
}

@keyframes float-slight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.demo-input-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.demo-input b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.demo-input .caret {
  display: inline-block;
  width: 2px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--brand-primary);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Hyper-realistic Notebook Sheet */
.sheet {
  position: relative;
  margin-left: auto;
  width: min(100%, 450px);
  aspect-ratio: 210 / 260;
  padding: 50px 30px 24px 68px;
  background-color: var(--paper-bg);
  background-image: linear-gradient(to bottom, transparent 31px, rgba(203, 213, 225, 0.7) 31px, rgba(203, 213, 225, 0.7) 32px);
  background-size: 100% 32px;
  background-position: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.03);
  transform: rotate(1.2deg);
  font-family: var(--font-hand);
  font-size: 26px;
  line-height: 32px;
  color: var(--pen-ink);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.sheet:hover {
  transform: rotate(0deg) scale(1.01);
}

/* Red Margin Rule */
.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54px;
  width: 2px;
  background: var(--paper-margin);
  opacity: 0.8;
}

/* Margin Punch Holes */
.sheet::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 180px 0 #cbd5e1;
}

.sheet .qno {
  position: absolute;
  left: 18px;
  font-weight: 700;
  color: var(--pen-black);
}

.sheet p {
  margin: 0;
}

.sheet .h {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  color: var(--pen-black);
}

.sheet .pageno {
  position: absolute;
  right: 24px;
  bottom: 12px;
  font-size: 20px;
  color: var(--text-muted);
}

.sheet svg.tree {
  width: 190px;
  height: 92px;
  margin: 4px 0 0 28px;
  stroke: var(--pen-ink);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 50px 0 70px;
  }
  .demo {
    padding-left: 0;
    margin-top: 10px;
  }
  .demo-input {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 20px;
  }
  .sheet {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 36px;
  }
  .sheet {
    font-size: 22px;
    line-height: 28px;
    background-size: 100% 28px;
    background-image: linear-gradient(to bottom, transparent 27px, rgba(203, 213, 225, 0.7) 27px, rgba(203, 213, 225, 0.7) 28px);
    padding: 42px 20px 20px 54px;
  }
  .sheet::before {
    left: 44px;
  }
  .sheet .qno {
    left: 10px;
  }
}

/* ==========================================================================
   Trust & Metrics Bar
   ========================================================================== */

.metrics-strip {
  padding: 30px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-item h3 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.metric-item p {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* ==========================================================================
   Sections & Shared Headings
   ========================================================================== */

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.section-head p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
}

/* ==========================================================================
   Feature Cards / Bento Grid
   ========================================================================== */

.features {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-xl);
}

.feature:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 22px;
  font-weight: 750;
  color: var(--text-primary);
}

.feature p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.6;
}

.feature ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.feature li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature li .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brand-primary);
}

.feature-visual {
  margin-top: auto;
  padding-top: 28px;
}

.feature .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-weight: 650;
  font-size: 15px;
  color: var(--brand-primary);
}

.feature .more .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.feature .more:hover .icon {
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Micro Mockups inside Feature Cards */
.mini-terminal {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #0f172a;
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mini-terminal .p {
  color: #64748b;
}

.mini-terminal .g {
  color: #34d399;
  font-weight: 600;
}

.mini-hand {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #fffefa;
  font-family: var(--font-hand);
  font-size: 24px;
  line-height: 1.3;
  color: var(--pen-ink);
  box-shadow: var(--shadow-xs);
}

.mini-qa {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.mini-qa .q {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  color: var(--text-primary);
  font-weight: 600;
}

.mini-qa .a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Steps / How It Works
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 750;
  font-size: 16px;
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
}

.step p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Comparison Table / Section
   ========================================================================== */

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.compare-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.compare-card.bad {
  background: #ffffff;
  border-color: #e2e8f0;
}

.compare-card.good {
  background: #ffffff;
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.compare-tag {
  position: absolute;
  top: -12px;
  right: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.compare-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.compare-list li .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.compare-card.bad .icon {
  color: var(--danger);
}

.compare-card.good .icon {
  color: var(--success);
}

@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease-spring);
}

.price:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.price.featured {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 16px 40px -8px rgba(79, 70, 229, 0.22);
}

.price-tag {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.price h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-amount {
  margin-top: 18px;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.price-amount small {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-credits {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-primary);
}

.price-each {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.price-features {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border-light);
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.price-features li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.price-features li .icon {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.price .btn {
  margin-top: auto;
  padding-top: 14px;
}

.price-foot {
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
}

.payment-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.payment-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
}

@media (max-width: 1080px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-group + .faq-group {
  margin-top: 60px;
}

.faq-group h2 {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 26px;
  font-weight: 750;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 24px;
  transition: all 0.2s ease;
}

.faq details:hover {
  border-color: #cbd5e1;
}

.faq details[open] {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  transition: transform 0.25s var(--ease-spring);
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 24px 0;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ==========================================================================
   Call To Action (CTA Banner)
   ========================================================================== */

.cta {
  padding: 60px 52px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 20%, rgba(99, 102, 241, 0.45), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(124, 58, 237, 0.4), transparent 50%),
    #0f172a;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  box-shadow: 0 24px 60px -10px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
}

.cta h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
  line-height: 1.15;
}

.cta p {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.6;
  max-width: 600px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 30px;
    gap: 28px;
  }
  .cta-actions {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Split Sections (Features Page)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 84px 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 80px;
}

.split:last-child {
  border-bottom: 0;
}

.split.flip > :first-child {
  order: 2;
}

.split h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
}

.split > div > p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 17.5px;
  line-height: 1.65;
}

.split .feature-icon {
  margin-bottom: 24px;
}

.split ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.split li {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15.5px;
}

.split li b {
  color: var(--text-primary);
  font-weight: 700;
}

.split li .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--brand-primary);
}

.split .btn {
  margin-top: 32px;
}

.visual {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.visual .sheet {
  width: 100%;
  transform: rotate(-1deg);
}

.visual .mini-terminal {
  font-size: 13.5px;
  padding: 22px 24px;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0;
  }
  .split.flip > :first-child {
    order: 0;
  }
}

/* ==========================================================================
   Tabs & Flow (How It Works)
   ========================================================================== */

.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 40px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.tabs button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tabs button:hover {
  color: var(--text-primary);
}

.tabs button[aria-selected="true"] {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.flow {
  display: grid;
  gap: 20px;
  max-width: 860px;
}

.flow-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.flow-step:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.flow-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

.flow-step h3 {
  font-size: 21px;
  font-weight: 750;
}

.flow-step p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.6;
}

.flow-step .hint {
  display: block;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border-left: 3px solid var(--brand-primary);
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .flow-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
}

/* ==========================================================================
   Contact Hub Cards
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-spring);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.contact-card h3 {
  font-size: 21px;
  font-weight: 750;
}

.contact-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.contact-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
  display: grid;
  gap: 6px;
}

.contact-card .btn {
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Forms & Authentication (auth.html & /login, /signup, etc.)
   ========================================================================== */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--bg-page);
}

.auth-main {
  display: flex;
  flex-direction: column;
  padding: 36px 48px;
  background: #ffffff;
}

.auth-box {
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 40px 0;
}

.auth-box h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.auth-sub {
  margin: 10px 0 28px;
  color: var(--text-secondary);
  font-size: 16px;
}

.check-mail {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  color: var(--brand-primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.check-mail .icon {
  width: 26px;
  height: 26px;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.auth-switch {
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 15px;
  text-align: center;
}

.auth-legal {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
}

.auth-foot {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: auto;
  padding-top: 20px;
}

.auth-foot a {
  color: var(--text-muted);
}

.auth-foot a:hover {
  color: var(--text-primary);
}

.auth-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  background:
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.15), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(124, 58, 237, 0.12), transparent 40%),
    #0f172a;
  color: #ffffff;
  border-left: 1px solid var(--border-light);
  overflow: hidden;
}

.auth-side .sheet {
  margin: 0 auto;
  width: min(100%, 420px);
}

.auth-quote {
  max-width: 420px;
  margin: 40px auto 0;
}

.auth-quote p {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
}

.auth-quote ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #cbd5e1;
  font-size: 15px;
}

.auth-quote li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.auth-quote li .icon {
  width: 18px;
  height: 18px;
  color: #38bdf8;
}

@media (max-width: 960px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-side {
    display: none;
  }
  .auth-main {
    padding: 24px;
  }
}

/* Form Controls */
.field {
  display: grid;
  gap: 7px;
}

.field + .field {
  margin-top: 18px;
}

.field label, .field .label {
  font-size: 14px;
  font-weight: 650;
  color: var(--text-primary);
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.field-row a {
  font-size: 13.5px;
  font-weight: 600;
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.4;
  transition: all 0.18s ease;
}

.input:hover {
  border-color: #cbd5e1;
}

.input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.input[aria-invalid="true"] {
  border-color: var(--danger);
}

.input-wrap {
  position: relative;
}

.input-wrap .input {
  padding-right: 50px;
}

.input-wrap .reveal {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 48px;
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.18s ease;
}

.input-wrap .reveal:hover {
  color: var(--text-primary);
}

.hint {
  font-size: 13px;
  color: var(--text-muted);
}

.field-error {
  font-size: 13px;
  color: var(--danger);
  font-weight: 600;
}

.alert {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 22px;
  align-items: flex-start;
}

.alert .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.alert-error {
  background: var(--danger-soft);
  color: #b91c1c;
  border: 1px solid var(--danger-border);
}

.alert-ok {
  background: var(--success-soft);
  color: #047857;
  border: 1px solid var(--success-border);
}

.alert-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.alert[hidden] {
  display: none;
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.btn-google {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  gap: 12px;
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-google svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 84px 0 64px;
  background:
    radial-gradient(circle at 18% 15%, rgba(99, 102, 241, 0.12), transparent 35%),
    var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.page-hero p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.6;
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal h1 {
  font-size: clamp(36px, 4.8vw, 48px);
  font-weight: 800;
}

.legal .updated {
  margin: 12px 0 40px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.legal h2 {
  margin: 44px 0 14px;
  font-size: 24px;
  font-weight: 750;
}

.legal p, .legal li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.legal p + p {
  margin-top: 14px;
}

.legal ul {
  padding-left: 24px;
  margin: 12px 0;
}

.legal li {
  margin: 8px 0;
}

.legal li strong, .legal p strong {
  color: var(--text-primary);
}

.legal code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 80px 0 40px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-about .brand {
  margin-bottom: 16px;
}

.footer-desc {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  color: #065f46;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 20px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer a {
  color: var(--text-secondary);
  font-size: 15px;
  transition: color 0.18s ease;
}

.footer a:hover {
  color: var(--brand-primary);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.trust-badge .icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 14px;
}

.footer-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-tags .sep {
  color: #cbd5e1;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* Cross-browser hidden scrollbars; scrolling itself remains enabled. */
html,
body,
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scrollbar-gutter: auto !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}
