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

:root {
  /* --- Colors --- */
  --dark: #363053;
  --lavender: #e6e4ff;
  --gray: #5b6373;
  --purple: #9855cb;
  --pink: #e180c4;
  --green: #26d99d;
  --gold: #fdbb47;
  --yellow: #e2aa38;
  --white: #ffffff;
  --dark-text: #363053;

  /* Extended palette */
  --indigo: #615bfc;
  --light-blue: #a2def6;
  --light-gold: #ffd471;
  --soft-purple: #c8b8e8;
  --rose-glow: #d79be8;
  --cream: #fbf7f2;
  --soft-pink-bg: #ecd7f4;
  --muted-gray: #b3b3b3;

  /* Gradient stops */
  --grad-gold: #bb8f42;
  --grad-rose: #cf51a1;
  --grad-deep-purple: #531572;

  /* --- Typography --- */
  --font-sans: "Poppins", sans-serif;
  --font-serif: "Baskervville", serif;

  /* Fluid font sizes (375px → 1920px) */
  --fs-hero: clamp(28px, 4.44vw, 64px);
  --fs-h2: clamp(32px, 4.44vw, 64px);
  --fs-h3: clamp(24px, 2.22vw, 32px);
  --fs-body: clamp(16px, 1.25vw, 20px);
  --fs-small: clamp(14px, 1.04vw, 16px);
  --fs-tag: clamp(13px, 1.11vw, 16px);

  /* --- Fluid spacing --- */
  --space-xs: clamp(8px, 0.83vw, 12px);
  --space-sm: clamp(16px, 1.39vw, 20px);
  --space-md: clamp(24px, 2.78vw, 40px);
  --space-lg: clamp(48px, 5.56vw, 80px);
  --space-xl: clamp(80px, 11.11vw, 160px);
  --space-section: clamp(60px, 8.33vw, 120px);
}

html {
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-sans);
  color: var(--dark);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== UTILITIES ===== */
.section-bg,
.section-bg-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.section-bg-2 {
  z-index: 1;
}
.section-tag {
  font-family: var(--font-sans);
  font-size: var(--fs-tag);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
  color: var(--dark);
}
.heading-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: clamp(36px, 4.17vw, 60px);
  color: var(--dark);
}
.body-text {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: clamp(24px, 1.94vw, 28px);
  color: var(--dark);
}
.body-text.centered,
.centered {
  text-align: center;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 40px;
  left: 80px;
  right: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    border-radius 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}
.header--scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  padding: 0 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}
.header--scrolled .logo {
  color: var(--dark);
}
.header--scrolled .btn-cta-small {
  background: rgba(54, 48, 83, 0.08);
  color: var(--dark);
}
.logo {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  line-height: 24px;
  transition: color 0.4s ease;
}
.nav-pills {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  padding: 6px;
  border-radius: 100px;
  height: 48px;
  align-items: center;
}
.nav-pill {
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  line-height: 24px;
  padding: 6px 14px;
  border-radius: 100px;
  transition: background 0.3s;
}
.nav-pill.active {
  background: var(--lavender);
}
.nav-pill:hover:not(.active) {
  background: rgba(230, 228, 255, 0.4);
}
.btn-cta-small {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  padding: 10px 20px;
  border-radius: 100px;
  height: 48px;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.btn-arrow {
  width: 16px;
  height: 16px;
}
.apple-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== Hamburger Button ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  z-index: 101;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
}
.header--scrolled .hamburger-line {
  background: var(--dark);
}
.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hamburger.is-active .hamburger-line {
  background: var(--lavender);
}

/* ===== Mobile Nav Overlay ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(54, 48, 83, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-nav-link {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--lavender);
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.3s ease;
}
.mobile-nav-link:hover {
  color: var(--white);
}
.mobile-nav-cta {
  opacity: 0;
  transform: translateY(20px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: clamp(500px, 60vw, 865px);
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(212, 208, 234, 0.95) 0%,
    rgba(212, 208, 234, 0.7) 40%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.hero-overlay-clip {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
}
.hero-overlay-img {
  position: absolute;
  width: 111.1%;
  height: 115.97%;
  left: -3.61%;
  top: -7.91%;
  opacity: 0.35;
  mix-blend-mode: soft-light;
}
.hero-gradient-overlay {
  display: none;
}
.hero-content {
  position: absolute;
  top: calc(50% + 0.5px);
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 896px;
  width: 100%;
  padding: clamp(48px, 6.67vw, 96px) clamp(24px, 4vw, 56px)
    clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}
.hero-text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.hero-tag {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  padding-bottom: 4px;
}
.hero-title span {
  font-family: var(--font-sans);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--dark);
  text-transform: capitalize;
  letter-spacing: 2.56px;
  line-height: 1.05;
}
.hero-title .gradient-text {
  background: linear-gradient(
    148.14deg,
    rgb(220, 170, 90) 0%,
    rgb(230, 130, 210) 50%,
    rgb(170, 120, 240) 75%,
    rgb(110, 115, 255) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 12px;
  margin-bottom: -12px;
}
.hero-desc {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--dark);
  line-height: clamp(22px, 1.94vw, 28px);
  width: 100%;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    139.9deg,
    rgb(198, 189, 250) 0%,
    rgb(247, 201, 255) 100%
  );
  padding: 10px 24px;
  border-radius: 100px;
  height: 52px;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-secondary {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 100px;
  height: 52px;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
}

/* ===== SHARED GRADIENT BACKDROP (Tech + Battery + Dimensions) ===== */
.gradient-backdrop {
  position: relative;
  background:
    radial-gradient(circle at 0% 20%, rgba(175, 205, 245, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 100% 60%, rgba(180, 232, 180, 0.7) 0%, transparent 50%),
    #f9f8fc;
  background-attachment: fixed;
}

/* ===== WHEN TECHNOLOGY WORKS (CSS State Machine) ===== */
/* Scroll runway — 300vh for 4 states */
.tech-works-scroll {
  position: relative;
  width: 100%;
  height: 500vh;
}
.tech-works-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.tech-works-sticky > .section-bg,
.tech-works-sticky > .section-bg-2 {
  display: none;
}
.tech-works-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.17vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
.tech-works-header {
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}
.tech-works-header .body-text {
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.tech-works-content {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.tech-works-left {
  position: relative;
  min-height: 260px;
  width: 500px;
  flex-shrink: 0;
}
.tech-text-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.tech-question {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 42px;
  color: var(--dark-text);
  max-width: 460px;
  margin-bottom: 36px;
}
.comparison {
  margin-bottom: 20px;
}
.comparison-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.purple-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}
.comparison-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
}
.comparison-answer {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 26px;
  padding-left: 18px;
}
[data-active-state="0"] .tech-text-layer[data-state="0"],
[data-active-state="1"] .tech-text-layer[data-state="1"],
[data-active-state="2"] .tech-text-layer[data-state="2"],
[data-active-state="3"] .tech-text-layer[data-state="3"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile-only images hidden on desktop */
.tech-mobile-img {
  display: none;
}

.tech-works-images {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  height: 340px;
}

.tech-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  will-change: transform, opacity;
}

/* Decorative glass bubbles */
.glass-bubble {
  position: absolute;
  border-radius: 150px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 18px 18px 10px -20px white,
    inset -14px -14px 7px -12px var(--muted-gray);
  z-index: 3;
}
.glass-bubble.large {
  width: 230px;
  height: 230px;
  top: 15%;
  right: 8%;
}
.glass-bubble.small {
  width: 134px;
  height: 134px;
  bottom: 8%;
  left: 6%;
}

/* ===== LIFE BATTERY ===== */
.life-battery {
  position: relative;
  width: 100%;
  padding: var(--space-xl) 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.life-battery > .section-bg,
.life-battery > .section-bg-2 {
  display: none;
}
.battery-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 960px;
  padding: 0 clamp(16px, 2.78vw, 40px);
}
.battery-inner .body-text {
  max-width: 520px;
  color: var(--gray);
}
.battery-visual {
  margin-top: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.battery-container {
  box-shadow:
    0px 0px 23.1px 0px rgba(214, 60, 114, 0.6),
    0px 0px 78.256px 0px var(--rose-glow),
    0px 0px 29.128px 0px rgba(253, 187, 71, 0.54);
  border-radius: 24px;
  padding: 2px;
  position: relative;
}
.battery-cells {
  display: flex;
  gap: 4px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  box-shadow: inset 6px 6px 12.6px 0px rgba(0, 0, 0, 0.18);
}
.battery-cell {
  flex: 1;
  height: 220px;
  min-width: 180px;
  border: 5px solid var(--cell-border);
  background: radial-gradient(
    ellipse at bottom right,
    var(--cell-grad-1),
    var(--cell-grad-2)
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 10px 10px 6px 0px rgba(0, 0, 0, 0.16);
}
.battery-cell:first-child {
  border-radius: 20px 0 0 20px;
}
.battery-cell:last-child {
  border-radius: 0 20px 20px 0;
}
.battery-nub {
  width: 28px;
  height: 100px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0 12px 12px 0;
  box-shadow:
    0px 0px 23.1px 0px rgba(214, 60, 114, 0.6),
    inset 6px 6px 12.6px 0px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.battery-label {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  line-height: 28px;
}
.battery-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  line-height: 36px;
}

/* ===== DIMENSION CARDS ===== */
.dimensions {
  width: 100%;
  overflow-x: auto;
  padding: 40px 0;
  -webkit-overflow-scrolling: touch;
}
.dimensions::-webkit-scrollbar {
  display: none;
}
.dimensions-track {
  display: flex;
  gap: 24px;
  padding: 0 40px;
  width: max-content;
}
.dimension-card {
  width: 840px;
  height: 460px;
  border-radius: 20px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0px 10px 15px rgba(0, 0, 0, 0.1),
    0px 4px 6px rgba(0, 0, 0, 0.1);
}
.dimension-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 124, 124, 0.2);
}
.dimension-card-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 474px;
  background: linear-gradient(
    to left,
    rgba(97, 91, 252, 0.1),
    rgba(251, 247, 242, 0.1)
  );
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
}
.dimension-card-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--lavender);
  line-height: 36px;
  margin-bottom: 16px;
}
.dimension-divider {
  height: 3px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.dimension-label {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #e6e4ff;
  line-height: 28px;
  margin-bottom: 4px;
}
.dimension-section {
  margin-bottom: 10px;
}
.dimension-section p {
  font-size: 15px;
  font-weight: 400;
  color: var(--lavender);
  line-height: 22px;
}

.dimension-description {
  font-size: 15px;
  font-weight: 500;
  color: rgba(230, 228, 255, 0.75);
  line-height: 22px;
  margin-bottom: 12px;
}

/* ===== ONE ENGINE + PHONE ===== */
.one-engine {
  position: relative;
  width: 100%;
  min-height: auto;
  overflow: hidden;
  padding: 80px 0;
}
.engine-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}
.engine-heading {
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.4;
}
.engine-heading-sans {
  font-family: var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(27px, 3.96vw, 57px);
  line-height: clamp(33px, 3.96vw, 57px);
  color: #363053;
}
.engine-heading .heading-italic {
  font-size: clamp(33px, 4.58vw, 66px);
}
.engine-heading .faded {
  color: #363053;
}
.engine-heading-sans.faded {
  color: #363053;
}
.phone-mockup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.phone-bezel {
  width: clamp(260px, 20.8vw, 300px);
  border-radius: 40px;
  padding: 5px;
  background: linear-gradient(
    165.32deg,
    rgb(135, 144, 161) 0%,
    rgb(96, 104, 118) 15%,
    rgb(66, 69, 77) 35%,
    rgb(48, 50, 54) 55%,
    rgb(70, 74, 83) 75%,
    rgb(108, 118, 137) 90%,
    rgb(127, 138, 159) 100%
  );
  box-shadow:
    0px 40px 80px -16px rgba(5, 6, 10, 0.5),
    0px 20px 40px -10px rgba(5, 6, 10, 0.35),
    0px 6px 12px -3px rgba(5, 6, 10, 0.25);
}
.phone-screen {
  background: linear-gradient(180deg, var(--cream), var(--soft-pink-bg));
  border-radius: 34px;
  padding: 14px 16px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.phone-screen-chat {
  padding: 14px 0 0;
}
.phone-screen-chat .phone-notch {
  width: 86px;
  height: 24px;
  background: var(--dark);
  border-radius: 9999px;
  margin: 0 auto 6px;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 10px;
}
.chat-header-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.chat-header-menu {
  cursor: pointer;
  opacity: 0.7;
}
.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
  overflow: hidden;
}
.chat-bubble {
  font-size: 9.5px;
  line-height: 1.45;
  padding: 8px 11px;
  max-width: 82%;
  word-wrap: break-word;
  opacity: 0;
}
.chat-bubble.chat-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgb(230, 130, 210), rgb(170, 120, 240));
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}
.chat-bubble.chat-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.65);
  color: var(--dark);
  border-radius: 14px 14px 14px 4px;
}
.chat-input-bar {
  display: flex;
  align-items: center;
  margin: 10px 12px 8px;
  padding: 7px 8px 7px 12px;
  border: 1px solid #d8d5e0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}
.chat-input-placeholder {
  flex: 1;
  font-size: 9px;
  color: #a09cac;
  font-family: var(--font-sans);
}
.chat-send-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(230, 130, 210), rgb(170, 120, 240));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-tab-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 8px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.chat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 7px;
  font-family: var(--font-sans);
  color: rgb(170, 120, 240);
  opacity: 0.5;
  padding: 4px 12px;
  border-radius: 12px;
}
.chat-tab svg {
  width: 13px;
  height: 13px;
}
.chat-tab-active {
  opacity: 1;
  background: rgba(230, 130, 210, 0.1);
  font-weight: 600;
}

.engine-layout {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: clamp(520px, 50vw, 680px);
}
.feature-pill {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px 20px;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  width: clamp(260px, 22vw, 320px);
  box-shadow: inset 4px 3px 4px rgba(0, 0, 0, 0.15);
  position: absolute;
  z-index: 3;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  cursor: default;
}
.feature-pill:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 4px 3px 4px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.08);
}
/* Scatter pills around phone — overlapping edges */
.feature-pill:nth-child(2) {
  top: 4%;
  left: 8%;
  z-index: 1;
}
.feature-pill:nth-child(3) {
  top: 12%;
  right: 6%;
  z-index: 3;
}
.feature-pill:nth-child(4) {
  top: 34%;
  left: 4%;
  z-index: 3;
}
.feature-pill:nth-child(5) {
  top: 50%;
  right: 4%;
  z-index: 1;
}
.feature-pill:nth-child(6) {
  top: 66%;
  left: 10%;
  z-index: 3;
}

/* Battery segment pulse */
@keyframes segPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
.phone-progress-seg {
  animation: segPulse 2.4s ease-in-out infinite;
}
.phone-progress-seg.seg-green {
  animation-delay: 0.3s;
}
.phone-progress-seg.seg-gold {
  animation-delay: 0.6s;
}
.phone-progress-seg.seg-purple {
  animation-delay: 0.9s;
}

/* Battery percentage glow */
@keyframes pctGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0px transparent);
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(253, 187, 71, 0.4));
  }
}
.phone-battery-pct {
  animation: pctGlow 3s ease-in-out infinite;
}

/* One Engine entrance — hidden by default, GSAP reveals */
.phone-mockup {
  opacity: 0;
}
.feature-pill {
  opacity: 0;
}
.one-engine.is-revealed .phone-mockup,
.one-engine.is-revealed .feature-pill {
  opacity: 1;
}
.phone-insight[data-typewriter] .typewriter-text {
  visibility: hidden;
}
.phone-insight[data-fade-insight] {
  opacity: 0;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  position: relative;
  width: 100%;
  min-height: auto;
  overflow: hidden;
}
.how-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 85px clamp(20px, 2.78vw, 40px) 0;
  text-align: center;
}
.how-inner .heading-italic {
  margin: 8px 0;
}
.how-inner .body-text {
  font-size: clamp(18px, 1.67vw, 24px);
  max-width: 522px;
}
.engine-diagram {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 0;
  min-height: clamp(500px, 60vw, 900px);
}
.engine-spline {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 40vw, 550px);
  height: clamp(350px, 45vw, 650px);
  z-index: 1;
  overflow: visible;
}
.engine-spline spline-viewer {
  width: 100%;
  height: 100%;
}
.integration-icon {
  position: absolute;
  left: calc(var(--x) / 1440 * 100%);
  top: calc(var(--y) / 1754 * 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  will-change: transform, opacity;
}
.integration-icon img {
  width: 52px;
  height: 52px;
  padding: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0px 6px 20px rgba(120, 100, 180, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.integration-icon span {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

/* ===== LIVING INTELLIGENCE ===== */
.living-intelligence {
  position: relative;
  width: 100%;
  min-height: auto;
  overflow: hidden;
  padding: var(--space-xl) 0;
}
.living-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}
.living-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 40px;
}
.persona-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.glass-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0px 10px 15px rgba(0, 0, 0, 0.1),
    0px 4px 6px rgba(0, 0, 0, 0.1);
}
.persona-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.persona-header {
  display: flex;
  align-items: baseline;
}
.persona-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}
.persona-subtitle {
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
  opacity: 0.72;
}
.persona-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.persona-tag {
  padding: 8px 14px;
  border: 2px solid var(--gold);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  background: linear-gradient(
    180deg,
    var(--grad-gold),
    var(--grad-rose),
    var(--grad-deep-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.persona-energy {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.energy-text {
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
}
.energy-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--dark);
}
.context-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.context-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  border-radius: 24px;
  text-align: center;
  box-shadow: inset 4px 4px 4px rgba(0, 0, 0, 0.11);
}
.context-icon {
  width: 24px;
  height: 24px;
}
.context-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
}
.context-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
}
.alert-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 33px;
  border-radius: 16px;
  background: linear-gradient(
    to left,
    rgba(97, 91, 252, 0.1),
    rgba(251, 247, 242, 0.1)
  );
  border: 1px solid var(--indigo);
  backdrop-filter: blur(10px);
  box-shadow:
    0px 10px 15px rgba(0, 0, 0, 0.1),
    0px 4px 6px rgba(0, 0, 0, 0.1);
}
.alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.alert-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
}
.insight-columns {
  display: flex;
  gap: 20px;
}
.insight-card {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.insight-label {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.insight-label.pink {
  color: var(--pink);
}
.insight-label.purple {
  color: var(--purple);
}
.insight-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.insight-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.insight-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.insight-main {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
}
.insight-sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
  line-height: 28px;
}
.purple-text {
  color: var(--purple);
}
.event-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px;
  border-radius: 20px;
  background: linear-gradient(
    to left,
    rgba(97, 91, 252, 0.1),
    rgba(251, 247, 242, 0.1)
  );
  backdrop-filter: blur(10px);
  box-shadow:
    0px 10px 15px rgba(0, 0, 0, 0.1),
    0px 4px 6px rgba(0, 0, 0, 0.1);
}
.event-left,
.event-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.event-label {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
}
.event-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text);
}
.event-time {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text);
  text-align: right;
}
.event-detail {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  text-align: right;
}
.glass-circle {
  position: absolute;
  border-radius: 150px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 18px 18px 10px -20px white,
    inset -14px -14px 7px -12px var(--muted-gray);
  z-index: 1;
}

/* Decorative section bubbles (shared base) */
.section-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0.05)
  );
  border: 2.5px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 18px 18px 10px -20px white,
    inset -14px -14px 7px -12px var(--muted-gray),
    0 4px 20px rgba(0, 0, 0, 0.04);
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}

/* Living Intelligence bubbles */
.living-bubble-1 {
  width: 140px;
  height: 140px;
  top: 5%;
  right: 12%;
}
.living-bubble-2 {
  width: 130px;
  height: 130px;
  top: 50%;
  left: 10%;
}
.living-bubble-3 {
  width: 150px;
  height: 150px;
  bottom: 6%;
  right: 10%;
}

/* Who We Are bubbles */
.about-bubble-1 {
  width: 150px;
  height: 150px;
  bottom: 22%;
  left: 14%;
}

/* ===== WHO WE ARE ===== */
.who-we-are {
  position: relative;
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
}
.about-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-inner > .section-tag {
  margin-bottom: 32px;
}
.about-heading h2 {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.about-heading h2 i {
  font-family: var(--font-serif);
  font-weight: 400;
}
.about-accordion {
  display: flex;
  flex-direction: column;
}
.accordion-item {
  border-bottom: 1px solid rgba(54, 48, 83, 0.1);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 40px;
  font-weight: 400;
  color: var(--dark);
  transition: opacity 0.2s;
}
.accordion-trigger:hover {
  opacity: 0.7;
}
.accordion-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.accordion-item.open .accordion-arrow {
  transform: rotate(90deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.accordion-item.open .accordion-content {
  max-height: 2000px;
}
.accordion-content p {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
  line-height: 28px;
  padding-bottom: 16px;
}
.accordion-content p:last-child {
  padding-bottom: 24px;
}
.accordion-content .accordion-highlight {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  line-height: 36px;
}
.accordion-content .accordion-italic {
  font-family: var(--font-sans);
  font-style: normal;
}
.accordion-sub-heading {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 28px;
  margin: 0;
  padding: 8px 0 4px;
}
.accordion-sub-heading:first-child {
  padding-top: 0;
}

/* ===== COMMUNITY ===== */
.community {
  position: relative;
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}
.community-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Backdrop typography */
.community-backdrop {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -100px;
  position: relative;
  z-index: 1;
}
.community-backdrop-join {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.44vw, 64px);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2.56px;
  line-height: 0.96;
}
.community-backdrop-title {
  font-family: var(--font-sans);
  font-size: clamp(48px, 10.28vw, 148px);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.35;
}

/* Glass card */
.community-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 974px;
  width: 100%;
}
.community-body {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
  text-align: center;
}
.community-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.community-launch-headline {
  font-family: var(--font-sans);
  font-size: clamp(22px, 1.94vw, 28px);
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--grad-gold),
    var(--grad-rose),
    var(--grad-deep-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.community-launch-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
}

/* Email signup row */
.community-signup {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 974px;
}
.community-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(91, 99, 115, 0.4);
  border-radius: 32px;
  padding: 19px 25px;
  outline: none;
  box-shadow:
    0px 10px 15px -3px rgba(0, 0, 0, 0.1),
    0px 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease;
}
.community-input::placeholder {
  color: var(--dark-text);
  opacity: 0.72;
}
.community-input:focus {
  border-color: var(--purple);
}
.community-submit {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
  white-space: nowrap;
  background: linear-gradient(
    136.66deg,
    rgb(198, 189, 250) 0%,
    rgb(247, 201, 255) 100%
  );
  border: 1px solid var(--lavender);
  border-radius: 100px;
  padding: 12px 20px;
  height: 62px;
  cursor: pointer;
  box-shadow: 0px 4px 4px rgba(9, 9, 9, 0.25);
  transition: opacity 0.2s ease;
}
.community-submit:hover {
  opacity: 0.85;
}
.community-fine-print {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
  text-align: center;
  transition: color 0.3s ease;
}
.community-fine-print.msg-success {
  color: #26d99d;
}
.community-fine-print.msg-error {
  color: #ff6b6b;
}
.community-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  padding: clamp(24px, 5.56vw, 80px);
  overflow: hidden;
}
.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5.56vw, 80px);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: auto;
  max-width: 392px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
}
.footer-tagline {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
  background: linear-gradient(
    180deg,
    var(--grad-gold),
    var(--grad-rose),
    var(--grad-deep-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social img {
  width: 24px;
  height: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
}
.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-text);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-text);
  line-height: 28px;
}

/* ===== RESPONSIVE ===== */

/* --- Laptop / Small Desktop --- */
@media (max-width: 1024px) {
  /* Header */
  .header {
    left: 20px;
    right: 20px;
    top: 20px;
  }
  .nav-pills {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Tech Works — render as vertical list on mobile */
  .tech-works-scroll {
    height: auto;
  }
  .tech-works-sticky {
    position: static;
    height: auto;
    overflow: visible;
  }
  .tech-works-inner {
    height: auto;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .tech-works-content {
    flex-direction: column;
    gap: 48px;
    width: 100%;
    align-items: center;
  }
  .tech-works-left {
    position: static;
    width: 100%;
    max-width: 500px;
    min-height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
  .tech-text-layer {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .tech-question {
    font-size: 28px;
    line-height: 36px;
    margin-left: auto;
    margin-right: auto;
  }
  .comparison-item {
    justify-content: center;
  }
  .comparison-answer {
    padding-left: 0;
  }
  .tech-works-images {
    display: none;
  }
  .tech-mobile-img {
    display: block;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    margin: 24px auto 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  /* Dimension Cards */
  .dimension-card {
    width: 600px;
    height: 400px;
  }
  .dimension-card-info {
    width: 380px;
  }

  /* Phone / Engine */
  .phone-bezel {
    width: 260px;
  }
  .engine-layout {
    height: clamp(500px, 55vw, 650px);
  }
  .feature-pill {
    font-size: 14px;
    padding: 20px 16px;
    width: clamp(220px, 24vw, 280px);
  }

  /* Living Intelligence */
  .insight-columns {
    flex-direction: column;
  }
  .event-card {
    flex-direction: column;
    gap: 16px;
  }
  .event-right {
    text-align: left;
  }
  .event-time {
    text-align: left;
  }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer-top {
    flex-wrap: wrap;
    gap: 40px;
  }
}

/* --- Tablet --- */
@media (max-width: 768px) {
  /* Header */
  .btn-cta-small {
    padding: 8px 16px;
    font-size: 14px;
    height: 40px;
  }

  /* Hero */
  .hero-content {
    width: calc(100% - 40px);
  }

  /* Tech Works */
  .tech-mobile-img {
    max-width: 280px;
    border-radius: 18px;
  }
  .tech-question {
    font-size: 24px;
    line-height: 32px;
  }
  .glass-bubble,
  .section-bubble {
    display: none;
  }

  /* Life Battery */
  .battery-cell {
    height: 160px;
    min-width: 110px;
    padding: 12px;
  }
  .battery-label {
    font-size: 16px;
    line-height: 22px;
  }
  .battery-value {
    font-size: 22px;
    line-height: 28px;
  }
  .battery-nub {
    width: 24px;
    height: 80px;
  }

  /* Dimension Cards */
  .dimension-card {
    width: 480px;
    height: 380px;
  }
  .dimension-card-info {
    width: 320px;
  }
  .dimensions-track {
    gap: 16px;
  }

  /* Phone / Engine */
  .phone-bezel {
    width: clamp(240px, 50vw, 300px);
  }
  .engine-layout {
    height: 480px;
  }
  .feature-pill {
    font-size: 12px;
    padding: 16px 14px;
    width: clamp(180px, 26vw, 230px);
  }
  .feature-pill:nth-child(2) {
    top: 3%;
    left: 0;
  }
  .feature-pill:nth-child(3) {
    top: 6%;
    right: 0;
  }
  .feature-pill:nth-child(4) {
    top: 40%;
    left: 0;
  }
  .feature-pill:nth-child(5) {
    top: 43%;
    right: 0;
  }
  .feature-pill:nth-child(6) {
    top: 74%;
    left: 2%;
  }

  /* How It Works — icons overlaid on spline */
  .engine-diagram {
    position: relative;
    display: block;
    min-height: clamp(380px, 70vw, 500px);
  }
  .engine-spline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 65vw, 450px);
    height: clamp(350px, 70vw, 500px);
  }
  .integration-icons {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 10px;
    min-height: clamp(380px, 70vw, 500px);
  }
  .integration-icon {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100px;
    text-align: center;
  }

  /* Living Intelligence */
  .context-cards {
    flex-direction: column;
  }
  .context-card {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    padding: 20px;
  }
  .glass-card {
    padding: 24px;
  }
  .alert-card {
    padding: 20px;
  }
  .event-card {
    padding: 24px;
  }

  /* About */
  .about-inner {
    padding: 0 24px;
  }
  .about-heading h2 {
    font-size: 40px;
  }
  .accordion-trigger {
    font-size: 28px;
    padding: 20px 0;
  }
  .accordion-content .accordion-highlight {
    font-size: 22px;
    line-height: 30px;
  }
  .accordion-content p {
    font-size: 18px;
  }

  /* Community */
  .community {
    padding: 80px 0;
  }
  .community-inner {
    padding: 0 24px;
  }
  .community-card {
    padding: 40px 24px;
    border-radius: 24px;
  }
  .community-backdrop {
    margin-bottom: -60px;
  }
  .community-body {
    font-size: 18px;
  }
  .community-input {
    font-size: 16px;
    padding: 14px 20px;
  }
  .community-submit {
    font-size: 16px;
    height: 52px;
    padding: 10px 16px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-legal {
    gap: 16px;
  }
}

/* --- Mobile --- */
@media (max-width: 480px) {
  /* Header */
  .header {
    top: 16px;
    left: 16px;
    right: 16px;
  }
  .btn-cta-small {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Hero */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero {
    height: auto;
    min-height: 100svh;
  }
  .hero-inner {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 16px;
    gap: 20px;
    width: calc(100% - 32px);
    max-width: 480px;
  }

  /* Tech Works */
  .tech-mobile-img {
    max-width: 220px;
    border-radius: 16px;
  }
  .tech-question {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 20px;
  }
  .comparison {
    margin-bottom: 12px;
  }
  .comparison-label {
    font-size: 16px;
  }
  .comparison-answer {
    font-size: 16px;
    line-height: 22px;
  }
  .glass-bubble.large {
    width: 120px;
    height: 120px;
  }
  .glass-bubble.small {
    width: 70px;
    height: 70px;
  }

  /* Life Battery */
  .battery-cell {
    height: 110px;
    min-width: 70px;
    padding: 8px;
    border-width: 3px;
  }
  .battery-label {
    font-size: 13px;
    line-height: 18px;
  }
  .battery-value {
    font-size: 18px;
    line-height: 24px;
  }
  .battery-cells {
    padding: 12px;
    gap: 3px;
  }
  .battery-nub {
    width: 20px;
    height: 60px;
  }

  /* Dimension Cards */
  .dimension-card {
    width: 300px;
    height: 360px;
  }
  .dimension-card-info {
    width: calc(100% - 32px);
    bottom: 16px;
    left: 16px;
    padding: 14px;
  }
  .dimension-card-info h3 {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 8px;
  }
  .dimension-divider {
    margin-bottom: 8px;
  }
  .dimension-label {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 2px;
  }
  .dimension-section p {
    font-size: 11px;
    line-height: 15px;
  }
  .dimension-section {
    margin-bottom: 6px;
  }
  .dimension-description {
    font-size: 11px;
    line-height: 15px;
    margin-bottom: 6px;
  }
  .dimensions-track {
    padding: 0 20px;
    gap: 12px;
  }

  /* Phone / Engine */
  .phone-bezel {
    width: clamp(250px, 70vw, 310px);
  }
  .engine-layout {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
  }
  .phone-mockup {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-bottom: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .feature-pill {
    position: static;
    font-size: 14px;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .feature-pill:nth-child(n) {
    margin-left: 0;
    margin-right: 0;
  }

  /* How It Works */
  .engine-diagram {
    min-height: clamp(340px, 90vw, 420px);
  }
  .engine-spline {
    width: clamp(280px, 75vw, 380px);
    height: clamp(320px, 85vw, 420px);
  }
  .integration-icons {
    gap: 14px;
    padding: 30px 8px;
    min-height: clamp(340px, 90vw, 420px);
  }
  .integration-icon {
    width: 85px;
  }
  .integration-icon img {
    width: 44px;
    height: 44px;
    padding: 8px;
  }
  .integration-icon span {
    font-size: 11px;
  }
  .how-inner {
    padding: 60px 20px 60px;
  }

  /* Living Intelligence */
  .living-inner {
    padding: 0 16px;
  }
  .persona-tags {
    gap: 6px;
  }
  .persona-tag {
    font-size: 12px;
    padding: 6px 10px;
  }
  .persona-name {
    font-size: 24px;
  }
  .persona-subtitle {
    font-size: 20px;
  }
  .energy-text {
    font-size: 22px;
  }
  .energy-italic {
    font-size: 22px;
  }
  .insight-main {
    font-size: 16px;
    line-height: 22px;
  }
  .insight-sub {
    font-size: 16px;
    line-height: 22px;
  }
  .alert-text {
    font-size: 16px;
    line-height: 24px;
  }

  /* About */
  .who-we-are {
    padding: 80px 0;
  }
  .about-inner {
    padding: 0 20px;
  }
  .about-heading h2 {
    font-size: 32px;
  }
  .accordion-trigger {
    font-size: 22px;
  }
  .accordion-content p {
    font-size: 16px;
    line-height: 24px;
  }
  .accordion-content .accordion-highlight {
    font-size: 18px;
    line-height: 26px;
  }
  .accordion-sub-heading {
    font-size: 16px;
  }

  /* Community */
  .community-inner {
    padding: 0 16px;
  }
  .community-card {
    padding: 24px 16px;
  }
  .community-backdrop {
    margin-bottom: -40px;
  }
  .community-signup {
    flex-direction: column;
  }
  .community-input {
    width: 100%;
  }
  .community-submit {
    width: 100%;
  }
  .community-body {
    font-size: 16px;
    line-height: 24px;
  }
  .community-fine-print {
    font-size: 13px;
  }

  /* Footer */
  .footer-top {
    gap: 24px;
  }
  .footer-nav {
    gap: 14px;
    font-size: 16px;
  }
  .contact-item {
    font-size: 16px;
    gap: 12px;
  }
  .footer-legal a {
    font-size: 16px;
  }
  .footer-copyright {
    font-size: 13px;
  }
}
