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

:root {
  --primary: #00B894;
  --primary-dark: #009B7D;
  --primary-light: #E8F8F5;
  --accent: #FDCB6E;
  --accent-dark: #E8A817;
  --cta: #E17055;
  --cta-hover: #C0392B;
  --sand: #D4A574;
  --sand-light: #F5EDE4;
  --bg: #FAFAFA;
  --bg-alt: #FFFFFF;
  --text: #20201E;
  --text-light: #6B6B68;
  --text-muted: #9A9A96;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
}

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

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, #00B894 0%, #009B7D 60%, #008A6E 100%);
  color: #fff;
  padding: 48px 24px 0;
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -120px;
  right: -80px;
}

.shape-2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  left: -60px;
}

.shape-3 {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 20%;
  background: rgba(253, 203, 110, 0.1) !important;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-bottom: 48px;
}

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

.hero-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-accent {
  color: var(--accent);
}

/* ===== Language Switcher ===== */
.lang-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lang-separator {
  opacity: 0.3;
}

.lang-option {
  transition: color 0.2s;
  cursor: pointer;
  padding: 2px 2px;
}

.lang-option.active {
  color: #fff;
}

.lang-option:not(.active):hover {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-visual {
  flex: 0 0 auto;
  align-self: flex-end;
}

.mascot-hero {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
  animation: float 3s ease-in-out infinite;
}

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

/* ===== Email Form ===== */
.email-form {
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  gap: 10px;
  max-width: 440px;
}

.form-group input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.2);
}

.form-group button {
  padding: 14px 24px;
  background: var(--cta);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(225, 112, 85, 0.4);
}

.form-group button:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.form-group button:active {
  transform: translateY(0) scale(0.98);
}

.form-group button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 10px;
  font-size: 0.85rem;
  min-height: 1.4em;
  font-weight: 600;
}

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

.form-message.error {
  color: #FFB8B0;
}

/* Badge row */
.badge-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.badge svg {
  opacity: 0.8;
}

.badge-soon {
  background: rgba(253, 203, 110, 0.2);
  color: var(--accent);
}

/* ===== Social proof ===== */
.social-proof {
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 24px;
  text-align: center;
}

.social-proof p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.social-proof strong {
  color: var(--primary);
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Features ===== */
.features {
  padding: 80px 24px;
  background: var(--bg-alt);
}

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

.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--primary-light);
}

.feature-card:nth-child(2) .feature-icon {
  background: #FFF8E1;
}

.feature-card:nth-child(3) .feature-icon {
  background: #FDE8E4;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ===== Screenshots ===== */
.screenshots {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
}

.screenshots-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
}

.phone-mockup {
  width: 200px;
  background: #1C1C1E;
  border-radius: 32px;
  padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: #2C2C2E;
  border-radius: 3px;
  margin: 4px auto 6px;
}

.phone-mockup img {
  width: 100%;
  border-radius: 24px;
  display: block;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #2a2a2a;
}

.phone-mockup-center {
  transform: scale(1.08);
  z-index: 1;
}

.phone-mockup:hover {
  transform: translateY(-12px);
}

.phone-mockup-center:hover {
  transform: scale(1.08) translateY(-12px);
}

/* ===== How it works ===== */
.how-it-works {
  padding: 80px 24px;
  background: var(--bg-alt);
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.step {
  flex: 0 1 240px;
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(0, 184, 148, 0.3);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  color: var(--text-light);
  font-size: 0.88rem;
}

.step-connector {
  flex: 0 0 auto;
  color: var(--primary);
  opacity: 0.5;
}

/* ===== CTA Final ===== */
.cta-final {
  padding: 64px 24px;
  background: linear-gradient(160deg, #00B894 0%, #009B7D 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-text > p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta-visual {
  flex: 0 0 auto;
}

.mascot-cta {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

.cta-final .form-message.success {
  color: var(--accent);
}

.cta-final .form-message.error {
  color: #FFB8B0;
}

/* ===== Footer ===== */
footer {
  padding: 32px 24px;
  text-align: center;
  background: #1A1A1A;
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-brand .brand-accent {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.store-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for feature cards */
.features-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

.screenshots-grid .fade-in:nth-child(2) { transition-delay: 0.15s; }
.screenshots-grid .fade-in:nth-child(3) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 24px 20px 0;
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

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

  .hero-text {
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .form-group {
    flex-direction: column;
    margin: 0 auto;
  }

  .form-group button {
    width: 100%;
  }

  .badge-row {
    justify-content: center;
    margin-top: 14px;
  }

  .hero-visual {
    display: none;
  }

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

  .screenshots-grid {
    gap: 12px;
  }

  .phone-mockup {
    width: 150px;
    border-radius: 24px;
    padding: 6px;
  }

  .phone-mockup img {
    border-radius: 18px;
  }

  .phone-mockup-center {
    transform: scale(1.05);
  }

  .phone-notch {
    width: 60px;
    height: 4px;
    margin: 3px auto 4px;
  }

  .steps {
    flex-direction: column;
    gap: 8px;
  }

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

  .section-title {
    font-size: 1.6rem;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-text .form-group {
    margin: 0 auto;
  }

  .mascot-cta {
    width: 140px;
    order: -1;
  }
}

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

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

  .phone-mockup {
    width: 120px;
    border-radius: 20px;
  }

  .phone-mockup img {
    border-radius: 14px;
  }


  .mascot-cta {
    width: 120px;
  }
}
