:root {
  --bg-dark: #0f0f14;
  --pink: #ff4d8d;
  --orange: #ff7a5a;
  --accent: linear-gradient(135deg, var(--orange), var(--pink));
  --surface: #12121a;
  --surface-dark: #0b0b10;
  --border: #1a1a22;
  --text: #f9fafb;
  --muted: #cbd5e1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  padding-top: 72px;
}

/* The page content expands to push the footer to the viewport bottom
   when there is not enough content to fill the screen. */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

h1,
h2 {
  font-weight: 700;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

section {
  width: 100%;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.nav-left .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: block;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 28px;
  display: inline-block;
  letter-spacing: 0.02em;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 140%;
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border-radius: 12px;
  padding: 0.6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 1000;
}

.dropdown a {
  display: block;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
  border-radius: 8px;
}

.dropdown a:hover {
  background: #1a1a22;
  color: white;
}

.nav-dropdown:hover .dropdown,
.nav-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 12px;
}

.nav-button {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: black;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-button:hover {
  opacity: 0.9;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: white;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-dark);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a,
.mobile-menu summary {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-menu details a {
  display: block;
  padding: 0.45rem 0 0.45rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.mobile-menu .mobile-cta {
  margin-top: auto;
  padding: 0.8rem;
  text-align: center;
  border-radius: 999px;
  background: var(--accent);
  color: black;
  font-weight: 600;
}

.footer {
  flex: 0 0 auto;
  width: 100%;
  background: var(--surface-dark);
  padding: 4rem 6vw;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--pink);
}

.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.intro {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
  text-align: center;
}

body.home-page section {
  width: 100%;
}

.home-page .hero {
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 6rem 2rem;
  max-width: none;
}

.home-page .hero h1 {
  font-size: clamp(4rem, 10vw, 7rem);
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, #ff7a5a33, transparent 60%),
    radial-gradient(circle at 70% 70%, #ff4d8d22, transparent 60%);
  filter: blur(120px);
  z-index: -1;
}

.panel {
  gap: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
}

.panel:nth-child(even) {
  background: var(--surface);
}

.text {
  max-width: 480px;
}

.mockup {
  width: 420px;
  height: 520px;
  border-radius: 24px;
  background: var(--accent);
  padding: 2px;
}

.mockup-inner {
  background: var(--bg-dark);
  height: 100%;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: black;
  font-weight: 600;
}

.cta {
  justify-content: center;
  text-align: center;
  background: var(--accent);
  color: black;
  padding: 6rem 2rem;
}

.cta p {
  color: #1b1b1b;
}

.pricing-overview .plans {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 0 2rem 5rem;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.pricing-overview .plan-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  flex: 1 1 320px;
  max-width: 420px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.pricing-overview .plan-card:hover {
  transform: translateY(-8px);
}

.pricing-overview .plan-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.plan-highlight {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.plan-info {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.plan-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: black;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.pricing-detail .hero {
  padding: 6rem 2rem;
  max-width: none;
}

.pricing-detail .hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
}

.pricing-detail .hero p {
  font-size: 1.2rem;
}

.pricing-detail .plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.pricing-detail .plan-card {
  background: var(--surface);
  border-radius: 24px;
  flex: 1 1 280px;
  max-width: 320px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}

.pricing-detail .plan-card:hover {
  transform: translateY(-8px);
}

.pricing-detail .plan-card.best {
  position: relative;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--orange), var(--pink)) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 0 0 1px rgba(255, 122, 90, 0.35),
    0 0 0 2px rgba(255, 77, 141, 0.25),
    0 16px 40px rgba(255, 122, 90, 0.15),
    0 24px 60px rgba(255, 77, 141, 0.12);
}

.pricing-detail .plan-card.best:hover {
  transform: translateY(-10px) scale(1.02);
}

.pricing-detail .plan-card.best::before {
  content: "Best Value";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--accent);
  color: black;
  box-shadow: 0 6px 20px rgba(255, 122, 90, 0.4);
}

.pricing-detail .plan-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.plan-features li {
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink);
}

.pricing-detail .plan-button {
  transition: opacity 0.2s;
}

.pricing-detail .plan-button:hover {
  opacity: 0.85;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto 4rem;
}

.billing-label {
  font-size: 0.9rem;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s;
}

.billing-label.active {
  color: var(--text);
  font-weight: 600;
}

.billing-label small {
  color: var(--orange);
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.toggle-switch.yearly .toggle-knob {
  transform: translateX(22px);
}

@media (max-width: 900px) {
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .logo-text {
    display: none;
  }

  .panel {
    flex-direction: column;
    padding: 6rem 2rem;
  }

  .mockup {
    width: 100%;
    max-width: 420px;
    height: 420px;
  }

  .pricing-detail .plans {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
