/* ============================================
   DeployRocks Landing Page — styles.css
   Dark theme · #0f172a bg · #3b82f6 · #f59e0b
   ============================================ */

:root {
  --bg: #0f172a;
  --bg-lighter: #1e293b;
  --surface: #1e293b;
  --border: rgba(255,255,255,0.08);
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --green: #10b981;
  --red: #ef4444;
  --purple: #8b5cf6;
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #3b82f6 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-glow-blue: 0 0 40px rgba(59,130,246,0.15);
  --shadow-glow-amber: 0 0 40px rgba(245,158,11,0.15);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(59,130,246,0.3); color: #fff; }

/* ============================================
   CANVAS
   ============================================ */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo img { display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  background: var(--blue);
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--blue-light);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-1px);
}

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

.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--blue); }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.text-gradient-blue {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.highlight-amber {
  position: relative;
  color: var(--amber);
  -webkit-text-fill-color: var(--amber);
}

.highlight-amber::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(120deg, rgba(245,158,11,0.3), transparent);
  z-index: -1;
  transform: skewX(-10deg);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 50ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* CTA Group */
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(59,130,246,0.5);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(59,130,246,0.6);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

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

/* Shine Effect */
.btn-shine::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-shine:hover::before { left: 100%; }

.btn-arrow {
  width: 20px; height: 20px;
  transition: transform 0.3s;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* Hero Trust */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -8px;
}

.trust-avatar:first-child { margin-left: 0; }

.trust-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   3D MOCKUP
   ============================================ */
.mockup-3d {
  background: var(--bg-lighter);
  border-radius: var(--radius-lg);
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.5s var(--ease-smooth);
  animation: mockupFloat 6s ease-in-out infinite;
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 380px;
}

.mockup-3d:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) scale(1.02);
}

@keyframes mockupFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-5deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-5deg) rotateX(3deg) translateY(-12px); }
}

.mockup-titlebar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-family: monospace;
}

.mockup-sidebar {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: default;
  transition: all 0.2s;
}

.sidebar-item.active {
  background: rgba(59,130,246,0.1);
  color: var(--blue-light);
}

.sidebar-item svg { flex-shrink: 0; opacity: 0.7; }
.sidebar-item.active svg { opacity: 1; }

.mockup-main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.mockup-btn-new {
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: default;
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.app-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.status-dot.live {
  background: var(--green);
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
  animation: pulse 2s infinite;
}

.app-info strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}

.app-info small {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.deploy-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  white-space: nowrap;
}

.deploy-badge.success {
  background: rgba(16,185,129,0.1);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.2);
}

/* Log Output */
.log-output {
  background: rgba(0,0,0,0.3);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
  font-family: monospace;
  font-size: 0.7rem;
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.log-live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 0.35rem;
  animation: pulse 2s infinite;
}

.log-lines {
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-height: 120px;
  overflow: hidden;
}

.log-line {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-time { color: var(--text-muted); margin-right: 0.5rem; }
.log-ok { color: var(--green); }
.log-info { color: var(--blue); }

.code-cursor {
  display: inline-block;
  width: 7px; height: 1.1em;
  background: var(--blue);
  margin-left: 1px;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Code block below hero */
.code-block {
  margin-top: 2rem;
  background: rgba(30,41,59,0.8);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  text-align: left;
  max-width: 520px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.code-block::before {
  content: '$ ';
  color: var(--blue);
  font-weight: 700;
}

.code-line {
  color: var(--text-secondary);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(59,130,246,0.1);
  border-radius: 2rem;
  border: 1px solid rgba(59,130,246,0.15);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 40ch;
  margin: 0 auto;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.2);
  box-shadow: var(--shadow-glow-blue);
}

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.15);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-meta {
  display: inline-block;
  font-size: 0.7rem;
  font-family: monospace;
  color: var(--blue);
  opacity: 0.7;
  margin-top: 1rem;
  padding: 0.25rem 0.6rem;
  background: rgba(59,130,246,0.08);
  border-radius: 0.25rem;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
}

.quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-row strong {
  display: block;
  font-size: 0.9rem;
}

.author-row span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 0 40px rgba(245,158,11,0.08);
}

.pricing-popular {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li:last-child { border-bottom: none; }

.check-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: var(--green);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-features .check {
  color: var(--green);
  font-weight: 700;
  margin-right: 0.35rem;
}

.pricing-features .dash {
  color: var(--text-muted);
  font-weight: 700;
  margin-right: 0.35rem;
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-currency {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}

/* Featured card enhancements */
.pricing-card.featured {
  position: relative;
  border: none;
  transform: translateY(-10px);
  box-shadow: 0 0 60px rgba(245,158,11,0.12), 0 25px 80px rgba(0,0,0,0.5);
  z-index: 2;
  padding: 2.25rem 1.75rem;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #8b5cf6 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-card.featured:hover {
  transform: translateY(-14px);
}

/* Wider container for 5 cards */
#pricing .container {
  max-width: 1400px;
}

/* Staggered scroll reveal for pricing cards */
.pricing-card.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.pricing-card.scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.pricing-card.scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
.pricing-card.scroll-reveal:nth-child(4) { transition-delay: 0.24s; }
.pricing-card.scroll-reveal:nth-child(5) { transition-delay: 0.32s; }

/* Every plan includes banner */
.pricing-includes {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.1);
}

.pricing-includes p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-includes strong {
  color: var(--text);
}

/* Comparison section */
.comparison-section {
  margin-top: 3rem;
  text-align: center;
}

.comparison-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.comparison-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto 1.2fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  text-align: left;
}

.comparison-row span:first-child {
  color: var(--text-secondary);
}

.comparison-render {
  color: var(--text-muted);
  text-decoration: line-through;
}

.comparison-arrow {
  color: var(--text-muted);
  font-weight: 700;
}

.comparison-dr {
  color: var(--text);
  font-weight: 600;
}

.comparison-dr strong {
  color: var(--green);
}

/* Pricing CTA */
.pricing-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover { border-color: rgba(255,255,255,0.12); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 1rem;
}

.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--text);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(245,158,11,0.05) 50%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 40ch;
  margin: 0 auto 2rem;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   FOUNDER'S NOTE
   ============================================ */
.founder-section {
  padding-bottom: 4rem;
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  align-items: start;
}

.founder-content .section-label {
  margin-bottom: 1.5rem;
}

.founder-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.founder-content code {
  background: rgba(59,130,246,0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  color: var(--blue-light);
}

.founder-signature {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1.5rem !important;
}

.founder-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 3rem;
}

.founder-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 2;
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.03) 100%);
  border-top: 1px solid var(--border);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo { margin-bottom: 1rem; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  transform: translateY(-4px);
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.3);
  color: var(--blue-light);
}

.link-group h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.link-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s;
  width: fit-content;
}

.link-group a::after {
  content: '';
  position: absolute;
  bottom: 0.25rem; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transition: width 0.3s ease;
}

.link-group a:hover { color: var(--text); }
.link-group a:hover::after { width: 100%; }

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

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

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

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.6s var(--ease-expo) forwards;
}

@keyframes fadeDown {
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s var(--ease-expo) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  animation: scaleIn 0.8s var(--ease-bounce) forwards;
}

@keyframes scaleIn {
  to { opacity: 1; transform: scale(1); }
}

.text-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: revealText 0.8s var(--ease-expo) forwards;
}

@keyframes revealText {
  to { opacity: 1; transform: translateY(0); }
}

.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Spark burst */
.spark {
  position: fixed;
  width: 3px; height: 3px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}

@keyframes sparkFly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .mockup-3d { transform: none; animation: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .code-block { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding-top: 5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: translateY(0); }
  .comparison-row { grid-template-columns: 1fr; text-align: center; gap: 0.25rem; padding: 0.75rem; }
  .comparison-arrow { display: none; }
  #pricing .container { max-width: 1200px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .mockup-3d {
    grid-template-columns: 1fr;
    transform: none;
    animation: none;
  }
  .mockup-sidebar { display: none; }
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-avatar-wrap {
    flex-direction: row;
    justify-content: center;
    padding-top: 0;
  }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section { padding: 4rem 0; }
  .cta-section { padding: 5rem 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .stats-bar { padding: 1.25rem; }
  .stat-number { font-size: 2rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
}
