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

:root {
  --obsidian: #05060B;
  --obsidian-2: #0B0D18;
  --android-green: #3DDC84;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --indigo: #261A66;
  --white: #FFFFFF;
  --offwhite: #F7F8FA;
  --ink: #0A0C14;
  --muted: #5A6275;
  --line: rgba(10, 12, 20, 0.08);
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==================== MINIMAL FLOATING NAV ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(5, 6, 11, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.nav-solid-light {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.nav.nav-solid-light .brand span { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: #FFFFFF; }
.nav.nav-solid-light .nav-link { color: var(--muted); }
.nav.nav-solid-light .nav-link:hover, .nav.nav-solid-light .nav-link.active { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--obsidian);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.94; }
.nav.nav-solid-light .nav-cta { background: var(--obsidian); color: #FFFFFF; }

/* ==================== 100VH CINEMATIC OPENING STAGE ==================== */
.stage {
  position: relative;
  min-height: 100vh;
  background: var(--obsidian);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 96px 0 64px;
  overflow: hidden;
}

/* Studio spotlight ignition */
.stage-light {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 52% 62% at 28% 50%, rgba(58, 40, 168, 0.52) 0%, rgba(22, 16, 68, 0.16) 45%, transparent 72%),
    radial-gradient(ellipse 40% 45% at 76% 42%, rgba(61, 220, 132, 0.12) 0%, transparent 65%);
  opacity: 0;
  animation: spotlightIgnite 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
  pointer-events: none;
}

.stage-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

/* ==================== FLAGSHIP ANDROID PHONE ENTRANCE ==================== */
.phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1400px;
}

.phone-wrap {
  position: relative;
  transform-style: preserve-3d;
  animation: phoneHeroEnter 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-floor-shadow {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.phone-body {
  position: relative;
  width: 332px;
  aspect-ratio: 9 / 16.4;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(145deg, #4B5066 0%, #191B26 28%, #2B2F42 66%, #0E1018 100%);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* Side hardware buttons */
.phone-body::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 126px;
  width: 3px;
  height: 54px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #52576E, #232635);
}
.phone-body::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 196px;
  width: 3px;
  height: 34px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #52576E, #232635);
}

.phone-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: #F8FAFC;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

/* Top Android status bar + punch-hole camera */
.android-status {
  position: relative;
  z-index: 6;
  height: 30px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 600;
  color: #0F172A;
}
.punch-hole {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #06070C;
  box-shadow: inset 0 0 0 1.5px #1E2333;
}

/* Real app screenshots inside the phone */
.screen-viewport {
  position: relative;
  width: 100%;
  height: calc(100% - 30px);
  overflow: hidden;
  background: #F8FAFC;
}
.screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #F8FAFC;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.screen-shot.active {
  opacity: 1;
  transform: scale(1);
}

/* Diagonal glass specular reflection sweep on arrival */
.glass-glare {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.24) 48%, rgba(255, 255, 255, 0.04) 56%, transparent 65%);
  transform: translateX(-130%);
  animation: glassSweep 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
  pointer-events: none;
}

/* Minimal screen switcher below phone */
.screen-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.15s forwards;
}
.screen-dot-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.screen-dot-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

/* ==================== RIGHT SIDE: KINETIC BRAND TYPOGRAPHY ==================== */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Official Android Brand Pill */
.android-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.1);
  border: 1px solid rgba(61, 220, 132, 0.28);
  color: var(--android-green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
  opacity: 0;
  animation: kineticRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

/* Kinetic Line-Masked Giant Title */
.brand-display {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.042em;
  color: #FFFFFF;
  margin-bottom: 26px;
}
.mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 6px;
}
.mask-inner {
  display: block;
  transform: translateY(112%);
  opacity: 0;
}
.mask-line:nth-child(1) .mask-inner {
  animation: lineReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.68s forwards;
}
.mask-line:nth-child(2) .mask-inner {
  background: linear-gradient(110deg, #FFFFFF 20%, #B4BFFF 65%, #3DDC84 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lineReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.82s forwards;
}

.hero-desc {
  font-size: clamp(16.5px, 1.45vw, 19.5px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin-bottom: 38px;
  opacity: 0;
  animation: kineticRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.0s forwards;
}
.hero-desc strong {
  color: #FFFFFF;
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: kineticRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards;
}

.btn-android {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 26px;
  border-radius: 14px;
  background: var(--android-green);
  color: #04130A;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 36px rgba(61, 220, 132, 0.28);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease;
}
.btn-android:hover {
  transform: translateY(-2px);
  background: #4EE592;
  box-shadow: 0 18px 44px rgba(61, 220, 132, 0.38);
}

.btn-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-footnote {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  animation: fadeIn 0.9s ease 1.35s forwards;
}

/* Scroll cue at bottom of 100vh stage */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}
.scroll-cue::after {
  content: '';
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.65);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

/* ==================== CLEAN APPLE-STYLE EDITORIAL SECTIONS ==================== */
.manifesto {
  padding: 128px 0 112px;
  background: var(--white);
  text-align: center;
}
.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.036em;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 24px;
}
.manifesto p {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

.story-band {
  padding: 96px 0;
  background: var(--offwhite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 72px;
  align-items: center;
}
.story-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.story-item {
  padding-left: 22px;
  border-left: 2px solid rgba(10, 12, 20, 0.12);
  transition: border-color 0.3s ease;
}
.story-item.in-view {
  border-left-color: var(--emerald);
}
.story-item h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: var(--ink);
}
.story-item p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.story-phone-wrap {
  display: flex;
  justify-content: center;
}
.story-phone-frame {
  width: 300px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(145deg, #2B2F42, #0E1018);
  box-shadow: 0 38px 80px -18px rgba(10, 12, 20, 0.28);
}
.story-phone-frame img {
  width: 100%;
  display: block;
  border-radius: 33px;
}

/* ==================== CLOSING ANDROID DOWNLOAD BAND ==================== */
.closing {
  padding: 108px 0;
  background: var(--obsidian);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(58, 40, 168, 0.42), transparent 72%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 20px 0 16px;
}
.closing p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 34px;
}

/* ==================== CONECTOR / GUIDE PAGE ==================== */
.subpage-hero {
  background: var(--obsidian);
  color: #FFFFFF;
  padding: 128px 0 72px;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 75% at 80% 25%, rgba(58, 40, 168, 0.45), transparent 72%);
  pointer-events: none;
}
.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.036em;
  line-height: 1.06;
  margin: 16px 0 16px;
}
.subpage-hero p {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin-bottom: 32px;
}

.setup-section {
  padding: 80px 0;
  background: var(--white);
}
.setup-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.oem-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--offwhite);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.oem-btn {
  border: none;
  background: transparent;
  padding: 9px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.oem-btn.active {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(10, 12, 20, 0.08);
}

.step-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-row {
  display: flex;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--emerald-dark);
  padding-top: 2px;
  min-width: 24px;
}
.step-row h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.step-row p {
  font-size: 14.5px;
  color: var(--muted);
}

.video-chassis {
  max-width: 320px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(145deg, #32374A, #0E1018);
  box-shadow: 0 36px 72px -18px rgba(10, 12, 20, 0.3);
}
.video-chassis video {
  width: 100%;
  display: block;
  border-radius: 31px;
  background: #000000;
  max-height: 580px;
}

/* ==================== LEGAL PAGES ==================== */
.legal-wrap {
  max-width: 800px;
  margin: 112px auto 80px;
  padding: 0 24px;
}
.legal-wrap h1 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.legal-wrap h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 30px 0 10px;
}
.legal-wrap p, .legal-wrap li {
  font-size: 15.5px;
  color: #334155;
  margin-bottom: 10px;
}
.legal-wrap ul { padding-left: 20px; margin-bottom: 14px; }
.legal-wrap a { color: var(--emerald-dark); text-decoration: underline; }

/* ==================== MINIMAL FOOTER ==================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a:hover { color: var(--ink); }

/* ==================== SCROLL REVEAL & KEYFRAMES ==================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spotlightIgnite {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes phoneHeroEnter {
  0% {
    opacity: 0;
    transform: translate3d(-84px, 76px, 0) rotateY(26deg) rotateX(10deg) scale(0.84);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(6deg) rotateX(0deg) scale(1);
  }
}
@keyframes glassSweep {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(140%); }
}
@keyframes lineReveal {
  0% { transform: translateY(112%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes kineticRise {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  75% { transform: translateY(12px); opacity: 0.15; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 920px) {
  .stage { padding: 98px 0 64px; min-height: auto; }
  .stage-grid, .story-grid, .setup-layout { grid-template-columns: 1fr; gap: 48px; }
  .phone-col { order: 2; }
  .hero-copy { order: 1; align-items: flex-start; }
  .phone-body { width: 286px; }
  .scroll-cue { display: none; }
  .nav-links .hide-sm { display: none; }
  .manifesto { padding: 84px 0 72px; }
}
