@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-dark: #000000;
  --text-dark: #000000;
  --text-light: #ffffff;
  --text-muted: #71717a;
  --border-light: #e4e4e7;
  --accent-red: #ff2b2b;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   FULLSCREEN MAGAZINE HERO (EXACT BLÆD AESTHETIC)
   ========================================================================== */
.blad-hero-screen {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0px 36px 40px;
}

/* TOP MASTHEAD */
.blad-masthead {
  position: relative;
  z-index: 20;
  width: 100%;
}

.masthead-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.brand-title {
  font-size: clamp(55px, 9.5vw, 140px);
  font-weight: 900;
  line-height: 0.84;
  padding: 20px 20px 20px 0px;
  background-color: rgb(255, 255, 255);
  letter-spacing: -0.055em;
  color: #000000;
  text-transform: uppercase;
  margin-left: -4px;
}

.ligature-al {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  letter-spacing: -0.18em;
  margin-right: -0.06em;
}

.ligature-al .char-a {
  position: relative;
  z-index: 1;
}

.ligature-al .char-l {
  position: relative;
  z-index: 2;
  rotate: -18deg;
  margin: 0 0.31em 0 0.07em;
}




/* RIGHT EDITORIAL HERO IMAGE */
.hero-image-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  z-index: 1;
  padding: 15px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 0px 20px 20px 0px;
  object-position: center top;
}

.hero-img-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.4) 15%, transparent 40%),
              linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 35%); */
  pointer-events: none;
}

/* BOTTOM-LEFT HEADLINE & ACTION */
.hero-bottom-left {
  position: relative;
  z-index: 20;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.editorial-main-headline {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500;
  line-height: 0.90;
  letter-spacing: -0.04em;
  color: #000000;
  text-transform: uppercase;
}

/* INLINE VIDEO PILL IN PLACE OF 'O' IN MOMENT */
.inline-video-pill-wrap {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 0.08em;
  position: relative;
  top: -0.06em;
}

.inline-video-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(80px, 11vw, 150px);
  height: clamp(42px, 6vw, 70px);
  border-radius: 100px;
  overflow: hidden;
  text-decoration: none;
  border: 1.5px solid #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.inline-video-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border-color: #ff9100;
}

.btn-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: contrast(1.1);
}

.btn-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.25); */
  transition: background 0.2s ease;
}

.inline-video-btn:hover .btn-video-overlay {
  /* background: rgba(0, 0, 0, 0.1); */
}

.btn-video-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.btn-video-label svg {
  transition: transform 0.2s ease;
}

.inline-video-btn:hover .btn-video-label svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   RELEASES SECTION & MATRIX
   ========================================================================== */
.releases-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}

.releases-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #000000;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.registry-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.registry-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #000000;
  text-transform: uppercase;
  margin-top: 4px;
}

.platform-tabs {
  display: flex;
  gap: 8px;
  background: #f4f4f5;
  padding: 4px;
  border-radius: 100px;
}

.ptab {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #71717a;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-main);
}

.ptab.active {
  background: #000000;
  color: #ffffff;
}

/* RELEASES LIST & CARDS */
.releases-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rel-card {
  background: #ffffff;
  border: 1.5px solid #000000;
  border-radius: 20px;
  padding: 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.rel-card.latest-highlight {
  background: #fafafa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.rel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.rel-version-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rel-app-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.rel-card:hover .rel-app-icon {
  transform: scale(1.04) rotate(-1deg);
}

.rel-title-sub-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.rel-v-title {
  font-size: 30px;
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.rel-date {
  font-size: 13px;
  color: #71717a;
  font-weight: 500;
}

.rel-status-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #000000;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 100px;
}

.rel-tagline {
  font-size: 17px;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 20px;
}

.rel-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.rel-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #3f3f46;
  line-height: 1.45;
}

.rel-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #000000;
}

.rel-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #e4e4e7;
}

.btn-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #000000;
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-download-item:hover {
  background: #000000;
  color: #ffffff;
}

.btn-download-item:hover .item-platform-title,
.btn-download-item:hover .item-arch,
.btn-download-item:hover svg {
  color: #ffffff !important;
}

.item-platform-title {
  font-size: 14px;
  font-weight: 800;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-arch {
  font-size: 11px;
  font-family: var(--font-mono);
  color: #71717a;
  margin-top: 2px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.blad-footer {
  border-top: 2px solid #000000;
  padding: 40px 36px;
  background: #ffffff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-brand {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.f-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.f-desc {
  font-size: 12px;
  color: #71717a;
}

.f-nav {
  display: flex;
  gap: 24px;
}

.f-nav a {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
}

.f-nav a:hover {
  text-decoration: underline;
}

/* RESPONSIVE DESIGN FOR TABLETS AND MOBILE */
@media (max-width: 900px) {
  .blad-hero-screen {
    height: auto;
    min-height: 100vh;
    padding: 20px 24px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
  }

  .brand-title {
    font-size: clamp(50px, 12vw, 84px);
    padding: 5px 0 0;
  }

  .hero-image-backdrop {
    position: relative;
    width: 100%;
    height: 88vh;
    padding: 0;
    margin: 0;
  }

  .hero-img {
    border-radius: 20px;
  }

  .hero-bottom-left {
    position: relative;
    width: 100%;
    max-width: 100%;
    gap: 20px;
  }

  .editorial-main-headline {
    font-size: clamp(32px, 7vw, 56px);
  }

  .hero-action-pill {
    max-width: 100%;
  }

  .releases-container {
    padding: 60px 24px;
  }

  .releases-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .blad-hero-screen {
    padding: 16px 16px 32px;
    gap: 24px;
  }

  /* .brand-title {
    font-size: clamp(32px, 8.5vw, 48px);
    letter-spacing: -0.04em;
    padding: 6px 0;
  } */

  .ligature-al .char-l {
    rotate: -16deg;
    /* margin: 0 0.22em 0 0.04em; */
  }


  .editorial-main-headline {
    font-size: clamp(38px, 12vw, 50px);
    line-height: 1;
  }

  .hero-action-pill {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 16px;
    gap: 14px;
    text-align: center;
  }

  .action-info {
    align-items: center;
  }

  .btn-blad-download {
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
  }

  .releases-container {
    padding: 40px 16px;
  }

  .registry-title {
    font-size: 26px;
  }

  .platform-tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .ptab {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 11px;
  }

  .rel-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .rel-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .rel-version-box {
    gap: 10px;
    flex-wrap: wrap;
  }

  .rel-v-title {
    font-size: 24px;
  }

  .rel-tagline {
    font-size: 14px;
  }

  .rel-features li {
    font-size: 13px;
  }

  .rel-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn-download-item {
    padding: 14px 16px;
  }

  .blad-footer {
    padding: 30px 16px;
  }
}

/* ==========================================================================
   APPLE LIQUID GLASS FLOATING CTA & POPOVER MODAL
   ========================================================================== */
.liquid-contact-wrapper {
  position: fixed;
  bottom: 35px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Apple Liquid Glass Pill Button (Direct Mail Link) */
.liquid-glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.343);
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.05);
  backdrop-filter: blur(24px) saturate(200%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.14),
    0 2px 8px 0 rgba(0, 0, 0, 0.06),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.04);
  cursor: pointer;
  outline: none;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.liquid-glass-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 14px 40px 0 rgba(0, 0, 0, 0.2),
    0 4px 12px 0 rgba(0, 0, 0, 0.08),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.05);
}

.liquid-glass-btn:active {
  transform: scale(0.96);
}

/* Glass Specular highlight sheen (Continuous Periodic Sweep Animation) */
.glass-specular-reflection {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.65),
      transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: liquidGlassShine 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes liquidGlassShine {
  0% {
    left: -120%;
  }

  30%,
  100% {
    left: 200%;
  }
}

.liquid-pulse-glow {
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.btn-content-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.liquid-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.liquid-glass-btn:hover .liquid-icon-box {
  transform: rotate(-8deg) scale(1.05);
}

.icon-chat {
  width: 15px;
  height: 15px;
}

.online-indicator {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

.liquid-text {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #09090b;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@media (max-width: 640px) {
  .liquid-contact-wrapper {
    bottom: 25px;
    right: 22px;
  }

  .liquid-glass-btn {
    padding: 8px 18px 8px 12px;
  }
}

/* ==========================================================================
   STARTUP PRELOADER (EXACT MATCH TO APP STARTING LOGO ROTATION)
   ========================================================================== */
.preloader-fixed-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #f6f4f0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  user-select: none;
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}

/* Subtle Technical Grid with 4-way Radial & Edge Fade */
.preloader-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 36px 36px;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.163) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.161) 1px, transparent 1px);
  /* 4-sided edge vignette fade mask */
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000000 20%, rgba(0, 0, 0, 0.6) 50%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000000 20%, rgba(0, 0, 0, 0.6) 50%, transparent 85%);
}

.preloader-fixed-overlay.slide-up {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-center-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-center-logo {
  width: clamp(140px, 20vw, 220px);
  height: clamp(140px, 20vw, 220px);
  object-fit: contain;
  animation: logo-pulse 2s infinite ease-in-out;
}

@keyframes logo-pulse {
  0% {
    opacity: 0.9;
    rotate: 360deg;
  }

  50% {
    opacity: 1;
    rotate: 0deg;
  }

  100% {
    opacity: 1;
    rotate: 0deg;
  }
}