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

:root {
  --primary: #7733a8;
  --primary-light: #ece3f4;
  --primary-dark: #5c2385;
  --accent: #11304d;
  --foreground: #11304d;
  --background: #f4f7fb;
  --card: #ffffff;
  --muted: #5f7185;
  --border: #d8e1eb;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ── Utility ─────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--card);
}

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0 12px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ── 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(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

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

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

.nav-links a:hover {
  color: var(--foreground);
  text-decoration: none;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff!important;
  box-shadow: 0 4px 14px rgba(119, 51, 168, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff!important;
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-top: 64px;
  perspective: 800px;
}

.hero-phones img {
  width: 220px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(17, 48, 77, 0.15);
}

.hero-phones img:nth-child(1) {
  transform: rotate(-4deg) translateY(20px);
}

.hero-phones img:nth-child(3) {
  transform: rotate(4deg) translateY(20px);
}

/* ── Features Grid ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.section-alt .feature-card {
  background: var(--background);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(17, 48, 77, 0.08);
}

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

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

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── Screenshot Showcase ─────────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-reversed {
  direction: rtl;
}

.showcase-reversed > * {
  direction: ltr;
}

.showcase-phone {
  display: flex;
  justify-content: center;
}

.showcase-phone img {
  width: 280px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(17, 48, 77, 0.12);
}

.showcase-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.showcase-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.showcase-text .badge {
  margin-bottom: 12px;
}

/* ── CTA ─────────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: 80px 0 100px;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Legal Pages ─────────────────────────────────────── */
.legal {
  padding: 120px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal .last-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal a {
  color: var(--primary);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-phones {
    gap: 12px;
  }

  .hero-phones img {
    width: 140px;
    border-radius: 16px;
  }

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

  .showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .showcase-reversed {
    direction: ltr;
  }

  .showcase-phone img {
    width: 220px;
  }

  .nav-links {
    gap: 16px;
  }

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

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

  .hero-phones img {
    width: 110px;
  }

  .section {
    padding: 56px 0;
  }

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

  .btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}
