/* ============================================================
   FolioPro Landing — Complete Stylesheet
   Visual language: solid dark cards, left accent borders,
   dot-grid background, mesh gradient blobs, Outfit font.
   NO glassmorphism, NO hover-lift, NO .reveal translateY,
   NO section-tag pills, NO floating orbs with blur.
   ============================================================ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F8F7FF;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F5F3FF;
  --surface: #EEF2FF;
  --border: rgba(99, 102, 241, 0.12);
  --border-accent: rgba(99, 102, 241, 0.2);
  --border-accent-hover: #6366F1;
  --text: #1E1B4B;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --indigo: #6366F1;
  --indigo-dark: #4F46E5;
  --indigo-light: #818CF8;
  --indigo-glow: rgba(99, 102, 241, 0.15);
  --violet: #8B5CF6;
  --emerald: #10B981;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --amber: #F59E0B;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --accent-border: 3px;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo-light), var(--indigo), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATIONS (unique to FolioPro) ===== */
.anim-fade {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade.visible {
  opacity: 1;
}

.anim-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.anim-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for children */
.anim-fade:nth-child(2),
.anim-slide-left:nth-child(2),
.anim-slide-right:nth-child(2) { transition-delay: 0.1s; }

.anim-fade:nth-child(3),
.anim-slide-left:nth-child(3),
.anim-slide-right:nth-child(3) { transition-delay: 0.2s; }

.anim-fade:nth-child(4),
.anim-slide-left:nth-child(4) { transition-delay: 0.3s; }

.anim-fade:nth-child(5) { transition-delay: 0.4s; }
.anim-fade:nth-child(6) { transition-delay: 0.5s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--indigo-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--indigo);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(248, 247, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  border-radius: 10px;
  color: white;
}

.logo-text {
  font-weight: 700;
}

.logo-accent {
  color: var(--indigo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 20px !important;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark)) !important;
  border-radius: 10px;
  color: white !important;
  font-weight: 600 !important;
  transition: box-shadow 0.3s ease;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO (centered layout) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Dot grid — small dots in a grid pattern (NOT road-lines) */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(99, 102, 241, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,0,0,0.6) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,0,0,0.6) 0%, transparent 100%);
}

/* Mesh — large gradient blobs using conic/radial gradient (NOT circular orbs with blur) */
.mesh {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.mesh-1 {
  width: 900px;
  height: 900px;
  top: -350px;
  left: 50%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(99, 102, 241, 0.18) 0deg,
    rgba(139, 92, 246, 0.12) 120deg,
    rgba(99, 102, 241, 0.06) 240deg,
    rgba(99, 102, 241, 0.18) 360deg
  );
}

.mesh-2 {
  width: 600px;
  height: 600px;
  bottom: -200px;
  right: -150px;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.12) 0%,
    rgba(99, 102, 241, 0.04) 50%,
    transparent 70%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--indigo-light);
  margin-bottom: 20px;
  background: none;
  border: none;
  padding: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.trust-chip svg {
  color: var(--indigo);
  flex-shrink: 0;
}

/* ===== HERO MOCKUP ===== */
.hero-mockup {
  max-width: 800px;
  margin: 48px auto 0;
}

.invoice-doc {
  background: var(--bg-card-alt);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.06);
}

/* Invoice top bar */
.inv-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.inv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inv-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: white;
  flex-shrink: 0;
}

.inv-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-company strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.inv-company small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.inv-id-block {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.inv-id-block small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.inv-id-block strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.02em;
}

/* Invoice meta row */
.inv-meta-row {
  display: flex;
  gap: 24px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.04);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.inv-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.inv-meta span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inv-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Invoice table */
.inv-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.inv-table thead {
  background: rgba(99, 102, 241, 0.06);
}

.inv-table th {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  text-align: left;
}

.inv-table th:last-child,
.inv-table td:last-child {
  text-align: right;
}

.inv-table th:nth-child(2),
.inv-table td:nth-child(2),
.inv-table th:nth-child(3),
.inv-table td:nth-child(3) {
  text-align: center;
}

.inv-table tbody tr {
  border-bottom: 1px solid rgba(99, 102, 241, 0.06);
}

.inv-table tbody tr:last-child {
  border-bottom: none;
}

.inv-table td {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  padding: 12px;
}

.inv-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

/* Invoice footer row */
.inv-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid rgba(99, 102, 241, 0.08);
}

.inv-status {
  display: flex;
  align-items: flex-end;
}

.badge-paid {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emerald);
  background: var(--emerald-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.inv-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.inv-total-line {
  display: flex;
  gap: 24px;
  align-items: center;
}

.inv-total-line span:first-child {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}

.inv-total-line span:last-child {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  min-width: 100px;
  text-align: right;
}

.inv-grand span:first-child {
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
}

.inv-grand span:last-child {
  font-size: 20px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.02em;
}

/* ===== PROBLEMS — vertical strip with border separators ===== */
.problems {
  padding: 100px 0;
  position: relative;
}

.problems-strip {
  display: flex;
  flex-direction: column;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.problem-item:first-child {
  padding-top: 0;
}

.problem-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.problem-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--indigo);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  min-width: 56px;
}

.problem-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.problem-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FEATURES — bento grid ===== */
.features {
  padding: 120px 0;
  position: relative;
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.features-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

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

.bento-wide {
  grid-column: span 2;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: var(--accent-border) solid var(--border-accent);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.bento-card:hover {
  border-left-color: var(--border-accent-hover);
  box-shadow: -8px 0 24px rgba(99, 102, 241, 0.06);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--indigo);
}

.bento-icon svg {
  color: var(--indigo);
  stroke: var(--indigo);
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.bento-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== HOW IT WORKS — vertical timeline ===== */
.how-it-works {
  padding: 120px 0;
  position: relative;
}

.hiw-header {
  text-align: center;
  margin-bottom: 64px;
}

.hiw-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.timeline {
  position: relative;
  padding-left: 80px;
  max-width: 640px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--indigo) 0%,
    rgba(99, 102, 241, 0.3) 50%,
    rgba(99, 102, 241, 0.05) 100%
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -52px;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.timeline-marker span {
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== TESTIMONIALS — featured + side ===== */
.testimonials {
  padding: 120px 0;
  position: relative;
}

.testi-header {
  text-align: center;
  margin-bottom: 56px;
}

.testi-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.testi-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
}

.testi-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: var(--accent-border) solid var(--border-accent);
  border-radius: 12px;
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.testi-featured:hover {
  border-left-color: var(--border-accent-hover);
  box-shadow: -8px 0 24px rgba(99, 102, 241, 0.06);
}

.testi-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 120px;
  line-height: 1;
  color: var(--indigo);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  left: 28px;
  pointer-events: none;
  user-select: none;
}

.testi-featured blockquote {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.testi-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: var(--accent-border) solid var(--border-accent);
  border-radius: 12px;
  padding: 28px 24px;
  flex: 1;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.testi-card:hover {
  border-left-color: var(--border-accent-hover);
  box-shadow: -8px 0 24px rgba(99, 102, 241, 0.06);
}

.testi-card blockquote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

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

.testi-stars {
  display: flex;
  gap: 4px;
  margin-top: 20px;
}

/* ===== PRICING ===== */
.pricing {
  padding: 120px 0;
  position: relative;
}

.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: var(--accent-border) solid var(--border-accent);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
  border-left-color: var(--border-accent-hover);
  box-shadow: -8px 0 24px rgba(99, 102, 241, 0.06);
}

.pricing-featured {
  border-left-color: var(--indigo);
  box-shadow: -6px 0 20px rgba(99, 102, 241, 0.08);
}

.pricing-featured:hover {
  border-left-color: var(--indigo-light);
  box-shadow: -10px 0 32px rgba(99, 102, 241, 0.12);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

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

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ===== FINAL CTA ===== */
.cta-final {
  padding: 120px 0;
  position: relative;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-box > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-form {
  max-width: 480px;
  margin: 0 auto 24px;
}

.cta-input-group {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.12);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-input-group:focus-within {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.cta-input-group input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  min-width: 0;
}

.cta-input-group input::placeholder {
  color: var(--text-muted);
}

.cta-input-group .btn {
  border-radius: 0;
  padding: 16px 24px;
  flex-shrink: 0;
}

.cta-chips {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

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

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--indigo);
}

/* ===== RESPONSIVE — 1024px ===== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* bento-wide stays span 2 at this breakpoint */

  .testi-layout {
    grid-template-columns: 1fr;
  }

  .testi-featured blockquote {
    font-size: 18px;
  }
}

/* ===== RESPONSIVE — 768px ===== */
@media (max-width: 768px) {
  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: rgba(248, 247, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Bento single column, wide resets */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  /* Timeline tighter */
  .timeline {
    padding-left: 60px;
  }

  .timeline-line {
    left: 18px;
  }

  .timeline-marker {
    left: -42px;
    width: 46px;
    height: 46px;
  }

  .timeline-marker span {
    font-size: 18px;
  }

  /* Pricing single column */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  /* Footer stack */
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Hero adjustments */
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .invoice-doc {
    padding: 20px;
  }

  .inv-meta-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  /* Sections padding */
  .problems,
  .features,
  .how-it-works,
  .testimonials,
  .pricing,
  .cta-final {
    padding: 80px 0;
  }
}

/* ===== RESPONSIVE — 480px ===== */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-chips {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-input-group {
    flex-direction: column;
    border-radius: 12px;
  }

  .cta-input-group input {
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  }

  .cta-input-group .btn {
    border-radius: 0;
    width: 100%;
    justify-content: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 32px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .price {
    font-size: 40px;
  }

  .problem-item {
    flex-direction: column;
    gap: 12px;
  }

  .problem-num {
    font-size: 36px;
  }

  .inv-topbar {
    flex-direction: column;
    gap: 16px;
  }

  .inv-id-block {
    align-items: flex-start;
  }

  .inv-footer-row {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .inv-totals {
    align-items: flex-start;
    width: 100%;
  }

  .inv-table {
    font-size: 12px;
  }

  .inv-table th,
  .inv-table td {
    padding: 8px 6px;
    font-size: 12px;
  }
}

/* ===== PRINT ===== */
@media print {
  .hero {
    min-height: auto;
  }

  .anim-fade,
  .anim-scale,
  .anim-slide-left,
  .anim-slide-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .mesh,
  .dot-grid {
    display: none;
  }

  .navbar {
    position: static;
    background: transparent;
    border-bottom: 1px solid #ccc;
  }

  body {
    background: white;
    color: black;
  }
}

/* === Cube AI Badge === */
.cube-ai-strip{display:flex;justify-content:center;align-items:center;padding:16px 24px;background:#050505;border-top:1px solid rgba(255,255,255,.06)}
.cube-ai-link{display:inline-flex;align-items:center;gap:12px;padding:8px 20px 8px 12px;border-radius:100px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);text-decoration:none;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}
.cube-ai-link::before{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(139,92,246,.1),rgba(6,182,212,.1));opacity:0;transition:opacity .4s ease}
.cube-ai-link:hover::before{opacity:1}
.cube-ai-link:hover{border-color:rgba(139,92,246,.3);box-shadow:0 0 30px rgba(139,92,246,.15),0 0 60px rgba(6,182,212,.08);transform:translateY(-1px)}
.cube-3d{width:20px;height:20px;position:relative;transform-style:preserve-3d;transform:rotateX(-25deg) rotateY(30deg);transition:transform .6s cubic-bezier(.4,0,.2,1)}
.cube-ai-link:hover .cube-3d{transform:rotateX(-25deg) rotateY(210deg)}
.cube-face{position:absolute;width:20px;height:20px;border:1.5px solid rgba(139,92,246,.6);border-radius:3px}
.cube-face.front{transform:translateZ(10px);background:rgba(139,92,246,.15)}
.cube-face.back{transform:translateZ(-10px) rotateY(180deg);background:rgba(6,182,212,.1)}
.cube-face.top{transform:rotateX(90deg) translateZ(10px);background:rgba(139,92,246,.2)}
.cube-face.bottom{transform:rotateX(-90deg) translateZ(10px);background:rgba(6,182,212,.05)}
.cube-face.left{transform:rotateY(-90deg) translateZ(10px);background:rgba(6,182,212,.1)}
.cube-face.right{transform:rotateY(90deg) translateZ(10px);background:rgba(139,92,246,.1);border-color:rgba(6,182,212,.5)}
.cube-ai-made{font-family:system-ui,-apple-system,sans-serif;font-size:12px;color:rgba(255,255,255,.4);letter-spacing:.02em;position:relative;z-index:1}
.cube-ai-name{font-family:system-ui,-apple-system,sans-serif;font-size:13px;font-weight:700;background:linear-gradient(135deg,#8B5CF6,#06B6D4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:.01em;position:relative;z-index:1}
.cube-ai-arrow{width:14px;height:14px;color:rgba(255,255,255,.3);transition:all .3s ease;position:relative;z-index:1}
.cube-ai-link:hover .cube-ai-arrow{color:#8B5CF6;transform:translate(2px,-2px)}
