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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(220, 20%, 8%);
  --foreground: hsl(210, 40%, 98%);
  --card: hsl(220, 15%, 12%);
  --card-foreground: hsl(210, 40%, 98%);
  --primary: hsl(195, 100%, 50%);
  --primary-foreground: hsl(220, 20%, 8%);
  --secondary: hsl(220, 15%, 18%);
  --muted: hsl(220, 15%, 15%);
  --muted-foreground: hsl(215, 20%, 55%);
  --accent: hsl(210, 100%, 55%);
  --border: hsl(220, 15%, 20%);
  --gradient-primary: linear-gradient(135deg, hsl(210, 100%, 50%), hsl(180, 100%, 50%));
  --glass-bg: hsla(220, 15%, 15%, 0.6);
  --glass-border: hsla(220, 15%, 25%, 0.5);
  --glow-primary: 0 0 60px hsla(195, 100%, 50%, 0.3);
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

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

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

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-hero {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

.btn-hero:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px hsla(195, 100%, 50%, 0.3);
}

.btn-hero:active {
  transform: scale(0.98);
}

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--foreground);
  backdrop-filter: blur(20px);
}

.btn-glass:hover {
  background: var(--secondary);
  border-color: hsla(195, 100%, 50%, 0.3);
}

.btn-sm {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo img {
  width: 2.5rem;
  height: 2.5rem;
}

.navbar-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.navbar-links {
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 2rem;
}

.navbar-links a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--foreground);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1rem;
  padding-top: calc(5rem + 4rem); /* navbar height (5rem) + breathing room */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), var(--background), hsla(220, 15%, 18%, 0.2));
}

.hero-glow-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(195, 100%, 50%, 0.1);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse-slow 4s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsla(210, 100%, 55%, 0.1);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse-slow 4s ease-in-out infinite;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 72rem;
  width: 80%;
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-align: left;
    justify-content: space-between;
  }
}

.hero-text {
  flex: 1;
  animation: fade-up 0.8s ease-out forwards;
}


.hero h1 {
  font-size: 3rem; /* slightly larger on small screens */
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem; /* larger at tablet */
    line-height: 1.1;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.25rem; /* larger on desktop */
    line-height: 1.05;
  }

  .hero-text {
    transform: translateY(-6%); /* nudge text upward */
  }

  .hero h1 .gradient-text {
    display: block;
    white-space: nowrap; /* keep second line on one line */
  }
}

.hero h1 .gradient-text {
  display: block;
  white-space: nowrap; /* keep second line on one line */
}

.hero h1 .hero-line-1 {
  display: inline-block;
  white-space: nowrap; /* keep first line on one line */
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

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

.hero-social-proof {
  margin-top: 2rem;
}

.hero-social-proof p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

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

@media (min-width: 1024px) {
  .hero-stat {
    align-items: flex-start;
  }
}

.hero-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Phone Mockup Styles */
.hero-phone-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 3rem;
  animation: fade-up 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero-phone-container {
    margin-top: 0;
    justify-content: flex-end;
  }
}

.phone-mockup {
  position: relative;
  width: 280px;
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 768px) {
  .phone-mockup {
    width: 320px;
  }
}

.phone-glow {
  position: absolute;
  inset: -30%;
  background: hsla(195, 100%, 50%, 0.2);
  filter: blur(80px);
  border-radius: 50%;
  z-index: -1;
}

.phone-frame {
  position: relative;
  background: #1a1a1a;
  border-radius: 3rem;
  padding: 0.75rem;
  box-shadow: 
    0 0 0 2px #2a2a2a,
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px hsla(195, 100%, 50%, 0.15);
}

.phone-screen {
  border-radius: 2.5rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 19.5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 2rem;
  background: #1a1a1a;
  border-radius: 0 0 1.5rem 1.5rem;
  z-index: 10;
}

.features {
  position: relative;
  padding: 6rem 1rem;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .features-header h2 {
    font-size: 3rem;
  }
}

.features-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-primary);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: hsla(195, 100%, 50%, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.how-it-works {
  position: relative;
  padding: 4rem 1rem;
  overflow: hidden;
}

.how-it-works-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(220, 15%, 18%, 0.3), transparent);
}

.how-it-works-content {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .how-it-works-header h2 {
    font-size: 3rem;
  }
}

.how-it-works-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.steps {
  position: relative;
}

.steps-line {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, hsla(195, 100%, 50%, 0.5), hsla(210, 100%, 55%, 0.5), transparent);
}

@media (min-width: 768px) {
  .steps-line {
    display: block;
  }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .step {
    flex-direction: row;
    gap: 4rem;
  }

  .step:nth-child(even) {
    flex-direction: row-reverse;
  }

  .step:nth-child(even) .step-card {
    text-align: left;
  }

  .step:nth-child(odd) .step-card {
    text-align: right;
  }
}

.step-card {
  flex: 1;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 28rem;
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.step-dot {
  display: none;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--glow-primary);
  z-index: 10;
}

@media (min-width: 768px) {
  .step-dot {
    display: block;
  }
}

.step-spacer {
  display: none;
  flex: 1;
}

@media (min-width: 768px) {
  .step-spacer {
    display: block;
  }
}

.faq {
  position: relative;
  padding: 3.5rem 1rem;
}

.faq-content {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .faq-header h2 {
    font-size: 3rem;
  }
}

.faq-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.faq-item {
  border-radius: 1rem;
  overflow: visible;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  color: var(--foreground);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 1rem;
}

.faq-question:hover {
  border-color: hsla(195, 100%, 50%, 0.3);
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--primary);
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer-content {
  padding: 1.5rem 1.5rem 2rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: none;
  backdrop-filter: blur(20px);
  border-radius: 1rem;
}

.faq-contact {
  text-align: center;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  backdrop-filter: blur(20px);
}

.faq-contact p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.faq-contact a {
  color: var(--primary);
  font-weight: 500;
  transition: opacity 0.2s;
}

.faq-contact a:hover {
  opacity: 0.8;
}

.faq::after {
  content: "";
  display: block;
  margin: 5rem auto 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    hsla(195, 100%, 50%, 0.4),
    transparent
  );
}

.cta {
  position: relative;
  padding: 5rem 1rem;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    transparent,
    hsla(195, 100%, 50%, 0.05),
    hsla(195, 100%, 50%, 0.08)
  );
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: hsla(195, 100%, 50%, 0.15);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-content {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-card {
  padding: 3rem;
  border-radius: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-card h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-card h2 {
    font-size: 3rem;
  }
}

.cta-card > p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-disclaimer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--foreground);
}

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

/* Waitlist Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: hsla(220, 20%, 8%, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  max-width: 32rem;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 25px 50px hsla(0, 0%, 0%, 0.5);
  animation: slideUp 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--foreground);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--foreground);
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(195, 100%, 50%, 0.1);
}

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

.form-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.5rem;
}

.btn-loading {
  display: none;
}

.spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}

.success-message {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  stroke: var(--primary);
  stroke-width: 2;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.success-message p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.error-message {
  padding: 1rem;
  background: hsla(0, 100%, 50%, 0.1);
  border: 1px solid hsla(0, 100%, 50%, 0.3);
  border-radius: 0.75rem;
  text-align: center;
  color: hsl(0, 100%, 70%);
  font-size: 0.875rem;
  margin-top: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
}

/* Mobile adjustments for small phones (iPhone / narrow devices) */
@media (max-width: 420px) {
  /* Navbar - smaller height and tighter padding */
  .navbar-content {
    height: 4.5rem;
    padding: 0 0.75rem;
  }

  .navbar-logo img {
    width: 2rem;
    height: 2rem;
  }

  .navbar-logo span {
    font-size: 1rem;
  }

  /* Hero - reduce vertical spacing so content fits above the fold better */
  .hero {
    padding: 2rem 1rem;
    padding-top: calc(4.5rem + 3rem); /* mobile navbar height + breathing room */
    min-height: 100vh;
  }

  .hero-content {
    width: 100%;
    padding-top: 0.75rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  /* Allow the headline lines to wrap on narrow screens */
  .hero h1 .gradient-text,
  .hero h1 .hero-line-1 {
    white-space: normal;
    display: inline;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hero-phone-container {
    margin-top: 1.5rem;
  }

  .phone-mockup {
    width: 200px;
  }

  .hero-stats {
    gap: 1rem;
  }

  /* Reduce section padding for a tighter mobile layout */
  .features,
  .how-it-works,
  .faq,
  .cta {
    padding: 3rem 1rem;
  }

  .features-header h2,
  .how-it-works-header h2,
  .faq-header h2,
  .cta-card h2 {
    font-size: 1.5rem;
  }

  /* Modal fits comfortably on small screens */
  .modal-content {
    max-width: 95%;
    padding: 1.5rem;
  }

  /* Footer spacing adjustments */
  .footer-content {
    padding: 1rem 0;
  }
}

/* Slightly larger phones / small tablets */
@media (max-width: 640px) and (min-width: 421px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .phone-mockup {
    width: 240px;
  }

  .hero {
    padding: 2.5rem 1rem;
    padding-top: calc(5rem + 4rem);
  }
}

/* ================================================================
   ANDROID WAITLIST PAGE — android.html
   ================================================================ */

/* ─── Android Navbar additions ──────────────────────────────── */
.navbar-badge {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-left: 0.25rem;
  text-transform: uppercase;
}

.ios-link {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.ios-link:hover { color: var(--foreground); }

/* ─── Android Hero ──────────────────────────────────────────── */
.android-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0;
  animation: particle-rise linear infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 56rem;
  width: 100%;
  animation: fade-up 0.8s ease-out both;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}
.platform-badge svg { width: 1rem; height: 1rem; }
.platform-badge strong { color: var(--foreground); }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 38rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

/* Stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.8rem; color: var(--muted-foreground); }

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}
@media (max-width: 500px) { .stat-divider { display: none; } }

/* ─── Inline Waitlist Form ──────────────────────────────────── */
.hero-form-wrap {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
}

.inline-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.inline-form input[type="text"],
.inline-form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.inline-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(195, 100%, 50%, 0.12);
}
.inline-form input::placeholder { color: var(--muted-foreground); }
.inline-form .btn-hero {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.form-success svg {
  width: 3rem;
  height: 3rem;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  margin-bottom: 1rem;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--muted-foreground); font-size: 0.95rem; }

.form-error {
  display: none;
  padding: 0.75rem 1rem;
  background: hsla(0, 100%, 50%, 0.1);
  border: 1px solid hsla(0, 100%, 50%, 0.3);
  border-radius: var(--radius);
  color: hsl(0, 100%, 70%);
  font-size: 0.875rem;
  text-align: center;
}

.btn-spinner { display: none; }
.spinner {
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid hsla(220, 20%, 8%, 0.3);
  border-top-color: hsl(220, 20%, 8%);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ─── Section shared styles ─────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .section-header h2 { font-size: 2.75rem; } }
.section-header p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Features / Coming Section ─────────────────────────────── */
.coming {
  padding: 6rem 1.5rem;
  position: relative;
}
.coming-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(220, 15%, 10%, 0.5), transparent);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px hsla(195, 100%, 50%, 0.08);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: hsla(195, 100%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.625rem; }
.feature-card p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.65; }

/* ─── Roadmap ────────────────────────────────────────────────── */
.roadmap {
  padding: 6rem 1.5rem;
  position: relative;
}
.roadmap-track {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.roadmap-line {
  position: absolute;
  left: 1.375rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--border), hsla(195, 100%, 50%, 0.3), var(--border));
}
@media (min-width: 640px) { .roadmap-line { left: calc(50% - 1px); } }

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}
@media (min-width: 640px) {
  .roadmap-item { flex-direction: column; align-items: center; text-align: center; }
  .roadmap-item:nth-child(even) { align-items: flex-end; text-align: right; }
}

.roadmap-dot {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.roadmap-dot.done {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}
.roadmap-dot.active {
  background: var(--glass-bg);
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.3);
}
.roadmap-dot.upcoming {
  background: var(--glass-bg);
  border: 2px solid var(--border);
  color: var(--muted-foreground);
}
.roadmap-body { flex: 1; }
.roadmap-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.roadmap-body p { font-size: 0.875rem; color: var(--muted-foreground); }

.roadmap-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.3rem;
}
.tag-live    { background: hsla(130, 70%, 50%, 0.15); color: hsl(130, 70%, 55%); }
.tag-soon    { background: hsla(195, 100%, 50%, 0.12); color: var(--primary); }
.tag-coming  { background: var(--secondary); color: var(--muted-foreground); }

/* ─── Pricing Section ───────────────────────────────────────── */
.proof {
  padding: 5rem 1.5rem;
  position: relative;
}
.proof-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(195, 100%, 50%, 0.04) 0%, transparent 70%);
}

.pricing-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .pricing-wrap {
    flex-direction: row;
    align-items: stretch;
  }
}

.pricing-card {
  flex: 1;
  padding: 2.25rem 2rem;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.pricing-card-premium {
  border-color: hsla(195, 100%, 50%, 0.35);
}
.pricing-card-glow {
  position: absolute;
  top: -40%; right: -30%;
  width: 14rem; height: 14rem;
  background: hsla(195, 100%, 50%, 0.08);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.pricing-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.pricing-label-premium {
  background: hsla(195, 100%, 50%, 0.12);
  color: var(--primary);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
}
.price-period {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pricing-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-perks li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--foreground);
}
.pricing-perks svg {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--primary);
}

.pricing-arrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
  font-size: 0.8rem;
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .pricing-arrow { flex-direction: column; gap: 0.3rem; }
}
.pricing-arrow svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: var(--muted-foreground);
  transform: rotate(90deg);
}
@media (min-width: 700px) {
  .pricing-arrow svg { transform: rotate(0deg); }
}

.pricing-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-top: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Bottom CTA Section ────────────────────────────────────── */
.cta-section {
  padding: 6rem 1.5rem;
  position: relative;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: hsla(195, 100%, 50%, 0.12);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-card {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  position: relative;
}
@media (min-width: 768px) { .cta-card { padding: 4rem 3rem; } }
.cta-card h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-card h2 { font-size: 2.5rem; } }
.cta-card > p { color: var(--muted-foreground); margin-bottom: 2rem; }
.cta-disclaimer { font-size: 0.8rem; color: var(--muted-foreground); margin-top: 1.5rem; }

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 26rem;
  margin: 0 auto;
}
.cta-form input[type="text"],
.cta-form input[type="email"] {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.cta-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(195, 100%, 50%, 0.12);
}
.cta-form input::placeholder { color: var(--muted-foreground); }
.cta-form .btn-hero { width: 100%; }

.cta-form-success {
  display: none;
  text-align: center;
}
.cta-form-success svg {
  width: 3rem; height: 3rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  margin-bottom: 1rem;
}
.cta-form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.cta-form-success p { color: var(--muted-foreground); font-size: 0.95rem; }

.cta-form-error {
  display: none;
  padding: 0.75rem 1rem;
  background: hsla(0, 100%, 50%, 0.1);
  border: 1px solid hsla(0, 100%, 50%, 0.3);
  border-radius: var(--radius);
  color: hsl(0, 100%, 70%);
  font-size: 0.875rem;
  text-align: center;
}

.ios-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.ios-cta p { font-size: 0.9rem; color: var(--muted-foreground); margin-bottom: 0.875rem; }
.ios-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--foreground);
  font-weight: 500;
  transition: all 0.2s;
}
.ios-cta a:hover {
  background: var(--secondary);
  border-color: hsla(195, 100%, 50%, 0.3);
}
.ios-cta a svg { width: 1.1rem; height: 1.1rem; fill: currentColor; stroke: none; }

/* ─── Additional keyframes for Android page ─────────────────── */
@keyframes particle-rise {
  0%   { opacity: 0;   transform: translateY(0)     scale(1);   }
  20%  { opacity: 0.7; }
  100% { opacity: 0;   transform: translateY(-60vh) scale(0.5); }
}

/* ─── Android mobile overrides ──────────────────────────────── */
@media (max-width: 480px) {
  .section-header h2 { font-size: 1.625rem; }
  .feature-card { padding: 1.5rem; }
}