@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================
   ZAPU DESIGN SYSTEM & GLOBAL VARIABLES
   Light Theme (Default)
   ========================================== */
:root {
  --bg-dark: #ffffff;
  --bg-card: #f7f7fa;
  --bg-card-hover: #eeeef3;
  --primary: #8446ff;
  --primary-hover: #6e2bf2;
  --primary-glow: rgba(132, 70, 255, 0.15);
  --primary-glow-strong: rgba(132, 70, 255, 0.35);
  --text-primary: #111118;
  --text-secondary: #44445a;
  --text-muted: #7a7a8e;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(132, 70, 255, 0.35);
  --success: #059669;
  --success-glow: rgba(5, 150, 105, 0.12);
  --font-family: 'Poppins', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --container-width: 1200px;
}

/* Base Reset & Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: var(--font-family);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
  background: #c5c5d0;
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #a678ff 50%, #6e2bf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-shell {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateY(0.08em);
  animation: cursorBlink 0.9s steps(2, start) infinite;
}

.hero-static-line {
  color: var(--text-primary);
}

.accent-text {
  color: var(--primary);
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
}

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

/* ==========================================
   BUTTONS & CONTROLS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 24px var(--primary-glow-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER SECTION
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.logo svg {
  height: 28px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

nav ul li a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(132, 70, 255, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(132, 70, 255, 0.06);
  border: 1px solid rgba(132, 70, 255, 0.18);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-tag svg {
  animation: pulse 2s infinite;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
  color: var(--text-primary);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 580px;
  color: var(--text-secondary);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-bullet-item svg {
  color: var(--success);
}

/* Real checkout product showcase */
.mockup-wrapper {
  position: relative;
}

.mockup-glow {
  position: absolute;
  width: 125%;
  height: 100%;
  top: 4%;
  left: -12%;
  background:
    radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 64% 55%, rgba(132, 70, 255, 0.14) 0%, transparent 58%);
  z-index: -1;
  pointer-events: none;
}

.hero-phone-showcase {
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

.phone-stage {
  position: relative;
  width: min(380px, 76vw);
  aspect-ratio: 864 / 1821;
  animation: phoneFloat 5.5s ease-in-out infinite;
}

.checkout-phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(17, 24, 39, 0.2));
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.checkout-phone-shot.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-feature-pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.72;
  transform: translateY(0) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
}

.hero-feature-pill.active {
  border-color: rgba(16, 185, 129, 0.48);
  opacity: 1;
  transform: translateY(-4px) scale(1);
}

.feature-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.hero-feature-pill-top {
  top: 86px;
  left: 16px;
}

.hero-feature-pill-right {
  top: 260px;
  right: -8px;
}

.hero-feature-pill-bottom {
  bottom: 98px;
  left: 28px;
}

/* ==========================================
   METRICS BANNER
   ========================================== */
.metrics-section {
  padding: 40px 0;
  background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 50%, #f5f3ff 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

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

.metric-card h3 {
  font-size: 2.8rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.metric-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================
   INTERACTIVE CALCULATOR
   ========================================== */
.calculator-section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.calculator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.slider-group {
  display: flex;
  flex-direction: column;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-label span:nth-child(1) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.slider-label span:nth-child(2) {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Custom Range Input Styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-scrollbar {
  display: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #ffffff;
  box-shadow: 0 0 10px var(--primary-glow-strong);
  transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary);
}

.calc-results {
  background: rgba(132, 70, 255, 0.04);
  border: 1px solid rgba(132, 70, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-results::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(132, 70, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.result-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.result-row:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
  padding-bottom: 0;
}

.result-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.result-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.result-value.accented {
  color: var(--success);
}

/* ==========================================
   FEATURES / OS PILLARS
   ========================================== */
.features-section {
  padding: 100px 0;
  background-color: #f5f3ff;
  position: relative;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(132, 70, 255, 0.08);
  border: 1px solid rgba(132, 70, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-secondary);
}

.feature-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-bullet svg {
  color: var(--primary);
}

/* ==========================================
   LEAD CAPTURE WIZARD (ZOHO)
   ========================================== */
.audit-section {
  padding: 100px 0;
  position: relative;
}

.audit-container {
  max-width: 800px;
  margin: 0 auto;
}

.wizard-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.progress-bar-fill {
  position: absolute;
  top: 14px;
  left: 0;
  height: 2px;
  background: var(--primary);
  z-index: 2;
  transition: var(--transition-smooth);
  width: 0%;
}

.step-node {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  z-index: 3;
  transition: var(--transition-smooth);
}

.step-node.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 10px var(--primary-glow);
}

.step-node.completed {
  border-color: var(--success);
  background: var(--success);
  color: #ffffff;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.wizard-step h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.wizard-step > p {
  font-size: 0.95rem;
  margin-bottom: 28px;
  color: var(--text-secondary);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input, .form-group select {
  font-family: var(--font-family);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(132, 70, 255, 0.12);
}

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

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

.platform-option {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.platform-option:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: #f9f9fc;
}

.platform-option.selected {
  border-color: var(--primary);
  background: rgba(132, 70, 255, 0.05);
}

.platform-option h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 8px;
  color: var(--text-primary);
}

.platform-option svg {
  height: 24px;
  width: auto;
  color: var(--text-secondary);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 24px;
}

/* Loader Screen Animation */
.wizard-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.4s ease-in-out;
}

.wizard-loader.active {
  display: flex;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(132, 70, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
  margin-bottom: 24px;
}

.audit-checklist {
  text-align: left;
  max-width: 320px;
  margin: 20px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.checklist-item.verified {
  color: var(--success);
  opacity: 1;
}

.checklist-item.verified svg {
  color: var(--success);
}

.checklist-item svg {
  flex-shrink: 0;
}

/* Success View */
.wizard-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wizard-success.active {
  display: flex;
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  background: var(--success-glow);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.wizard-success h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.wizard-success p {
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

/* ==========================================
   DEMO BOOKING SECTION
   ========================================== */
.demo-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(132, 70, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.demo-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.demo-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.demo-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.demo-bullet-item svg {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.demo-bullet-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.demo-bullet-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.demo-visual {
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  text-align: center;
}

.demo-visual h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.calendar-preview {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.cal-day {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #9999aa;
}

.cal-day.available {
  background: rgba(132, 70, 255, 0.12);
  color: #a678ff;
  border: 1px solid rgba(132, 70, 255, 0.25);
  font-weight: 600;
  cursor: pointer;
}

.cal-day.selected {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================
   FAQS & FOOTER
   ========================================== */
.faqs-section {
  padding: 100px 0;
}

.faqs-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  user-select: none;
  color: var(--text-primary);
}

.faq-question span {
  transition: var(--transition-smooth);
  color: var(--text-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0, 0, 0, 0.01);
}

.faq-answer-content {
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: var(--border-color-hover);
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* Footer styling */
footer {
  background: #1a1a24;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 320px;
  color: #b0b0be;
}

.footer-links h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #b0b0be;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  font-size: 0.8rem;
  color: #7a7a8e;
}

.footer-bottom p {
  color: #7a7a8e;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

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

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

/* ==========================================
   RESPONSIVENESS (BREAKPOINTS)
   ========================================== */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .hero-grid, .calculator-wrapper, .demo-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mockup-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-phone-showcase {
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  nav ul, .nav-actions {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }

  .typing-shell {
    white-space: normal;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .calculator-wrapper {
    padding: 24px;
  }

  .hero-phone-showcase {
    min-height: 500px;
    width: 100%;
  }

  .phone-stage {
    width: min(310px, 78vw);
  }

  .hero-feature-pill {
    font-size: 0.74rem;
    min-height: 36px;
    padding: 7px 10px;
  }

  .hero-feature-pill-top {
    top: 48px;
    left: 0;
  }

  .hero-feature-pill-right {
    top: 230px;
    right: 0;
  }

  .hero-feature-pill-bottom {
    bottom: 72px;
    left: 8px;
  }
  
  .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
