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

body {
  font-family: 'Montserrat', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

/*
img {
  max-width: 100%;
  display: block;
}
*/

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  text-align: center;
  font-size: 0.98rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1e3a8a;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.9rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-intro {
  text-align: center;
  font-size: 1.05rem;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

/* ========== HERO ========== */

.hero-ourwork::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(96, 165, 250, 0.3), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.2), transparent 60%);
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #93c5fd;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #e5e7eb;
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.hero-tag-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.45);
  transition: 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.6);
}

.btn-ghost {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.hero-right-card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
}

.hero-right-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #93c5fd;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-right-metric-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-metric {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.hero-metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e5e7eb;
}

/* ========== COMPETITIVE ANALYSIS ========== */

.section {
  padding: 90px 0;
}

.section.light {
  background: #fff;
}

.section.soft {
  background: linear-gradient(180deg, #f8fafc, #eff4ff);
}

.analysis-layout {
  margin-top: 50px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 50px;
}

.comparison-card {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.comparison-table thead {
  background: #0f172a;
  color: #fff;
}

.tag-positive,
.tag-warning,
.tag-negative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tag-positive {
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.tag-warning {
  background: rgba(234, 179, 8, 0.08);
  color: #a16207;
  border: 1px solid rgba(234, 179, 8, 0.28);
}

.tag-negative {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.28);
}

.analysis-title {
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  color: #2b3d6c;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.analysis-card {
  display: flex;
  gap: 26px;
  margin-top: 18px;
  align-items: stretch;
}

.analysis-table,
.analysis-chart {
  border-radius: 18px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  background: #fff;
}

.analysis-table {
  flex: 1.25;
  min-width: 0;
}

.analysis-chart {
  flex: 1;
  min-width: 0;
  padding: 22px;
  height: auto;
  display: flex;
  flex-direction: column;
}

.analysis-table table {
  width: 100%;
  border-spacing: 0;
  font-size: 0.82rem;
  color: #0f172a;
  background: #fff;
}

.analysis-table th,
.analysis-table td {
  padding: 8px 10px;
  border: 1px solid #bfdbfe;
  text-align: left;
  vertical-align: center;
}

.analysis-table th {
  padding: 10px 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  background-color: #00264d;
  color: white;
}

.analysis-table thead th {
  border-top: none;
}

.analysis-table tbody tr:last-child td {
  border-bottom: none;
}

.analysis-table th:first-child,
.analysis-table td:first-child {
  border-left: none;
}

.analysis-table th:last-child,
.analysis-table td:last-child {
  border-right: none;
}

.chart-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
  text-align: center;
}

.chart-svg {
  flex: 1;
  min-height: 0;
}

.chart-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-svg text {
  font-family: 'Montserrat', sans-serif;
}


/* ========== MATRIX ========== */

.matrix-card {
  border-radius: 18px;
  background: #0b1220;
  color: #e5e7eb;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.8);
}

.matrix-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #93c5fd;
  margin-bottom: 14px;
  font-weight: 600;
}

.matrix-plot {
  position: relative;
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 55%);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  aspect-ratio: 4 / 3;
}

.axis-line {
  position: absolute;
  background: rgba(148, 163, 184, 0.7);
}

.axis-line.x {
  height: 1px;
  left: 10%;
  right: 6%;
  top: 50%;
}

.axis-line.y {
  width: 1px;
  top: 12%;
  bottom: 12%;
  left: 50%;
}

.axis-label {
  position: absolute;
  font-size: 0.72rem;
  color: #e5e7eb;
  opacity: 0.85;
}

.axis-label.top {
  top: 10%;
  left: 12%;
}

.axis-label.bottom {
  bottom: 10%;
  left: 12%;
}

.axis-label.left {
  left: 12%;
  top: 16%;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.axis-label.right {
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
}

.plot-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

.dot.star {
  width: 14px;
  height: 14px;
  background: #facc15;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.9);
}

/* ========== COMPETITIVE ADVANTAGES ========== */

.advantages-layout {
  margin-top: 50px;
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 3fr);
  gap: 50px;
  align-items: center;
}

.adv-text-block {
  max-width: 520px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.adv-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.adv-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-icon-wrap img {
  width: 60%;
}

.adv-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adv-body {
  font-size: 0.9rem;
  color: #64748b;
}

/* ========== HOW WE WORK ========== */

.process-steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.05);
}

.process-step-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #2563eb;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.process-body {
  font-size: 0.9rem;
  color: #6b7280;
}

/* ========== MISSION ========== */

.mission-section {
  background: linear-gradient(110deg, #1d4ed8, #1e3a8a);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.mission-quote {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.9rem;
  font-weight: 700;
}

.mission-quote span {
  font-size: 2.1rem;
}

/* ========== CTA ========== */

#cta .container {
  padding-bottom: 80px;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-inner p {
  color: #64748b;
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ========== RESPONSIVE ========== */

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

  .analysis-layout,
  .advantages-layout {
    grid-template-columns: 1fr;
  }

  .analysis-card {
    flex-direction: column;
    align-items: stretch;
  }

  .chart-svg {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .analysis-table {
    overflow-x: auto;
  }

  .analysis-table table {
    min-width: 720px;
  }
}

@media (max-width: 768px) {
  .hero-ourwork {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .mission-quote {
    font-size: 1.4rem;
  }

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

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

/* POPUP MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #ffffff;
  padding: 30px;
  width: 90%;
  max-width: 460px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  animation: fadeIn 0.25s ease-out;
}

.modal-content h2 {
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-content p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #64748b;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-family: inherit;
}

.modal-close {
  background: transparent;
  border: none;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #1e3a8a;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}