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

:root {
  --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", "SF Pro Text",
          "Helvetica Neue", Arial, 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: antialiased;
}

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:
    radial-gradient(
      ellipse at 75% 35%,
      #EAF4F9 0%,
      transparent 58%
    ),
    var(--bg);
}

.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: 32px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.brand-name {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .27em;
  line-height: 1;
}

.brand-green {
  color: var(--green);
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .16em;
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 17px;
  background: rgba(255,255,255,.8);
  color: var(--text);
  cursor: pointer;
}

/* Hero */

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

.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(44px, 4.5vw, 68px);
  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: 850px;
    right: -430px;
    top: 55%;
    opacity: .65;
  }

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

@media (max-width: 600px) {
  .landing-container {
    width: calc(100% - 40px);
  }

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

  .brand-name {
    font-size: 21px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .language-select {
    padding: 9px 12px;
    font-size: 12px;
  }

  .landing-hero {
    min-height: 710px;
    padding-top: 70px;
  }

  .hero-title {
    font-size: clamp(39px, 10vw, 52px);
  }

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

  .hero-globe {
    width: 680px;
    right: -390px;
    top: 66%;
    opacity: .4;
  }

  .video-launch {
    right: auto;
    left: 20px;
    bottom: 65px;
  }

  .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;
  }
}

/* BREQNET — Language Dropdown */

.language-wrapper {
  position: relative;
  display: inline-flex;
  z-index: 100;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  max-height: 340px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(210, 218, 230, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 38px rgba(30, 48, 72, .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #152138;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option[aria-selected="true"] {
  background: #edf8f2;
  color: #159b56;
}
