* {
  box-sizing: border-box;
}

:root {
  --bg: #090b14;
  --panel: #141827;
  --panel-2: #1b2133;
  --text: #ffffff;
  --muted: #aab4cf;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #6670ff;
  --cyan: #30d6ff;
  --green: #56f3a6;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at top, black, transparent 72%);
}

.orb {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(100px);
  opacity: .45;
}

.orb-one {
  top: -180px;
  left: 40%;
  width: 620px;
  height: 620px;
  background: #5d4dff;
}

.orb-two {
  right: -180px;
  top: 300px;
  width: 420px;
  height: 420px;
  background: #12c8ff;
  opacity: .22;
}

.nav {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 22px;
  box-shadow: 0 18px 40px rgba(102,112,255,.28);
}

.brand strong {
  display: block;
  font-weight: 950;
  letter-spacing: .02em;
}

.brand small {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .24em;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
}

.links a:hover {
  color: white;
}

.nav-button {
  color: white !important;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  padding: 11px 16px;
  border-radius: 16px;
}

.hero {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
  padding: 42px 0 80px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: #d8fbff;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 900;
  margin-bottom: 24px;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -.07em;
  max-width: 850px;
}

.hero-copy p {
  margin: 28px 0 0;
  max-width: 690px;
  font-size: 19px;
  line-height: 1.75;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 950;
}

.primary {
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 20px 50px rgba(102,112,255,.30);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}

.stats {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
}

.stats div,
.panel-preview,
.features article,
.price-card,
.faq,
.modal-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border-radius: 28px;
}

.stats div {
  padding: 18px;
}

.stats strong {
  display: block;
  font-size: 25px;
}

.stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
}

.panel-preview {
  overflow: hidden;
  background: rgba(20,24,39,.88);
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}

.window-top {
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.window-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}

.window-top span:nth-child(1) { background: #ff5f57; }
.window-top span:nth-child(2) { background: #ffbd2e; }
.window-top span:nth-child(3) { background: #28c840; }

.window-top b {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.server-card {
  padding: 24px;
}

.server-header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.server-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 27px;
}

.server-header h2 {
  margin: 0;
  letter-spacing: -.03em;
}

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

.online {
  margin-left: auto;
  border-radius: 999px;
  background: rgba(86,243,166,.12);
  color: var(--green);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
}

.metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metrics div {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  border-radius: 18px;
  padding: 15px;
}

.metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  margin-top: 9px;
}

pre {
  margin: 22px 0 0;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.34);
  border-radius: 20px;
  padding: 18px;
  color: var(--green);
  line-height: 1.8;
}

.fake-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 18px;
}

.fake-buttons button {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: white;
  padding: 12px;
  font-weight: 900;
}

.features,
.pricing,
.faq {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 84px;
}

.features article,
.price-card,
.faq {
  padding: 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  margin-bottom: 18px;
  font-size: 22px;
}

.features h3,
.price-card h3,
.faq h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.features p,
.price-card p,
.faq p {
  color: var(--muted);
  line-height: 1.7;
}

.pricing {
  padding-bottom: 88px;
}

.section-title {
  margin-bottom: 24px;
}

.section-title span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
}

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

.price-card.highlight {
  border-color: rgba(48,214,255,.45);
  box-shadow: 0 24px 70px rgba(48,214,255,.12);
}

.price-card strong {
  display: block;
  margin: 18px 0;
  font-size: 52px;
  letter-spacing: -.05em;
}

.price-card strong span {
  color: var(--muted);
  font-size: 18px;
}

.price-card ul {
  color: var(--muted);
  line-height: 2;
  padding-left: 20px;
}

.faq {
  margin-bottom: 72px;
}

.faq code {
  color: var(--cyan);
}

footer {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.modal {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.72);
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  padding: 30px;
  background: #141827;
  text-align: center;
}

.modal-card h2 {
  margin: 0 0 12px;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .links {
    display: none;
  }

  .hero,
  .features,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

/* Hosta.bot logo: transparent image, no wrapper box, no crop, no shadow */
.brand-icon.image {
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.brand-icon.image img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* Hosta.bot logo inside the server preview card */
.server-icon.image {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.server-icon.image img {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.pricing-description {
  max-width: 760px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* Pricing polish */
.pricing {
  padding-top: 24px;
  padding-bottom: 110px;
}

.pricing .section-title {
  max-width: 1120px;
}

.pricing .section-title h2 {
  max-width: 1120px;
}

.pricing-description {
  max-width: 860px;
  margin: 20px 0 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.price-grid {
  margin-top: 8px;
}

.price-card {
  min-height: 390px;
  padding-bottom: 32px;
}

/* Layout polish: wider pricing/features and tighter spacing */
.features,
.pricing {
  width: min(1280px, calc(100% - 64px));
}

.features {
  padding-bottom: 48px;
}

.pricing {
  padding-top: 0;
  padding-bottom: 96px;
}

.pricing .section-title {
  max-width: 1180px;
}

.pricing-description {
  max-width: 900px;
  margin: 18px 0 36px;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 24px;
}

.price-card {
  min-height: 410px;
  padding: 30px;
}

/* Header brand sizing polish */
.brand-icon.image {
  width: 58px !important;
  height: 58px !important;
}

.brand-icon.image img {
  width: 58px !important;
  height: 58px !important;
}

.brand strong {
  font-size: 18px;
  line-height: 1;
}

.brand small {
  font-size: 12px;
  letter-spacing: 0.22em;
}

/* Mobile pricing fix */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .features,
  .pricing {
    width: min(100% - 32px, 1280px);
  }

  .pricing {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .pricing .section-title h2 {
    font-size: clamp(34px, 12vw, 54px);
    line-height: 1.05;
  }

  .pricing-description {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 32px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
  }

  .price-card {
    width: 100%;
    min-height: auto;
    padding: 28px;
  }
}

/* Hosta CSS bot polish v2 */
.panel-preview.hosta-css-bot-preview {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 540px;
  overflow: visible !important;
}

.hosta-css-bot-preview::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 44%, rgba(34,211,238,.18), transparent 34%),
    radial-gradient(circle at 50% 56%, rgba(102,112,255,.16), transparent 58%);
  filter: blur(2px);
  opacity: .95;
}

.css-bot {
  width: 270px;
  height: 330px;
}

.css-bot-head {
  width: 232px;
  height: 168px;
  top: 38px;
  border-width: 6px;
  border-radius: 52% 52% 44% 44% / 60% 60% 42% 42%;
  background:
    radial-gradient(circle at 34% 20%, #ffffff 0 28%, #edf4ff 52%, #ccd7ff 100%);
  box-shadow:
    0 26px 58px rgba(0,0,0,.28),
    inset 0 -14px 0 rgba(51,65,180,.10),
    inset 0 10px 0 rgba(255,255,255,.72);
}

.css-bot-visor {
  width: 166px;
  height: 82px;
  top: 42px;
  border-width: 4px;
  border-radius: 999px 999px 46px 46px;
}

.css-bot-ear {
  top: 88px;
  width: 34px;
  height: 76px;
  border-width: 6px;
  border-radius: 999px;
}

.ear-left {
  left: 5px;
  transform: rotate(-7deg);
}

.ear-right {
  right: 5px;
  transform: rotate(7deg);
}

.css-bot-antenna {
  top: 10px;
  width: 92px;
  height: 38px;
  border-width: 6px;
  border-radius: 999px 999px 0 0;
}

.css-bot-body {
  bottom: 18px;
  width: 150px;
  height: 128px;
  border-width: 6px;
  border-radius: 50% 50% 45% 45% / 54% 54% 46% 46%;
  background:
    radial-gradient(circle at 36% 18%, #ffffff 0 26%, #edf4ff 58%, #cbd7ff 100%);
}

.css-bot-core {
  width: 88px;
  height: 66px;
  top: 29px;
  border-width: 5px;
  border-radius: 36px 36px 42px 42px;
}

.css-bot-arm {
  top: 202px;
  width: 44px;
  height: 98px;
  border-width: 6px;
  border-radius: 999px;
}

.arm-left {
  left: 22px;
  transform: rotate(22deg);
}

.arm-right {
  right: 20px;
  transform: rotate(-42deg);
}

.css-bot-shadow {
  bottom: 58px;
  width: 180px;
  height: 24px;
  opacity: .34;
}

.orbit-one {
  width: 440px;
  height: 440px;
  border-color: rgba(34,211,238,.12);
}

.orbit-two {
  width: 322px;
  height: 322px;
  border-color: rgba(102,112,255,.16);
}

.css-bot-glow.glow-one {
  width: 340px;
  height: 340px;
  background: rgba(34,211,238,.14);
}

.css-bot-glow.glow-two {
  width: 500px;
  height: 500px;
  background: rgba(102,112,255,.10);
}

.css-bot-particle {
  width: 8px;
  height: 8px;
}

.particle-one { top: 24%; left: 22%; }
.particle-two { top: 27%; right: 21%; }
.particle-three { bottom: 26%; left: 25%; }
.particle-four { bottom: 31%; right: 24%; }

@media (max-width: 900px) {
  .panel-preview.hosta-css-bot-preview {
    min-height: 460px;
  }

  .hosta-css-bot-preview::before {
    width: 420px;
    height: 420px;
  }
}

@media (max-width: 620px) {
  .panel-preview.hosta-css-bot-preview {
    min-height: 390px;
  }

  .hosta-css-bot-preview::before {
    width: 330px;
    height: 330px;
  }
}
/* Hosta CSS bot polish v2 end */

