:root {
  --bg: #08070d;
  --bg-soft: #0f0d16;
  --panel: rgba(19, 17, 28, .82);
  --panel-solid: #12101a;
  --text: #f8f7fc;
  --muted: #a19cad;
  --line: rgba(255,255,255,.10);
  --accent: #b58cff;
  --accent-strong: #8e55ff;
  --accent-soft: rgba(181,140,255,.11);
  --success: #62e5a3;
  --danger: #ff7289;
  --warning: #ffd166;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
button, input { font: inherit; }
.page-width { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.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; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.ambient { position: fixed; width: 520px; height: 520px; border-radius: 50%; filter: blur(100px); opacity: .18; pointer-events: none; }
.ambient-one { top: -260px; left: 35%; background: #7c3aed; }
.ambient-two { bottom: 10%; right: -300px; background: #b58cff; opacity: .08; }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark, .orbit-core {
  display: grid; place-items: center;
  font-size: 12px; font-weight: 950; letter-spacing: -.06em;
  border: 1px solid rgba(181,140,255,.45);
  background: linear-gradient(135deg, rgba(181,140,255,.24), rgba(142,85,255,.1));
  box-shadow: inset 0 0 20px rgba(181,140,255,.08);
}
.brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.brand-name { font-size: 12px; letter-spacing: .13em; font-weight: 750; }
.brand-name b { color: var(--accent); }
.header-cta { text-decoration: none; color: #d9d4e1; font-size: 13px; font-weight: 750; }
.header-cta span, .primary-cta span, .contact-button span { color: var(--accent); margin-left: 7px; }

.hero { text-align: center; padding: 96px 0 82px; }
.badge, .eyebrow { color: #cdbbff; font-weight: 850; letter-spacing: .15em; font-size: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(181,140,255,.25); border-radius: 999px; background: rgba(181,140,255,.055); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(98,229,163,.08); }
h1 { margin: 25px 0 20px; font-size: clamp(45px, 7.4vw, 86px); line-height: .94; letter-spacing: -.065em; }
h1 span, h2 span { color: var(--accent); }
.intro { max-width: 710px; margin: 0 auto 36px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.intro strong { color: #ddd8e6; }

.search-card { width: min(100%, 850px); margin: auto; padding: 8px; display: flex; gap: 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: rgba(19,17,28,.72); box-shadow: 0 30px 100px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(20px); }
.input-wrap { min-width: 0; flex: 1; display: flex; align-items: center; gap: 11px; padding: 0 17px; border: 1px solid transparent; border-radius: 12px; background: #15131e; transition: .2s ease; }
.input-wrap:focus-within { border-color: rgba(181,140,255,.48); box-shadow: 0 0 0 4px rgba(181,140,255,.07); }
.search-icon { color: #8f849e; font-size: 28px; line-height: 1; transform: rotate(-20deg); }
input { width: 100%; min-width: 0; padding: 17px 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 16px; }
input::placeholder { color: #6f6978; }
button { min-width: 185px; border: 0; border-radius: 12px; color: #160d26; background: var(--accent); font-weight: 900; cursor: pointer; transition: transform .18s ease, background .18s ease; }
button:hover { background: #c7aaff; transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: .68; transform: none; }
.spinner { display: none; width: 18px; height: 18px; margin: auto; border: 2px solid rgba(22,13,38,.3); border-top-color: #160d26; border-radius: 50%; animation: spin .7s linear infinite; }
.loading .button-text { display: none; } .loading .spinner { display: block; }
.search-help { margin: 12px auto 0; color: #686272; font-size: 12px; }
.search-help strong { color: #918b99; }

.results { width: min(100%, 850px); margin: 25px auto 0; text-align: left; }
.result-summary { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; padding: 0 4px; color: #77717f; font-size: 12px; }
.summary-available { color: var(--success); font-weight: 800; }
.domain-results { display: grid; gap: 9px; }
.domain-card, .message { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); animation: show .25s ease both; }
.available-card { border-color: rgba(98,229,163,.24); background: linear-gradient(100deg, rgba(98,229,163,.065), rgba(255,255,255,.025)); }
.taken-card { border-color: rgba(255,114,137,.16); }
.error-card { border-color: rgba(255,209,102,.18); }
.domain-main, .message { justify-content: flex-start; }
.status-icon { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 50%; font-weight: 950; }
.available-card .status-icon { color: var(--success); background: rgba(98,229,163,.1); }
.taken-card .status-icon { color: var(--danger); background: rgba(255,114,137,.09); }
.error-card .status-icon, .message.error .status-icon { color: var(--warning); background: rgba(255,209,102,.09); }
.domain-copy strong, .message strong { display: block; margin-bottom: 3px; font-size: 15px; }
.domain-copy span, .message span { display: block; color: var(--muted); font-size: 12px; }
.domain-offer { display: flex; align-items: center; gap: 14px; }
.price { white-space: nowrap; text-align: right; }
.price strong { font-size: 16px; }
.price span { display: block; color: #77717f; font-size: 10px; }
.contract-button { padding: 10px 13px; border-radius: 9px; color: #150c24; background: var(--success); text-decoration: none; font-size: 12px; font-weight: 900; white-space: nowrap; }
.taken-label { color: #8d6870; font-size: 11px; font-weight: 800; }
.loading-panel { display: flex; justify-content: center; align-items: center; gap: 11px; min-height: 72px; color: #8e8796; font-size: 13px; }
.loading-dots { display: inline-flex; gap: 4px; }
.loading-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: dots 1s infinite ease-in-out; }
.loading-dots i:nth-child(2) { animation-delay: .15s; } .loading-dots i:nth-child(3) { animation-delay: .3s; }

.conversion-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; margin-top: 12px; padding: 20px; border: 1px solid rgba(181,140,255,.28); border-radius: 18px; background: radial-gradient(circle at 0 50%, rgba(181,140,255,.11), transparent 48%), rgba(181,140,255,.045); }
.callout-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: rgba(181,140,255,.11); font-size: 20px; }
.conversion-callout h3 { margin: 5px 0 5px; font-size: 16px; letter-spacing: -.02em; }
.conversion-callout p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.primary-cta, .secondary-cta, .contact-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 12px; font-weight: 850; }
.primary-cta { padding: 12px 15px; border-radius: 10px; color: #160d26; background: var(--accent); }
.primary-cta span { color: #160d26; }
.primary-cta.compact { white-space: nowrap; }

.why { padding: 90px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 700px; }
.section-heading h2, .conversion h2, .contact h2 { margin: 10px 0 13px; font-size: clamp(32px, 5vw, 54px); line-height: 1; letter-spacing: -.055em; }
.section-heading p, .conversion p, .contact p { margin: 0; max-width: 650px; color: var(--muted); line-height: 1.65; font-size: 15px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.benefit-card { min-height: 230px; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); }
.benefit-number { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.benefit-card h3 { margin: 65px 0 9px; font-size: 19px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.conversion { position: relative; overflow: hidden; min-height: 390px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 65px; border: 1px solid rgba(181,140,255,.18); border-radius: 26px; background: radial-gradient(circle at 10% 20%, rgba(181,140,255,.14), transparent 45%), #100d18; }
.conversion-content { position: relative; z-index: 1; }
.conversion-actions { display: flex; gap: 10px; margin-top: 27px; flex-wrap: wrap; }
.secondary-cta { padding: 12px 15px; color: #c6c0ce; border: 1px solid var(--line); border-radius: 10px; }
.conversion-orbit { position: relative; width: 260px; height: 260px; flex: 0 0 260px; }
.orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(181,140,255,.18); border-radius: 50%; animation: orbit 16s linear infinite; }
.ring-two { inset: 35px; animation-direction: reverse; animation-duration: 11s; }
.orbit-core { position: absolute; inset: 91px; width: 78px; height: 78px; border-radius: 23px; margin: auto; color: var(--accent); box-shadow: 0 0 80px rgba(181,140,255,.18); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 90px 0; }
.contact-button { padding: 14px 17px; border: 1px solid rgba(181,140,255,.25); border-radius: 11px; background: rgba(181,140,255,.06); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0 30px; border-top: 1px solid var(--line); color: #65606e; font-size: 11px; }
footer a { color: #827b8b; text-decoration: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes show { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .page-width { width: min(calc(100% - 30px), var(--max)); }
  .site-header { min-height: 68px; }
  .header-cta { display: none; }
  .hero { padding: 65px 0 55px; }
  h1 { font-size: clamp(43px, 13vw, 68px); }
  .search-card { flex-direction: column; padding: 7px; }
  .input-wrap { min-height: 59px; }
  button { min-height: 56px; }
  .domain-card { align-items: flex-start; }
  .domain-card, .domain-offer { flex-direction: column; }
  .domain-offer { width: 100%; align-items: stretch; gap: 9px; }
  .price { text-align: left; }
  .contract-button { text-align: center; padding: 13px; }
  .conversion-callout { grid-template-columns: auto 1fr; }
  .conversion-callout .compact { grid-column: 1 / -1; }
  .benefits { grid-template-columns: 1fr; }
  .benefit-card { min-height: auto; }
  .benefit-card h3 { margin-top: 35px; }
  .conversion { min-height: auto; padding: 35px 25px; }
  .conversion-orbit { display: none; }
  .contact { align-items: flex-start; flex-direction: column; padding: 70px 0; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
