:root {
  --bg: #080c12;
  --bg-card: #111820;
  --bg-elevated: #161e28;
  --text: #e8ecf1;
  --text-muted: #8896a6;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.15);
  --border: #1e2a36;
  --max-width: 1100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.header__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.header__logo { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.header__logo span { color: var(--accent); }
.header__nav { display: flex; gap: 2rem; }
.header__nav a {
  color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
  transition: color 0.2s; letter-spacing: 0.02em;
}
.header__nav a:hover { color: var(--text); text-decoration: none; }
.header__cta {
  background: var(--accent); color: #fff; border: none;
  padding: 0.5rem 1.25rem; border-radius: 6px; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.header__cta:hover { background: #2563eb; }

@media (max-width: 768px) {
  .header__nav { display: none; }
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 2rem; }
.section__inner { max-width: var(--max-width); margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero__badge {
  display: inline-block; background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--accent); padding: 0.35rem 1rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 500; margin-bottom: 2rem; letter-spacing: 0.05em;
}
.hero__title {
  font-size: 3.5rem; font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1.5rem; max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero__title span { color: var(--accent); }
.hero__subtitle {
  font-size: 1.2rem; color: var(--text-muted); max-width: 600px;
  margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero__cta {
  display: inline-flex; gap: 1rem; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem; border-radius: 8px; font-size: 0.95rem;
  font-weight: 600; cursor: pointer; transition: all 0.2s; border: none;
  font-family: inherit;
}
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn--primary:hover { background: #2563eb; transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--text-muted); }

@media (max-width: 768px) {
  .hero__title { font-size: 2.2rem; }
  .hero { padding: 8rem 1.5rem 4rem; }
}

/* ===== PROOF BAR ===== */
.proof-bar {
  background: var(--bg-card); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 2rem;
}
.proof-bar__inner {
  max-width: var(--max-width); margin: 0 auto; text-align: center;
}
.proof-bar__title {
  font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1.5rem;
}
.proof-bar__items {
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
}
.proof-bar__item {
  text-align: center;
}
.proof-bar__number {
  font-size: 2rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em;
}
.proof-bar__label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

@media (max-width: 768px) {
  .proof-bar__items { gap: 2rem; }
}

/* ===== FRAMEWORK ===== */
.framework { background: var(--bg); }
.framework__label {
  text-align: center; font-size: 0.8rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
  font-weight: 600;
}
.framework__title {
  text-align: center; font-size: 2.2rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.framework__subtitle {
  text-align: center; color: var(--text-muted); font-size: 1.05rem;
  margin-bottom: 4rem; max-width: 500px; margin-left: auto; margin-right: auto;
}
.layers {
  display: flex; flex-direction: column; gap: 1rem;
}
.layer {
  display: flex; gap: 2rem; padding: 1.5rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.layer:hover { border-color: var(--accent); transform: translateX(4px); }
.layer__number {
  font-size: 1.5rem; font-weight: 800; color: var(--accent);
  min-width: 40px; text-align: center; line-height: 1;
}
.layer__content { flex: 1; }
.layer__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.35rem; }
.layer__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.layer__tag {
  display: inline-block; background: var(--bg-elevated); color: var(--accent);
  font-size: 0.7rem; padding: 0.15rem 0.6rem; border-radius: 4px;
  font-weight: 600; margin-top: 0.5rem; letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .layer { flex-direction: column; gap: 0.75rem; }
}

/* ===== SERVICES ===== */
.services { background: var(--bg-card); }
.services__label {
  text-align: center; font-size: 0.8rem; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
  font-weight: 600;
}
.services__title {
  text-align: center; font-size: 2.2rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 3rem;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 2rem; transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--accent); }
.service-card__icon {
  font-size: 1.5rem; margin-bottom: 1rem;
}
.service-card__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-card__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.service-card__price { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.service-card__price-label { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { text-align: center; }
.step__number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; margin: 0 auto 1rem;
}
.step__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.step__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===== ABOUT ===== */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.about__text { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.about__highlight {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.25rem; margin-top: 1.5rem;
}
.about__highlight-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.about__highlight-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.about__logos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.about__logo-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem; text-align: center;
}
.about__logo-card-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.25rem; }
.about__logo-card-desc { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== CONTACT ===== */
.contact { background: var(--bg-card); text-align: center; }
.contact__title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.contact__text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.contact-form {
  max-width: 500px; margin: 0 auto; text-align: left;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-size: 0.95rem;
  font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 2rem; text-align: center; font-size: 0.85rem; color: var(--text-muted);
}

/* ===== COMPARISON ===== */
.comparison {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem;
}
.comparison__col { padding: 2rem; border-radius: 10px; }
.comparison__col--bad { background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.2); }
.comparison__col--good { background: var(--green-glow); border: 1px solid rgba(34, 197, 94, 0.3); }
.comparison__title { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.comparison__list { list-style: none; }
.comparison__list li {
  padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-muted);
  position: relative; padding-left: 1.5rem;
}
.comparison__col--bad .comparison__list li::before { content: '✕'; color: #ef4444; position: absolute; left: 0; }
.comparison__col--good .comparison__list li::before { content: '✓'; color: var(--green); position: absolute; left: 0; }

@media (max-width: 768px) {
  .comparison { grid-template-columns: 1fr; }
}

/* ===== SCROLL ANIM ===== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
