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

:root {
  --color-dark: #1D1821;
  --color-blue: #5956FC;
  --color-turquoise: #00D0CE;
  --color-gray: #B1B3E5;
  --color-light: #EEF2FF;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --gradient-brand: linear-gradient(135deg, #00D0CE 0%, #5956FC 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(29, 24, 33, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(177, 179, 229, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-link--cta {
  background: var(--gradient-brand);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-link--cta:hover {
  opacity: 0.9;
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 120px;
  background: var(--color-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(89, 86, 252, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 208, 206, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-gray);
  line-height: 1.6;
  max-width: 440px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.badge-link {
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.badge-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.badge-link img {
  height: 52px;
  width: auto;
}

.badge-link--google img {
  height: 76px;
  margin: -12px;
}

/* iPhone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-wrapper {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.phone-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(89, 86, 252, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.phone-image {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.4));
}

/* ========== FEATURES ========== */
.features {
  padding: 120px 24px;
  background: var(--color-white);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 64px;
  max-width: 600px;
}

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

.feature-card {
  padding: 36px 32px;
  border-radius: 20px;
  background: var(--color-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(89, 86, 252, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
}

/* ========== CTA ========== */
.cta {
  padding: 120px 24px;
  background: var(--color-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.cta-subtitle {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

/* ========== FOOTER ========== */
.footer {
  padding: 40px 24px;
  background: var(--color-dark);
  border-top: 1px solid rgba(177, 179, 229, 0.1);
  text-align: center;
}

.footer p {
  font-size: 14px;
  color: rgba(177, 179, 229, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(29, 24, 33, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(177, 179, 229, 0.08);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

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

  .hero-subtitle {
    max-width: 100%;
  }

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

  .hero-title {
    font-size: 42px;
  }

  .phone-wrapper {
    max-width: 280px;
  }

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

  .section-title {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .cta-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .features {
    padding: 80px 20px;
  }

  .cta {
    padding: 80px 20px;
  }

  .badge-link img {
    height: 44px;
  }

  .badge-link--google img {
    height: 64px;
    margin: -10px;
  }
}
