:root {
  --navy: #141a33;
  --navy-light: #1f2748;
  --green: #8cb731;
  --green-dark: #74a020;
  --green-light: #e9f3d9;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-300: #d7dbe2;
  --gray-500: #6b7280;
  --gray-700: #3a4051;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 26, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 26, 51, 0.16);
  --max-width: 1180px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

p {
  margin: 0 0 16px;
  color: var(--gray-700);
}

.lead {
  font-size: 1.15rem;
  color: var(--gray-700);
}

.section {
  padding: 96px 0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header p {
  margin: 0;
}

.section--tinted {
  background: var(--gray-50);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(140, 183, 49, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 26px rgba(140, 183, 49, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--gray-100);
}

/*
 * The blurred background lives on a pseudo-element rather than directly on
 * .site-header. backdrop-filter (like transform/filter) on an element turns
 * it into the containing block for position:fixed descendants — which would
 * trap the fixed mobile nav drawer inside the 84px header box instead of
 * letting it fix to the viewport.
 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand img {
  height: 40px;
  width: auto;
}

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

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, #202a52 60%, var(--navy) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 84px 0 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--green);
}

.hero-copy h1 {
  color: var(--white);
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green);
}

.hero-visual {
  position: relative;
}

.hero-visual .shot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Trust strip */
.trust-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 20px 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.9rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

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

.feature-card p {
  font-size: 0.94rem;
  margin: 0;
}

/* Showcase (screenshots with tabs) */
.showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.showcase-tab .num {
  font-weight: 800;
  color: var(--green-dark);
  font-size: 0.85rem;
  margin-top: 2px;
}

.showcase-tab strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.showcase-tab span {
  font-size: 0.87rem;
  color: var(--gray-500);
}

.showcase-tab.is-active {
  background: var(--white);
  border-color: var(--gray-100);
  box-shadow: var(--shadow);
}

.showcase-tab.is-active strong {
  color: var(--navy);
}

.showcase-viewer {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  background: var(--white);
}

.showcase-viewer img {
  width: 100%;
  height: auto;
  display: none;
}

.showcase-viewer img.is-active {
  display: block;
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.audience-card h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.audience-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

.audience-card:nth-child(2) {
  background: var(--green);
  color: var(--navy);
}

.audience-card:nth-child(2) h3 {
  color: var(--navy);
}

.audience-card:nth-child(2) p {
  color: rgba(20, 26, 51, 0.75);
}

/* Pricing */
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pricing-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 4px;
}

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

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  text-align: left;
  display: grid;
  gap: 12px;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.pricing-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green-dark);
  margin-top: 1px;
}

/* Order box */
.order-section {
  background: linear-gradient(160deg, var(--navy) 0%, #202a52 100%);
  color: var(--white);
}

.order-box {
  max-width: 620px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 40px;
}

.domain-field {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.domain-field:focus-within {
  border-color: var(--green);
}

.domain-field input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 18px;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--navy);
  min-width: 0;
}

.domain-suffix {
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
}

.order-box .btn {
  margin-top: 16px;
}

.field-message {
  min-height: 22px;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.field-message[data-state="checking"] {
  color: rgba(255, 255, 255, 0.7);
}

.field-message[data-state="available"] {
  color: var(--green);
}

.field-message[data-state="taken"],
.field-message[data-state="invalid"],
.field-message[data-state="error"] {
  color: #ff8b8b;
}

.order-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-dark);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  margin: 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
}

.final-cta .btn {
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  max-width: 32ch;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

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

.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual .shot-frame {
    transform: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .showcase-tab {
    min-width: 220px;
  }

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

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .main-nav .header-cta {
    display: inline-flex;
  }

  .section {
    padding: 64px 0;
  }

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

  .pricing-card {
    padding: 32px 24px;
  }

  .order-box {
    padding: 28px 22px;
  }

  .footer-top {
    flex-direction: column;
  }
}
