/* ==========================================================================
   AASMART HOSTING - Theme V6 (Based on index_6.html Design System)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Instrument+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --midnight: #0B1626;      /* Dark base */
  --steel: #152238;         /* Dark cards */
  --steel-2: #1C2C47;       /* Dark hover */
  --cloud: #F4F7FB;         /* Light base */
  --white: #FFFFFF;
  --ink: #12203A;           /* Text on light */
  --muted: #5B6B85;         /* Secondary text on light */
  --muted-d: #8DA0BD;       /* Secondary text on dark */
  --line: #DCE4EF;
  --line-d: #243652;
  --blue: #3D8BFF;          /* Primary actions */
  --blue-deep: #1F6BE0;
  --green: #2EE6A8;         /* Status / Online accent */
  --amber: #FFB454;         /* Sale / Attention */
  --radius: 14px;
  --disp: "Bricolage Grotesque", sans-serif;
  --body: "Instrument Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100vw; overflow-x: hidden; }
body { font-family: var(--body); color: var(--ink); background: var(--cloud); line-height: 1.6; font-size: 16px; max-width: 100vw; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button, .btn, summary, input, select, textarea { touch-action: manipulation; }

.wrap { width: 100%; max-width: 1650px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
}
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none!important; transition: none!important; }
  html { scroll-behavior: auto; }
}

/* ---------- Status Strip ---------- */
.status-strip {
  background: #050B14;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--muted-d);
  font-family: var(--mono);
  font-size: 12px;
}
.status-strip .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 38px;
  overflow: hidden;
  white-space: nowrap;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(46,230,168,.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,230,168,.45); }
  70% { box-shadow: 0 0 0 7px rgba(46,230,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,230,168,0); }
}
.status-ok { color: var(--green); display: flex; align-items: center; gap: 8px; }
.status-metric { display: flex; gap: 6px; }
.status-metric b { color: #DCE7F5; font-weight: 500; }
.status-sale { margin-left: auto; color: var(--amber); }
@media (max-width: 760px) {
  .status-metric { display: none; }
  .status-strip .wrap { height: auto; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; justify-content: space-between; gap: 10px; white-space: normal; }
  .status-sale { margin-left: 0; font-size: 11.5px; }
}

/* ---------- Header & Navigation ---------- */
header {
  background: #0D192C;
  color: #E8EFF9;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1E314F;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
nav { display: flex; align-items: center; height: 74px; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { max-width: 100%; height: auto; }
@media (max-width: 480px) {
  .logo svg { max-width: 175px; height: auto; }
}
.nav-links { display: flex; gap: 22px; font-size: 15px; font-weight: 500; align-items: center; }
.nav-links a {
  color: #C4D2E6;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; border-color: var(--green); }
.nav-cta-mobile { display: none; }

/* Nav Dropdown */
.nav-item { position: relative; }
.dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--steel);
  border: 1px solid var(--line-d);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(0,0,0,.4);
  z-index: 110;
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 8px 14px;
  color: #C4D2E6;
  font-size: 14px;
  border-radius: 6px;
  border-bottom: none!important;
}
.dropdown-menu a:hover { background: var(--steel-2); color: #fff; }
.nav-item:hover .dropdown-menu { display: block; }

.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s;
  font-family: var(--body);
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--line-d); color: #DCE7F5; }
.btn-ghost:hover { border-color: var(--muted-d); color: #fff; }
.btn-green { background: var(--green); color: var(--midnight); }
.btn-green:hover { background: #25CE94; }

.menu-btn {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-d);
  color: #E8EFF9; border-radius: 8px; padding: 8px 14px; min-width: 44px; min-height: 44px; font-size: 20px; cursor: pointer;
}

@media (max-width: 960px) {
  nav { height: 64px; gap: 12px; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: #091322;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 24px; border-bottom: 1px solid var(--line-d);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .nav-item { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-d); min-height: 44px; display: flex; align-items: center; }
  .nav-links .nav-cta-mobile {
    display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 8px; border-bottom: none;
  }
  .nav-links .nav-cta-mobile .btn { width: 100%; text-align: center; }
  .dropdown-menu { position: static; display: none; background: var(--steel); margin-top: 6px; width: 100%; }
  .nav-item.open .dropdown-menu { display: block; }
  .nav-cta { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
}

/* ---------- Sub-Page Hero Banner ---------- */
.sub-hero {
  background: var(--midnight);
  color: #E8EFF9;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-d);
}
.sub-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(61,139,255,.12), transparent 60%),
              radial-gradient(400px 250px at 20% 80%, rgba(46,230,168,.08), transparent 60%);
}
.sub-hero .wrap { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted-d); margin-bottom: 16px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--green); }
.sub-hero h1 {
  font-family: var(--disp); font-weight: 800; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px;
}
.sub-hero p { color: var(--muted-d); font-size: 18px; max-width: 85ch; }

/* ---------- Hero Grid & Server Rack Widget ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}
@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: stretch !important; gap: 12px !important; }
  .hero-ctas .btn { width: 100%; min-height: 46px; }
  .hero-price { margin-left: 0 !important; text-align: center; margin-top: 4px; display: block; }
  .hero-trust { grid-template-columns: 1fr !important; gap: 10px !important; }
  .sub-hero { padding: 40px 0 50px !important; }
}

.rack {
  background: var(--steel); border: 1px solid var(--line-d); border-radius: 18px; padding: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.rack-head {
  display: flex; justify-content: space-between; align-items: center; font-family: var(--mono);
  font-size: 11px; color: var(--muted-d); padding: 2px 6px 12px; letter-spacing: .06em;
}
.rack-head b { color: var(--green); font-weight: 500; }
.ru {
  display: flex; align-items: center; gap: 12px; background: var(--midnight); border: 1px solid var(--line-d);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 10px;
}
.ru:last-child { margin-bottom: 0; }
.leds { display: flex; gap: 5px; }
.led { width: 6px; height: 6px; border-radius: 50%; background: #2A3C5C; }
.led.on { background: var(--green); animation: blink 1.6s infinite; }
.led.on.d1 { animation-delay: .4s; }
.led.on.d2 { animation-delay: .9s; }
.led.amber { background: var(--amber); animation: blink 2.4s infinite; animation-delay: .2s; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.ru-label { font-family: var(--mono); font-size: 12px; color: #C4D2E6; flex: 1; }
.ru-stat { font-family: var(--mono); font-size: 12px; color: var(--green); }
.ru-bars { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.ru-bars i { width: 4px; background: var(--blue); border-radius: 2px; opacity: .85; animation: eq 1.8s ease-in-out infinite; }
.ru-bars i:nth-child(1){height:40%}.ru-bars i:nth-child(2){height:80%;animation-delay:.2s}
.ru-bars i:nth-child(3){height:55%;animation-delay:.4s}.ru-bars i:nth-child(4){height:95%;animation-delay:.6s}
.ru-bars i:nth-child(5){height:65%;animation-delay:.8s}
@keyframes eq { 0%,100%{transform:scaleY(.6)} 50%{transform:scaleY(1)} }
.rack-foot { font-family: var(--mono); font-size: 11px; color: var(--muted-d); display: flex; justify-content: space-between; padding: 12px 6px 2px; }

@media (max-width: 480px) {
  .rack { padding: 12px; }
  .ru { padding: 10px; gap: 8px; flex-wrap: wrap; }
  .ru-label { font-size: 11px; flex: 1 1 50%; min-width: 110px; }
  .ru-stat { font-size: 11px; }
  .rack-head, .rack-foot { font-size: 10px; flex-wrap: wrap; gap: 4px; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.sec-head { max-width: 820px; margin-bottom: 48px; }
.sec-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 12px; }
.dark .sec-eyebrow { color: var(--green); }
h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.dark { background: var(--midnight); color: #E8EFF9; }
.dark .sec-head p { color: var(--muted-d); }
@media (max-width: 768px) {
  section { padding: 50px 0; }
  .sec-head { margin-bottom: 32px; }
}

/* ---------- Plans / Pricing ---------- */
.sale-tag {
  display: inline-flex; align-items: center; gap: 8px; background: #FFF3E0; border: 1px solid #FFD9A0;
  color: #9A5B00; font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 99px; margin-bottom: 16px; max-width: 100%;
}
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plans.three-col { grid-template-columns: repeat(3, 1fr); }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; position: relative; transition: transform .15s, box-shadow .15s;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,32,58,.10); }
.plan.popular { border: 2px solid var(--blue); box-shadow: 0 18px 40px rgba(31,107,224,.14); }
.pop-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
.plan h3 { font-family: var(--disp); font-weight: 700; font-size: 21px; margin-bottom: 4px; }
.plan .for { font-size: 13px; color: var(--muted); min-height: 40px; margin-bottom: 14px; }
.price { font-family: var(--mono); margin-bottom: 2px; }
.price b { font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: 14px; }
.renews { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; font-size: 14px; color: var(--ink); margin: 18px 0 22px; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li .tick { color: var(--blue-deep); font-weight: 700; }
.plan .spec {
  font-family: var(--mono); font-size: 12.5px; background: var(--cloud); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; display: flex; justify-content: space-between; margin-bottom: 6px;
}
.plan .spec b { font-weight: 600; }
.plan .btn { width: 100%; text-align: center; }
@media (max-width: 1020px) { .plans, .plans.three-col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans, .plans.three-col { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }

/* ---------- Features Grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--steel); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 26px; }
.feat:hover { background: var(--steel-2); }
.feat .icon {
  font-size: 22px; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(61,139,255,.12); margin-bottom: 16px;
}
.feat h3 { font-family: var(--disp); font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.feat p { font-size: 14.5px; color: var(--muted-d); }
.feat-light { background: var(--white); border: 1px solid var(--line); }
.feat-light h3 { color: var(--ink); }
.feat-light p { color: var(--muted); }
.feat-light:hover { background: var(--cloud); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } .feat { padding: 20px; } }

/* ---------- Domain Search Band ---------- */
.domain-band {
  background: linear-gradient(120deg, var(--blue-deep), #1450A8); color: #fff; border-radius: 20px;
  padding: 52px 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.domain-band h2 { color: #fff; }
.domain-band p { color: #CFE0F8; margin-bottom: 0; }
.domain-search { display: flex; background: #fff; border-radius: 12px; padding: 6px; gap: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.domain-search input { flex: 1; border: none; font-family: var(--mono); font-size: 15px; padding: 12px 14px; border-radius: 8px; color: var(--ink); min-width: 0; }
.domain-search input:focus { outline: none; }
.domain-actions { display: flex; gap: 18px; margin-top: 18px; font-size: 14px; color: #CFE0F8; flex-wrap: wrap; }
.domain-actions a { text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.domain-actions a:hover { color: #fff; }
@media (max-width: 900px) { .domain-band { grid-template-columns: 1fr; padding: 36px 24px; gap: 24px; } }
@media (max-width: 480px) {
  .domain-search { flex-direction: column; background: transparent; padding: 0; gap: 10px; box-shadow: none; }
  .domain-search input { background: #fff; border-radius: 10px; padding: 14px; min-height: 44px; width: 100%; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
  .domain-search button { width: 100%; min-height: 44px; border-radius: 10px; }
  .domain-actions { flex-direction: column; gap: 10px; }
}

/* ---------- Split Cards (Performance / Security) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.split-card h3 { font-family: var(--disp); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.split-card > p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 12.5px; background: var(--cloud); border: 1px solid var(--line); padding: 7px 12px; border-radius: 99px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .split-card { padding: 22px 18px; } }

/* ---------- Data Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 12px rgba(0,0,0,.03); }
.theme-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; min-width: 480px; }
.theme-table th, .theme-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.theme-table th { background: var(--cloud); font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.theme-table tr:last-child td { border-bottom: none; }
.theme-table tr:hover td { background: rgba(61,139,255,.03); }
.tld-name { font-family: var(--mono); font-weight: 600; color: var(--blue-deep); font-size: 17px; }
@media (max-width: 600px) {
  .theme-table th, .theme-table td { padding: 12px 14px; font-size: 13.5px; }
}

/* ---------- Form Controls ---------- */
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.form-control {
  width: 100%; font-family: var(--body); font-size: 15px; padding: 12px 16px; min-height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--cloud); color: var(--ink); transition: border-color .15s;
}
.form-control:focus { outline: none; border-color: var(--blue); background: var(--white); }
textarea.form-control { min-height: 120px; resize: vertical; }
@media (max-width: 600px) {
  .form-box { padding: 22px 16px !important; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--steel); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.quote p { font-size: 15px; color: #D6E1F0; flex: 1; margin-bottom: 18px; }
.quote .who { font-size: 14px; }
.quote .who b { display: block; color: #fff; font-weight: 600; }
.quote .who span { color: var(--muted-d); font-size: 13px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ Details ---------- */
.faq { max-width: 780px; margin: 0 auto; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
summary { cursor: pointer; padding: 18px 22px; min-height: 44px; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--blue-deep); flex-shrink: 0; }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 18px; font-size: 14.5px; color: var(--muted); }

/* ---------- CTA Band ---------- */
.cta-band { text-align: center; padding: 90px 24px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { max-width: 640px; margin: 0 auto 16px; }
.cta-band p { color: var(--muted-d); max-width: 52ch; margin: 0 auto 30px; }
.cta-band .hero-ctas { justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cta-band { padding: 50px 16px; }
}

/* ---------- Footer ---------- */
footer { background: #081020; color: var(--muted-d); padding: 56px 0 28px; border-top: 1px solid var(--line-d); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-grid h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; font-family: var(--body); }
.foot-grid ul { list-style: none; display: grid; gap: 9px; }
.foot-grid a { display: inline-block; padding: 2px 0; }
.foot-grid a:hover { color: #fff; }
.foot-about p { margin-top: 14px; max-width: 34ch; }
.foot-bottom { border-top: 1px solid var(--line-d); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

