/* =============================================
   HEY ZEN - Neumorphism (Soft UI) Design
   Tactile, Calm, Modern, Physically Grounded
   ============================================= */

/* CSS Custom Properties - Neumorphism Tokens */
:root {
  /* Core Colors - Cool Monochromatic */
  --background: #E0E5EC;
  --foreground: #3D4852;
  --muted: #6B7280;
  --accent: #6C63FF;
  --accent-light: #8B84FF;
  --accent-secondary: #38B2AC;

  /* Shadow Colors - RGBA for Smoothness */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-light-strong: rgba(255, 255, 255, 0.6);
  --shadow-dark: rgb(163, 177, 198, 0.6);
  --shadow-dark-strong: rgb(163, 177, 198, 0.7);

  /* Typography */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius - Soft & Rounded */
  --radius-sm: 12px;
  --radius-base: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows - The Core of Neumorphism */
  --shadow-extruded: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255,0.5);
  --shadow-extruded-hover: 12px 12px 20px rgb(163,177,198,0.7), -12px -12px 20px rgba(255,255,255,0.6);
  --shadow-extruded-small: 5px 5px 10px rgb(163,177,198,0.6), -5px -5px 10px rgba(255,255,255,0.5);
  --shadow-inset: inset 6px 6px 10px rgb(163,177,198,0.6), inset -6px -6px 10px rgba(255,255,255,0.5);
  --shadow-inset-deep: inset 10px 10px 20px rgb(163,177,198,0.7), inset -10px -10px 20px rgba(255,255,255,0.6);
  --shadow-inset-small: inset 3px 3px 6px rgb(163,177,198,0.6), inset -3px -3px 6px rgba(255,255,255,0.5);

  /* Transitions */
  --transition-base: 300ms ease-out;
  --transition-slow: 500ms ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Paper texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  z-index: 0;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-3xl);
  }
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-lg);
  background: var(--accent);
  color: white;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-base);
  z-index: 10000;
  box-shadow: var(--shadow-extruded);
}

.skip-link:focus {
  top: var(--space-md);
}

/* =============================================
   Header / Navigation
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--background);
  padding: var(--space-md) 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-extruded);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

/* Desktop Navigation */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-base);
  transition: color var(--transition-base), box-shadow var(--transition-base);
}

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

.nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-extruded-small);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-extruded);
}

.nav-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--background);
  border: none;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-extruded-small);
  cursor: pointer;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-extruded);
}

.mobile-menu-btn:active {
  transform: translateY(0.5px);
  box-shadow: var(--shadow-inset-small);
}

.mobile-menu-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-sm));
  left: var(--space-lg);
  right: var(--space-lg);
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-extruded);
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-sm);
}

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

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: var(--space-md);
  border-radius: var(--radius-base);
  transition: color var(--transition-base), box-shadow var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--foreground);
  box-shadow: var(--shadow-inset-small);
}

.mobile-nav-cta {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-sm);
  background: var(--accent);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-extruded-small);
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-4xl) 0 var(--space-5xl);
  }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

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

@media (min-width: 900px) {
  .hero-content {
    text-align: left;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--background);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-inset-small);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #F97316;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--foreground);
  margin-bottom: var(--space-lg);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

@media (max-width: 899px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--radius-base);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-extruded);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-extruded-hover);
}

.btn-primary:active {
  transform: translateY(0.5px);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.15), inset -4px -4px 8px rgba(255, 255, 255, 0.1);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--shadow-extruded), 0 0 0 3px var(--background), 0 0 0 5px var(--accent);
}

.btn-secondary {
  background: var(--background);
  color: var(--foreground);
  box-shadow: var(--shadow-extruded);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-extruded-hover);
}

.btn-secondary:active {
  transform: translateY(0.5px);
  box-shadow: var(--shadow-inset-small);
}

.btn-secondary:focus-visible {
  outline: none;
  box-shadow: var(--shadow-extruded), 0 0 0 3px var(--background), 0 0 0 5px var(--accent);
}

/* =============================================
   Phone Mockup - Realistic iPhone Style
   ============================================= */

.hero-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Decorative Circles */
.deco-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
}

@media (max-width: 480px) {
  .deco-circles {
    width: 360px;
    height: 360px;
  }
}

.deco-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.deco-circle-outer {
  width: 100%;
  height: 100%;
  box-shadow: var(--shadow-extruded);
  animation: float 6s ease-in-out infinite;
}

.deco-circle-middle {
  width: 75%;
  height: 75%;
  box-shadow: var(--shadow-inset);
  animation: float 6s ease-in-out infinite 0.5s;
}

.deco-circle-inner {
  width: 50%;
  height: 50%;
  box-shadow: var(--shadow-extruded-small);
  animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -52%) scale(1.02); }
}

.deco-circles:hover .deco-circle-outer {
  box-shadow: var(--shadow-extruded-hover);
}

.deco-circles:hover .deco-circle-inner {
  transform: translate(-50%, -50%) scale(1.05) rotate(180deg);
}

/* iPhone Frame */
.phone-mockup {
  width: 340px;
  position: relative;
  z-index: 10;
}

@media (max-width: 480px) {
  .phone-mockup {
    width: 290px;
  }
}

.phone-frame {
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
  border-radius: 52px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 30px 60px -30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* iPhone side buttons */
.phone-frame::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 100px;
  width: 3px;
  height: 28px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
  border-radius: 2px 0 0 2px;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

.phone-frame::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 140px;
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
  border-radius: 2px 0 0 2px;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* Dynamic Island */
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background: #000;
  border-radius: 24px;
  z-index: 30;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.8);
}

/* Camera lens in Dynamic Island */
.phone-notch::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #1a3a5c 0%, #0a1a2c 60%, #000 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
}

/* iOS Screen */
.phone-screen {
  background: #F2F2F7;
  border-radius: 40px;
  height: 660px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

@media (max-width: 480px) {
  .phone-screen {
    height: 560px;
  }
}

/* iOS Status bar */
.phone-status-bar {
  height: 60px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 28px 10px;
  background: #F2F2F7;
}

.phone-status-bar::before {
  content: "9:41";
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.phone-status-bar::after {
  content: "";
  width: 66px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 12'%3E%3Cpath d='M0 3.5C0 2.12 1.12 1 2.5 1h11c1.38 0 2.5 1.12 2.5 2.5v5c0 1.38-1.12 2.5-2.5 2.5h-11C1.12 11 0 9.88 0 8.5v-5z' fill='none' stroke='%23000' stroke-width='1'/%3E%3Crect x='17' y='4' width='1.5' height='4' rx='0.5' fill='%23000' opacity='0.4'/%3E%3Crect x='1.5' y='2.5' width='12' height='7' rx='1.5' fill='%23000'/%3E%3Cpath d='M24 2.5l3.5-2 3.5 2v7l-3.5 2-3.5-2z' fill='%23000'/%3E%3Cpath d='M33 2.5l3.5-2 3.5 2v7l-3.5 2-3.5-2z' fill='%23000'/%3E%3Cpath d='M42 2.5l3.5-2 3.5 2v7l-3.5 2-3.5-2z' fill='%23000'/%3E%3Cpath d='M51 2.5l3.5-2 3.5 2v7l-3.5 2-3.5-2z' fill='%23000'/%3E%3Cpath d='M54 5c3.3 0 6 2.7 6 6h-2c0-2.2-1.8-4-4-4V5z' fill='%23000'/%3E%3Cpath d='M54 8c1.7 0 3 1.3 3 3h-3V8z' fill='%23000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* iOS Messages Header */
.phone-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 14px;
  background: #F2F2F7;
  flex-shrink: 0;
  position: relative;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

/* Back chevron */
.phone-header::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-left: 2.5px solid #007AFF;
  border-bottom: 2.5px solid #007AFF;
  transform: translateY(-50%) rotate(45deg);
}

.phone-header-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.02em;
}

/* Contact avatar circle */
.phone-header::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #A8E6CF 0%, #7BC89C 100%);
  border-radius: 50%;
}

/* Messages area - iOS style */
.phone-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  gap: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #F2F2F7;
}

.phone-messages::-webkit-scrollbar {
  display: none;
}

.phone-messages.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* iMessage bubbles */
.msg {
  max-width: 78%;
  padding: 8px 12px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 15px;
  line-height: 1.35;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(12px);
  animation: msgAppear 0.3s ease forwards;
  position: relative;
}

/* Sent messages - blue iMessage bubble */
.msg.user {
  align-self: flex-end;
  background: #007AFF;
  color: white;
  border-radius: 18px 18px 4px 18px;
  margin-right: 2px;
}

/* Received messages - gray bubble */
.msg.system {
  align-self: flex-start;
  background: #E5E5EA;
  color: #000;
  border-radius: 18px 18px 18px 4px;
  margin-left: 2px;
}

/* Timestamp labels - iOS style */
.msg-time {
  align-self: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #8E8E93;
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  animation: msgAppear 0.25s ease forwards;
}

/* Typing indicator - iOS style */
.phone-typing {
  padding: 4px 10px 8px;
  display: none;
}

.phone-typing.visible {
  display: block;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #E5E5EA;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  margin-left: 2px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: #8E8E93;
  border-radius: 50%;
  animation: iosTyping 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes iosTyping {
  0%, 60%, 100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

/* iOS Input bar */
.phone-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 32px;
  background: #F2F2F7;
  flex-shrink: 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

/* Plus button */
.phone-input-bar::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #8E8E93;
  color: white;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.phone-input-field {
  flex: 1;
  height: 38px;
  background: #fff;
  border: 1px solid #C7C7CC;
  border-radius: 19px;
  padding: 0 14px;
}

/* Send button - iOS arrow style */
.phone-send-btn {
  width: 32px;
  height: 32px;
  background: #007AFF;
  border-radius: 50%;
  position: relative;
}

.phone-send-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%) rotate(-45deg);
  width: 10px;
  height: 10px;
  border-top: 2.5px solid white;
  border-right: 2.5px solid white;
}

/* Persona Slider - Neumorphic */
.persona-slider {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.persona-track {
  display: flex;
  position: relative;
  background: var(--background);
  border-radius: var(--radius-full);
  padding: 6px;
  gap: 4px;
  box-shadow: var(--shadow-inset);
}

.persona-option {
  position: relative;
  z-index: 2;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
}

.persona-option:hover:not(.active) {
  color: var(--foreground);
}

.persona-option.active {
  background: var(--background);
  color: var(--accent);
  box-shadow: var(--shadow-extruded-small);
}

.persona-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent);
}

/* Animations */
@keyframes msgAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
}

/* =============================================
   Section Styles
   ============================================= */

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: var(--background);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-inset-small);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   How It Works
   ============================================= */

.how-it-works {
  padding: var(--space-4xl) 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.step {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-extruded);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-extruded-hover);
}

/* Nested depth: Card (extruded) -> Icon well (inset) -> Icon (extruded) */
.step-icon-well {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inset-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--background);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-extruded-small);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step:hover .step-icon {
  transform: scale(1.05);
}

.step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: var(--space-sm);
}

.step-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =============================================
   Use Cases
   ============================================= */

.use-cases {
  padding: var(--space-4xl) 0;
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .use-case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.use-case-card {
  padding: var(--space-2xl);
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-extruded);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.use-case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-extruded-hover);
}

.use-case-icon-well {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
  background: var(--background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inset-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case-icon {
  font-size: 1.75rem;
}

.use-case-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: var(--space-sm);
}

.use-case-description {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =============================================
   Why SMS
   ============================================= */

.why-sms {
  padding: var(--space-4xl) 0;
}

.why-sms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .why-sms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-extruded);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-extruded-hover);
}

.why-icon-well {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--background);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-inset);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon {
  font-size: 1.5rem;
}

.why-content h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: var(--space-xs);
}

.why-content p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

/* =============================================
   Stats Section
   ============================================= */

.stats-section {
  padding: var(--space-4xl) 0;
}

.stats-card {
  background: var(--background);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-extruded);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  text-align: center;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.stat-number-well {
  width: 100px;
  height: 100px;
  background: var(--background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inset-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
}

/* =============================================
   Waitlist Section
   ============================================= */

.waitlist {
  padding: var(--space-4xl) 0;
}

.waitlist-card {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-extruded);
  text-align: center;
}

.waitlist-form {
  margin-top: var(--space-2xl);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (min-width: 480px) {
  .form-group {
    flex-direction: row;
  }
}

.form-group input {
  flex: 1;
  padding: var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--foreground);
  background: var(--background);
  border: none;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-inset);
  transition: box-shadow var(--transition-base);
}

.form-group input:focus {
  outline: none;
  box-shadow: var(--shadow-inset-deep), 0 0 0 2px var(--background), 0 0 0 4px var(--accent);
}

.form-group input::placeholder {
  color: #A0AEC0;
}

.submit-btn {
  padding: var(--space-lg) var(--space-2xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-extruded);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  white-space: nowrap;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-extruded-hover);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0.5px);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.15), inset -4px -4px 8px rgba(255, 255, 255, 0.1);
}

.submit-btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-extruded), 0 0 0 3px var(--background), 0 0 0 5px var(--accent);
}

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

.btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  visibility: hidden;
}

.submit-btn.loading .btn-loading {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
}

/* Error message styling */
.form-error {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #DC2626;
  margin-top: var(--space-sm);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
}

.form-error.visible {
  opacity: 1;
  max-height: 60px;
  margin-top: var(--space-md);
}

/* Honeypot field - hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Input error state */
.form-group input:invalid:not(:placeholder-shown) {
  box-shadow: var(--shadow-inset), 0 0 0 2px #DC2626;
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}

.waitlist-success.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon-well {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--background);
  border-radius: 50%;
  box-shadow: var(--shadow-inset-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon {
  font-size: 2rem;
  color: var(--accent-secondary);
}

.waitlist-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: var(--space-sm);
}

.waitlist-success p {
  font-family: var(--font-body);
  color: var(--muted);
}

/* =============================================
   Footer
   ============================================= */

.footer {
  padding: var(--space-2xl) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-xl);
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-inset);
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
}

/* =============================================
   Responsive Adjustments
   ============================================= */

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-md);
  }

  .persona-option {
    padding: 10px 14px;
    font-size: 0.7rem;
  }
}
