:root {
  --bg: #0f172a;
  --panel: #111827;
  --panel-soft: rgba(255, 255, 255, 0.08);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
}

/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent horizontal scrolling */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* =========================
   BODY
========================= */
body {
  min-height: 100vh;

  background: #ffffff;
  color: #111827;

  font-family: Inter, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================
   MAIN CONTAINERS
========================= */
.landing-container,
.gui-container {
  width: 100%;
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 24px;
}

/* =========================
   LOGOS
========================= */
.logo {
  display: block;

  width: 100%;
  max-width: 420px;

  height: auto;

  object-fit: contain;

  margin: 0 auto 24px auto;
}

.header-logo {
  display: block;

  width: 100%;
  max-width: 520px;

  height: auto;

  object-fit: contain;

  margin: 0 auto 24px auto;
}

/* =========================
   LANDING TEXT
========================= */
.landing-text {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;

  letter-spacing: -0.03em;
  line-height: 1.1;
}

.landing-subtext {
  margin-top: 12px;

  color: #6b7280;

  font-size: 1rem;
  line-height: 1.5;

  max-width: 90%;
}

/* =========================
   PROGRESS BAR
========================= */
.progress-wrapper {
  width: 100%;
  max-width: 520px;

  margin-top: 24px;
}

.progress-bar-container {
  width: 100%;
  height: 12px;

  background: rgba(0, 0, 0, 0.08);

  border-radius: 999px;

  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;

  background: var(--accent);

  border-radius: 999px;

  transition: width 1s linear;
}

.countdown-text {
  margin-top: 12px;

  color: #6b7280;

  font-size: 0.95rem;
}

/* =========================
   GUI HEADER
========================= */
.gui-header {
  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 12px;

  margin-bottom: 28px;

  width: 100%;
}

.gui-header h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);

  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* =========================
   GUI GRID
========================= */
.gui-main {
  width: min(100%, 960px);

  display: grid;

  gap: 18px;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));
}

/* =========================
   CARDS
========================= */
.card {
  width: 100%;

  background: rgba(15, 23, 42, 0.85);

  border: 1px solid rgba(148, 163, 184, 0.16);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 24px;

  padding: 26px;

  text-align: left;
}

.card h2 {
  margin-bottom: 12px;

  color: var(--text);

  line-height: 1.3;
}

.card p {
  color: var(--muted);

  line-height: 1.7;
}

/* =========================
   TABLET
========================= */
@media (max-width: 900px) {

  .header-logo {
    max-width: 420px;
  }

  .gui-main {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {

  .landing-container,
  .gui-container {
    padding: 16px;
  }

  .logo {
    max-width: 220px;
    margin-bottom: 20px;
  }

  .header-logo {
    max-width: 260px;
    margin-bottom: 18px;
  }

  .landing-text {
    font-size: 1.9rem;
  }

  .landing-subtext {
    font-size: 0.95rem;
  }

  .countdown-text {
    font-size: 0.85rem;
  }

  .progress-bar-container {
    height: 10px;
  }

  .gui-header h1 {
    font-size: 1.8rem;
  }

  .gui-main {
    width: 100%;

    grid-template-columns: 1fr;

    gap: 14px;
  }

  .card {
    padding: 18px;

    border-radius: 18px;
  }

  .card h2 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.95rem;

    line-height: 1.6;
  }
}

/* =========================
   SMALL PHONES
========================= */
@media (max-width: 400px) {

  .logo {
    max-width: 180px;
  }

  .header-logo {
    max-width: 220px;
  }

  .landing-text {
    font-size: 1.6rem;
  }

  .landing-subtext {
    font-size: 0.9rem;
  }

  .card {
    padding: 16px;
  }
}