:root {
  --bg: #0a0e1a;
  --bg-muted: #0f1624;
  --card: rgba(18, 25, 41, 0.85);
  --card-hover: rgba(24, 32, 52, 0.95);
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-2: #8b5cf6;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.8);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

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

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.brand__name {
  font-size: 20px;
  font-weight: 700;
}

.brand__tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
}

.nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  gap: 12px;
}

.btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 15px;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
  padding: 80px 24px;
  background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.12), transparent 40%),
    linear-gradient(135deg, #0a0e1a, #0f1624);
  border-bottom: 1px solid var(--border);
}

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 600;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff, #e5e7eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Search Hero */
.search-hero {
  max-width: 800px;
  margin: 0 auto;
}

.search-hero__input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.search-hero__input {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 16px;
  transition: all 0.2s ease;
}

.search-hero__input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-hero__select {
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-hero__select:focus {
  outline: none;
  border-color: var(--accent);
}

.search-hero__btn {
  padding: 16px 32px;
  white-space: nowrap;
}

.search-hero__quick-zones {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.zone-tag {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-family: inherit;
}

.zone-tag:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent);
  color: var(--text);
}

.search-result {
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  display: none;
}

.search-result.show {
  display: block;
}

.search-result--available {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
}

.search-result--taken {
  border-color: var(--error);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}

/* Sections */
.section {
  padding: 100px 24px;
  background: var(--bg);
}

.section--muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
}

.section__header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

/* Grid */
.grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

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

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

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow);
}

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

.card__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.card--feature h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card--feature p {
  color: var(--text-muted);
  font-size: 15px;
}

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

.stat__label {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.stat__value {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__change {
  font-size: 14px;
  color: var(--text-muted);
}

.stat__change--positive {
  color: var(--success);
}

.stat__change--neutral {
  color: var(--text-muted);
}

.card--stats {
  grid-column: 1 / -1;
}

.card--testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial__stars {
  color: #fbbf24;
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial__text {
  flex: 1;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.testimonial__name {
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial__role {
  font-size: 14px;
}

/* Pricing */
.pricing-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pricing-tab {
  padding: 12px 24px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
}

.pricing-tab:hover {
  border-color: var(--accent);
  color: var(--text);
}

.pricing-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: white;
}

.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.pricing-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.pricing-card__zone {
  font-size: 24px;
  font-weight: 700;
}

.pricing-card__badge {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
}

.pricing-card__price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card__period {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.pricing-card__features li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card__features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

.pricing-card__btn {
  width: 100%;
  margin-top: auto;
}

/* Stats Dashboard */
.stats-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

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

/* Demo Panel */
.demo-panel {
  max-width: 900px;
  margin: 0 auto;
}

.card--demo {
  padding: 32px;
}

.demo-search {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.demo-search__input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
}

.demo-search__input:focus {
  outline: none;
  border-color: var(--accent);
}

.demo-results {
  display: grid;
  gap: 12px;
}

.demo-result-item {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-result-item--available {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.demo-result-item--taken {
  border-color: var(--error);
  background: rgba(239, 68, 68, 0.1);
}

.demo-result-domain {
  font-weight: 600;
  font-size: 16px;
}

.demo-result-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.demo-result-status--available {
  background: var(--success);
  color: white;
}

.demo-result-status--taken {
  background: var(--error);
  color: white;
}

.demo-result-price {
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer */
.footer {
  background: #050810;
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer__brand p {
  color: var(--text-muted);
  margin-top: 12px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

.footer__column h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text);
}

.footer__column a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: var(--text);
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

/* Responsive */
@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .header__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .search-hero__input-group {
    flex-direction: column;
  }

  .search-hero__input,
  .search-hero__select,
  .search-hero__btn {
    width: 100%;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

