/* AjaxOPS marketing site — design system
   Dark theme, orange accent #ff6b1a (brand-locked per AjaxOPS Core Reference) */

:root {
  --bg: #0b0d10;
  --bg-raised: #11141a;
  --bg-card: #14181f;
  --border: #232932;
  --border-bright: #313a46;
  --text: #e9ecef;
  --text-soft: #aeb6c0;
  --text-mute: #79828d;
  --accent: #ff6b1a;
  --accent-soft: rgba(255, 107, 26, 0.12);
  --accent-line: rgba(255, 107, 26, 0.35);
  --radius: 10px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; height: 64px;
}
.wordmark {
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; align-items: center; margin-left: 8px; }
.nav-links a {
  color: var(--text-soft); font-size: 0.95rem; font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-signin { color: var(--text-mute); font-size: 0.92rem; margin-right: 4px; }
.nav-signin:hover { color: var(--text-soft); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  transition: all 0.15s ease; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #0b0d10; }
.btn-primary:hover { background: #ff7d35; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-bright); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 107, 26, 0.08), transparent),
    linear-gradient(var(--bg), var(--bg));
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .sub {
  max-width: 720px; margin: 0 auto 36px;
  color: var(--text-soft); font-size: 1.18rem; line-height: 1.6;
}
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .micro { margin-top: 22px; color: var(--text-mute); font-size: 0.88rem; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker {
  color: var(--accent); font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 750; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 18px;
}
.lede { color: var(--text-soft); font-size: 1.1rem; max-width: 760px; margin-bottom: 8px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { font-size: 1.08rem; font-weight: 650; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.96rem; }
.card .tag {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  margin-bottom: 14px; letter-spacing: 0.04em;
}

/* ---------- Proof strip ---------- */
.proofline {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 22px; margin: 26px 0;
}
.proofline p { font-size: 1.12rem; color: var(--text); }
.proofline .src { color: var(--text-mute); font-size: 0.88rem; margin-top: 6px; }

/* ---------- Diagram ---------- */
.diagram-wrap { margin: 44px auto 0; max-width: 760px; }
.diagram-note { text-align: center; color: var(--text-mute); font-size: 0.88rem; margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 80px 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 110%, rgba(255, 107, 26, 0.1), transparent),
    var(--bg-raised);
  border-top: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-soft); margin-bottom: 30px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--bg-card); border: 1px solid var(--accent-line);
  border-radius: 14px; padding: 44px; text-align: center;
  max-width: 560px; margin: 40px auto 0;
  box-shadow: 0 0 60px rgba(255, 107, 26, 0.06);
}
.price-num { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.03em; }
.price-num small { font-size: 1.1rem; font-weight: 500; color: var(--text-soft); }
.price-sub { color: var(--text-soft); margin: 8px 0 26px; }
.included { text-align: left; margin: 30px 0; }
.included li {
  list-style: none; padding: 9px 0 9px 30px; position: relative;
  color: var(--text-soft); font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
}
.included li:last-child { border-bottom: none; }
.included li::before {
  content: "\2713"; position: absolute; left: 4px; color: var(--accent); font-weight: 700;
}

/* ---------- Case studies ---------- */
.case {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; margin-top: 28px;
}
.case h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.case .setting { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 20px; }
.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 18px; }
.case-col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-mute); margin-bottom: 10px;
}
.case-col p, .case-col li { color: var(--text-soft); font-size: 0.96rem; }
.case-col ul { padding-left: 20px; }
.case-col li { margin-bottom: 6px; }
.case .result {
  margin-top: 24px; padding: 16px 20px; background: var(--accent-soft);
  border-radius: 8px; border: 1px solid var(--accent-line);
}
.case .result p { color: var(--text); font-size: 0.98rem; }
.case .result strong { color: var(--accent); }

/* ---------- Founder ---------- */
.founder-body { max-width: 720px; }
.founder-body p { margin-bottom: 20px; color: var(--text-soft); font-size: 1.06rem; }
.founder-body p.pull {
  color: var(--text); font-size: 1.25rem; font-weight: 600; line-height: 1.5;
  border-left: 3px solid var(--accent); padding-left: 22px; margin: 30px 0;
}
.founder-sig { margin-top: 34px; }
.founder-sig .name { font-weight: 700; font-size: 1.1rem; }
.founder-sig .title { color: var(--text-mute); font-size: 0.92rem; }

/* ---------- Form ---------- */
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 40px; max-width: 640px; margin: 36px auto 0;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border-bright);
  color: var(--text); font-size: 0.97rem; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-note { color: var(--text-mute); font-size: 0.86rem; margin-top: 18px; }
.confirm {
  display: none; margin-top: 24px; padding: 18px 22px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 8px; color: var(--text);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border); padding: 48px 0; margin-top: 0;
  color: var(--text-mute); font-size: 0.9rem;
}
.foot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--text-mute); }
.foot-links a:hover { color: var(--text-soft); }
.foot-desc { margin-top: 10px; max-width: 420px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2, .case-cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 80px 0 64px; }
}

/* Brand film embed */
.video-section { text-align: center; }
.video-frame {
  max-width: 880px;
  margin: 2rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,107,26,0.35);
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  background: #000;
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
}
