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

:root {
  --blue: #6DBDD4;
  --blue-dark: #4A9BB5;
  --blue-light: #E8F4F8;
  --teal: #2D9F93;
  --teal-dark: #1E7A70;
  --amber: #B45309;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 159, 147, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

/* ── Hero ── */
.hero {
  padding: 140px 24px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(109, 189, 212, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(45, 159, 147, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #f0f9fb 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(45, 159, 147, 0.1);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid rgba(45, 159, 147, 0.25);
}

.hero h1 {
  font-size: 3.75rem;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero .highlight {
  color: var(--teal);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.hero-phone {
  flex-shrink: 0;
}

/* ── Device Mockup ── */
.device-mockup {
  width: 280px;
  position: relative;
  flex-shrink: 0;
}

.device-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 50px;
  background:
    linear-gradient(
      145deg,
      #c8c7c4 0%,
      #a8a6a1 18%,
      #8f8d89 42%,
      #b7b5b0 66%,
      #e0dfdc 100%
    );
  border: 1px solid #6f6d69;
  box-shadow:
    0 30px 64px rgba(0, 0, 0, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.65) inset,
    0 -2px 0 rgba(68, 66, 62, 0.4) inset,
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.device-shell::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 47px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.device-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0) 24%,
    rgba(255, 255, 255, 0) 76%,
    rgba(255, 255, 255, 0.28) 100%
  );
  pointer-events: none;
}

.device-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Most emulator captures are slightly right-shifted; nudge left for realism */
  object-position: 42% 50%;
  filter: saturate(0.98) contrast(1.03);
  border-radius: 36px;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  border: 1px solid #0f0f10;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 10px rgba(0, 0, 0, 0.35) inset;
}

.device-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0) 70%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
  z-index: 5;
}

.device-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 26px;
  border-radius: 999px;
  background: #080809;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 -1px 0 rgba(0, 0, 0, 0.5) inset,
    0 2px 4px rgba(0, 0, 0, 0.35);
  z-index: 6;
}

.device-button {
  position: absolute;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #a8a6a1 0%, #7f7d78 100%);
  box-shadow:
    -1px 0 1px rgba(255, 255, 255, 0.35) inset,
    1px 0 1px rgba(80, 78, 74, 0.5) inset;
  z-index: 2;
}

.device-button-top {
  left: -2px;
  top: 90px;
  height: 34px;
}

.device-button-mid {
  left: -2px;
  top: 136px;
  height: 52px;
}

.device-button-power {
  right: -2px;
  top: 114px;
  height: 82px;
}

.device-mockup-small {
  width: 240px;
}

/* ── Sections ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

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

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

.step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(45, 159, 147, 0.25);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.step p {
  color: var(--gray-500);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ── Features ── */
.features {
  padding: 100px 24px;
  background: var(--gray-50);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-left: 3px solid transparent;
}

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

.feature-card:nth-child(1) { border-left-color: var(--teal); }
.feature-card:nth-child(2) { border-left-color: var(--blue); }
.feature-card:nth-child(3) { border-left-color: var(--amber); }
.feature-card:nth-child(4) { border-left-color: #7c3aed; }
.feature-card:nth-child(5) { border-left-color: #e11d48; }
.feature-card:nth-child(6) { border-left-color: #0891b2; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(45, 159, 147, 0.1); color: var(--teal); }
.feature-card:nth-child(2) .feature-icon { background: rgba(109, 189, 212, 0.15); color: var(--blue-dark); }
.feature-card:nth-child(3) .feature-icon { background: rgba(180, 83, 9, 0.1); color: var(--amber); }
.feature-card:nth-child(4) .feature-icon { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.feature-card:nth-child(5) .feature-icon { background: rgba(225, 29, 72, 0.08); color: #e11d48; }
.feature-card:nth-child(6) .feature-icon { background: rgba(8, 145, 178, 0.1); color: #0891b2; }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

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

/* ── Screenshots ── */
.screenshots {
  padding: 100px 24px;
  background: var(--white);
}

.screenshot-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* ── Notify / CTA ── */
.notify {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-light) 100%);
}

.notify-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #1a5c55 0%, #2D9F93 50%, #4AB5A9 100%);
  border-radius: 24px;
  padding: 56px 44px;
  box-shadow:
    0 20px 60px rgba(45, 159, 147, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
}

.notify-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.notify-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.notify-mascot {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.notify-card h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--white);
}

.notify-card > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.notify-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.notify-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.notify-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.notify-form input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

.notify-form .btn {
  white-space: nowrap;
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
}

.notify-form .btn:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.notify-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.notify-thanks {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
  padding: 16px 0;
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
.footer {
  padding: 40px 24px;
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

/* ── Responsive ── */
@media (min-width: 769px) {
  .steps {
    position: relative;
  }

  .steps::before {
    content: '';
    position: absolute;
    top: 58px;
    left: calc(16.66% + 26px);
    right: calc(16.66% + 26px);
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--blue), var(--teal));
    opacity: 0.2;
    z-index: 0;
  }

  .step {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

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

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step {
    padding: 20px 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .screenshot-row {
    gap: 24px;
  }

  .device-mockup-small {
    width: 200px;
  }

  .notify-form {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .device-mockup {
    width: 240px;
  }

  .device-mockup-small {
    width: 180px;
  }

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

  .notify-card {
    padding: 40px 24px;
  }
}
