/* ==========================================
   BREQNET — LANDING PAGE
   Stage A Design System
   Original Version 1.0
   ========================================== */

    :root {
  font-synthesis: none;
  
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --surface-soft: #F2F2F7;
  --text: #1C1C1E;
  --muted: #636366;
  --border: #E5E5EA;

  --green: #34C759;
  --green-hover: #28B64B;
  --green-soft: #E5F8E6;

  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 16px 50px rgba(20, 30, 45, .08);

  --font: -apple-system, BlinkMacSystemFont,
        "SF Pro Display", "Segoe UI",
        sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: auto;
}

button, input, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

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

/* Main layout */

.landing {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
 background: linear-gradient(135deg, #f9fafc 0%, #f4f6fa 52%, #f9fafc 100%);
}

.landing-container {
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
}

/* Header */

.landing-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 25px;
}

/* Hero */

.landing-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 620px;
  padding-top: 50px;
  padding-bottom: 30px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 490px);
}

.hero-eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
font-size: clamp(37.4px, 3.825vw, 57.8px);  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.04;
}

.hero-title .accent {
  color: var(--green);
}

.hero-description {
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

/* CTA buttons */

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 370px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .015em;
  cursor: pointer;
  transition:
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

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

.btn-primary {
  background: var(--green);
  color: #07170B;
}

.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 8px 24px rgba(52,199,89,.18);
}

.btn-secondary {
  background: rgba(255,255,255,.88);
  border-color: #D1D1D6;
  color: var(--text);
}

.btn-secondary:hover {
  background: #FFFFFF;
}

/* Globe */

.hero-globe {
  position: absolute;
  z-index: 1;
  width: min(74vw, 1050px);
  aspect-ratio: 1;
  right: max(-15vw, -240px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-globe img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Video launch button */

.video-launch {
  position: absolute;
  z-index: 4;
  right: 6%;
  top: 57%;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 22px 12px 12px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .25s ease;
}

.video-launch:hover {
  transform: translateY(-3px);
}

.video-play-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFFFF;
}

/* Footer */

.landing-footer {
  position: relative;
  z-index: 3;
  padding-bottom: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}

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

.footer-copyright {
  margin: 10px 0 0;
  color: #8E8E93;
  font-size: 11px;
}

/* ==========================================
   CINEMATIC VIDEO MODAL
   ========================================== */

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12,18,28,.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .35s ease,
    visibility .35s ease;
}

.video-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal {
  position: relative;
  width: min(100%, 980px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.96);
  box-shadow: 0 35px 100px rgba(0,0,0,.25);
  transform: translateY(24px) scale(.94);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.video-overlay.is-open .video-modal {
  transform: translateY(0) scale(1);
}

.video-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 18px;
}

.video-modal-title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.video-modal-description {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.video-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.video-close:hover {
  background: var(--border);
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #080F14;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */

@media (max-width: 900px) {
  .landing-container {
    width: min(100% - 48px, 1320px);
  }

  .landing-hero {
    min-height: 700px;
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero-globe {
    width: 650px;
    height: 650px;
    right: -200px;
    top: 55%;
    opacity: 1;
}

  .video-launch {
    top: auto;
    right: 24px;
    bottom: 80px;
  }
}


/* ==========================================
   BREQNET — MOBILE LANDING
   ========================================== */

@media (max-width: 600px) {

  .landing {
    min-height: 100svh;
    overflow: hidden;
  }

  .landing-container {
    width: calc(100% - 36px);
  }

  .landing-header {
    padding-top: 18px;
  }

  .landing-hero {
    min-height: 0;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 28px;
    padding-bottom: 150px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(27px, 7vw, 35px);
    line-height: 1.1;
    letter-spacing: -.05em;
  }

  .hero-description {
    margin: 16px 0 22px;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Account buttons */

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  .hero-actions > .btn-primary,
  .hero-actions > .btn-secondary {
    min-width: 0;
    min-height: 46px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 12px;
  }

  /* Demo */

  .demo-divider {
    grid-column: 1 / -1;
    margin: 10px 0 2px;
    gap: 10px;
  }

  .demo-divider span {
    font-size: 9px;
    letter-spacing: .9px;
  }

  .hero-actions > .btn-demo {
    grid-column: 1 / -1;
    min-height: 46px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 12px;
    background: rgba(255,255,255,.85);
  }

  .demo-description {
    grid-column: 1 / -1;
    margin: -5px 0 0;
    font-size: 10px;
    text-align: center;
    color: #86868B;
  }

  /* Earth */

  .hero-globe {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -280px;
    top: auto;
    bottom: -175px;
    transform: none;
    opacity: 1;
    pointer-events: none;
  }

  /* Video */

  .video-launch {
    top: auto;
    bottom: 42px;
    left: 0;
    right: auto;
    padding: 7px 12px 7px 7px;
    gap: 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .video-play-icon {
    width: 28px;
    height: 28px;
  }

 
/* Mobile footer — single line */

.landing-footer {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 8px;
    background: #F5F5F7;
}

.footer-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 10px;
    white-space: nowrap;
}

.footer-copyright {
    margin: 0;
    font-size: 9px;
    white-space: nowrap;
}

  /* Video modal */

  .video-overlay {
    padding: 12px;
  }

  .video-modal {
    padding: 10px;
    border-radius: 19px;
  }

  .video-modal-title {
    font-size: 17px;
  }

  .video-modal-description {
    font-size: 12px;
  }

  .video-frame {
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
