@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg: #05040a;
  --bg-soft: #0b0918;
  --accent: #8e78ff;
  --accent-glow: rgba(142, 120, 255, 0.4);
  --text: #f0efff;
  --muted: #a19ebf;
  --line: rgba(142, 120, 255, 0.15);
  --panel: rgba(18, 14, 38, 0.8);
  --glass: rgba(255, 255, 255, 0.04);
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Outfit', sans-serif; color: var(--text); background: var(--bg);
  line-height: 1.6; overflow-x: hidden;
}

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.bg-soft { background: var(--bg-soft); }
.bg-black { background: #000; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.highlight { position: relative; display: inline-block; padding: 0 5px; }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a691ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-landing {
  padding: 180px 0 120px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(142, 120, 255, 0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 112, 164, 0.05), transparent 40%);
  text-align: center;
}

h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.1; margin: 0; font-weight: 800; }
.lede-marketing { font-size: clamp(18px, 2.5vw, 24px); color: var(--muted); max-width: 800px; margin: 30px auto 10px; font-weight: 400; }
.sub-lede { color: var(--accent); font-weight: 600; margin-bottom: 40px; }

.cta-group { display: flex; gap: 20px; justify-content: center; }
.btn { padding: 20px 40px; border-radius: 18px; font-weight: 700; text-decoration: none; font-size: 17px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 40px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 50px var(--accent-glow); }
.highlight-btn { background: linear-gradient(135deg, var(--accent) 0%, #ff70a4 100%); }
.btn-secondary { border: 1px solid var(--line); color: #fff; background: var(--glass); }
.btn-secondary:hover { background: var(--line); }

/* How to Try Box */
.section-tiny { padding: 40px 0; border-bottom: 1px solid var(--line); }
.try-steps-box { display: flex; align-items: center; justify-content: center; gap: 30px; background: rgba(142, 120, 255, 0.05); padding: 24px; border-radius: 20px; border: 1px solid var(--line); }
.step { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.step span { width: 28px; height: 28px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; }
.step-arrow { color: var(--line); font-size: 20px; }

/* Section Layouts */
.section { padding: 120px 0; }
.section-header { margin-bottom: 70px; }
.section-header.center { text-align: center; }
.section-header h2 { font-size: 42px; margin-bottom: 24px; }
.section-header p { font-size: 20px; color: var(--muted); max-width: 750px; margin: 0 auto; }
.focus-title { font-size: 42px; margin-bottom: 24px; }

/* Card Grid Marketing */
.card-grid-marketing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { padding: 50px; border-radius: 35px; border: 1px solid var(--line); background: var(--glass); transition: all 0.4s ease; }
.feature-card:hover { transform: translateY(-15px); border-color: var(--accent); background: rgba(142, 120, 255, 0.05); }
.feature-card .icon { font-size: 48px; margin-bottom: 30px; }
.feature-card h3 { font-size: 26px; margin-bottom: 16px; font-weight: 700; }
.feature-card p { color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Benefits Split Layout */
.split-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.sticky-side { position: sticky; top: 100px; }
.sticky-side h2 { font-size: 48px; }
.sticky-side p { font-size: 22px; color: var(--accent); font-weight: 600; margin-top: 20px; }

.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px; }
.benefit-list li { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.benefit-list strong { display: block; font-size: 22px; margin-bottom: 12px; }
.benefit-list span { color: var(--muted); font-size: 18px; }

/* Comparison Grid */
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compare-card { padding: 40px; border-radius: 28px; border: 1px solid var(--line); background: var(--panel); position: relative; overflow: hidden; }
.compare-card::after { content: ''; position: absolute; top:0; left:0; right:0; height:4px; background: var(--line); }
.compare-card.highlight::after { background: var(--accent); }
.card-tag { display: inline-block; padding: 6px 14px; border-radius: 10px; background: var(--line); font-size: 12px; font-weight: 800; margin-bottom: 24px; letter-spacing: 0.1em; color: #fff; }
.focus-title { color: var(--accent); font-size: 15px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.1em; }
.compare-card .quote { font-size: 20px; color: #fff; margin-bottom: 24px; font-weight: 600; font-style: italic; line-height: 1.4; border-left: 3px solid var(--line); padding-left: 20px; }
.compare-card.highlight .quote { border-left-color: var(--accent); }
.context-note { font-size: 15px; color: var(--accent); margin-top: 10px; font-style: italic; }

/* Screenshot Matrix */
.screenshot-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.matrix-item {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}
.matrix-item:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}
.matrix-item img {
  width: 100%;
  display: block;
}
.matrix-item p {
  padding: 15px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
  background: var(--panel);
  margin: 0;
  font-weight: 600;
}
.technical-details-toggle {
  margin-top: 30px;
  text-align: center;
  color: var(--line);
  font-size: 13px;
}
.keywords { display: flex; gap: 8px; flex-wrap: wrap; }
.keywords span { padding: 5px 12px; border-radius: 6px; background: rgba(255,255,255,0.05); font-size: 13px; color: var(--muted); }

/* Demo Box */
.demo-box { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 80px; border-radius: 50px; border: 1px solid var(--line); background: linear-gradient(135deg, #110d21, #06040a); box-shadow: var(--shadow); }
.demo-info h2 { font-size: 38px; }
.demo-info p { font-size: 18px; color: var(--muted); margin-top: 24px; }
.url-bar { display: flex; background: #000; padding: 20px; border-radius: 16px; border: 1px solid var(--accent); align-items: center; margin: 24px 0; }
.url-bar code { flex: 1; color: var(--accent); font-family: 'Consolas', monospace; font-size: 14px; overflow-x: auto; }
.btn-copy { background: var(--accent); border: none; color: #fff; padding: 8px 18px; border-radius: 10px; cursor: pointer; font-weight: 800; }
.hint { font-size: 14px; color: var(--muted); }

/* Architecture Modern */
.arch-visual-modern { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 80px 0; position: relative; }
.arch-box { width: 220px; padding: 30px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); text-align: center; }
.arch-box.private { border-style: dashed; }
.arch-box.active { border-color: var(--accent); background: rgba(142, 120, 255, 0.08); box-shadow: 0 0 40px var(--accent-glow); }
.arch-icon { font-size: 32px; margin-bottom: 12px; }
.arch-label { font-size: 14px; font-weight: 600; line-height: 1.4; }
.arch-line { flex: 1; height: 1px; background: var(--line); position: relative; }
.arch-line::after { content: '→'; position: absolute; right: 0; top: -14px; color: var(--line); font-size: 20px; }

/* Operator Preview UI Fixes */
.operator-ui-wrapper { padding: 40px; border-radius: 40px; background: rgba(0,0,0,0.4); border: 1px solid var(--line); }
.panel { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 24px; }
.grid-preview { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.stat-group { display: flex; gap: 40px; margin-top: 20px; }
.stat { font-size: 15px; color: var(--muted); }
.stat strong { display: block; font-size: 36px; color: var(--text); }
.stat.degraded strong { color: #f2c76e; }

/* Footer */
.footer { padding: 120px 0 60px; border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 80px; }
.footer-about { max-width: 500px; }
.footer-about h3 { margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 15px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--muted); font-size: 14px; }

@media (max-width: 1000px) {
  .card-grid-marketing, .comparison-grid, .demo-box, .split-layout, .grid-preview, .arch-visual-modern { grid-template-columns: 1fr; flex-direction: column; gap: 30px; }
  .arch-line { display: none; }
  .sticky-side { position: static; margin-bottom: 40px; }
  .footer-main { flex-direction: column; }
}
