/* ==========================================================================
   Parley — sayparley.com
   Apple-caliber hardware product design system
   ========================================================================== */

:root {
  --bg-black: #000000;
  --bg-obsidian: #08080a;
  --bg-elevated: #121215;
  --bg-card-dark: #161619;
  --bg-light: #f5f5f7;
  --bg-white: #ffffff;

  --text-light: #f5f5f7;
  --text-light-muted: rgba(245, 245, 247, 0.68);
  --text-light-subtle: rgba(245, 245, 247, 0.44);

  --text-dark: #1d1d1f;
  --text-dark-muted: #6e6e73;

  --ios-blue: #0a84ff;
  --ios-blue-soft: rgba(10, 132, 255, 0.16);
  --ios-green: #30d158;
  --ios-green-soft: rgba(48, 209, 88, 0.16);
  --ios-purple: #bf5af2;
  --ios-purple-soft: rgba(191, 90, 242, 0.16);
  --ios-red: #ff453a;

  --border-dark: rgba(255, 255, 255, 0.11);
  --border-dark-strong: rgba(255, 255, 255, 0.2);
  --border-light: rgba(0, 0, 0, 0.08);

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  --max-width: 1180px;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-light);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-black);
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input,
select {
  font-family: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ==========================================================================
   Floating Frosted-Glass Pill Navbar (OpenHome x Apple)
   ========================================================================== */

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 880px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.35s var(--ease-apple), border-color 0.35s var(--ease-apple);
}

.nav-pill.scrolled {
  background: rgba(12, 12, 16, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.brand-mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 450;
  color: rgba(245, 245, 247, 0.72);
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b0b0e;
  background: linear-gradient(125deg, #dff0ff 0%, #f7f4f0 48%, #ffe7d0 100%);
  box-shadow:
    0 2px 14px rgba(255, 232, 210, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.22s var(--ease-apple), box-shadow 0.22s var(--ease-apple), filter 0.22s ease;
}

.nav-cta:hover {
  transform: translateY(-1px) scale(1.015);
  box-shadow:
    0 6px 24px rgba(255, 232, 210, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.nav-cta:active {
  transform: scale(0.985);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 18px;
}

.eyebrow-dark {
  color: #0066cc;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ios-green);
  box-shadow: 0 0 12px rgba(48, 209, 88, 0.9);
  animation: pulse-led 2.4s infinite ease-in-out;
}

@keyframes pulse-led {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 5.25rem);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.042em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.85rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.52;
  letter-spacing: -0.012em;
  color: var(--text-light-muted);
}

.lead-dark {
  color: var(--text-dark-muted);
}

.text-gradient {
  background: linear-gradient(180deg, #ffffff 15%, rgba(245, 245, 247, 0.56) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-apple), background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: #f5f5f7;
  color: #0b0b0d;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 12px 34px rgba(255, 255, 255, 0.22);
}

.btn-blue {
  background: var(--ios-blue);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(10, 132, 255, 0.32);
}

.btn-blue:hover {
  background: #2492ff;
  transform: translateY(-1.5px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1.5px);
}

/* ==========================================================================
   Section 1: Full-Bleed Cinematic Hero (Bangkok Night Market)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 136px 0 54px;
  overflow: hidden;
  background: #050507;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.015);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 7, 0.96) 0%,
      rgba(5, 5, 7, 0.84) 30%,
      rgba(5, 5, 7, 0.34) 56%,
      rgba(5, 5, 7, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 7, 0.48) 0%,
      rgba(5, 5, 7, 0) 28%,
      rgba(5, 5, 7, 0) 64%,
      rgba(0, 0, 0, 0.92) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy .display-xl {
  margin-bottom: 22px;
}

.hero-copy .display-xl span {
  display: block;
  color: rgba(245, 245, 247, 0.56);
}

.hero-copy .lead {
  max-width: 470px;
  margin-bottom: 32px;
}

.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.telemetry-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.telemetry-item span {
  display: block;
  font-size: 13px;
  color: var(--text-light-muted);
  margin-top: 3px;
}

/* ==========================================================================
   Section 2: Industrial Design Product Reveal (Pure Obsidian)
   ========================================================================== */

.section-obsidian {
  position: relative;
  padding: clamp(92px, 11vw, 148px) 0;
  background: var(--bg-black);
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(46px, 6vw, 72px);
}

.section-header-center .lead {
  margin-top: 18px;
}

.product-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #040406;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
}

.product-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.55);
}

.hardware-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hardware-pill {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  transition: border-color 0.25s ease, transform 0.25s var(--ease-apple);
}

.hardware-pill:hover {
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.hardware-pill .pill-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ios-blue);
  margin-bottom: 8px;
}

.hardware-pill h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: #ffffff;
}

.hardware-pill p {
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Section 3: Interactive Live Parley Hardware Simulator
   ========================================================================== */

.section-sim {
  padding: clamp(86px, 10vw, 136px) 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, #111521 0%, #050507 62%, #000000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.sim-controls-block .display-lg {
  margin-bottom: 18px;
}

.sim-controls-block .lead {
  margin-bottom: 30px;
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.lang-chip {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 245, 247, 0.78);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-apple);
}

.lang-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.lang-chip.active {
  background: #f5f5f7;
  color: #0b0b0d;
  border-color: #f5f5f7;
}

.turn-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 26px;
}

.turn-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 11px;
  border: none;
  background: transparent;
  color: rgba(245, 245, 247, 0.68);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.22s var(--ease-apple);
}

.turn-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.led-green { background: var(--ios-green); box-shadow: 0 0 10px rgba(48, 209, 88, 0.85); }
.led-blue { background: var(--ios-blue); box-shadow: 0 0 10px rgba(10, 132, 255, 0.85); }
.led-purple { background: var(--ios-purple); box-shadow: 0 0 10px rgba(191, 90, 242, 0.85); }

.sim-principles {
  display: grid;
  gap: 14px;
}

.sim-principle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.sim-principle-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ios-blue);
  padding-top: 2px;
}

.sim-principle strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.sim-principle p {
  font-size: 13.5px;
  color: var(--text-light-muted);
}

/* Interactive Matte-Black Parley Device Hardware Mockup */

.device-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.parley-chassis {
  position: relative;
  width: min(330px, 100%);
  padding: 16px;
  border-radius: 36px;
  background: linear-gradient(155deg, #25262b 0%, #121215 38%, #0a0a0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.85),
    0 0 60px var(--device-glow, rgba(48, 209, 88, 0.16)),
    inset 0 1px 1px rgba(255, 255, 255, 0.22);
  transition: box-shadow 0.45s var(--ease-apple);
}

.chassis-speaker {
  width: 68px;
  height: 5px;
  margin: 2px auto 14px;
  border-radius: 99px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 3px,
    transparent 3px 6px
  );
}

.chassis-button {
  position: absolute;
  right: -7px;
  top: 120px;
  width: 7px;
  height: 68px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(180deg, #3a3b42 0%, #1d1e22 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease;
}

.chassis-button.pressed {
  transform: translateX(-2px);
  background: var(--ios-blue);
}

.oled-screen {
  background: #000000;
  border-radius: 24px;
  padding: 16px 15px 15px;
  min-height: 368px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.oled-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.65);
  padding-bottom: 10px;
}

.oled-pair {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(245, 245, 247, 0.85);
  letter-spacing: 0.04em;
}

.oled-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto 0;
  padding: 12px 0;
}

.oled-card {
  border-radius: 16px;
  padding: 14px 15px;
  transition: opacity 0.26s ease, transform 0.26s var(--ease-apple), background 0.3s ease;
}

.oled-card-heard {
  background: #161619;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.oled-card-label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.52);
  margin-bottom: 6px;
}

.oled-card-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 550;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.oled-card-translated {
  background: var(--ios-blue);
  box-shadow: 0 10px 26px rgba(10, 132, 255, 0.34);
}

.oled-card-translated.mode-command {
  background: #5b2c82;
  box-shadow: 0 10px 26px rgba(191, 90, 242, 0.28);
}

.oled-card-translated .oled-card-label {
  color: rgba(255, 255, 255, 0.78);
}

.oled-card-sub {
  margin-top: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
}

.oled-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.oled-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.oled-latency {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(245, 245, 247, 0.56);
}

.chassis-led-strip {
  width: 72px;
  height: 3.5px;
  margin: 13px auto 2px;
  border-radius: 99px;
  background: var(--ios-green);
  box-shadow: 0 0 18px var(--ios-green);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ptt-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.2s var(--ease-apple);
}

.ptt-trigger:hover {
  background: rgba(255, 255, 255, 0.13);
}

.ptt-trigger.holding {
  background: var(--ios-green);
  border-color: var(--ios-green);
  color: #041208;
  transform: scale(0.97);
  box-shadow: 0 0 32px rgba(48, 209, 88, 0.45);
}

/* ==========================================================================
   Section 4: World Travel 21-30 (Apple Light Canvas)
   ========================================================================== */

.section-light {
  padding: clamp(92px, 11vw, 148px) 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-light .display-lg {
  color: var(--text-dark);
}

.bento-travel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d10;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s var(--ease-apple), box-shadow 0.45s var(--ease-apple);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.18);
}

.story-card.span-2 {
  grid-column: 1 / -1;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s var(--ease-apple);
}

.story-card:hover img {
  transform: scale(1.025);
}

.story-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.location-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(12, 12, 16, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.story-caption {
  max-width: 560px;
}

.story-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 10px;
}

.translation-bubble {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(14, 14, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.translation-bubble .orig {
  font-size: 13px;
  color: rgba(245, 245, 247, 0.76);
}

.translation-bubble .trans {
  font-size: 15px;
  font-weight: 600;
  color: #7cc0ff;
}

/* ==========================================================================
   Section 5: Full-Bleed Atmospheric Story (OpenHome Tribute - Rainy Studio)
   ========================================================================== */

.feature-cinema {
  position: relative;
  min-height: clamp(580px, 82vh, 840px);
  display: flex;
  align-items: flex-end;
  padding: 88px 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  background: #06070a;
}

.feature-cinema-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-cinema-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.feature-cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(5, 6, 9, 0.94) 0%,
      rgba(5, 6, 9, 0.76) 32%,
      rgba(5, 6, 9, 0.12) 60%,
      rgba(5, 6, 9, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 9, 0.35) 0%,
      rgba(5, 6, 9, 0) 35%,
      rgba(5, 6, 9, 0.75) 100%
    );
}

.feature-cinema-copy {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.feature-cinema-copy .display-lg {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  margin-bottom: 18px;
}

.feature-cinema-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 245, 247, 0.78);
}

/* ==========================================================================
   Section 6: Global Professionals 30-45 (Conference Lounge)
   ========================================================================== */

.section-pro {
  padding: clamp(92px, 11vw, 148px) 0;
  background: var(--bg-obsidian);
}

.pro-hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  margin-bottom: 24px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.65);
}

.pro-hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pro-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
}

.pro-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.pro-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #ffffff;
}

.pro-card p {
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Section 7: Companion App + Precision Specs
   ========================================================================== */

.section-specs {
  padding: clamp(92px, 11vw, 148px) 0;
  background: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.companion-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #141722 0%, #0d0e12 58%, #121215 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: clamp(56px, 7vw, 88px);
}

.companion-banner .display-md {
  margin-bottom: 14px;
}

.companion-banner .lead {
  font-size: 16px;
  margin-bottom: 24px;
}

.companion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.companion-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: rgba(245, 245, 247, 0.86);
}

.companion-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ios-blue);
  flex-shrink: 0;
}

/* iPhone Companion Card Preview */
.iphone-card {
  background: #0a0a0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65);
}

.iphone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.iphone-header strong {
  font-size: 15px;
  font-weight: 600;
}

.iphone-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ios-green);
}

.iphone-rows {
  display: grid;
  gap: 10px;
}

.iphone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.iphone-row span {
  font-size: 13.5px;
  color: var(--text-light-muted);
}

.iphone-row strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

/* Specs Grid */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-cell {
  background: #070709;
  padding: 28px;
}

.spec-cell dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-subtle);
  margin-bottom: 10px;
}

.spec-cell dd {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}

.spec-cell p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Section 8: Early Access Finale & Footer
   ========================================================================== */

.section-cta {
  padding: clamp(96px, 12vw, 156px) 0 clamp(76px, 8vw, 110px);
  background: radial-gradient(ellipse 65% 60% at 50% 100%, rgba(10, 132, 255, 0.18) 0%, #000000 72%);
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
}

.cta-box .display-lg {
  margin-bottom: 18px;
}

.cta-box .lead {
  margin-bottom: 34px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 490px;
  margin: 0 auto 14px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: 15px;
  color: #ffffff;
}

.waitlist-form input::placeholder {
  color: rgba(245, 245, 247, 0.45);
}

.waitlist-note {
  font-size: 12.5px;
  color: var(--text-light-subtle);
  min-height: 20px;
}

.waitlist-note.success {
  color: var(--ios-green);
}

.waitlist-note.error {
  color: var(--ios-red);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #000000;
  padding: 36px 0 46px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light-subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Early Access Sheet Modal (Apple Sheet Style)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 32px;
  border-radius: 28px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s var(--ease-apple);
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(245, 245, 247, 0.8);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.modal-sheet h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.modal-sheet > p {
  font-size: 14.5px;
  color: var(--text-light-muted);
  margin-bottom: 22px;
}

.modal-field {
  margin-bottom: 14px;
}

.modal-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 247, 0.72);
  margin-bottom: 7px;
}

.modal-field input,
.modal-field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 15px;
  outline: none;
}

.modal-field input:focus,
.modal-field select:focus {
  border-color: var(--ios-blue);
}

.modal-field select option {
  background: #141418;
  color: #ffffff;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-telemetry,
  .hardware-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sim-grid,
  .companion-banner,
  .pro-cards,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .bento-travel {
    grid-template-columns: 1fr;
  }

  .story-card.span-2 {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 112px;
    padding-bottom: 40px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 7, 0.55) 0%,
        rgba(5, 5, 7, 0.25) 36%,
        rgba(5, 5, 7, 0.88) 72%,
        rgba(0, 0, 0, 0.98) 100%
      );
  }

  .feature-cinema-scrim {
    background: linear-gradient(
      180deg,
      rgba(5, 6, 9, 0.28) 0%,
      rgba(5, 6, 9, 0.52) 50%,
      rgba(5, 6, 9, 0.94) 100%
    );
  }

  .waitlist-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
  }

  .companion-list {
    grid-template-columns: 1fr;
  }
}
