/* ===== AMBTN Landing Page ===== */

:root {
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --purple-light: #a78bfa;
  --purple-bg: #f5f0ff;
  --white: #ffffff;
  --black: #111111;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #262626;
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(139, 92, 246, 0.15);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== UTILITIES ===== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== NAV ===== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav-logo img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--purple);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-acronym {
  font-weight: 700;
  opacity: 1;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: var(--white);
  color: var(--black);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.btn-appstore svg {
  width: 22px;
  height: 22px;
}

.btn-secondary {
  padding: 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: default;
}

.hero-image {
  flex: 0 0 380px;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ===== FEATURES ===== */

.features {
  padding: 5rem 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--purple-bg);
  color: var(--purple);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-bg);
  color: var(--purple);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.features-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.features-footer p {
  font-size: 1rem;
  color: var(--gray-600);
}

.features-footer strong {
  color: var(--purple);
}

/* ===== AUDIENCE ===== */

.audience {
  padding: 3rem 0 5rem;
  background: var(--gray-50);
}

.audience-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.audience h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--black);
}

.audience p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.audience-tag {
  padding: 0.4rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-800);
}

/* ===== PRICING ===== */

.pricing {
  padding: 5rem 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.pricing-card.featured {
  background: var(--white);
  border: 2px solid var(--purple);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  box-shadow: 0 12px 48px rgba(139, 92, 246, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  padding: 0.3rem 0.9rem;
  background: var(--purple);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-600);
}

.pricing-yearly {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.pricing-trial {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 1.25rem;
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-800);
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--purple);
  margin-top: 1px;
}

/* ===== DATA TRANSPARENCY ===== */

.data-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.data-card {
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--purple);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.data-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.12);
}

.data-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-card h3 svg {
  flex-shrink: 0;
  color: var(--purple);
}

.data-what {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-bg);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.data-why {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.data-footer {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

.data-footer p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.data-footer strong {
  color: var(--black);
}

.data-privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--purple);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.data-privacy-link:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.4);
}

.data-privacy-link svg {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FINAL CTA ===== */

.cta {
  padding: 5rem 0;
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
}

.cta p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
}

.cta .btn-appstore {
  position: relative;
}

.cta-secondary {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
  position: relative;
}

/* ===== FOOTER ===== */

.footer {
  padding: 3rem 0 2rem;
  background: var(--black);
  color: var(--gray-400);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand {
  max-width: 320px;
}

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

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

.footer-logo span {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--purple);
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
}

/* ===== LEGAL PAGES ===== */

.legal {
  padding: 8rem 0 4rem;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.legal-content .legal-date {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.6;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.legal-content a {
  color: var(--purple);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--purple-dark);
}

/* ===== ANIMATIONS ===== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */

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

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

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

  .hero-image {
    flex: none;
    max-width: 320px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .footer-brand {
    max-width: none;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 7rem 0 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-appstore,
  .btn-secondary {
    justify-content: center;
    text-align: center;
  }

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

  .nav-cta span {
    display: none;
  }
}

@media (max-width: 400px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
