/* ============================================================
   DevOps Studio — marketing site styles
   Domain: devops-studio.mydeskbot.com
   Hosted on: Cloudflare Pages (static, no build step)
   ============================================================ */

:root {
  --bg: #0b1220;
  --bg-soft: #0f172a;
  --panel: #111c33;
  --panel-2: #16233f;
  --border: #233252;
  --text: #e6edf7;
  --text-dim: #93a3bd;
  --text-faint: #5f7190;
  --accent: #10b981;
  --accent-strong: #059669;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --danger: #f87171;
  --radius: 14px;
  --maxw: 1080px;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.brand:hover { text-decoration: none; }

.brand .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04120c;
  font-size: 15px;
}

.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }

.nav-links a { color: var(--text-dim); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04120c;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover { box-shadow: 0 6px 22px rgba(16, 185, 129, 0.38); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--panel-2); }

/* ---------------- Hero ---------------- */

.hero {
  padding: 88px 0 72px;
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(16, 185, 129, 0.16), transparent 65%),
    var(--bg);
}

.hero .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -1.2px;
  font-weight: 800;
  max-width: 860px;
  margin: 0 auto 18px;
}

.hero h1 .hl {
  background: linear-gradient(90deg, var(--accent), #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 34px;
}

.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cta-row .btn { font-size: 16px; padding: 13px 28px; }

.hero .note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------------- Sections ---------------- */

.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.6px; font-weight: 800; }
.section-head p { color: var(--text-dim); margin-top: 12px; font-size: 16px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card:hover { border-color: rgba(16, 185, 129, 0.45); }

.card .icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 21px;
  margin-bottom: 16px;
}

.card h3 { font-size: 17.5px; margin-bottom: 8px; letter-spacing: -0.2px; }
.card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------------- Pricing ---------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 30px;
}
.plan.featured {
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35), 0 14px 44px rgba(16, 185, 129, 0.12);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), var(--panel) 42%);
}

.plan .plan-name { font-size: 15px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-dim); }
.plan.featured .plan-name { color: var(--accent); }

.plan .price { font-size: 42px; font-weight: 800; margin: 14px 0 4px; letter-spacing: -1px; }
.plan .price .cur { font-size: 22px; vertical-align: 12px; font-weight: 600; color: var(--text-dim); }
.plan .billing { font-size: 13.5px; color: var(--text-faint); margin-bottom: 22px; }

.plan ul { list-style: none; margin-bottom: 26px; flex: 1; }
.plan ul li { padding: 7px 0 7px 26px; position: relative; font-size: 14.5px; color: var(--text-dim); }
.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.plan .btn { text-align: center; }

.pricing-foot {
  text-align: center;
  color: var(--text-faint);
  font-size: 13.5px;
  margin-top: 22px;
}

/* ---------------- Legal pages ---------------- */

.legal { padding: 56px 0 84px; max-width: 800px; }
.legal h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 6px; }
.legal .updated { color: var(--text-faint); font-size: 13.5px; margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; font-weight: 700; }
.legal p, .legal li { color: var(--text-dim); font-size: 15px; }
.legal p { margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin: 5px 0; }
.legal code, .legal .field {
  font-family: var(--mono);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13.5px;
  color: var(--text);
}

/* ---------------- Download / CTA band ---------------- */

.band {
  text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(16, 185, 129, 0.14), transparent 70%), var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0;
}
.band h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.6px; font-weight: 800; }
.band p { color: var(--text-dim); margin: 12px auto 26px; max-width: 520px; }
.band .os-tags { font-size: 13px; color: var(--text-faint); margin-top: 14px; }

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 40px 0 56px;
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-dim); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--text-faint); font-size: 13px; }

/* ---------------- Misc ---------------- */

.muted { color: var(--text-faint); }
.mt-8 { margin-top: 8px; }

@media (max-width: 720px) {
  .nav-links .hide-sm { display: none; }
  .hero { padding: 60px 0 48px; }
  .section { padding: 52px 0; }
}
