:root {
  --primary: #2d1b69;
  --primary-dark: #1a0f3d;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --background: #fafbfd;
  --surface: #fff;
  --border: #e5e7f2;
  --text: #1e1b3a;
  --muted: #64748b;
  --success: #16805d;
  --warning: #b96909;
  --danger: #bd3c49;
  --shadow: 0 12px 28px rgba(45, 27, 105, 0.08);
  --gradient: linear-gradient(135deg, #7c3aed, #a855f7);
  --hero-bg: linear-gradient(135deg, #2d1b69 0%, #1e1350 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 15px/1.55 "DM Sans", Arial, sans-serif;
}

h1, h2, h3, h4 {
  font-family: Manrope, sans-serif;
  margin: 0;
  letter-spacing: -0.035em;
}

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.topbar {
  background: var(--primary-dark);
  color: #e9d5ff;
  font-size: 12px;
}

.topbar .container {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}

.nav-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Manrope;
  font-weight: 800;
  font-size: 19px;
  white-space: nowrap;
}

.mark {
  height: 35px;
  width: 35px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  animation: pulse-glow 3s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7), 0 0 10px rgba(124, 58, 237, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(124, 58, 237, 0), 0 0 20px rgba(124, 58, 237, 0.5);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.nav-links {
  display: flex;
  gap: 26px;
  font-weight: 600;
  color: #34445b;
  position: relative;
  align-items: center;
}

.nav-links > a {
  position: relative;
}

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

.nav-item-wrap {
  position: relative;
  display: inline-block;
}

.nav-item-link {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 620px;
  padding: 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.2s;
  box-shadow: var(--shadow);
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.nav-item-wrap:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 10px;
  border-radius: 0;
  transition: 0.15s;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dropdown-item:nth-child(2n) {
  border-right: 0;
}

.dropdown-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.dropdown-item:hover {
  background: #f8f5ff;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.dropdown-svg-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  padding: 7px;
}

.dropdown-svg-icon svg {
  width: 100%;
  height: 100%;
  stroke: #fff;
}

.dropdown-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--text);
}

.dropdown-content p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

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

.cart-pill {
  font-weight: 700;
  color: #39506e;
}

.btn {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.18s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: #cdd8e6;
  color: #213755;
}

.btn-quiet {
  padding: 8px 10px;
  color: #34506e;
}

.hero {
  background: var(--hero-bg);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero:after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.17);
  right: -220px;
  top: -260px;
}

.hero .container {
  min-height: 490px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 45px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #c4b5fd;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 14px 0 18px;
  max-width: 630px;
}

.hero p {
  color: #ddd6fe;
  font-size: 18px;
  max-width: 570px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.hero .btn-outline {
  background: transparent;
  border-color: #a78bfa;
  color: #fff;
}

.server-art {
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.26);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 24px 24px 0 rgba(29, 18, 66, 0.25);
  transform: perspective(900px) rotateY(-5deg);
}

.art-head {
  display: flex;
  justify-content: space-between;
  color: #e9d5ff;
  font-size: 12px;
  margin-bottom: 15px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #43d69d;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(67, 214, 157, 0.14);
}

.chart {
  height: 112px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.25), transparent),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(233, 213, 255, 0.1) 28px);
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}

.chart svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.metric {
  background: rgba(45, 27, 105, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px;
  border-radius: 7px;
}

.metric b {
  display: block;
  font: 700 18px Manrope;
}

.metric span {
  font-size: 11px;
  color: #ddd6fe;
}

.trust {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}

.trust div {
  padding: 0 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust div:first-child {
  padding-left: 0;
}

.trust div:last-child {
  border: 0;
}

.trust b {
  display: block;
  font: 800 20px Manrope;
  margin-top: 8px;
}

.trust span {
  font-size: 13px;
  color: var(--muted);
}

section {
  padding: 80px 0;
}

.section-head {
  max-width: 650px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: 32px;
  margin: 7px 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 23px;
  box-shadow: 0 2px 6px rgba(13, 33, 62, 0.02);
}

.service-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
}

.ico {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  background: #f3f0ff;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
}

.service-card h3 {
  font-size: 18px;
  margin: 17px 0 7px;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.price-line {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.price-line b {
  font-size: 16px;
  color: var(--text);
}

.muted-section {
  background: #eef3f8;
}

.pricing-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
  width: max-content;
  margin: -8px 0 24px;
  background: #fff;
}

.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 13px;
}

.pricing-toggle .active {
  background: #f3f0ff;
  color: var(--accent);
  font-weight: 700;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 23px;
  position: relative;
}

.plan.popular {
  border: 2px solid var(--accent);
  padding: 22px;
  box-shadow: var(--shadow);
}

.tag {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
}

.plan h3 {
  font-size: 18px;
}

.plan > p {
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}

.plan-price {
  font: 800 29px Manrope;
  margin: 16px 0;
}

.plan-price small {
  font: 400 13px "DM Sans";
  color: var(--muted);
}

.features {
  padding: 0;
  margin: 18px 0;
  list-style: none;
  color: #45566c;
  font-size: 13px;
}

.features li {
  margin: 8px 0;
}

.features li:before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  margin-right: 8px;
}

.plan .btn {
  width: 100%;
}

.domain {
  background: var(--primary);
  color: #fff;
}

.domain .domain-box {
  display: flex;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  max-width: 780px;
}

.domain input {
  border: 0;
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  outline: 0;
  color: var(--text);
}

.domain-result {
  margin-top: 15px;
  color: #ddd6fe;
  min-height: 25px;
}

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 18px;
}

.why-item {
  display: flex;
  gap: 14px;
}

.why-item h3 {
  font-size: 16px;
}

.why-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.network-box {
  background: var(--primary);
  border-radius: 10px;
  padding: 30px;
  color: #fff;
  min-height: 320px;
  display: grid;
  align-content: center;
}

.network-box h3 {
  font-size: 28px;
}

.network-box p {
  color: #ddd6fe;
}

.nodes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.node {
  width: 60px;
  height: 60px;
  border: 1px solid #a78bfa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  background: rgba(124, 58, 237, 0.3);
}

.line {
  height: 1px;
  background: #a78bfa;
  flex: 1;
}

.faq {
  max-width: 800px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 15px 17px;
  margin-bottom: 9px;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  color: var(--muted);
  margin: 10px 0 0;
}

.footer {
  background: var(--primary-dark);
  color: #d0dced;
  padding: 56px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 35px;
}

.footer h4 {
  font-size: 14px;
  color: #fff;
  letter-spacing: 0;
}

.footer p, .footer a {
  color: #a8a1c6;
  font-size: 13px;
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(167, 139, 250, 0.2);
  margin-top: 36px;
  padding-top: 18px;
  color: #b3a6d3;
  font-size: 12px;
}

.page-hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 56px 0;
}

.page-hero h1 {
  font-size: 36px;
}

.page-hero p {
  color: #ddd6fe;
  max-width: 620px;
}

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  padding: 28px 0 70px;
}

.side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  height: max-content;
}

.side a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
  color: #53647a;
  font-size: 14px;
  font-weight: 600;
}

.side a.active, .side a:hover {
  background: #f3f0ff;
  color: var(--accent);
}

.side .logout {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 15px;
  color: #aa4550;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 20px;
}

.panel-head h1 {
  font-size: 28px;
}

.panel-head p {
  color: var(--muted);
  margin: 4px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.stat-card b {
  display: block;
  font: 800 26px Manrope;
  margin-top: 5px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 18px;
}

.content-card h2 {
  padding: 17px 19px;
  font-size: 17px;
  border-bottom: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #edf0f4;
  font-size: 13px;
}

th {
  color: #718097;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 4px;
  background: #e6f7ef;
  color: #157552;
}

.status.wait {
  background: #fff3de;
  color: #a35d00;
}

.status.off {
  background: #fdebed;
  color: #ad3b48;
}

.empty {
  text-align: center;
  padding: 45px;
  color: var(--muted);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 20px;
  padding: 35px 0 70px;
}

.cart-item {
  padding: 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.cart-item h3 {
  font-size: 16px;
}

.cart-item p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  height: max-content;
}

.summary h2 {
  font-size: 18px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  margin: 13px 0;
  color: var(--muted);
}

.sum-total {
  border-top: 1px solid var(--border);
  padding-top: 15px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
}

.coupon {
  display: flex;
  gap: 7px;
  margin-top: 15px;
}

.coupon input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 9px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 29, 0.58);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
}

.modal-box {
  width: min(600px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  position: relative;
}

.modal-box h2 {
  font-size: 22px;
}

.close {
  position: absolute;
  right: 15px;
  top: 13px;
  border: 0;
  background: transparent;
  font-size: 23px;
  color: #667;
}

.config-group {
  margin: 19px 0;
}

.config-group label {
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.options {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.opt {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 13px;
}

.opt.active {
  border-color: var(--accent);
  background: #f3f0ff;
  color: var(--accent);
  font-weight: 700;
}

.checkout-steps {
  display: flex;
  gap: 8px;
  color: #78889b;
  font-size: 12px;
  margin-bottom: 20px;
}

.checkout-steps span:first-child {
  color: var(--accent);
  font-weight: 700;
}

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

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px;
  outline-color: #97c7fa;
}

.notice {
  background: #fff8e9;
  border: 1px solid #f4d89d;
  color: #73500d;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 23px;
}

.hidden {
  display: none !important;
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.value-card .icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.value-card svg {
  width: 35px;
  height: 35px;
  stroke: #fff;
}

.value-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.info-box {
  background: linear-gradient(135deg, #f3f0ff, #faf5ff);
  border: 1px solid #e9d5ff;
  border-radius: 12px;
  padding: 32px;
  margin: 30px 0;
}

.info-box h3 {
  font-size: 24px;
  color: var(--primary);
  margin: 0 0 12px;
}

.info-box p {
  color: var(--text);
  margin: 0;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}

.contact-card .icon-bg {
  width: 60px;
  height: 60px;
  background: #f3f0ff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
}

.contact-card svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.contact-card h4 {
  font-size: 16px;
  margin: 0 0 8px;
}

.contact-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
}

.bank-card {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.bank-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 0 0 20px;
}

.bank-info {
  display: grid;
  gap: 15px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.bank-row:last-child {
  border: 0;
}

.bank-row label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.bank-row value {
  color: var(--text);
  font-weight: 700;
  font-family: monospace;
}

@media (max-width: 800px) {
  .nav-links, .nav-actions .btn-quiet, .topbar .right {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav {
    height: 75px;
  }
  
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 15px 20px;
    flex-direction: column;
    gap: 13px;
  }
  
  .hero .container, .why {
    grid-template-columns: 1fr;
  }
  
  .hero .container {
    padding: 55px 0;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .server-art {
    display: none;
  }
  
  .trust .container {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  
  .trust div {
    border: 0;
    padding: 0;
  }
  
  .service-grid, .pricing {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .layout {
    grid-template-columns: 1fr;
  }
  
  .side {
    display: flex;
    overflow: auto;
    padding: 7px;
    white-space: nowrap;
  }
  
  .side a {
    padding: 8px;
  }
  
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cart-layout {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 55px 0;
  }
  
  .page-hero {
    padding: 40px 0;
  }
  
  .table-wrap {
    overflow: auto;
  }
  
  .cart-pill {
    font-size: 12px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
