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

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

:root {
  --bg: #080C14;
  --surface: #0F1623;
  --surface2: #141C2E;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-glow: rgba(37,99,235,0.25);
  --text: #F1F5F9;
  --muted: #64748B;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(37,99,235,0.5);
  --green: #10B981;
  --red: #EF4444;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
p { color: var(--muted); line-height: 1.75; }

.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 3rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(8,12,20,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 199; padding: 2rem 1.5rem;
  flex-direction: column; gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.2rem; font-weight: 600; color: var(--text); padding: 0.5rem 0; border-bottom: 1px solid var(--border); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center top, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 840px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25);
  color: #93C5FD; padding: 0.35rem 1rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero h1 { margin-bottom: 1.5rem; color: var(--text); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; color: var(--text); }
.card p { font-size: 0.92rem; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── QUOTE BLOCK ── */
.quote-block {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem 2.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 3rem 0;
}

/* ── COMPARISON TABLE ── */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 2.5rem; }
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.comparison-table th {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); background: var(--surface);
}
.comparison-table th:first-child { border-radius: var(--radius) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table .col-feature { color: var(--muted); font-weight: 500; }
.comparison-table .col-traditional { color: var(--muted); }
.comparison-table .col-execution { color: var(--text); font-weight: 600; }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--muted); }
.col-execution-header { color: var(--accent) !important; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 1rem;
  font-size: 1rem; font-weight: 600; color: var(--text);
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem; font-weight: 400; color: var(--accent);
  flex-shrink: 0; transition: transform 0.25s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  color: var(--muted); font-size: 0.95rem; line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; padding-top: 1rem; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  position: relative; transition: border-color 0.25s;
}
.step:hover { border-color: var(--border-hover); }
.step-num {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.75rem; color: var(--text); }
.step-connector {
  display: none;
}

/* ── IMPACT GRID ── */
.impact-item {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.impact-item:hover { border-color: var(--border-hover); }
.impact-icon { font-size: 1.4rem; margin-bottom: 0.75rem; }
.impact-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.impact-item p { font-size: 0.88rem; }

/* ── TWO-COL COMPARE ── */
.two-col-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare-col {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.compare-col.highlight { border-color: rgba(37,99,235,0.35); background: rgba(37,99,235,0.05); }
.compare-col h3 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.compare-col.highlight h3 { color: var(--accent); }
.compare-col ul { list-style: none; }
.compare-col ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; }
.compare-col.highlight ul li { color: var(--text); }
.compare-col ul li::before { content: '—'; color: var(--muted); flex-shrink: 0; }
.compare-col.highlight ul li::before { content: '✓'; color: var(--green); flex-shrink: 0; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--surface); border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-lg); padding: 5rem 3rem;
  text-align: center;
  background-image: radial-gradient(ellipse at center, rgba(37,99,235,0.08) 0%, transparent 70%);
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { max-width: 520px; margin: 0 auto 2rem; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── USE CASE CARDS ── */
.usecase-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.usecase-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.usecase-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.usecase-card h3 { margin-bottom: 0.75rem; color: var(--text); }
.usecase-card p { font-size: 0.92rem; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.8rem 1rem;
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 10rem 0 5rem;
  border-bottom: 1px solid var(--border);
}
.page-header .badge {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; max-width: 640px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .two-col-compare { grid-template-columns: 1fr; }
  .hero { padding: 8rem 0 4rem; }
  section { padding: 4rem 0; }
  .cta-banner { padding: 3rem 1.5rem; }
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
}
