@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --primary: #2563EB;
  --secondary: #38BDF8;
  --bg: #F8FAFC;
  --text: #0F172A;
  --muted: #64748B;
  --white: #FFFFFF;
  --card: #ffffff;
  --border: #E2E8F0;
  --gradient: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  --shadow: 0 18px 60px rgba(37, 99, 235, 0.16);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.page-root {
  width: 100%;
  overflow-x: hidden;
}

.no-scroll {
  overflow: hidden;
}

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

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

.muted {
  color: var(--muted);
}

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

main {
  width: 100%;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  position: relative;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.4px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  transform: translateY(-1px);
}

.cta-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--white);
  background-image: var(--gradient);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.35);
}

.btn-secondary {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  box-shadow: none;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(100, 116, 139, 0.3);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--text);
  position: relative;
  transition: 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle.open span {
  background: transparent;
}

.menu-toggle.open span::before {
  transform: rotate(45deg) translate(5px, -5px);
}

.menu-toggle.open span::after {
  transform: rotate(-45deg) translate(5px, 5px);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 998;
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.2), transparent 38%),
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.25), transparent 35%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.2));
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1582719478248-54e9f2afbc79?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0 0 12px;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  font-size: 1.02rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 60px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.page-hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.12), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.14), transparent 30%),
    #f1f5f9;
}

.page-hero h1 {
  margin: 10px 0 8px;
}

.page-hero p.muted {
  max-width: 600px;
}

.stat-stack {
  display: grid;
  gap: 12px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px;
  border-radius: 14px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-card strong {
  font-size: 1.6rem;
}

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-icons span {
  position: absolute;
  width: 58px;
  height: 58px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--white);
  backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}

.floating-icons span:nth-child(1) {
  top: 10%;
  left: 68%;
  animation-delay: 0.2s;
}

.floating-icons span:nth-child(2) {
  bottom: 6%;
  left: 20%;
  animation-delay: 0.6s;
}

.floating-icons span:nth-child(3) {
  bottom: 18%;
  right: 8%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0;
  font-size: 2rem;
  color: var(--text);
}

.section-header p {
  color: var(--muted);
  margin: 8px auto 0;
  max-width: 640px;
}

.grid {
  display: grid;
  gap: 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.plan:hover,
.plan.focused {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, 0.35);
}

.plan .tag {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.plan h3 {
  margin: 14px 0 4px;
  font-size: 1.3rem;
}

.price {
  font-size: 2rem;
  margin: 12px 0;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.features li::before {
  content: '•';
  color: var(--primary);
  font-weight: 700;
}

.highlight {
  border: 1px solid rgba(56, 189, 248, 0.7);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06), #ffffff 70%);
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

.why-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.dev-tools {
  background: #0F172A;
  color: var(--white);
  border-radius: 18px;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.dev-tools::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.25), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.22), transparent 45%);
  pointer-events: none;
}

.tool-marquee {
  display: flex;
  gap: 18px;
  overflow: hidden;
}

.tool-track {
  display: flex;
  gap: 18px;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tool {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 120px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 2.8rem;
  color: rgba(56, 189, 248, 0.4);
}

.testimonial .name {
  font-weight: 700;
  margin-top: 12px;
}

.cta-banner {
  background: var(--gradient);
  color: var(--white);
  padding: 32px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-banner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.table-wrapper table {
  min-width: 620px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(37, 99, 235, 0.06);
  color: var(--text);
}

tbody tr:hover {
  background: rgba(56, 189, 248, 0.05);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.package {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.domain-search {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.domain-search form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fdfefe;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.domain-results {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-top: 12px;
}

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

.footer {
  background: #0B1224;
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0 30px;
}

.footer .grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 18px;
  z-index: 1100;
}

.checkout-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  width: min(520px, 96vw);
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.35);
  padding: 22px;
  position: relative;
}

.checkout-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--muted);
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
}

.checkout-price {
  display: grid;
  gap: 4px;
  text-align: right;
}

.checkout-price small {
  color: var(--muted);
}

.checkout-modal form {
  display: grid;
  gap: 10px;
}

.checkout-modal .form-status {
  min-height: 18px;
  font-size: 0.92rem;
}

.checkout-help {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 78vw;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    display: flex;
    padding: 90px 24px;
    gap: 18px;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
    transform: translateX(105%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
    left: auto;
    margin: 0;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cta-banner .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  section {
    padding: 70px 0;
  }

  .hero-actions,
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .container {
    width: 94%;
  }

  .hero {
    padding: 90px 0 70px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    width: 94%;
  }

  .hero-visual {
    order: -1;
  }

  .domain-search form {
    grid-template-columns: 1fr;
  }
}
