/* =========================================
   TELUM TARGET — LAYOUT
========================================= */

/* =========================================
   LAYOUT TOKENS
========================================= */

:root {
  /* Widths */
  --layout-max-width:1400px;
  --layout-max-width-wide:1600px;
  --layout-max-width-narrow:1000px;

  /* Navbar */
  --navbar-height:78px;

  /* Section spacing */
  --section-spacing-y:120px;
  --section-spacing-x:40px;

  /* Container spacing */
  --container-padding:40px;

  /* Grid */
  --grid-gap-small:20px;
  --grid-gap-medium:28px;
  --grid-gap-large:40px;

  /* Cards */
  --card-padding:40px;

  /* Z-index */
  --z-loader:9999;
  --z-navbar:100;
  --z-overlay:50;
  --z-default:1;
}

/* =========================================
   CONTAINERS
========================================= */

.container {
  width: 100%;
  max-width:var(--layout-max-width);
  margin-inline: auto;
  padding-inline:var(--container-padding);
}

.container-wide {
  width: 100%;
  max-width:var(--layout-max-width-wide);
  margin-inline: auto;
  padding-inline:var(--container-padding);
}

.container-narrow {
  width: 100%;
  max-width:var(--layout-max-width-narrow);
  margin-inline: auto;
  padding-inline:var(--container-padding);
}

/* =========================================
   SECTIONS
========================================= */
.section {
  position: relative;
  padding:
    var(--section-spacing-y)
    var(--section-spacing-x);
}

/* =========================================
   NAVBAR
========================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height:var(--navbar-height);
  z-index:var(--z-navbar);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   HERO
========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding:
    calc(var(--navbar-height) + 40px)
    var(--section-spacing-x)
    80px;
}

.hero-content {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index:var(--z-default);
}

.hero-logo {
  width:min(650px, 85vw);
  margin-inline: auto;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:var(--grid-gap-small);
  flex-wrap: wrap;
  margin-top: 50px;
}

/* =========================================
  VISION SECTION
========================================= */
.vision-section {
  position: relative;
  padding:  clamp(4rem, 8vw, 7rem) 2rem;
  background: var(--color-background);
}

.vision-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

.vision-label {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.vision-text {
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  max-width: var(--layout-max-width);
}

/* TOP LINE */
.vision-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--color-accent),
      transparent
    );
  opacity: 0.7;
}

/* BOTTOM LINE */
.vision-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--color-accent),
      transparent
    );
  opacity: 0.7;
}

.vision-section::before,
.vision-section::after {
  z-index: 2;
}

/* =========================================
   FEATURES GRID
========================================= */
.features-grid {
  width: 100%;
  max-width:var(--layout-max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(280px, 1fr)
    );

  gap:var(--grid-gap-medium);
}

/* =========================================
   FEATURE CARD
========================================= */
.feature-card {
  position: relative;
  overflow: hidden;
  padding:var(--card-padding);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
}

/* =========================================
   STATUS SECTION
========================================= */
.status-section {
  text-align: center;
  padding:
    120px
    var(--section-spacing-x);
}

.status-box {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 60px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: var(--border-red);
  background: var(--color-telum-red-transparent)
  color: var(--color-signal-red);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-signal-red);
  flex-shrink: 0;
}

/* =========================================
   FOOTER
========================================= */
footer {
  padding:60px var(--section-spacing-x);
  background:var(--color-footer-bg);
  border-top:1px solid var(--color-footer-border-top);
}

.footer-container {
  width: 100%;
  max-width:var(--layout-max-width);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap:var(--grid-gap-medium);
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 42px;
  filter:brightness(1.02);
}

.footer-text {
  color:var(--color-footer-text);
  line-height: 1.7;
  font-size:var(--font-size-body-small);
}

.footer-right {
  color:var(--color-footer-text);
  font-size:var(--font-size-caption);
}

/* =========================================
   FLEX UTILITIES
========================================= */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* =========================================
   GRID UTILITIES
========================================= */
.grid {
  display: grid;
}

/* =========================================
   SPACING UTILITIES
========================================= */

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1100px) {
  :root {
    --section-spacing-y:100px;
    --section-spacing-x:32px;
    --container-padding:32px;
    --navbar-height:70px;
  }

  .hero-logo {
    width:min(560px, 88vw);
  }
}

/* =========================================
   RESPONSIVE — MOBILE
========================================= */
@media (max-width: 900px) {
  :root {
    --section-spacing-y:90px;
    --section-spacing-x:24px;
    --container-padding:24px;
    --card-padding:32px;
    --navbar-height:64px;
  }

  .hero {
    padding:
      calc(var(--navbar-height) + 20px)
      24px
      60px;
  }

  .hero-logo {
    width:min(440px, 92vw);
  }

  .hero-buttons {
    gap: 14px;
  }

  .status-box {
    padding: 40px 28px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .vision-section {
    padding: 6rem 2rem;
  }

  .features-grid {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE
========================================= */

@media (max-width: 600px) {
  :root {
    --section-spacing-y:72px;
    --section-spacing-x:18px;
    --container-padding:18px;
    --navbar-height:60px;
  }

  .hero-logo {
    width:min(360px, 94vw);
  }

  .feature-card {
    padding: 28px;
  }

  .status-box {
    padding: 34px 22px;
  }
}


