/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

/* =========================
   VARIABLES
========================= */

:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --secondary: #ec4899;

  --text: #1e293b;
  --text-light: #64748b;

  --white: #ffffff;

  --border: #e2e8f0;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  --radius: 20px;
}

/* =========================
   BUTTON
========================= */

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s;
}

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

/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  backdrop-filter: blur(20px);

  background: rgba(255, 255, 255, 0.75);

  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--text);
  font-weight: 500;
}

#menuBtn {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background:
    radial-gradient(
      circle at top left,
      rgba(139, 92, 246, 0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(236, 72, 153, 0.15),
      transparent 40%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;

  background: rgba(139, 92, 246, 0.1);

  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.hero-btn {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.hero-stats h3 {
  font-size: 2rem;
}

.hero-stats span {
  color: var(--text-light);
}

/* =========================
   PHONE MOCKUP
========================= */

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

.phone {
  width: 330px;
  background: #000;
  padding: 12px;
  border-radius: 45px;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);

  animation: float 4s ease-in-out infinite;
}

.phone img {
  border-radius: 35px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =========================
   SECTION
========================= */

section {
  padding: 100px 0;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 25px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);

  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

/* =========================
   TEMPLATE
========================= */

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 25px;
}

.template-card {
  background: white;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.template-card img {
  height: 420px;
  object-fit: cover;
}

.template-card h3 {
  padding: 20px;
}

.template-card a {
  display: block;
  padding: 0 20px 20px;
  color: var(--primary);
  font-weight: 600;
}

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

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;
}

.price-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border: 3px solid var(--primary);
  transform: scale(1.05);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 25px 0;
}

.price-card ul {
  margin: 30px 0;
}

.price-card li {
  margin: 10px 0;
}

.price-card a {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 25px;
  border-radius: 999px;
}

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

.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
}

.cta a {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 15px 35px;
  border-radius: 999px;
  font-weight: 700;
}

/* =========================
   FAQ
========================= */

.faq {
  background: #fff;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  border: none;
  background: white;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

.answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-light);
}

.faq-item.active .answer {
  display: block;
}

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

footer {
  padding: 60px 0;
  text-align: center;
  background: #0f172a;
  color: white;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

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

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

  nav {
    display: none;
  }

  #menuBtn {
    display: block;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stats h3 {
    font-size: 1.5rem;
  }

  .phone {
    width: 280px;
  }

  section {
    padding: 80px 0;
  }
}

/* MOBILE MENU */

@media (max-width: 991px) {
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;

    background: #fff;

    flex-direction: column;

    padding: 25px;

    gap: 20px;

    display: none;
  }

  nav.active {
    display: flex;
  }
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ACTIVE MENU */

nav a.active {
  color: var(--primary);
  font-weight: 700;
}
