/* ═══════════════════════════════════════════════════════════
   Tradie Biller — Redesign 2025
   Fonts: Outfit (headings) + DM Sans (body)
   Colors: Brand blue #2196f3 + brand purple #673ab7
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette — matches the app */
  --blue:        #2196f3;
  --blue-dark:   #1e88e5;
  --blue-deep:   #1565c0;
  --blue-light:  #e3f2fd;
  --blue-200:    #90caf9;
  --purple:      #673ab7;
  --purple-dark: #5e35b1;
  --purple-deep: #4527a0;
  --purple-light:#ede7f6;
  --purple-200:  #b39ddb;
  --purple-vivid:#7c4dff;

  /* UI neutrals */
  --ink:         #0d1030;
  --ink-soft:    #1a2044;
  --text:        #1e2545;
  --text-muted:  #64748b;
  --surface:     #f8faff;
  --white:       #ffffff;
  --border:      #e2e8f4;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #0d1030 0%, #1a1060 50%, #0d1030 100%);
  --grad-blue:   linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  --grad-brand:  linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --grad-vivid:  linear-gradient(135deg, var(--blue) 0%, var(--purple-vivid) 100%);
  --grad-soft:   linear-gradient(180deg, #f0f4ff 0%, #faf5ff 100%);

  /* Radius */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill:9999px;
}

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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


/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.navbar.scroll-down { transform: translateY(-100%); }
.navbar.scroll-up   { transform: translateY(0); }

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(33, 150, 243, 0.08);
}

.navbar.scrolled .logo { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.navbar.scrolled .nav-menu a:not(.btn-login) { color: var(--text); }
.navbar.scrolled .hamburger span { background: var(--text); }

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--blue-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a:not(.btn-login) {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-menu a:not(.btn-login):hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-menu a:not(.btn-login):hover {
  color: var(--blue);
  background: var(--blue-light);
}

.btn-login {
  padding: 0.55rem 1.5rem !important;
  background: var(--grad-brand);
  color: white !important;
  border-radius: var(--r-pill) !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 2px 16px rgba(33,150,243,0.35);
}

.btn-login:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(33,150,243,0.45) !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  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; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Animated mesh orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 18s ease-in-out infinite;
  pointer-events: none;
}

.hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(33,150,243,0.25) 0%, transparent 70%);
  top: -150px; right: -100px;
}

.hero::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(103,58,183,0.2) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  animation-delay: -9s;
  animation-direction: reverse;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: floatOrb 24s ease-in-out infinite;
}

.hero-orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,77,255,0.15) 0%, transparent 70%);
  top: 20%; left: 30%;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-40px, 30px) scale(1.05); }
  66%       { transform: translate(30px, -20px) scale(0.95); }
}

/* Noise texture overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(33,150,243,0.15);
  border: 1px solid rgba(33,150,243,0.3);
  color: var(--blue-200);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--blue-200) 0%, #c4a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.8125rem;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.hero-trust-avatars span:first-child { margin-left: 0; }

.hero-stars {
  color: #fbbf24;
  letter-spacing: -1px;
  font-size: 0.875rem;
}

/* Browser Mockup */
.hero-visual {
  position: relative;
}

.browser-mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(33,150,243,0.1),
    0 32px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(33,150,243,0.08);
  backdrop-filter: blur(10px);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.browser-bar {
  background: rgba(255,255,255,0.06);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url-bar {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Mono', monospace;
}

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0f1835 0%, #1a1060 40%, #0d2040 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(33,150,243,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(33,150,243,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.screenshot-placeholder-inner {
  text-align: center;
  z-index: 1;
  color: rgba(255,255,255,0.3);
}

.screenshot-placeholder-inner svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  opacity: 0.4;
}

.screenshot-placeholder-inner p {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: rgba(255,255,255,0.35);
}

.screenshot-placeholder-inner small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* Floating mini cards on hero */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card-1 {
  bottom: -20px;
  left: -40px;
  animation-delay: -2s;
}

.hero-float-card-2 {
  top: 30px;
  right: -30px;
  animation-delay: -4s;
}

.float-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.float-card-icon.green { background: rgba(16,185,129,0.2); }
.float-card-icon.blue  { background: rgba(33,150,243,0.2); }

.float-card-label { font-size: 0.6875rem; color: rgba(255,255,255,0.5); margin-bottom: 1px; }
.float-card-value { font-size: 0.9375rem; font-weight: 700; }


/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  padding: 0.875rem 2rem;
  background: var(--grad-brand);
  color: white;
  box-shadow: 0 4px 24px rgba(33,150,243,0.4);
  font-size: 0.9375rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(33,150,243,0.5);
}

.btn-ghost {
  padding: 0.875rem 2rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9375rem;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 0.875rem 2rem;
  background: white;
  color: var(--blue);
  border: 2px solid var(--blue-200);
  font-size: 0.9375rem;
}

.btn-secondary:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.0625rem;
}


/* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
.stats-bar {
  background: white;
  padding: 3rem 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}


/* ══════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════ */
.section {
  padding: 100px 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.35rem 0.875rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-title .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}


/* ══════════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════════ */
.features-section {
  background: white;
  padding: 100px 24px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(33,150,243,0.12);
  border-color: var(--blue-200);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-icon.blue   { background: var(--blue-light);   }
.feature-icon.purple { background: var(--purple-light);  }
.feature-icon.green  { background: #e8f5e9; }
.feature-icon.amber  { background: #fff8e1; }
.feature-icon.red    { background: #fce4ec; }
.feature-icon.teal   { background: #e0f7fa; }

.feature-icon svg {
  width: 26px; height: 26px;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.625rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ══════════════════════════════════════════
   SHOWCASE ROWS (alternating)
══════════════════════════════════════════ */
.showcase-section {
  padding: 100px 24px;
}

.showcase-section:nth-child(odd) {
  background: var(--grad-soft);
}

.showcase-section:nth-child(even) {
  background: white;
}

.showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.showcase-inner.flip {
  direction: rtl;
}

.showcase-inner.flip > * {
  direction: ltr;
}

.feature-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* App screenshot placeholder in showcase */
.app-screen {
  position: relative;
}

.app-screen-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 24px 64px rgba(33,150,243,0.15),
    0 4px 16px rgba(0,0,0,0.08);
  background: white;
}

.app-screen-bar {
  background: #f8faff;
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.app-screen-dots {
  display: flex;
  gap: 5px;
}

.app-screen-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.app-screen-dots span:nth-child(1) { background: #ff5f57; }
.app-screen-dots span:nth-child(2) { background: #febc2e; }
.app-screen-dots span:nth-child(3) { background: #28c840; }

.app-screen-title {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 0.5rem;
}

.app-screen-body {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--purple-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.app-screen-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(33,150,243,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(33,150,243,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.screen-placeholder-content {
  text-align: center;
  z-index: 1;
  padding: 2rem;
}

.screen-placeholder-content .icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: white;
  box-shadow: 0 4px 20px rgba(33,150,243,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.screen-placeholder-content .icon-wrap svg {
  width: 32px; height: 32px;
}

.screen-placeholder-content h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.screen-placeholder-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Decorative floating badge on screen */
.screen-badge {
  position: absolute;
  background: white;
  border-radius: var(--r-md);
  padding: 0.625rem 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  animation: floatCard 5s ease-in-out infinite;
}

.screen-badge.badge-tl { top: 16px; left: -30px; animation-delay: -1s; }
.screen-badge.badge-br { bottom: 16px; right: -30px; animation-delay: -3s; }

.badge-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}
.badge-icon.green { background: #e8f5e9; }
.badge-icon.blue  { background: var(--blue-light); }
.badge-icon.purple { background: var(--purple-light); }


/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.how-section {
  padding: 100px 24px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(33,150,243,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.how-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(103,58,183,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.how-section .section-title { color: white; }
.how-section .section-subtitle { color: rgba(255,255,255,0.55); }
.how-section .section-label {
  background: rgba(33,150,243,0.15);
  color: var(--blue-200);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0.15) 80%, transparent);
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 8px rgba(33,150,243,0.12);
}

.step-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}


/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-section {
  padding: 100px 24px;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(33,150,243,0.1);
}

.testimonial-quote {
  font-size: 2.5rem;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ink);
}

.author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}


/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta-section {
  padding: 100px 24px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(33,150,243,0.2) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section .section-label {
  background: rgba(33,150,243,0.15);
  color: var(--blue-200);
}

.cta-section .section-title {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-section .section-subtitle {
  color: rgba(255,255,255,0.6);
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: #080c20;
  padding: 60px 24px 24px;
  color: rgba(255,255,255,0.6);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--blue-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.875rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
  color: rgba(255,255,255,0.45);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--blue-200);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.25);
  font-size: 0.8125rem;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: var(--blue-200);
}


/* ══════════════════════════════════════════
   PAGE HEADER (inner pages)
══════════════════════════════════════════ */
.page-header {
  background: var(--grad-hero);
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(33,150,243,0.2) 0%, transparent 70%);
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1rem;
}

.page-header h1 .accent {
  background: linear-gradient(135deg, var(--blue-200) 0%, #c4a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
}


/* ══════════════════════════════════════════
   CONTENT SECTIONS (inner pages)
══════════════════════════════════════════ */
.content-section {
  padding: 80px 24px;
}

.content-section:nth-child(even) {
  background: var(--grad-soft);
}

.content-section:nth-child(odd) {
  background: white;
}

.content-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.content-section p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}


/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 56px rgba(33,150,243,0.15);
}

.pricing-card.featured {
  background: var(--grad-brand);
  color: white;
  border-color: transparent;
  box-shadow: 0 16px 56px rgba(33,150,243,0.35);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: var(--r-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.featured .plan-name { color: white; }

.plan-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.featured .plan-tagline { color: rgba(255,255,255,0.7); }

.plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.featured .plan-price { color: white; }

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.featured .plan-divider { background: rgba(255,255,255,0.2); }

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.featured .plan-features li { color: rgba(255,255,255,0.9); }

.plan-features li::before {
  content: '';
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%232196f3'/%3E%3Cpath d='M5.5 9l2.5 2.5L12.5 6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  flex-shrink: 0;
}

.featured .plan-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='rgba(255,255,255,0.25)'/%3E%3Cpath d='M5.5 9l2.5 2.5L12.5 6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 0.875rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.btn-plan.outline {
  border: 2px solid var(--blue-200);
  color: var(--blue);
}

.btn-plan.outline:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

.featured .btn-plan {
  background: white;
  color: var(--purple-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.featured .btn-plan:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-item h3::before {
  content: 'Q.';
  font-size: 0.875rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-left: 2rem;
  margin: 0;
}


/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px; height: 22px;
  color: var(--blue);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(33,150,243,0.07);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33,150,243,0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}


/* ══════════════════════════════════════════
   APP SCREEN IMAGES
══════════════════════════════════════════ */
.app-screen-body img,
.screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.app-screen-body.has-image {
  background: none;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.app-screen-body.has-image::before {
  display: none;
}

.screenshot-placeholder.has-image {
  background: #0d1030;
}

.screenshot-placeholder.has-image::before {
  display: none;
}


/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Legacy classes for script.js compatibility */
.scroll-fade    { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.scroll-slide-left  { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease; }
.scroll-slide-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease; }
.scroll-slide-up    { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.animate { opacity: 1 !important; transform: translate(0) !important; }

/* Hero animations */
.slide-in        { opacity: 0; transform: translateY(30px); animation: slideIn 0.9s ease 0.1s forwards; }
.slide-in-delay  { opacity: 0; transform: translateY(30px); animation: slideIn 0.9s ease 0.3s forwards; }
.slide-in-delay-2 { opacity: 0; transform: translateY(30px); animation: slideIn 0.9s ease 0.5s forwards; }
.slide-in-right  { opacity: 0; transform: translateX(40px); animation: slideInRight 0.9s ease 0.4s forwards; }

@keyframes slideIn      { to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner      { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual     { max-width: 560px; margin: 0 auto; }
  .hero-float-card { display: none; }
  .showcase-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .showcase-inner.flip { direction: ltr; }
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid      { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 440px; margin: 2rem auto 0; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .footer-top      { grid-template-columns: 1fr 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .stats-inner     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 68px; left: -100%;
    width: 100%;
    background: #0d1030;
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 0.5rem;
    transition: left 0.35s ease;
    height: calc(100vh - 68px);
    overflow-y: auto;
    z-index: 999;
  }

  .navbar.scrolled .nav-menu {
    background: rgba(255,255,255,0.97);
  }

  .navbar.scrolled .nav-menu a:not(.btn-login) {
    color: var(--text);
  }

  .nav-menu.active { left: 0; }

  .nav-menu a:not(.btn-login) {
    padding: 0.875rem 1.25rem;
    border-radius: var(--r-md);
    font-size: 1rem;
    width: 100%;
    text-align: left;
    color: rgba(255,255,255,0.85);
  }

  .btn-login {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hamburger { display: flex; }

  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .section { padding: 70px 20px; }
  .features-section,
  .showcase-section,
  .testimonials-section,
  .how-section,
  .cta-section { padding: 70px 20px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-num    { font-size: 1.75rem; }

  .section-title { font-size: 1.875rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }

  .page-header { padding: 120px 20px 60px; }
  .page-header h1 { font-size: 2rem; }

  .content-section { padding: 60px 20px; }

  .contact-form-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.875rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost, .btn-secondary { width: 100%; justify-content: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
