/* =========================================
   SAPMDG AI - ABOUT PAGE
========================================= */

:root {
  --bg: #071014;
  --bg-soft: #0a151a;
  --bg-card: #0d1a20;
  --bg-card-hover: #102229;

  --text: #f3f7f8;
  --text-soft: #a9b8be;
  --text-muted: #71858d;

  --accent: #20d7d0;
  --accent-soft: rgba(32, 215, 208, 0.12);

  --border: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(32, 215, 208, 0.25);

  --container: 1180px;
}


/* =========================================
   RESET
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
}

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

.theme-toggle,
.back-link {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  min-height: 40px;
}

.theme-toggle {
  width: 42px;
  cursor: pointer;
  font-size: 18px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-weight: 600;
}

.legal-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}


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

.hero {
  position: relative;
  overflow: hidden;

  min-height: 720px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);

  background-size: 60px 60px;

  mask-image:
    linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
  position: absolute;

  border-radius: 50%;
  filter: blur(110px);

  pointer-events: none;
}

.hero-glow-one {
  width: 450px;
  height: 450px;

  right: 8%;
  top: 10%;

  background: rgba(32, 215, 208, 0.09);
}

.hero-glow-two {
  width: 300px;
  height: 300px;

  left: -100px;
  bottom: -50px;

  background: rgba(32, 215, 208, 0.05);
}

.hero-content {
  position: relative;
  z-index: 2;

  padding-top: 90px;
  padding-bottom: 90px;
}

.eyebrow,
.section-label {
  display: inline-block;

  color: var(--accent);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 900px;

  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -4px;
  font-weight: 750;
}

.hero h1 span {
  color: var(--accent);
}

.hero-description {
  max-width: 720px;

  margin-top: 32px;

  color: var(--text-soft);

  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;

  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 24px;

  border-radius: 7px;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #041012;
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--border-accent);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
  padding: 110px 0;
}

.section-dark {
  background: var(--bg-soft);

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-layout,
.direction-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.section-heading h2,
.direction-layout h2 {
  max-width: 500px;

  margin-top: 15px;

  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.section-copy p,
.direction-layout p {
  color: var(--text-soft);

  font-size: 17px;
  line-height: 1.85;
}

.section-copy p + p,
.direction-layout p + p {
  margin-top: 22px;
}

.center-heading {
  max-width: 760px;

  margin: 0 auto 60px;

  text-align: center;
}

.center-heading h2 {
  margin-top: 15px;

  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.center-heading p {
  max-width: 650px;

  margin: 20px auto 0;

  color: var(--text-soft);

  font-size: 16px;
}


/* =========================================
   FEATURE CARDS
========================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 270px;

  padding: 32px;

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);

  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.feature-number {
  margin-bottom: 40px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.feature-card h3 {
  margin-bottom: 12px;

  font-size: 21px;
}

.feature-card p {
  max-width: 480px;

  color: var(--text-soft);

  font-size: 15px;
}


/* =========================================
   APPROACH
========================================= */

.intelligence-section {
  overflow: hidden;
}

.approach-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;

  gap: 28px;

  margin-top: 60px;
}

.approach-item {
  min-height: 300px;

  padding: 35px 28px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: linear-gradient(
    180deg,
    rgba(32, 215, 208, 0.05),
    rgba(255, 255, 255, 0.015)
  );
}

.approach-icon {
  width: 62px;
  height: 62px;

  margin: 0 auto 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border-accent);
  border-radius: 50%;

  background: var(--accent-soft);
  color: var(--accent);

  font-size: 16px;
  font-weight: 800;
}

.approach-item h3 {
  margin-bottom: 12px;

  font-size: 19px;
}

.approach-item p {
  color: var(--text-soft);

  font-size: 14px;
}

.approach-connector {
  color: var(--accent);

  font-size: 28px;
  font-weight: 300;
}


/* =========================================
   VISION
========================================= */

.vision-section {
  padding: 130px 0;

  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(32, 215, 208, 0.08),
      transparent 45%
    ),
    var(--bg-soft);

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vision-container {
  max-width: 900px;
  text-align: center;
}

.vision-container h2 {
  margin: 20px auto 30px;

  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -2.2px;
}

.vision-container p {
  max-width: 760px;

  margin: 0 auto;

  color: var(--text-soft);

  font-size: 17px;
}

.vision-container p + p {
  margin-top: 20px;
}


/* =========================================
   BYTOSIS
========================================= */

.bytosis-section {
  background: #081217;
}

.bytosis-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;

  padding-bottom: 65px;

  border-bottom: 1px solid var(--border);
}

.bytosis-intro h2 {
  margin-top: 10px;

  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -3px;
}

.bytosis-description p {
  color: var(--text-soft);

  font-size: 17px;
}

.bytosis-description p + p {
  margin-top: 20px;
}

.bytosis-description strong {
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  margin-top: 55px;
}

.service-card {
  min-height: 320px;

  padding: 30px;

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 60px;
}

.service-index {
  color: var(--text-muted);

  font-size: 12px;
}

.service-tag {
  padding: 5px 9px;

  color: var(--accent);
  background: var(--accent-soft);

  border: 1px solid var(--border-accent);
  border-radius: 4px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.service-card h3 {
  margin-bottom: 15px;

  font-size: 22px;
}

.service-card p {
  color: var(--text-soft);

  font-size: 14px;
}


/* =========================================
   COMPANY DIRECTION
========================================= */

.company-direction {
  border-top: 1px solid var(--border);
}


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

.cta-section {
  padding: 120px 0;

  background: var(--bg-soft);

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-container {
  max-width: 800px;

  text-align: center;
}

.cta-container h2 {
  margin: 15px auto 20px;

  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.cta-container p {
  max-width: 620px;

  margin: 0 auto 30px;

  color: var(--text-soft);

  font-size: 16px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding: 70px 0 25px;

  background: #050b0e;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  padding-bottom: 55px;
}

.footer-brand p {
  max-width: 370px;

  margin-top: 18px;

  color: var(--text-muted);

  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.footer-links h4 {
  margin-bottom: 18px;

  color: var(--text);

  font-size: 13px;
}

.footer-links a,
.footer-links span {
  display: block;

  margin-top: 10px;

  color: var(--text-muted);

  font-size: 13px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  padding-top: 22px;

  border-top: 1px solid var(--border);

  color: var(--text-muted);

  font-size: 12px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav.open {
    display: flex;
    flex-direction: column;

    padding: 15px 20px 20px;

    background: var(--bg-soft);
    border-top: 1px solid var(--border);
  }

  .mobile-nav a {
    padding: 12px 0;

    color: var(--text-soft);

    border-bottom: 1px solid var(--border);
  }

  .split-layout,
  .direction-layout,
  .bytosis-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .approach-wrapper {
    grid-template-columns: 1fr;
  }

  .approach-connector {
    transform: rotate(0deg);

    text-align: center;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-top {
    margin-bottom: 35px;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.5px;
  }

  .hero-description {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 80px 0;
  }

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

  .feature-card {
    min-height: auto;
  }

  .center-heading {
    margin-bottom: 40px;
  }

  .vision-section {
    padding: 90px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

}

/* =========================================
   DEVELOPMENT CREDIT
========================================= */

.developer-credit {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.developer-credit-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.developer-credit-heading h2 {
  max-width: 450px;
  margin-top: 15px;

  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.developer-card {
  padding: 35px 40px;

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.developer-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.developer-info h3 {
  margin-bottom: 6px;

  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.developer-role {
  display: block;

  margin-bottom: 18px;

  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.developer-info p {
  max-width: 600px;

  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}


/* Mobile */

@media (max-width: 900px) {

  .developer-credit-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}

@media (max-width: 600px) {

  .developer-card {
    padding: 28px 24px;
  }

}