/* =============================================================
   PROMETHEUS — Commercial Site CSS
   Design: Institutional Light
   Brand: #000040 (navy) · #00A896 (teal) · #FFFFFF (white)
   Typo: Fira Code (headings/mono) + Inter (body)
   ============================================================= */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy: #000040;
  --navy-mid: #00006a;
  --navy-light: #e8e8f4;
  --teal: #00A896;
  --teal-dim: rgba(0, 168, 150, 0.10);
  --teal-mid: rgba(0, 168, 150, 0.18);
  --teal-line: rgba(0, 168, 150, 0.25);
  --white: #ffffff;
  --grey-bg: #F4F6FA;
  --grey-light: #E8EAF0;
  --grey: #6B7280;
  --text: #2D2D5A;
  --text-muted: #7B8094;
  --border: #DCDDE8;
  --shadow: 0 2px 16px rgba(0, 0, 64, 0.07);
  --shadow-hover: 0 6px 28px rgba(0, 0, 64, 0.13);
  --mono: 'Fira Code', monospace;
  --sans: 'Inter', system-ui, sans-serif;
  --nav-h: 90px;
  --max: 1140px;
  --r: 6px;
  --r-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity .2s
}

a:hover {
  opacity: .75
}

button {
  cursor: pointer;
  font-family: var(--sans);
  border: none;
  background: none
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px
}

/* ── NAVBAR ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  box-shadow: 0 1px 8px rgba(0, 0, 64, .06);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--navy);
}

.nav__logo:hover {
  opacity: 1
}

.nav__logo img {
  height: 80px;
  width: auto;
  max-height: 80px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .01em;
  transition: color .2s;
}

.nav__links a:hover {
  color: var(--navy);
  opacity: 1
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__lang-wrap {
  position: relative
}

.nav__lang {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.nav__lang:hover {
  border-color: var(--navy);
  color: var(--navy)
}

.nav__cta {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--white);
  background: var(--navy);
  padding: 10px 22px;
  border-radius: var(--r);
  font-weight: 600;
  transition: background .2s;
  text-transform: uppercase;
}

.nav__cta:hover {
  background: var(--navy-mid);
  opacity: 1
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav__mobile {
  display: none
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 96px;
  background: var(--grey-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 168, 150, .06) 0%, transparent 65%);
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--teal);
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--teal);
}

.hero h1 {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy);
  max-width: 860px;
  margin-bottom: 24px;
}

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

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--grey);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 44px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── HERO VISUAL ────────────────────────────────────────── */
.hero__visual {
  margin-top: 64px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  max-width: 1000px;
}

.hero__visual img {
  width: 100%;
  height: auto;
  display: block
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--r);
  transition: background .2s;
}

.btn-primary:hover {
  background: var(--navy-mid);
  opacity: 1;
  color: var(--white)
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13px 30px;
  border-radius: var(--r);
  transition: background .2s;
}

.btn-secondary:hover {
  background: var(--navy-light);
  opacity: 1;
  color: var(--navy)
}

/* ── PROOF BAR ─────────────────────────────────────────── */
.proof {
  background: var(--navy);
  padding: 40px 0;
}

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

.proof__item label {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}

.proof__item span {
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── SECTION HEADER ────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px
}

.section-header .eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--teal);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--mono);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.025em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  color: var(--grey);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto
}

/* ── PROBLEM / SOLUTION ────────────────────────────────── */
.problem {
  padding: 96px 0;
  background: var(--white)
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem__col-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.problem__col-label.bad {
  color: #D94040
}

.problem__col-label.good {
  color: var(--teal)
}

.problem__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.problem__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text-muted);
}

.problem__list li::before {
  content: '×';
  color: #D94040;
  font-family: var(--mono);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.solution__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.solution__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text);
}

.solution__list li::before {
  content: '✓';
  color: var(--teal);
  font-family: var(--mono);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── MODULES ───────────────────────────────────────────── */
.modules {
  padding: 96px 0;
  background: var(--grey-bg)
}

.modules__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s, transform .2s, border-color .2s;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  opacity: 0;
  transition: opacity .25s;
}

.module-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--teal-line);
}

.module-card:hover::before {
  opacity: 1
}

.module-card__icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-card__icon-wrap img {
  width: 100%;
  height: auto
}

.module-card__tag {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--teal);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.module-card h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.module-card p {
  font-size: .84rem;
  color: var(--grey);
  line-height: 1.6
}

/* ── PRICING ───────────────────────────────────────────── */
.pricing {
  padding: 96px 0;
  background: var(--white)
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.plan-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--teal);
}

.plan-card.featured {
  border-color: var(--navy);
  background: var(--navy);
}

.plan-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .14em;
  background: var(--teal);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-card__name {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.plan-card.featured .plan-card__name {
  color: var(--teal)
}

.plan-card__price {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-card.featured .plan-card__price {
  color: var(--white)
}

.plan-card__price span {
  font-size: .88rem;
  font-weight: 400;
  color: var(--grey);
}

.plan-card.featured .plan-card__price span {
  color: rgba(255, 255, 255, .6)
}

.plan-card__desc {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 12px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.plan-card.featured .plan-card__desc {
  color: rgba(255, 255, 255, .65);
  border-color: rgba(255, 255, 255, .15)
}

.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-card__features li {
  font-size: .83rem;
  color: var(--text);
  display: flex;
  gap: 10px;
}

.plan-card.featured .plan-card__features li {
  color: rgba(255, 255, 255, .85)
}

.plan-card__features li::before {
  content: '·';
  color: var(--teal);
  flex-shrink: 0;
  font-weight: 700;
}

.plan-card .btn-secondary,
.plan-card .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: .74rem;
}

.plan-card.featured .btn-primary {
  background: var(--teal);
  color: var(--white);
}

.plan-card.featured .btn-primary:hover {
  background: #009080;
  opacity: 1
}

/* ── TRUST / PILLARS ───────────────────────────────────── */
.trust {
  padding: 96px 0;
  background: var(--grey-bg)
}

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

.trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: box-shadow .2s;
}

.trust-item:hover {
  box-shadow: var(--shadow)
}

.trust-item__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.trust-item h3 {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.trust-item p {
  font-size: .84rem;
  color: var(--grey);
  line-height: 1.65
}

/* ── CTA BANNER ────────────────────────────────────────── */
.cta-banner {
  padding: 96px 0;
  background: var(--navy);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, .65);
  margin-bottom: 36px;
  max-width: 480px;
  margin-inline: auto;
}

.cta-banner .hero__ctas {
  justify-content: center
}

.cta-banner .btn-primary {
  background: var(--teal);
  color: var(--white);
}

.cta-banner .btn-primary:hover {
  background: #009080;
  opacity: 1
}

.cta-banner .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, .08);
  opacity: 1;
  color: var(--white)
}

/* Newsletter */
.newsletter {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto 28px;
}

.newsletter input {
  flex: 1;
  font-family: var(--sans);
  font-size: .88rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--r);
  outline: none;
  transition: border-color .2s;
}

.newsletter input:focus {
  border-color: var(--teal)
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, .4)
}

.newsletter button {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r);
  flex-shrink: 0;
  transition: background .2s;
}

.newsletter button:hover {
  background: #009080
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--grey-bg);
  border-top: 2px solid var(--navy);
  padding: 60px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  margin-bottom: 48px;
}



.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.footer__logo img {
  height: 80px;
  width: auto;
  max-height: 80px;
}

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

.footer__col h4 {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer__col ul li a {
  font-size: .83rem;
  color: var(--text-muted);
  transition: color .2s;
}

.footer__col ul li a:hover {
  color: var(--navy);
  opacity: 1
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__langs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.footer__langs a {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--text-muted);
}

.footer__langs a:hover {
  color: var(--navy);
  opacity: 1
}

.footer__langs a.active {
  color: var(--navy);
  font-weight: 600
}

/* ── INNER PAGES ───────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 56px;
  background: var(--grey-bg);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.page-hero .eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--teal);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -.025em;
}

.page-hero p {
  color: var(--grey);
  max-width: 580px;
  font-size: 1.05rem
}

.page-content {
  max-width: 800px
}

.page-content h2 {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--teal);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 52px 0 18px;
  padding: 20px 0 12px;
  border-bottom: 1px solid var(--border);
}

.page-content h3 {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--navy);
  margin: 28px 0 10px;
  font-weight: 600;
}

.page-content p {
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.75
}

.page-content ul,
.page-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--text);
}

.page-content li {
  margin-bottom: 8px
}

.page-content strong {
  color: var(--navy);
  font-weight: 600
}

.page-content a {
  color: var(--teal);
  border-bottom: 1px solid var(--teal-line)
}

.page-content a:hover {
  border-color: var(--teal);
  opacity: 1
}

/* Page visual (illustration) */
.page-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 40px 0;
}

.page-visual img {
  width: 100%;
  height: auto;
  display: block
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media(max-width:1024px) {
  .modules__grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

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

  .nav__burger {
    display: flex
  }

  .nav__mobile.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 36px 28px;
    z-index: 99;
    border-top: 1px solid var(--border);
  }

  .nav__mobile.open a {
    font-size: 1.05rem;
    color: var(--navy);
    font-family: var(--mono);
    font-weight: 500;
  }

  .nav__mobile.open .nav__cta {
    text-align: center;
    margin-top: 8px;
  }

  .problem__grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .trust__grid {
    grid-template-columns: 1fr
  }

  .footer__top {
    grid-template-columns: 1fr
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr)
  }

  .proof__grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .modules__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .pricing__grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:640px) {
  .modules__grid {
    grid-template-columns: 1fr
  }

  .hero__ctas {
    flex-direction: column
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center
  }

  .newsletter {
    flex-direction: column
  }

  .newsletter button {
    width: 100%
  }

  .footer__nav {
    grid-template-columns: 1fr
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start
  }
}