:root {
  --ink: #0b1220;
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --navy-light: #334155;
  --muted: #667085;
  --line: #d8dde6;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --gray-panel: #eef1f6;
  --gray-dark: #374151;
  --accent: #273344;
  --accent-soft: #e7ebf1;
  --shadow: 0 20px 55px rgba(11, 18, 32, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  font-family: "Tajawal", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 5vw, 70px);
  background: rgba(15, 23, 42, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transform: rotate(0deg);
}

.brand strong, .brand small { display: block; }
.brand strong { color: #fff; font-size: 20px; line-height: 1.1; }
.brand small { color: #cbd5e1; font-size: 12px; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  color: #e5e7eb;
  font-weight: 700;
}

.main-nav a { white-space: nowrap; }
.main-nav a:hover { color: #ffffff; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform .18s ease, opacity .18s ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-action {
  min-width: max-content;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
}

.header-action:hover {
  background: #ffffff;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("../img/anisth-hero.png") center / cover no-repeat;
  transform: scale(1.02);
  z-index: -3;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .18), rgba(15, 23, 42, .84) 46%, rgba(15, 23, 42, .94) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, .2), rgba(15, 23, 42, .7));
  z-index: -2;
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--navy-light);
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #cbd5e1;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  color: #ffffff;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 650px;
  color: #d9e2ee;
  font-size: 21px;
}

.hero-tagline {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  font-size: 20px;
  font-weight: 900;
}

.hero-actions,
.domain-search,
.tld-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(11, 18, 32, .22);
}

.btn-primary:hover { background: var(--navy-soft); }

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .25);
}

.btn-ghost:hover {
  background: #ffffff;
  color: var(--navy);
}

.btn-secondary {
  color: var(--navy);
  background: var(--accent-soft);
  border-color: #c9d0da;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}

.panel-number {
  display: inline-block;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-weight: 900;
}

.hero-panel strong { display: block; color: #fff; font-size: 18px; }
.hero-panel p { margin-bottom: 0; color: #d9e2ee; }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.about-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-motto {
  display: inline-flex;
  margin: 4px 0 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff !important;
  font-weight: 900;
}

.about-stats {
  display: grid;
  gap: 14px;
}

.about-stats div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.about-stats strong,
.about-stats span {
  display: block;
}

.about-stats strong {
  margin-bottom: 6px;
  font-size: 34px;
  line-height: 1;
}

.about-stats span {
  color: #cbd5e1;
}

.domain-section {
  margin-top: 0px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .16);
}

.domain-search {
  padding: 8px;
  background: var(--gray-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.domain-search input {
  flex: 1 1 260px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  outline: 0;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  direction: ltr;
  text-align: left;
}

.tld-strip {
  width: 100%;
  margin: 16px 0 22px;
  direction: ltr;
  justify-content: flex-start;
}

.tld-strip button {
  min-width: 70px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
}

.tld-strip button:hover { border-color: var(--navy); color: var(--navy); }

.domain-results {
  min-height: 170px;
}

.empty-state,
.result-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.empty-state strong { color: var(--ink); font-size: 20px; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 28px;
}

.result-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.domain-name {
  direction: ltr;
  text-align: right;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
}

.status-pill {
  min-width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 900;
}

.status-available { color: #111827; background: #e5e7eb; }
.status-taken { color: #ffffff; background: var(--navy-light); }
.status-premium { color: #111827; background: #d1d5db; }

.info-grid,
.service-grid,
.pricing-grid,
.process-list {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.info-item {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.info-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.info-item strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.suggestions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.suggestions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  direction: ltr;
}

.result-note {
  color: var(--muted);
  margin-bottom: 0;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.price-card,
.process-list div,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  padding: 24px;
  min-height: 245px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  border-color: #c4cad4;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
}

.service-card p,
.price-card li,
.process-list p,
.contact-section p {
  color: var(--muted);
}

.pricing-section,
.process-section {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #eef1f5;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  position: relative;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.price {
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
}

.price-card ul {
  padding: 0 18px 0 0;
  margin: 0 0 24px;
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list div {
  padding: 22px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 44px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-methods a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.contact-methods a[href^="tel:"],
.site-footer a[href^="tel:"] {
  direction: rtl;
  unicode-bidi: isolate;
}

.contact-methods a:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .09);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.domain-search input:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(15, 23, 42, .1);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: #fff;
  background: var(--ink);
}

.site-footer p { margin: 0; }
.site-footer a { font-weight: 800; color: #ffffff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 70px;
    padding: 10px 16px;
  }

  .menu-toggle {
    display: grid;
    margin-inline-start: auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 16px;
    display: grid;
    justify-content: stretch;
    gap: 6px;
    padding: 12px;
    color: #e5e7eb;
    background: rgba(15, 23, 42, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
    backdrop-filter: blur(16px);
  }

  .site-header.is-menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, .08);
  }

  .hero-content,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-content { padding-top: 60px; }
  .hero-panel {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel div {
    min-height: 100%;
  }

  .service-grid,
  .pricing-grid,
  .process-list,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark img {
    width: 37px;
    height: 37px;
  }

  .brand strong { font-size: 18px; }
  .brand small { font-size: 11px; }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, .82), rgba(15, 23, 42, .96) 52%, #0f172a);
  }

  .hero-content {
    padding: 34px 0 28px;
    gap: 18px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: 33px;
    line-height: 1.12;
  }

  .hero-tagline {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 44px;
    padding: 10px 14px;
  }

  .hero-panel {
    gap: 8px;
    padding: 10px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 11px 12px;
  }

  .hero-panel strong {
    font-size: 15px;
  }

  .hero-panel p {
    display: none;
  }

  .domain-section {
    width: calc(100% - 24px);
    padding: 20px;
  }

  .about-copy {
    padding: 22px;
  }

  .domain-search {
    display: grid;
  }

  .domain-search input,
  .domain-search .btn {
    width: 100%;
  }

  .service-grid,
  .pricing-grid,
  .process-list,
  .info-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .result-top,
  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
