/* ========================================
   Calozen Landing Page - Design System
   Primary: #6D7BFB (Indigo)
   Secondary: #22D3EE (Cyan)
   Accent: #10B981 (Emerald)
   Font: Plus Jakarta Sans
   ======================================== */

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

:root {
  --primary: #6D7BFB;
  --primary-dark: #5A67E0;
  --primary-light: #8B96FC;
  --secondary: #22D3EE;
  --accent: #10B981;
  --bg: #FAFBFF;
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --danger: #EF4444;
  --warning: #FB923C;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 50px rgba(109, 123, 251, 0.15);
  --transition: 200ms ease;
  --transition-slow: 300ms ease;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(109, 123, 251, 0.08);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(109, 123, 251, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(109, 123, 251, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(109, 123, 251, 0.04);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

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

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.btn {
  color: var(--white);
  background: var(--primary);
}

.nav-link.btn:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.active .icon-menu {
  display: none;
}

.nav-toggle.active .icon-close {
  display: block;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #F0F2FF 0%, var(--bg) 100%);
}

.hero-bg-gradient {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(109, 123, 251, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 123, 251, 0.08);
  border: 1px solid rgba(109, 123, 251, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.hero-badge svg,
.hero-badge i {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* --- Phone Mockup --- */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--white);
  border-radius: 40px;
  border: 6px solid #1a1a2e;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl), 0 0 0 2px rgba(109, 123, 251, 0.1);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8F9FF 0%, var(--white) 100%);
  display: flex;
  flex-direction: column;
  padding: 40px 16px 16px;
}

.screen-header {
  text-align: center;
  margin-bottom: 12px;
}

.screen-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.screen-food-image {
  position: relative;
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.food-placeholder {
  z-index: 1;
}

.scan-overlay {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(109, 123, 251, 0.3);
  border-radius: var(--radius-md);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {

  0%,
  100% {
    top: 0;
    opacity: 0.5;
  }

  50% {
    top: calc(100% - 2px);
    opacity: 1;
  }
}

.screen-results {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(109, 123, 251, 0.05);
  border-radius: var(--radius-sm);
}

.result-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-icon-wrap.cal {
  background: rgba(251, 146, 60, 0.15);
  color: var(--warning);
}

.result-icon-wrap i,
.result-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.result-info {
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.result-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.result-macros {
  display: flex;
  gap: 8px;
}

.macro-pill {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
}

.macro-pill.protein {
  background: rgba(109, 123, 251, 0.08);
}

.macro-pill.carbs {
  background: rgba(34, 211, 238, 0.08);
}

.macro-pill.fat {
  background: rgba(251, 146, 60, 0.08);
}

.macro-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.macro-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 2px;
}

.health-score {
  margin-top: auto;
}

.score-bar {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 6px;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.score-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(109, 123, 251, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- Waitlist Form (Pro-Max UX) --- */
.waitlist-form {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 99px;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(109, 123, 251, 0.15);
  transition: all var(--transition);
}

.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 25px rgba(109, 123, 251, 0.25);
  transform: translateY(-2px);
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  width: 20px;
  height: 20px;
  transition: color var(--transition);
}

.input-group:focus-within .input-icon {
  color: var(--primary);
}

.waitlist-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 16px 14px 52px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  width: 100%;
}

.waitlist-form input::placeholder {
  color: var(--text-light);
  transition: opacity var(--transition);
}

.waitlist-form input:focus::placeholder {
  opacity: 0.5;
}

.waitlist-form .btn-submit {
  position: relative;
  padding: 12px 28px;
  margin: 0;
  border-radius: 99px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  justify-content: center;
  overflow: hidden;
}

.waitlist-form .submit-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.waitlist-form .btn-submit:hover:not(:disabled) .submit-icon {
  transform: translateX(4px);
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  display: none;
}

.btn-submit.loading .submit-text,
.btn-submit.loading .submit-icon {
  display: none;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Message Status */
.waitlist-message {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 20px;
  max-width: 480px;
}

.waitlist-message.show {
  opacity: 1;
  transform: translateY(0);
}

.waitlist-message.success {
  color: var(--secondary);
}

.waitlist-message.error {
  color: #EF4444;
  /* red-500 */
}

/* --- Problem vs Solution --- */
.problem-solution {
  padding: 100px 0;
  background: var(--white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.comparison-card.old-way {
  background: #FFF7ED;
  border-color: #FED7AA;
}

.comparison-card.new-way {
  background: linear-gradient(135deg, rgba(109, 123, 251, 0.04), rgba(34, 211, 238, 0.04));
  border-color: rgba(109, 123, 251, 0.2);
  box-shadow: var(--shadow-md);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comparison-header i,
.comparison-header svg {
  width: 24px;
  height: 24px;
}

.old-way .comparison-header {
  color: #C2410C;
}

.new-way .comparison-header {
  color: var(--primary);
}

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

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.comparison-list li i,
.comparison-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.old-way .comparison-list li i,
.old-way .comparison-list li svg {
  color: var(--danger);
}

.new-way .comparison-list li i,
.new-way .comparison-list li svg {
  color: var(--accent);
}

/* --- Features --- */
.features {
  padding: 100px 0;
  background: var(--bg);
}

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

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109, 123, 251, 0.2);
}

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

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

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- How It Works --- */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition-slow);
  cursor: pointer;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109, 123, 251, 0.2);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(109, 123, 251, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.step-icon-wrap i,
.step-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  color: var(--text-light);
  flex-shrink: 0;
}

.step-connector i,
.step-connector svg {
  width: 24px;
  height: 24px;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #F0F2FF 100%);
}

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

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
  cursor: pointer;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #FBBF24;
}

.testimonial-stars i,
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #FBBF24;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.author-role {
  font-size: 13px;
  color: var(--text-light);
}

/* --- Download CTA --- */
.download-section {
  padding: 100px 0;
  background: var(--white);
}

.download-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 32px;
  padding: 64px;
  overflow: hidden;
  position: relative;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(109, 123, 251, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.download-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.store-button svg {
  flex-shrink: 0;
}

.store-info {
  display: flex;
  flex-direction: column;
}

.store-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1;
}

.store-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

/* Download phone mockup */
.download-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.phone-frame.small {
  width: 220px;
  height: 440px;
  border-radius: 32px;
  border-width: 5px;
}

.phone-frame.small .phone-notch {
  width: 100px;
  height: 24px;
}

.mini-dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
}

.mini-greeting {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.mini-calories {
  position: relative;
}

.mini-cal-ring {
  position: relative;
  width: 80px;
  height: 80px;
}

.mini-cal-ring svg {
  width: 80px;
  height: 80px;
}

.mini-cal-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.mini-macros {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 0 8px;
}

.mini-macro {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.mm-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.mm-lbl {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  margin-top: 2px;
}

/* --- Footer --- */
.footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 64px 0 32px;
}

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

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

.footer-brand .nav-logo span {
  color: var(--white);
}

.footer-tagline {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-group a {
  display: block;
  font-size: 14px;
  color: #64748B;
  padding: 6px 0;
  transition: color var(--transition);
  cursor: pointer;
}

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

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #475569;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 100px 0;
  background: var(--bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
}

.faq-item:hover {
  border-color: rgba(109, 123, 251, 0.3);
  box-shadow: var(--shadow-sm);
}

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

.faq-question:hover {
  color: var(--primary);
}

.faq-question i,
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: transform var(--transition-slow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(109, 123, 251, 0.02);
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question i,
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

/* --- Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scan-line {
    animation: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px;
  }

  .download-buttons {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 8px;
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

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

  .download-card {
    padding: 32px 24px;
    border-radius: var(--radius-xl);
  }

  .download-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    justify-content: center;
  }

  .download-buttons {
    flex-direction: column;
  }
}

/* --- Form Styles --- */
.waitlist-form {
  margin-top: 32px;
  width: 100%;
  max-width: 480px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--bg);
  border-radius: 99px;
  padding: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.input-icon {
  position: absolute;
  left: 20px;
  color: var(--text-muted);
  width: 20px;
  height: 20px;
}

#waitlist-email {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
}

#waitlist-submit {
  flex-shrink: 0;
  padding: 12px 24px;
  border-radius: 99px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.waitlist-message {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

.waitlist-message.success {
  color: var(--success);
}

.waitlist-message.error {
  color: var(--error);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.hidden {
  display: none !important;
}

/* --- FAQ Styles --- */
.faq-section {
  padding: 120px 0;
  background-color: var(--slate-50);
}

.faq-container {
  max-width: 700px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-question i {
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-light);
  line-height: 1.6;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* --- Blog Section Styles --- */
.blog-section {
  padding: 120px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.article-image {
  width: 100%;
  height: 200px;
  background: var(--slate-100);
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-excerpt {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.author-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.read-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================================
   Identity Quiz Hooks (Mobile & Desktop)
   ======================================== */

/* --- Mobile Pattern Interrupt --- */
.identity-hook-mobile {
  padding: 40px 0 20px;
  background: var(--bg);
}

.hook-container {
  display: flex;
  justify-content: center;
}

.hook-card {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
}

.hook-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
}

/* Enhanced Visual Hero for Mobile Hook */
.hook-visual-hero {
  position: relative;
  margin: 0 auto 24px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archetype-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.2;
  filter: blur(20px);
  animation: pulse-glow 3s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.8);
    opacity: 0.1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0.3;
  }
}

.archetype-cluster {
  position: relative;
  width: 100%;
  height: 100%;
}

.a-orb {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  animation: float-orb 4s infinite ease-in-out;
}

.a-orb.green {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #34D399, #059669);
  animation-delay: 0s;
}

.a-orb.blue {
  bottom: 10%;
  right: 10%;
  background: linear-gradient(135deg, #60A5FA, #2563EB);
  animation-delay: -1s;
}

.a-orb.orange {
  bottom: 10%;
  left: 10%;
  background: linear-gradient(135deg, #FBBF24, #D97706);
  animation-delay: -2s;
}

.a-orb.purple {
  top: 30%;
  right: 5%;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #A78BFA, #7C3AED);
  animation-delay: -3s;
}

@keyframes float-orb {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-8px) translateX(4px);
  }
}

.brain-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 40px;
  height: 40px;
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.hook-badge {
  display: inline-block;
  background: rgba(109, 123, 251, 0.2);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.hook-title {
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hook-text {
  color: #94A3B8;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hook-text strong {
  color: white;
}

.hook-text em {
  color: var(--secondary);
  font-style: normal;
  font-weight: 600;
}

.hook-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(109, 123, 251, 0.4);
}

.hook-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Hide Mobile Hook on Desktop */
@media (min-width: 1024px) {
  .identity-hook-mobile {
    display: none;
  }
}

/* --- Desktop Floating Widget --- */
.identity-hook-desktop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  transform: translateY(150px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
  /* Only show on desktop */
}

@media (min-width: 1024px) {
  .identity-hook-desktop {
    display: block;
  }
}

.identity-hook-desktop.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.desktop-hook-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  position: relative;
}

.close-hook {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.close-hook:hover {
  color: var(--danger);
  transform: scale(1.1);
}

.d-hook-icon-wrap {
  position: relative;
  flex-shrink: 0;
}

.d-hook-icon {
  font-size: 32px;
  background: linear-gradient(135deg, rgba(109, 123, 251, 0.1), rgba(34, 211, 238, 0.1));
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
}

.notification-ping {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: var(--danger);
  border-radius: 50%;
  border: 2px solid white;
  z-index: 10;
}

.notification-ping::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  opacity: 0;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.d-hook-text {
  display: flex;
  flex-direction: column;
}

.d-hook-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.d-hook-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.d-hook-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}