/*============================================================
    LANZAR

    File: main.css
============================================================*/

@import url("theme.css");

/*=========================
    Reset
=========================*/

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

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

#app {
  width: 100%;
  min-height: 100%;
}

/*=========================
    Background
=========================*/

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}

/*==================================================
    Hero
==================================================*/

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  width: min(1700px, 94vw);
  min-height: calc(100vh - 4rem);
  padding: 2rem 2vw;
  margin: auto;
  gap: 2rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  width: clamp(380px, 30vw, 540px);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;

  font-family: var(--font-heading);
  font-size: clamp(4.25rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;

  color: var(--deep-navy);
}

.hero h1 span {
  display: block;

  margin-top: 0.08em;

  font-size: 0.58em;
  line-height: 1;

  letter-spacing: -0.02em;

  color: var(--rocket-orange);
}

.hero h2 {
  margin: 1.8rem 0 1rem;

  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.22em;

  color: var(--retro-teal);
}

.hero p {
  max-width: 520px;

  margin: 0 0 2.25rem;

  font-size: 1.15rem;
  line-height: 1.8;

  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/*==================================================
    Buttons
==================================================*/

.hero-buttons {
  display: flex;
  margin-top: 2rem;
}

.btn-primary {
  padding: 1.35rem 4.5rem;
  border: none;
  border-radius: 999px;
  background: var(--rocket-orange);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: 0.3s ease;
  box-shadow: var(--shadow-large);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.launch-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft-gray);
  opacity: 0.8;
}

.cta-button.phone {
    display: block;
    width: fit-content;
    margin: 1rem auto 0;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s ease;
}

.cta-button.phone:hover {
    opacity: .8;
}

/*==================
	rocket 
===================*/

.launchpad {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 620px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smoke {
  position: absolute;
  top: 43%; /* Shifted up slightly to prevent SVG overflow */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.smoke svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rocket {
  position: relative;
  width: min(380px, 85%);
  transform: rotate(-18deg);
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.18));
  z-index: 2;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 3rem 1rem 2rem;
    min-height: auto;
  }

  .hero-left {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-right {
    order: -1;
  }

  .rocket {
    width: min(280px, 60vw);
  }
}

/*==================================================
    Sections
==================================================*/

section {
  position: relative;
}

.section {
  width: min(1400px, 90vw);
  margin: auto;
  padding: 8rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 700px;

  color: var(--text-secondary);

  font-size: 1.2rem;

  line-height: 1.8;
}

/*==================================================
    Utilities
==================================================*/

.fade {
  opacity: 0;

  transform: translateY(40px);

  transition: 0.8s;
}

.fade.show {
  opacity: 1;

  transform: none;
}

.center {
  text-align: center;
}

.text-orange {
  color: var(--rocket-orange);
}

.text-teal {
  color: var(--retro-teal);
}

/*==================================================
    Welcome Panel
==================================================*/

.welcome-panel {

    position:absolute;

    left:50%;

    top:50%;

    width:92%;

    max-width:440px;

    height:560px;

    transform:translate(-50%,-50%) scale(.9) translateY(20px);

    opacity:0;

    background:#f8f3e9;

    border:2px solid rgba(42,114,143,.1);

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 18px 40px rgba(0,0,0,.15);

    transition:
        transform .6s cubic-bezier(.34,1.56,.64,1),
        opacity .6s ease;

    z-index:10;

}

.welcome-panel.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.panel-top {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f1ebdf;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--retro-teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.panel-top > span:nth-child(2) {
  margin-left: 0.75rem;
}

.panel-close {
  margin-left: auto;

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

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: transparent;
  color: var(--retro-teal);

  font-size: 2rem;
  font-weight: 700;
  line-height: 1;

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

.panel-close:hover {
  background: var(--rocket-orange);
  color: #fff;
  transform: scale(1.1);
}

.panel-close:active {
  transform: scale(0.95);
}

.led {
  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: #59c76a;

  box-shadow: 0 0 10px rgba(89, 199, 106, 0.5);

  animation: blink 2s infinite;
}

#console-view p {
  padding: 2rem 1.75rem 1.5rem;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--deep-navy);
}

/*==================================================
    Console Menu
==================================================*/

.console-menu {
  padding: 0 1.75rem;
}

.console-link {
  display: grid;

  grid-template-columns: 55px 1fr;

  align-items: center;

  padding:.85rem 0;

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  color: var(--deep-navy);

  transition: 0.25s;
}

.console-link:last-child {
  border-bottom: none;
}

.console-id {
  color: var(--retro-teal);

  opacity: 0.55;

  letter-spacing: 0.18em;
}

.console-text {
  font-size: 1.15rem;

  font-weight: 600;
}

.console-link:hover {
  padding-left: 12px;

  color: var(--rocket-orange);
}

.console-divider {
    width: 250px;
    height: 1px;
    margin: 1.5rem auto;
    background: rgba(60, 110, 140, 0.18);
}

.console-launch {
  width: calc(100% - 3.5rem);

  margin:0 1.75rem 2rem;

  padding: 1rem;

  border-radius: 999px;

  background: var(--rocket-orange);

  color: white;

  font-weight: 700;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  transition: 0.25s;
}

.console-launch:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 25px rgba(244, 107, 69, 0.28);
}

.console-title::after {
  content: "";

  display: block;

  width: 42px;

  height: 3px;

  margin-top: 0.9rem;

  background: var(--rocket-orange);

  border-radius: 999px;
}

/*==================================================
    View System
==================================================*/

.view {
  display: none;

  min-height: 100vh;

  padding: 6rem 0;
}

.view.active {
  display: flex;

  justify-content: center;

  align-items: center;
}

.view-window {
  width: min(900px, 90vw);

  background: #f8f3e9;

  border: 2px solid rgba(42, 114, 143, 0.1);

  border-radius: 28px;

  box-shadow: var(--shadow-large);

  overflow: hidden;
}

.view-header {
  display: flex;

  align-items: center;

  gap: 1rem;

  padding: 1.75rem 2.5rem;

  background: #f1ebdf;

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.view-number {
  color: var(--rocket-orange);

  font-family: var(--font-code);

  font-weight: 700;

  letter-spacing: 0.15em;
}

.view-header h2 {
  font-family: var(--font-heading);

  font-size: 2.2rem;

  color: var(--deep-navy);
}

.view-content {
    max-height: 370px;
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
	scrollbar-gutter: stable;
}

/* Custom Scrollbar for View Content */
.view-content::-webkit-scrollbar {
  width: 6px;
}
.view-content::-webkit-scrollbar-track {
  background: transparent;
}
.view-content::-webkit-scrollbar-thumb {
  background: rgba(42, 114, 143, 0.15);
  border-radius: 999px;
}
.view-content::-webkit-scrollbar-thumb:hover {
  background: var(--retro-teal);
}

.view-content p {
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.view-content p:last-child {
  margin-bottom: 0;
}

.intro {
  font-size: 1.02rem;
  color: var(--deep-navy) !important;
}

.statement {
  margin: 1rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: var(--deep-navy);
}

.emphasis {
  color: var(--rocket-orange);
  font-weight: 700;
}

.closing {
  margin-top: 1rem;
  font-size: 1.02rem;
  text-align: left;
  color: var(--deep-navy);
}

.view-nav {
  display: flex;

  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.nav-arrow {
  width: 36px;
  height: 36px;

  border-radius: 50%;
  background: #efe8dc;

  color: var(--deep-navy);

  font-size: 1rem;
  font-weight: 700;

  transition: 0.2s;
}

.nav-arrow:hover {
  background: var(--rocket-orange);

  color: white;
}

#meet-view {
  height: 100%;
}

.view-content a {
  color: var(--rocket-orange);

  font-weight: 700;

  text-decoration: none;
}

.view-content a:hover {
  text-decoration: underline;
}

/*==================================================
    Email Button
==================================================*/

.email-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-bottom: none !important;
  width: 100%;

  padding: 1rem 0;
}

.email-link .console-id {
  width: auto;
  opacity: 1;
}

.email-link .console-text {
  flex: none;
}

/*==================================================
    Mission Cards
==================================================*/

.mission-card {
    margin: 1rem 0;
    padding: 1rem 1.1rem;

    background: #f4efe4;

    border: 1px solid rgba(42,114,143,.12);

    border-left: 5px solid var(--retro-teal);

    border-radius: 14px;

    transition: .25s ease;
}

.mission-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.mission-card.current {
    border-left-color: var(--rocket-orange);
}

.mission-header {
    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:.75rem;

    gap:1rem;

    flex-wrap:wrap;
}

.mission-header a {
    font-weight:700;

    color:var(--deep-navy);

    text-decoration:none;
}

.mission-header a:hover {
    color:var(--rocket-orange);
}

.mission-status {
    padding:.3rem .7rem;

    border-radius:999px;

    font-size:.72rem;

    font-weight:700;

    letter-spacing:.08em;
}

.building {
    background:#FFF6D8;
}

.live {
    background:#E4F8E7;
}

.current {
    background:#FFE6DD;
}