/* Product-specific styles for AI Markup Module */

:root {
  --bg: #07101f;
  --bg2: #0b1630;
  --panel: rgba(18, 31, 58, 0.78);
  --panel2: #101f3d;
  --text: #f4f8ff;
  --muted: #9eb0cf;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #6ce5ff;
  --accent2: #7b7cff;
  --green: #48e3a4;
  --yellow: #ffcf5c;
  --danger: #ff6f91;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.hero {
  padding: 92px 0 54px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: var(--primary);
  background: var(--primary-glow);
  border: 1px solid var(--line2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(72, 227, 164, 0.11);
}
h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  margin: 18px 0 22px;
  letter-spacing: -0.055em;
  max-width: 900px;
}
.gradient-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.micro {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 16px;
}
.micro strong {
  display: block;
  font-size: 21px;
  margin-bottom: 2px;
}
.micro span {
  font-size: 12px;
  color: var(--muted);
}
.ai-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ai-card:before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(108, 229, 255, 0.09);
  filter: blur(15px);
  right: -90px;
  top: -120px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.status {
  font-size: 12px;
  color: var(--green);
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(72, 227, 164, 0.1);
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 13px;
}
.metric {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.metric strong {
  font-size: 22px;
}
.decision {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(108, 229, 255, 0.1),
    rgba(123, 124, 255, 0.11)
  );
  border: 1px solid rgba(108, 229, 255, 0.18);
}
.decision-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.decision h3 {
  margin: 0;
  font-size: 18px;
}
.markup {
  font-size: 34px;
  font-weight: 1000;
  color: var(--green);
}
.reason {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 11px;
  color: #c9d7ef;
  border: 1px solid var(--line);
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.section {
  padding: 88px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
  margin-bottom: 28px;
  max-width: 700px;
  flex-direction: column;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
}
.section-head p {
  max-width: 590px;
  color: var(--muted);
  margin: 0;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  padding: 23px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.13);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(108, 229, 255, 0.09);
  font-size: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(108, 229, 255, 0.13);
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}
.tab {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}
.tab.active {
  background: linear-gradient(
    135deg,
    rgba(108, 229, 255, 0.16),
    rgba(123, 124, 255, 0.16)
  );
  color: #fff;
  border-color: rgba(108, 229, 255, 0.28);
}
.module-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 20px;
  align-items: stretch;
}
.module-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
}
.module-card h3 {
  font-size: 30px;
  margin: 2px 0 10px;
  letter-spacing: -0.03em;
}
.module-card p {
  color: var(--muted);
}
.check-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.check {
  display: flex;
  gap: 11px;
  color: #dce7fa;
  font-size: 14px;
}
.check b {
  color: var(--green);
}
.logic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.logic-item {
  padding: 16px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.logic-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 4px;
}
.logic-item strong {
  font-size: 15px;
}
.sim {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(108, 229, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(10, 24, 48, 0.94),
    rgba(8, 18, 36, 0.98)
  );
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.controls {
  display: grid;
  gap: 16px;
}
.control {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}
.label-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}
.label-row span:last-child {
  color: var(--accent);
}
input[type="range"] {
  width: 100%;
  accent-color: #7b7cff;
}
.result-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(123, 124, 255, 0.18);
}
.big-num {
  font-size: 58px;
  font-weight: 1000;
  letter-spacing: -0.05em;
  line-height: 1;
}
.sub {
  color: var(--muted);
  font-size: 13px;
}
.risk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.risk:last-child {
  border: 0;
}
.ok {
  color: var(--green);
}
.warn {
  color: var(--yellow);
}
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.step {
  position: relative;
  padding: 20px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  min-height: 148px;
}
.step:after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
  color: #536686;
}
.step:last-child:after {
  display: none;
}
.step .num {
  font-size: 11px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.step h4 {
  margin: 10px 0 6px;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.table-wrap {
  overflow: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: rgba(8, 18, 36, 0.55);
}
th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
th {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
td {
  color: #c8d4e8;
}
.tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  background: rgba(72, 227, 164, 0.1);
  color: var(--green);
}
.cta {
  padding: 38px;
  border-radius: 34px;
  background: var(--bg2);
  border: 1px solid rgba(108, 229, 255, 0.17);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.cta h2 {
  font-size: 37px;
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}
.cta p {
  color: var(--muted);
  margin: 0;
  max-width: 700px;
}
footer {
  padding: 38px 0 50px;
  color: #7789a8;
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
@media (max-width: 980px) {
  .hero-grid,
  .module-panel,
  .sim {
    grid-template-columns: 1fr;
  }
  .module-card {
    padding: 12px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:after {
    display: none;
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 650px) {
  /* .container {
          width: min(100% - 24px, 1180px);
        } */
  .hero {
    padding-top: 62px;
  }
  .hero-points,
  .metric-row,
  .grid-3,
  .logic,
  .flow {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 58px 0;
  }
  .section-head,
  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta {
    padding: 28px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .nav .btn {
    display: none;
  }
  h1 {
    font-size: 45px;
  }
}
