:root {
  --brand: #386297;
  --brand-dark: #1e3a5f;
  --brand-mid: #2d5180;
  --accent: #e85d04;
  --accent-hov: #c44d00;
  --green: #16a34a;
  --violet: #7c3aed;
  --violet-mid: #6d28d9;
  --dark: #0f172a;
  --navy: #1a2744;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #0f172a;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, .14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.badge {
  display: inline-block;
  background: rgba(56, 98, 151, .12);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

.title-white {
  color: var(--white);
}

.subtitle {
  font-size: 17px;
  color: var(--gray-600);
  margin-top: 12px;
  max-width: 640px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: all .2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--accent-hov);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 93, 4, .35);
}

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.btn-brand {
  background: var(--brand);
  color: var(--white) !important;
}

.btn-brand:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ══════════════ HERO ══════════════ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0c1f3d 55%, #1a1040 100%);
  padding: 30px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, .15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 98, 151, .1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, .2);
  border: 1px solid rgba(124, 58, 237, .4);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 20px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1
  }
  50% {
    opacity: .4
  }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-trust-text {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}

.trust-badge {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
}

/* Hero right — app mockup */
.dev-mockup {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}

.mockup-bar {
  background: rgba(255, 255, 255, .06);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mockup-tab {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .35);
  cursor: default;
  border-bottom: 2px solid transparent;
}

.mockup-tab.active {
  color: var(--white);
  border-bottom-color: #7c3aed;
  background: rgba(124, 58, 237, .1);
}

.mockup-body {
  padding: 16px 20px;
}

.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mockup-kpi {
  background: rgba(255, 255, 255, .05);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.mockup-kpi-val {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 3px;
}

.mockup-kpi-val.blue {
  color: #93c5fd;
}

.mockup-kpi-val.green {
  color: #4ade80;
}

.mockup-kpi-val.orange {
  color: #fb923c;
}

.mockup-kpi-label {
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
}

.mockup-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, .04);
}

.mockup-list-item:last-child {
  margin-bottom: 0;
}

.mockup-list-name {
  color: rgba(255, 255, 255, .7);
  flex: 1;
}

.mockup-list-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.status-done {
  background: rgba(22, 163, 74, .2);
  color: #4ade80;
}

.status-running {
  background: rgba(124, 58, 237, .2);
  color: #c4b5fd;
}

.status-pending {
  background: rgba(148, 163, 184, .15);
  color: #94a3b8;
}

.mockup-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, .06);
  border-radius: 99px;
  margin-top: 14px;
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #386297);
  border-radius: 99px;
  width: 72%;
}

.mockup-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  margin-top: 6px;
}

/* ══════════════ PAIN ══════════════ */
.pain-section {
  padding: 88px 0;
  background: var(--gray-50);
}

.pain-section .title {
  text-align: center;
  margin-bottom: 12px;
}

.pain-section .subtitle {
  text-align: center;
  margin: 0 auto 56px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all .2s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.pain-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.pain-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pain-card-desc {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ══════════════ PROCESS ══════════════ */
.process-section {
  padding: 88px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), #7c3aed);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(56, 98, 151, .35);
}

.step:nth-child(2) .step-num {
  background: var(--brand-mid);
}

.step:nth-child(3) .step-num {
  background: #5b21b6;
}

.step:nth-child(4) .step-num {
  background: var(--accent);
}

.step-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ══════════════ WHAT WE BUILD ══════════════ */
.build-section {
  padding: 88px 0;
  background: var(--gray-50);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.build-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .2s;
}

.build-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.build-card-top {
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-mid));
}

.build-card-top.violet {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
}

.build-card-top.orange {
  background: linear-gradient(135deg, #7c2d12, #ea580c);
}

.build-card-top.green {
  background: linear-gradient(135deg, #14532d, #16a34a);
}

.build-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.build-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

.build-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
}

.build-card-body {
  padding: 20px 24px;
}

.build-feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gray-800);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}

.build-feat:last-child {
  border-bottom: none;
}

.build-feat .chk {
  color: var(--green);
  flex-shrink: 0;
  font-size: 14px;
}

/* ══════════════ WHY US ══════════════ */
.why-section {
  padding: 88px 0;
  background: var(--dark);
}

.why-section .title {
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
}

.why-section .subtitle {
  color: rgba(255, 255, 255, .55);
  text-align: center;
  margin: 0 auto 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.why-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all .2s;
}

.why-card:hover {
  background: rgba(56, 98, 151, .15);
  border-color: rgba(56, 98, 151, .4);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(56, 98, 151, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.why-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
}

/* ══════════════ COMPARISON ══════════════ */
.compare-section {
  padding: 88px 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.compare-col {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compare-header {
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.compare-header.bad {
  background: #fee2e2;
  color: #b91c1c;
}

.compare-header.good {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: var(--white);
}

.compare-body {
  background: var(--white);
  padding: 8px 0;
  border: 1px solid var(--gray-200);
  border-top: none;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.compare-item:last-child {
  border-bottom: none;
}

.compare-item .ic {
  font-size: 16px;
  flex-shrink: 0;
}

.compare-item.bad {
  color: var(--gray-800);
}

.compare-item.good {
  color: var(--gray-800);
}

/* ══════════════ FAQ ══════════════ */
.faq-section {
  padding: 88px 0;
  background: var(--gray-50);
}

.faq-section .title {
  text-align: center;
  margin-bottom: 12px;
}

.faq-section .subtitle {
  text-align: center;
  margin: 0 auto 56px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .15s;
}

.faq-q:hover {
  background: var(--white);
}

.faq-q span {
  font-size: 20px;
  color: var(--brand);
  transition: transform .2s;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.faq-item.open .faq-q {
  background: var(--white);
}

.faq-a {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.75;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ══════════════ CTA ══════════════ */
.cta-final {
  background: linear-gradient(135deg, #1a1040 0%, var(--navy) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, .18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final>.container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 18px;
  color: rgba(255, 255, 255, .6);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
  margin-top: 20px;
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width:900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid::before {
    display: none;
  }

  .build-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }
}

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

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}
