/* ==========================================================
   CloudNest Network — shared stylesheet
   Dark mode · cyan / blue / grey / dark grey / white
   ========================================================== */

:root {
  --bg: #06090f;
  --bg-2: #0a0f17;
  --s1: #0f151f;
  --s2: #141c28;
  --s3: #1b2533;
  --line: rgba(160, 190, 230, 0.12);
  --line-2: rgba(160, 190, 230, 0.2);
  --grey: #8d99ab;
  --grey-2: #b7c1cf;
  --white: #ffffff;
  --cyan: #22d3ee;
  --cyan-2: #2daafc;
  --blue: #1677ff;
  --blue-2: #0a5bd6;
  --navy: #071737;
  --grad: linear-gradient(120deg, #22d3ee 0%, #2daafc 40%, #1677ff 100%);
  --grad-soft: linear-gradient(140deg, rgba(34, 211, 238, 0.16), rgba(22, 119, 255, 0.08));
  --glow: 0 0 0 1px rgba(45, 170, 252, 0.35), 0 12px 50px -10px rgba(22, 119, 255, 0.55);
  --r: 14px;
  --r-lg: 22px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --wrap: 1220px;
  --pad: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  background: var(--bg);
  color: var(--grey-2);
  font: 500 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--cyan); color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--white); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }
p { color: var(--grey); }
.lead { font-size: 1.08rem; color: var(--grey-2); max-width: 620px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 0.74rem/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); padding: 7px 12px; border-radius: 99px;
  background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.22);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 { margin: 16px 0 12px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px; border-radius: 12px;
  font: 700 0.95rem/1 var(--font); letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #04121f; box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, 0.75); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--white); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 0.86rem; border-radius: 10px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 700; font-size: 0.92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icons ---------- */
.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-box {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
  color: var(--cyan); background: var(--grad-soft); border: 1px solid rgba(45, 170, 252, 0.25);
}

/* ==========================================================
   Header + mega menu
   ========================================================== */
.topbar {
  background: linear-gradient(90deg, #0a5bd6, #1677ff 40%, #22d3ee);
  color: #031426; font-size: 0.84rem; font-weight: 700; text-align: center; padding: 8px var(--pad);
}
.topbar a { text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(6, 9, 15, 0.72); border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: border-color 0.3s, background 0.3s;
}
.header.scrolled { border-color: var(--line); background: rgba(6, 9, 15, 0.9); }
.menu-open .header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--bg); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .nav > .has-mega > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px;
  color: var(--grey-2); font-weight: 700; font-size: 0.93rem; transition: color 0.2s, background 0.2s;
}
.nav > a:hover, .nav > .has-mega > button:hover, .nav > a.active, .has-mega.open > button { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.has-mega > button .ic { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.has-mega.open > button .ic { transform: rotate(180deg); }
.nav .nav-support { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 10px; }
.nav .nav-support .ic { width: 20px; height: 20px; }
.nav .nav-support span { display: none; }
.domain-search .btn { cursor: default; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .login { font-weight: 700; font-size: 0.93rem; color: var(--grey-2); padding: 0 10px; display: inline-flex; gap: 7px; align-items: center; }
.header-actions .login:hover { color: var(--white); }
.header-actions .login .ic { width: 18px; height: 18px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  display: grid; grid-template-columns: 300px 1fr; max-width: var(--wrap); margin: 10px auto 0;
  background: #0b1019; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(34, 211, 238, 0.05);
  overflow: hidden; width: calc(100% - 2 * var(--pad));
}
.mega-cats { padding: 26px 18px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.mega-label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); font-weight: 800; padding: 0 12px 14px; }
.mega-cat {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 14px; border-radius: 12px; color: var(--grey-2); font-weight: 700; font-size: 0.97rem;
  transition: background 0.2s, color 0.2s;
}
.mega-cat:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }
.mega-cat.active { color: var(--white); background: linear-gradient(90deg, rgba(22, 119, 255, 0.28), rgba(34, 211, 238, 0.08)); box-shadow: inset 0 0 0 1px rgba(45, 170, 252, 0.3); }
.mega-cat.active .ic { color: var(--cyan); }
.mega-panels { padding: 26px 30px 30px; }
.mega-panel { display: none; }
.mega-panel.active { display: block; animation: megaIn 0.35s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.mega-item { display: flex; gap: 14px; padding: 13px 14px; border-radius: 12px; transition: background 0.2s; }
.mega-item:hover { background: rgba(255, 255, 255, 0.04); }
.mega-item .ic { margin-top: 2px; color: var(--grey-2); transition: color 0.2s; }
.mega-item:hover .ic { color: var(--cyan); }
.mega-item strong { display: block; color: var(--white); font-size: 0.97rem; font-weight: 800; margin-bottom: 2px; }
.mega-item span { display: block; color: var(--grey); font-size: 0.88rem; line-height: 1.45; }
.mega-item .tag { display: inline-block; margin-left: 8px; font-size: 0.64rem; padding: 2px 7px; border-radius: 99px; background: rgba(34, 211, 238, 0.12); color: var(--cyan); vertical-align: 2px; letter-spacing: 0.06em; }

/* ==========================================================
   Sections + surfaces
   ========================================================== */
section { position: relative; }
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.35;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.55; }
.orb.cyan { background: #22d3ee; } .orb.blue { background: #1677ff; }

.card {
  position: relative; background: linear-gradient(180deg, var(--s2), var(--s1));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.card.glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.12), transparent 45%);
}
.card.glow:hover::after { opacity: 1; }
.card:hover { border-color: rgba(45, 170, 252, 0.35); transform: translateY(-4px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin: 20px 0 18px; }
.hero .lead { margin-bottom: 26px; }
.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 30px; max-width: 520px; }
.hero-points li { list-style: none; display: flex; gap: 10px; align-items: center; color: var(--grey-2); font-weight: 600; font-size: 0.95rem; }
.hero-points .ic { width: 18px; height: 18px; color: var(--cyan); }
.hero-price { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.price-tag { line-height: 1; }
.price-tag small { display: block; font-size: 0.8rem; color: var(--grey); margin-bottom: 6px; font-weight: 700; }
.price-tag b { font-size: 2.2rem; color: var(--white); font-weight: 800; letter-spacing: -0.03em; }
.price-tag b sup { font-size: 1rem; vertical-align: 0.9rem; margin-right: 2px; }
.price-tag em { font-style: normal; color: var(--grey); font-weight: 700; }
.guarantee { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--grey); margin-top: 16px; }
.guarantee .ic { width: 18px; height: 18px; color: var(--cyan); }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 0.92; perspective: 1400px; }
.hv-ring {
  position: absolute; inset: 6% 8%; border-radius: 50%;
  border: 1px dashed rgba(45, 170, 252, 0.25); animation: spin 60s linear infinite;
}
.hv-ring.r2 { inset: 16% 18%; border-style: solid; border-color: rgba(34, 211, 238, 0.12); animation-duration: 40s; animation-direction: reverse; }
.hv-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-core {
  position: absolute; left: 50%; top: 44%; width: 56%; transform: translate(-50%, -50%) rotateX(10deg) rotateY(-6deg);
  transform-style: preserve-3d; animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.rack { display: grid; gap: 10px; }
.rack-unit {
  height: 52px; border-radius: 12px; position: relative; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: linear-gradient(180deg, #1a2433, #0e1520); border: 1px solid rgba(160, 190, 230, 0.18);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.rack-unit .led { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.6s infinite; }
.rack-unit .led.b { background: var(--blue); box-shadow: 0 0 10px var(--blue); animation-delay: 0.4s; }
.rack-unit .led.g { background: #3ee59b; box-shadow: 0 0 10px #3ee59b; animation-delay: 0.9s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.rack-unit .slots { flex: 1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.rack-unit .slots i { height: 18px; border-radius: 3px; background: linear-gradient(180deg, #243247, #172131); border: 1px solid rgba(255, 255, 255, 0.04); }
.rack-unit .bar { width: 64px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.rack-unit .bar::after { content: ""; display: block; height: 100%; width: var(--w, 60%); background: var(--grad); border-radius: inherit; animation: load 3s var(--ease) infinite alternate; }
@keyframes load { from { width: 20%; } to { width: var(--w, 70%); } }
.hv-base { position: absolute; left: 50%; top: 66%; width: 78%; aspect-ratio: 3 / 1; transform: translateX(-50%); }
.hv-base i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 211, 238, 0.45); box-shadow: 0 0 40px rgba(34, 211, 238, 0.25), inset 0 0 40px rgba(22, 119, 255, 0.35); animation: basePulse 4s ease-in-out infinite; }
.hv-base i:nth-child(2) { inset: 16% 14%; border-color: rgba(45, 170, 252, 0.6); animation-delay: -1.3s; }
.hv-base i:nth-child(3) { inset: 32% 30%; border: 0; background: radial-gradient(closest-side, rgba(34, 211, 238, 0.85), rgba(22, 119, 255, 0.3) 60%, transparent); filter: blur(4px); animation-delay: -2.6s; }
.hv-beam { position: absolute; left: 50%; top: 18%; width: 44%; height: 64%; transform: translateX(-50%); background: linear-gradient(0deg, rgba(34, 211, 238, 0.22), transparent 85%); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); filter: blur(6px); }
@keyframes basePulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.shot .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.hv-glow { position: absolute; left: 50%; top: 56%; width: 70%; height: 30%; transform: translate(-50%, 0); background: radial-gradient(ellipse, rgba(22, 119, 255, 0.55), transparent 70%); filter: blur(30px); }
.hv-card {
  position: absolute; z-index: 3; padding: 14px 16px; border-radius: 14px;
  background: rgba(15, 21, 31, 0.82); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); font-size: 0.82rem; color: var(--grey);
  animation: float 6s ease-in-out infinite;
}
.hv-card b { display: block; color: var(--white); font-size: 1.05rem; font-weight: 800; }
.hv-card .row { display: flex; align-items: center; gap: 10px; }
.hv-card .ic-box { width: 36px; height: 36px; border-radius: 10px; }
.hv-card .ic-box .ic { width: 18px; height: 18px; }
.hv-card.c1 { top: 6%; left: -2%; }
.hv-card.c2 { top: 14%; right: -4%; animation-delay: -2s; }
.hv-card.c3 { bottom: 8%; left: 2%; animation-delay: -4s; }
.hv-card.c4 { bottom: 4%; right: 0; animation-delay: -1s; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 28px; margin-top: 8px; }
.spark i { width: 6px; border-radius: 2px; background: var(--grad); opacity: 0.9; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee59b; box-shadow: 0 0 0 0 rgba(62, 229, 155, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 229, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 229, 155, 0); } }

/* ---------- Domain search ---------- */
.domain-search {
  display: flex; gap: 8px; padding: 8px; border-radius: 16px;
  background: rgba(15, 21, 31, 0.9); border: 1px solid var(--line-2); max-width: 640px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.domain-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12); }
.domain-search .ic { margin: auto 4px auto 10px; color: var(--grey); }
.domain-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--white); font-weight: 600; font-size: 1rem; }
.domain-search input::placeholder { color: #5f6b7d; }
.tld-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tld-chips span { font-size: 0.84rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--grey-2); }
.tld-chips span b { color: var(--white); }
.domain-results { margin-top: 18px; display: grid; gap: 10px; max-width: 640px; }
.dr-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--s1); border: 1px solid var(--line); animation: megaIn 0.4s var(--ease) both;
}
.dr-row .name { flex: 1; color: var(--white); font-weight: 800; }
.dr-row .status { font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.dr-row .status.ok { color: #3ee59b; background: rgba(62, 229, 155, 0.1); }
.dr-row .status.no { color: #ff7a8a; background: rgba(255, 122, 138, 0.1); }
.dr-row .p { color: var(--white); font-weight: 800; min-width: 80px; text-align: right; }

.domain-band { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: radial-gradient(500px circle at 0% 50%, rgba(34, 211, 238, 0.12), transparent 60%), var(--s1); }
.domain-band h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 14px 0 8px; }
@media (max-width: 1000px) { .domain-band { grid-template-columns: 1fr; } }

/* ---------- Logo strip / marquee ---------- */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.strip p { text-align: center; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; margin-bottom: 20px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: marq 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; color: #6f7c8f; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; white-space: nowrap; }
.marquee span .ic { width: 22px; height: 22px; }
.strip:hover .marquee { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.mask-x { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

/* ---------- Product grid ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product h3 { margin: 18px 0 8px; }
.product p { font-size: 0.94rem; margin-bottom: 18px; }
.product .from { font-size: 0.84rem; color: var(--grey); }
.product .from b { color: var(--white); font-size: 1rem; }
.product .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.product { display: flex; flex-direction: column; }
.product.feature { grid-column: span 2; background: radial-gradient(600px circle at 100% 0%, rgba(22, 119, 255, 0.22), transparent 60%), linear-gradient(180deg, var(--s2), var(--s1)); }
.product.feature h3 { font-size: 1.45rem; }
.badge { display: inline-flex; align-items: center; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: rgba(34, 211, 238, 0.12); color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.25); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

/* ---------- Pricing ---------- */
.bill-toggle { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); gap: 4px; margin-top: 26px; }
.bill-toggle button { padding: 10px 18px; border-radius: 10px; font-weight: 800; font-size: 0.9rem; color: var(--grey); transition: background 0.25s, color 0.25s; }
.bill-toggle button.active { background: var(--s3); color: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.bill-toggle button .save { color: var(--cyan); margin-left: 6px; font-size: 0.78rem; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plans.three { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; }
.plan .name { font-size: 1.15rem; color: var(--white); font-weight: 800; }
.plan .desc { font-size: 0.88rem; margin: 6px 0 20px; min-height: 44px; }
.plan .old { font-size: 0.86rem; color: #6c788a; text-decoration: line-through; font-weight: 700; }
.plan .off { margin-left: 8px; font-size: 0.72rem; font-weight: 800; color: #04121f; background: var(--cyan); padding: 3px 8px; border-radius: 99px; text-decoration: none; display: inline-block; }
.plan .amount { display: flex; align-items: flex-start; gap: 2px; color: var(--white); margin: 8px 0 4px; }
.plan .amount sup { font-size: 1.1rem; font-weight: 800; margin-top: 8px; }
.plan .amount b { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .amount small { align-self: flex-end; font-weight: 700; color: var(--grey); margin-bottom: 6px; margin-left: 4px; }
.plan .renew { font-size: 0.8rem; color: var(--grey); margin-bottom: 22px; }
.plan .btn { margin-bottom: 24px; }
.plan ul { list-style: none; display: grid; gap: 11px; font-size: 0.9rem; }
.plan li { position: relative; padding-left: 27px; color: var(--grey-2); font-weight: 600; }
.plan li .ic { position: absolute; left: 0; top: 3px; width: 17px; height: 17px; color: var(--cyan); }
.plan li.no { color: #5f6b7d; } .plan li.no .ic { color: #5f6b7d; }
.plan li b { color: var(--white); }
.plan.popular { border-color: transparent; background: linear-gradient(180deg, #152238, #0f1724) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--glow); }
.plan.popular:hover { border-color: transparent; }
.plan .ribbon { position: absolute; top: 0; right: 22px; background: var(--grad); color: #04121f; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 0 0 10px 10px; }
.plan-note { text-align: center; margin-top: 28px; font-size: 0.86rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card h3 { margin: 18px 0 8px; }
.feature-card p { font-size: 0.93rem; }
.feat-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.feat-list > div { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-list > div:nth-child(4n) { border-right: 0; }
.feat-list h4 { margin: 14px 0 6px; }
.feat-list p { font-size: 0.88rem; }

/* ---------- Split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
.split.rev > :first-child { order: 2; }
.checks { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li .ic-box { width: 38px; height: 38px; border-radius: 10px; }
.checks li .ic-box .ic { width: 18px; height: 18px; }
.checks strong { display: block; color: var(--white); font-weight: 800; }
.checks span { font-size: 0.92rem; color: var(--grey); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { padding: 9px 15px; border-radius: 10px; font-weight: 800; font-size: 0.87rem; color: var(--grey); border: 1px solid var(--line); transition: all 0.25s; }
.tabs button.active, .tabs button:hover { color: var(--white); border-color: rgba(45, 170, 252, 0.45); background: rgba(22, 119, 255, 0.12); }

/* Control panel mockup */
.panel {
  border-radius: var(--r-lg); overflow: hidden; background: #0b1119; border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(34, 211, 238, 0.05), 0 0 120px -40px rgba(22, 119, 255, 0.5);
}
.panel-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0e151f; }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3646; }
.panel-bar i:nth-child(1) { background: #ff6b7d; } .panel-bar i:nth-child(2) { background: #ffc34d; } .panel-bar i:nth-child(3) { background: #3ee59b; }
.panel-bar .url { margin-left: 14px; flex: 1; font: 600 0.76rem var(--mono); color: var(--grey); background: #070b11; padding: 6px 12px; border-radius: 8px; }
.panel-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.panel-side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 4px; }
.panel-side span { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; font-weight: 700; color: var(--grey); padding: 8px 10px; border-radius: 8px; }
.panel-side span .ic { width: 15px; height: 15px; }
.panel-side span.on { background: rgba(22, 119, 255, 0.16); color: var(--white); }
.panel-side span.on .ic { color: var(--cyan); }
.panel-main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.panel-view { display: none; gap: 14px; }
.panel-view.active { display: grid; animation: megaIn 0.4s var(--ease); }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pstat { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.pstat small { font-size: 0.7rem; color: var(--grey); font-weight: 700; display: block; }
.pstat b { color: var(--white); font-size: 1.05rem; }
.pchart { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pchart .head { display: flex; justify-content: space-between; font-size: 0.74rem; font-weight: 700; color: var(--grey); margin-bottom: 10px; }
.pchart svg { width: 100%; height: 110px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; color: var(--grey-2); }
.prow .ic { width: 16px; height: 16px; color: var(--cyan); }
.prow em { margin-left: auto; font-style: normal; font-size: 0.7rem; padding: 3px 8px; border-radius: 99px; color: #3ee59b; background: rgba(62, 229, 155, 0.1); }
.prow em.w { color: #ffc34d; background: rgba(255, 195, 77, 0.1); }
.term { font: 500 0.78rem/1.75 var(--mono); background: #05080c; border: 1px solid var(--line); border-radius: 12px; padding: 14px; color: #9fb0c6; min-height: 210px; }
.term .p { color: var(--cyan); } .term .ok { color: #3ee59b; } .term .c { color: #5f6b7d; }
.caret { display: inline-block; width: 8px; height: 14px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }

/* ---------- AI section ---------- */
.ai-box {
  border-radius: 28px; padding: clamp(30px, 5vw, 60px); position: relative; overflow: hidden;
  background: radial-gradient(700px circle at 0% 0%, rgba(34, 211, 238, 0.18), transparent 55%), radial-gradient(700px circle at 100% 100%, rgba(22, 119, 255, 0.25), transparent 55%), var(--s1);
  border: 1px solid var(--line-2);
}
.chat { display: grid; gap: 12px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 0.9rem; line-height: 1.55; }
.msg.user { justify-self: end; background: var(--grad); color: #04121f; font-weight: 700; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--s2); border: 1px solid var(--line); color: var(--grey-2); border-bottom-left-radius: 4px; }
.msg.bot b { color: var(--white); }
.msg .steps { margin-top: 8px; display: grid; gap: 4px; font-size: 0.82rem; }
.msg .steps span { display: flex; gap: 8px; align-items: center; } .msg .steps .ic { width: 15px; height: 15px; color: #3ee59b; }
.typing { display: inline-flex; gap: 4px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }

/* ---------- Globe / data centres ---------- */
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; width: 100%; }
.globe-wrap canvas { width: 100%; height: 100%; }
.globe-wrap::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(22, 119, 255, 0.3), transparent 65%); filter: blur(20px); }
.dc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.dc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); }
.dc b { color: var(--white); font-size: 0.92rem; display: block; line-height: 1.2; }
.dc small { color: var(--grey); font-size: 0.78rem; }
.dc .pulse-dot { background: var(--cyan); animation-name: pulseC; }
@keyframes pulseC { 70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); } 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 20px; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.stat span { font-size: 0.9rem; font-weight: 700; }

/* ---------- Steps ---------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 26px; }
.step::before { counter-increment: s; content: "0" counter(s); font: 800 0.8rem var(--mono); color: var(--cyan); letter-spacing: 0.1em; }
.step h3 { margin: 14px 0 8px; font-size: 1.05rem; }
.step p { font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--s1); transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(45, 170, 252, 0.35); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; text-align: left; color: var(--white); font-weight: 800; font-size: 1rem; }
.faq-q .ic { color: var(--cyan); transition: transform 0.35s var(--ease); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta {
  border-radius: 28px; padding: clamp(36px, 6vw, 70px); text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 120%, rgba(34, 211, 238, 0.35), transparent 55%), linear-gradient(135deg, #0a1c3d, #081226 50%, #0a2a4a);
  border: 1px solid rgba(45, 170, 252, 0.3);
}
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto 28px; color: var(--grey-2); }
.cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
th { color: var(--white); font-weight: 800; background: var(--s2); position: sticky; top: 0; }
td { color: var(--grey-2); font-weight: 600; }
td b { color: var(--white); }
td:first-child b { white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
td .ic { width: 18px; height: 18px; color: var(--cyan); }
td [data-icon="x"] .ic { color: #4a5566; }
.col-hl { background: rgba(22, 119, 255, 0.06); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 80px); overflow: hidden; text-align: center; }
.page-hero .wrap { position: relative; }
.page-hero h1 { margin: 18px auto 16px; max-width: 820px; }
.page-hero .lead { margin: 0 auto 28px; }
.page-hero .domain-search { margin: 0 auto; }
.page-hero .tld-chips { justify-content: center; }
.page-hero .domain-results { margin-left: auto; margin-right: auto; text-align: left; }
.crumbs { font-size: 0.82rem; font-weight: 700; color: var(--grey); margin-bottom: 4px; }
.crumbs a:hover { color: var(--cyan); }

/* ---------- OS chips ---------- */
.os-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.os { display: grid; place-items: center; gap: 10px; padding: 20px 10px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); font-weight: 800; color: var(--white); font-size: 0.9rem; transition: border-color 0.3s, transform 0.3s var(--ease); }
.os:hover { border-color: rgba(45, 170, 252, 0.4); transform: translateY(-3px); }
.os .logo-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; font-weight: 800; background: var(--grad-soft); color: var(--cyan); border: 1px solid rgba(45, 170, 252, 0.25); }
.os small { color: var(--grey); font-weight: 600; font-size: 0.76rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 800; color: var(--white); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: #0a0f17; border: 1px solid var(--line-2);
  color: var(--white); font-weight: 600; outline: 0; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12); }
.form-note { font-size: 0.84rem; }
.form-ok { display: none; padding: 14px 16px; border-radius: 12px; background: rgba(62, 229, 155, 0.08); border: 1px solid rgba(62, 229, 155, 0.3); color: #3ee59b; font-weight: 700; font-size: 0.92rem; }
.form-ok.show { display: block; }

/* ---------- Contact / support ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; }
.contact-card h4 { margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; }
.contact-card a, .contact-card .link-btn { color: var(--cyan); font-weight: 700; font-size: 0.92rem; }
.contact-card .link-btn { padding: 0; background: none; border: 0; cursor: pointer; font-family: inherit; }
.dc-card .globe-wrap { max-width: 400px; margin: 10px auto 6px; }
.flag-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flag-list div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); }
.flag-list img { width: 34px; height: 24px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.flag-list b { color: var(--white); font-size: 0.92rem; }
.help-search { max-width: 640px; margin: 0 auto; }
.status-list { display: grid; gap: 10px; }
.status-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.status-row b { color: var(--white); flex: 1; font-weight: 800; }
.status-row .ok { font-size: 0.82rem; color: #3ee59b; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.uptime-bars { display: flex; gap: 2px; height: 26px; align-items: stretch; }
.uptime-bars i { flex: 1; min-width: 3px; border-radius: 2px; background: #3ee59b; opacity: 0.85; }
.uptime-bars i.w { background: #ffc34d; }

/* ---------- Login ---------- */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; padding: 60px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(600px circle at 20% 20%, rgba(34, 211, 238, 0.2), transparent 60%), radial-gradient(600px circle at 90% 90%, rgba(22, 119, 255, 0.3), transparent 60%), var(--bg-2); border-right: 1px solid var(--line); }
.auth-form { display: grid; place-items: center; padding: 60px var(--pad); }
.auth-form .box { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 1.9rem; margin-bottom: 8px; }
.sso { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.or { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--grey); margin-bottom: 20px; font-weight: 700; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #04070c; padding: 70px 0 30px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer .brand img { height: 44px; margin-bottom: 16px; }
.footer-about p { font-size: 0.9rem; max-width: 300px; margin-bottom: 20px; }
.footer h4 { font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 0.9rem; color: var(--grey); font-weight: 600; transition: color 0.2s; }
.footer ul a:hover { color: var(--cyan); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--grey-2); transition: all 0.25s; }
.socials a:hover { color: var(--cyan); border-color: var(--cyan); }
.socials .ic { width: 17px; height: 17px; }
.newsletter { display: flex; gap: 8px; margin-top: 4px; max-width: 320px; }
.newsletter input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--s1); outline: 0; font-size: 0.88rem; }
.newsletter input:focus { border-color: var(--cyan); }
.footer-dc { display: flex; align-items: center; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.footer-dc h4 { margin-bottom: 12px; }
.globe-mini { width: 130px; height: 130px; flex: none; }
.footer-flags { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-flags span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--s1); color: var(--grey-2); font-weight: 700; font-size: 0.86rem; }
.footer-flags img { width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 0.84rem; color: var(--grey); }
.footer-bottom .pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-bottom .pay span { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-2); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--grey-2); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--s2); border: 1px solid var(--line-2); color: var(--white); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--cyan); color: var(--cyan); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1120px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .feat-list { grid-template-columns: repeat(2, 1fr); }
  .feat-list > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .feat-list > div:nth-child(2n) { border-right: 0; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .os-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1000px) {
  .nav, .header-actions .login, .header-actions .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .header .wrap { gap: 12px; }
  .menu-open { overflow: hidden; }
  .menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: var(--menu-top, var(--header-h)); left: 0; right: 0; bottom: 0; overflow-y: auto;
    background: var(--bg); padding: 16px var(--pad) 40px; border-top: 1px solid var(--line);
  }
  .menu-open .nav > a, .menu-open .nav > .has-mega > button { width: 100%; justify-content: space-between; height: 52px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .mobile-cta { display: grid !important; gap: 10px; margin-top: 20px; }
  .menu-open .nav > a.nav-support { display: flex; justify-content: flex-start; gap: 10px; padding: 0 14px; }
  .menu-open .nav > a.nav-support span { display: inline; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-mega.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; width: 100%; margin: 8px 0 12px; border-radius: 16px; }
  .mega-cats { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; gap: 6px; padding: 12px; }
  .mega-cats .mega-label { display: none; }
  .mega-cat { width: auto; white-space: nowrap; padding: 9px 12px; font-size: 0.86rem; }
  .mega-panels { padding: 10px; }
  .mega-panel .mega-label { display: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .hero .wrap, .split, .split.rev, .contact-grid { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .products, .features { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps-row { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
.nav .mobile-cta { display: none; }

@media (max-width: 680px) {
  body { font-size: 15px; }
  .topbar { font-size: 0.76rem; }
  .brand img { height: 34px; }
  .products, .features, .plans, .plans.three, .stats, .steps-row, .dc-list, .form .row2 { grid-template-columns: 1fr; }
  .product.feature { grid-column: auto; }
  .feat-list { grid-template-columns: 1fr; }
  .feat-list > div { border-right: 0 !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-dc { flex-direction: column; align-items: flex-start; }
  .hero-points { grid-template-columns: 1fr; }
  .hv-card { font-size: 0.72rem; padding: 10px 12px; }
  .hv-card b { font-size: 0.9rem; }
  .hv-card .ic-box { display: none; }
  .domain-search { flex-wrap: wrap; }
  .domain-search input { height: 44px; }
  .domain-search .btn { width: 100%; }
  .panel-body { grid-template-columns: 1fr; }
  .panel-side { display: none; }
  .os-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Shop: cart, checkout, account, admin
   ========================================================== */
.cart-link { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--grey-2); transition: color 0.2s, background 0.2s; }
.cart-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.cart-count { position: absolute; top: 5px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--cyan); color: #04121f; font-size: 0.66rem; font-weight: 800; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
@media (max-width: 1000px) { .header-actions .cart-link { display: grid; } }

.shop { padding: clamp(36px, 5vw, 60px) 0 80px; }
.shop h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.steps-bar { display: flex; gap: 10px; align-items: center; margin: 4px 0 30px; font-size: 0.84rem; font-weight: 800; color: var(--grey); flex-wrap: wrap; }
.steps-bar span { display: inline-flex; align-items: center; gap: 8px; }
.steps-bar i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 0.76rem; }
.steps-bar .on { color: var(--white); } .steps-bar .on i { background: var(--grad); color: #04121f; border: 0; }
.steps-bar .done i { background: rgba(62, 229, 155, 0.15); color: #3ee59b; border-color: rgba(62, 229, 155, 0.4); }
.steps-bar b { width: 30px; height: 1px; background: var(--line-2); }
.shop-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 0.93rem; color: var(--grey-2); font-weight: 600; }
.sum-row b { color: var(--white); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; font-size: 1.05rem; }
.sum-row.total b { font-size: 1.5rem; letter-spacing: -0.02em; }
.sum-note { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; margin-top: 16px; color: var(--grey); }
.sum-note .ic { width: 16px; height: 16px; color: var(--cyan); }
.summary .btn { margin-top: 18px; }

.item-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.item-head h2 { font-size: 1.3rem; margin-bottom: 4px; }
.item-head .rm { margin-left: auto; color: var(--grey); font-size: 0.86rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.item-head .rm:hover { color: #ff7a8a; }
.item-head .rm .ic { width: 16px; height: 16px; }
.label-sm { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; color: var(--grey); margin: 6px 0 12px; }
.periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.period { position: relative; display: block; cursor: pointer; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--s1); transition: border-color 0.2s, background 0.2s; }
.period input { position: absolute; opacity: 0; pointer-events: none; }
.period:hover { border-color: rgba(45, 170, 252, 0.5); }
.period.on { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08); }
.period .t { color: var(--white); font-weight: 800; }
.period .p { color: var(--white); font-size: 1.35rem; font-weight: 800; margin-top: 8px; letter-spacing: -0.02em; }
.period .p small { font-size: 0.8rem; color: var(--grey); font-weight: 700; }
.period .tot { font-size: 0.8rem; color: var(--grey); font-weight: 600; }
.period .dot { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); }
.period.on .dot { border-color: var(--cyan); background: radial-gradient(circle, var(--cyan) 45%, transparent 50%); }
.feat-mini { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.feat-mini li { display: flex; gap: 8px; align-items: center; color: var(--grey-2); font-weight: 600; }
.feat-mini .ic { width: 16px; height: 16px; color: var(--cyan); }
.feat-mini li.no { color: #5f6b7d; } .feat-mini li.no .ic { color: #5f6b7d; }
.empty { text-align: center; padding: 60px 20px; }
.empty .ic-box { margin: 0 auto 18px; width: 64px; height: 64px; }
.empty .ic-box .ic { width: 28px; height: 28px; }
.empty h2 { font-size: 1.4rem; margin-bottom: 8px; }
.empty p { margin-bottom: 22px; }

.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--s1); color: var(--white); font-weight: 800; text-align: left; transition: border-color 0.2s, background 0.2s; }
.pay-opt .ic { color: var(--cyan); }
.pay-opt.on { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }
.pay-opt .apple { font-size: 1.15rem; line-height: 1; }
.pay-panel { display: none; }
.pay-panel.on { display: block; animation: megaIn 0.35s var(--ease); }
.saved-cards { display: grid; gap: 10px; margin-bottom: 14px; }
.saved-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--s1); cursor: pointer; transition: border-color 0.2s; }
.saved-card.on { border-color: var(--cyan); }
.saved-card input { accent-color: var(--cyan); width: 18px; height: 18px; }
.saved-card .brand { width: 52px; height: 34px; border-radius: 7px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; background: linear-gradient(135deg, #1b2a44, #0f1a2c); border: 1px solid var(--line-2); color: var(--white); }
.saved-card b { color: var(--white); }
.saved-card small { display: block; color: var(--grey); font-size: 0.8rem; }
.add-card-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line-2); color: var(--cyan); font-weight: 800; transition: border-color 0.2s, background 0.2s; }
.add-card-btn:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.05); }
.add-card-btn .ic { width: 18px; height: 18px; }
.card-form { margin-top: 16px; padding: 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); }
.card-form[hidden] { display: none; }
.card-form .row3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-num { position: relative; }
.card-num .brand-tag { position: absolute; right: 12px; bottom: 11px; font-size: 0.72rem; font-weight: 800; color: var(--cyan); letter-spacing: 0.05em; }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--grey-2); }
.check input { accent-color: var(--cyan); width: 17px; height: 17px; }
.field input.bad { border-color: #ff7a8a; }
.form-err { display: none; padding: 12px 14px; border-radius: 12px; background: rgba(255, 122, 138, 0.08); border: 1px solid rgba(255, 122, 138, 0.35); color: #ff9aa6; font-weight: 700; font-size: 0.9rem; }
.form-err.show { display: block; }
.apple-pay-btn { width: 100%; height: 52px; border-radius: 12px; background: #fff; color: #000; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform 0.2s; }
.apple-pay-btn:hover { transform: translateY(-1px); }
.demo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255, 195, 77, 0.07); border: 1px solid rgba(255, 195, 77, 0.3); color: #ffd27a; font-size: 0.84rem; font-weight: 600; margin-top: 18px; }
.demo-note .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.success { text-align: center; padding: 50px 24px; }
.success .ok-ring { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: rgba(62, 229, 155, 0.12); border: 1px solid rgba(62, 229, 155, 0.4); color: #3ee59b; }
.success .ok-ring .ic { width: 34px; height: 34px; }
.success h2 { margin-bottom: 8px; }
.success .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Auth tabs */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; gap: 4px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); margin: 22px 0 24px; }
.auth-tabs button { padding: 11px; border-radius: 10px; font-weight: 800; color: var(--grey); transition: background 0.2s, color 0.2s; }
.auth-tabs button.active { background: var(--s3); color: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.auth-pane { display: none; } .auth-pane.active { display: block; }
.auth-tabs[hidden] ~ .auth-pane { padding-top: 22px; }

/* Account */
.acc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.acc-nav { display: grid; gap: 4px; padding: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.acc-nav button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 700; color: var(--grey-2); text-align: left; }
.acc-nav button:hover { background: rgba(255, 255, 255, 0.04); color: var(--white); }
.acc-nav button.active { background: rgba(22, 119, 255, 0.16); color: var(--white); }
.acc-nav button.active .ic { color: var(--cyan); }
.acc-nav hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.acc-pane { display: none; } .acc-pane.active { display: grid; gap: 18px; animation: megaIn 0.35s var(--ease); }
.service { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.service b { color: var(--white); display: block; }
.service small { color: var(--grey); font-size: 0.84rem; }
.service .st { margin-left: auto; font-size: 0.78rem; font-weight: 800; padding: 5px 10px; border-radius: 99px; color: #3ee59b; background: rgba(62, 229, 155, 0.1); white-space: nowrap; }
.muted { color: var(--grey); font-size: 0.92rem; }

/* Admin */
.admin-body { background: var(--bg); }
.admin-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(6, 9, 15, 0.92); backdrop-filter: blur(12px); }
.admin-top img { height: 40px; }
.admin-top .tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(34, 211, 238, 0.3); }
.admin-top .sp { flex: 1; }
.admin-wrap { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 64px); }
.admin-side { border-right: 1px solid var(--line); padding: 20px 14px; display: grid; align-content: start; gap: 4px; background: var(--bg-2); }
.admin-side button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 700; color: var(--grey-2); text-align: left; }
.admin-side button:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }
.admin-side button.active { color: var(--white); background: rgba(22, 119, 255, 0.16); }
.admin-side button.active .ic { color: var(--cyan); }
.admin-side .n { margin-left: auto; font-size: 0.74rem; color: var(--grey); }
.admin-main { padding: 28px clamp(18px, 3vw, 36px) 60px; min-width: 0; }
.admin-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head h1 { font-size: 1.5rem; }
.admin-head .sp { flex: 1; }
.admin-head select { padding: 9px 12px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line-2); font-weight: 700; }
.table-wrap select { padding: 7px 10px; border-radius: 9px; background: var(--s1); border: 1px solid var(--line-2); color: var(--white); font: inherit; font-size: 0.85rem; font-weight: 700; }
.admin-pane { display: none; } .admin-pane.active { display: block; }
.admin-main table { min-width: 720px; }
.admin-main th, .admin-main td { padding: 12px 14px; }
.admin-main td:last-child { width: 1%; }
.admin-main td { vertical-align: middle; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--grey-2); transition: all 0.2s; }
.icon-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.icon-btn.del:hover { color: #ff7a8a; border-color: #ff7a8a; }
.icon-btn .ic { width: 16px; height: 16px; }
.pill { white-space: nowrap; display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: var(--grey-2); }
.pill.on { background: rgba(62, 229, 155, 0.12); color: #3ee59b; }
.pill.cy { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { padding: 18px 20px; }
.kpi small { color: var(--grey); font-weight: 700; font-size: 0.8rem; }
.kpi b { display: block; color: var(--white); font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 4px; }

.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; background: rgba(2, 4, 8, 0.72); backdrop-filter: blur(6px); }
.modal.open { display: grid; }
.modal-box { width: 100%; max-width: 640px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px; border-radius: var(--r-lg); background: #0c121b; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9); animation: megaIn 0.3s var(--ease); }
.modal-box h2 { font-size: 1.3rem; margin-bottom: 18px; }
.modal-box .row3p { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.hint { font-size: 0.78rem; color: var(--grey); margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--s3); border: 1px solid var(--line-2); color: var(--white); font-weight: 700; font-size: 0.9rem; transition: all 0.3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(255, 122, 138, 0.5); color: #ff9aa6; }

@media (max-width: 1000px) {
  .shop-grid, .acc-grid { grid-template-columns: 1fr; }
  .summary, .acc-nav { position: static; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .admin-side button { white-space: nowrap; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .periods, .pay-methods, .feat-mini, .card-form .row3, .modal-box .row3p { grid-template-columns: 1fr; }
}

/* Support tickets (account page) */
.ticket { padding: 18px 20px; margin-bottom: 12px; }
.ticket-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 4px; }
.ticket-head b { color: var(--white); }
.ticket p { margin-top: 10px; font-size: 0.92rem; white-space: pre-wrap; }
