/* PureBase — cloud hosting landing styles (self-contained, no external assets) */
:root {
  --bg: #0b1220;
  --bg-soft: #111c31;
  --bg-card: #15223a;
  --line: #24334f;
  --text: #e8eef8;
  --muted: #9aa9c2;
  --accent: #3d8bfd;
  --accent-2: #39d2c0;
  --accent-soft: rgba(61, 139, 253, 0.14);
  --ok: #3ecf8e;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(2, 8, 20, 0.45);
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(100% - 40px, var(--wrap)); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: 0.2px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--muted); padding: 10px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
}
.nav a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }

.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  margin-left: 8px; font-size: 13px; font-weight: 600;
}
.lang-switch a { padding: 7px 10px; color: var(--muted); }
.lang-switch a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-switch a.active { color: var(--text); background: var(--accent-soft); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  color: var(--text); border-radius: 8px; padding: 9px 11px; font-size: 18px; cursor: pointer;
}

/* Hero */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(61, 139, 253, 0.28), transparent 60%),
    radial-gradient(760px 380px at 95% 10%, rgba(57, 210, 192, 0.16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
  background: var(--accent-soft); color: #a9c9ff; font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
}
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.8px; }
h1 .grad { background: linear-gradient(92deg, #7db2ff, #39d2c0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(61, 139, 253, 0.3); }
.btn-primary:hover { background: #2f7cf0; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 9px 15px; font-size: 14px; }

.hero-panel {
  background: linear-gradient(180deg, rgba(21, 34, 58, 0.95), rgba(13, 22, 39, 0.95));
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 22px; font-family: "Cascadia Mono", Consolas, monospace; font-size: 13px;
}
.panel-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3c59; display: block; }
.panel-bar i:first-child { background: #ff6b6b; }
.panel-bar i:nth-child(2) { background: #ffd166; }
.panel-bar i:nth-child(3) { background: #3ecf8e; }
.term { color: #b9c7dd; }
.term .prompt { color: var(--accent-2); }
.term .ok { color: var(--ok); }
.term .dim { color: #6f819d; }
.term p { margin: 0 0 8px; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 38px; }
h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; letter-spacing: -0.5px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

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

.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: #33496f; transform: translateY(-2px); }
.card h3 { margin: 14px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: #8fbcff; font-size: 20px;
}
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.card ul li { margin-bottom: 5px; }

.price { font-size: 28px; font-weight: 700; margin: 10px 0 2px; }
.price span { font-size: 14px; font-weight: 500; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  background: rgba(21, 34, 58, 0.55);
}
.stat b { display: block; font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; }
.stat span { color: var(--muted); font-size: 14px; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.feature-list .tick {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; background: rgba(62, 207, 142, 0.15); color: var(--ok); font-size: 13px;
}
.feature-list strong { color: var(--text); font-weight: 600; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: rgba(21, 34, 58, 0.9); font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(21, 34, 58, 0.5); }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Contacts & forms */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; }
.info-item .icon { flex: 0 0 42px; }
.info-item h3 { margin: 0 0 4px; font-size: 16px; }
.info-item p, .info-item address { margin: 0; color: var(--muted); font-style: normal; font-size: 15px; }

.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line);
  background: #0e1729; color: var(--text); font: inherit; font-size: 15px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b6b; }
.error { display: none; color: #ff8b8b; font-size: 13px; margin-top: 5px; }
.field.invalid .error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { width: auto; margin-top: 3px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-success {
  display: none; background: rgba(62, 207, 142, 0.12); border: 1px solid rgba(62, 207, 142, 0.4);
  color: #b8f0d4; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-size: 14.5px;
}
.form-success.visible { display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #081020; padding: 52px 0 24px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text); margin: 0 0 14px; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #7b8ba5; font-size: 13px;
}
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #0e1729; color: var(--text); font: inherit; font-size: 14px;
}
.newsletter input:focus { outline: none; border-color: var(--accent); }

/* Page head for inner pages */
.page-head {
  padding: 56px 0 40px; border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 300px at 10% 0%, rgba(61, 139, 253, 0.18), transparent 65%), var(--bg);
}
.page-head h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 680px; margin: 0; font-size: 17px; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin: 0 7px; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 34px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }

.cta-band {
  border-radius: 18px; padding: 40px; border: 1px solid #2b4a7d;
  background: linear-gradient(115deg, rgba(61, 139, 253, 0.18), rgba(57, 210, 192, 0.08));
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); }

.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.thanks .icon-big {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; font-size: 36px;
  background: rgba(62, 207, 142, 0.14); color: var(--ok);
}
.thanks h1 { font-size: clamp(28px, 4vw, 42px); }
.thanks p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

.note {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: 14px 18px; border-radius: 0 8px 8px 0; color: #b9cdf0; font-size: 14.5px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .grid-3, .grid-4, .grid-2, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #0b1220; border-bottom: 1px solid var(--line); padding: 12px 20px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .lang-switch { margin: 8px 0 0; align-self: flex-start; }
  .hero { padding: 56px 0 48px; }
  section { padding: 52px 0; }
  .hero-grid, .contact-grid, .grid-3, .grid-4, .grid-2, .form-row, .stats, .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .cta-band { padding: 26px; }
}
