/* ===== Android 17 — Cinnamon Bun · Style Sheet ===== */

/* ----- Scroll Progress Bar ----- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--accent-blue));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
  will-change: width;
}

/* ----- Feature Card Parallax Lift ----- */
.feature-card.lifted {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* ----- Smooth cards ----- */
.feature-card,
.overview-card,
.perf-item,
.sec-item,
.media-item,
.roadmap-step {
  will-change: transform, box-shadow;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ----- Loading Screen ----- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.loader-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px var(--green-glow);
  animation: loaderPulse 1s ease-in-out infinite;
}
.loader-ring {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid transparent;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}
.loader-text {
  font-size: 0.85rem;
  color: var(--muted2);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* ----- Scroll to Top ----- */
.scroll-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  border: 1px solid var(--line);
  color: var(--green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 999;
  pointer-events: none;
}
.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-to-top:hover {
  background: var(--green);
  color: #050805;
}


/* ----- Variables ----- */
:root {
  --bg: #050805;
  --bg2: #0b120d;
  --card: rgba(16, 23, 16, 0.82);
  --card-hover: rgba(22, 32, 22, 0.88);
  --text: #f3f7f4;
  --muted: #b8c2bb;
  --muted2: #8a9b8e;
  --line: rgba(61, 220, 132, 0.18);
  --line-subtle: rgba(255, 255, 255, 0.05);
  --green: #3ddc84;
  --green2: #1f9d5a;
  --green-dark: rgba(61, 220, 132, 0.08);
  --green-glow: rgba(61, 220, 132, 0.25);
  --accent-blue: #8ab4f8;
  --accent-purple: #c58af9;
  --accent-warm: #f9c58a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.3);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: Outfit, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --apple-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --apple-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --apple-ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
img[loading="lazy"] {
  background: var(--card);
  color: transparent;
  filter: blur(10px);
  transition: filter 0.4s ease;
}
img[loading="lazy"]:not([src^="data"]) {
  filter: none;
}
img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
  filter: none;
}

ul {
  list-style: none;
}

code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background: rgba(61, 220, 132, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--green);
}

/* ----- Container ----- */
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ----- Glassmorphism Utility ----- */
.glass {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ----- Navigation ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 8, 5, 0.75);
  border-bottom: 1px solid var(--line-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green-glow);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: background var(--transition), color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active-section {
  background: var(--green-dark);
  color: var(--text);
}

.nav-links a.active-section::after {
  transform: scaleX(1);
}

/* ----- Mobile Nav Toggle ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--green-dark);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: grid;
  align-items: center;
  padding: 60px 0 50px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
  animation: heroBgIn 2s ease forwards;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 5, 0.55) 0%, rgba(5, 8, 5, 0.7) 50%, var(--bg) 100%),
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(61, 220, 132, 0.10), transparent);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 0.92;
  margin: 0;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero h1 .green {
  background: linear-gradient(135deg, var(--green), #55e893, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: shimmerGreen 3s ease-in-out infinite;
}
@keyframes shimmerGreen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 18px;
  letter-spacing: 0.2px;
}

.hero-desc {
  max-width: 58ch;
  font-size: 0.98rem;
  color: var(--muted2);
  margin-top: 12px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-subtle);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted2);
  margin-top: 2px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #55e893);
  color: #051008;
  box-shadow: 0 4px 20px rgba(61, 220, 132, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(61, 220, 132, 0.35);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn-tertiary {
  color: var(--muted);
  border-color: transparent;
}

.btn-tertiary:hover {
  color: var(--text);
  background: var(--green-dark);
}

/* ----- Hero Visual / Device Stack ----- */
.hero-visual {
  position: relative;
}

.device-stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}

.device {
  position: absolute;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.glass-device {
  background: #0e130e;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-screen {
  width: 100%;
  height: 100%;
  background: #0b0e0b;
}

.phone {
  width: min(270px, 52vw);
  height: auto;
  aspect-ratio: 1032 / 2176;
  z-index: 3;
  transform: translateX(16px) rotate(6deg);
}

.pixel-phone-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tablet {
  width: min(440px, 80vw);
  height: auto;
  aspect-ratio: 2048 / 1368;
  z-index: 2;
  transform: translate(-110px, 110px) rotate(-4deg);
  opacity: 0.95;
}

.pixel-tablet-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  width: min(300px, 80vw);
  border-radius: 16px;
  z-index: 4;
  animation: cardFloat 4s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  color: var(--green);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.floating-card:first-of-type {
  left: -20px;
  top: 20px;
}

.fc-secondary {
  right: -20px;
  top: auto;
  bottom: 40px;
  left: auto;
  animation-delay: -2s;
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-dark);
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ----- Sections ----- */
.section {
  padding: 80px 0;
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,0 480,60 720,30 S1200,60 1440,30 V60 H0 Z' fill='%233ddc84' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.section:last-child::after {
  display: none;
}

.section-head {
  margin-bottom: 36px;
  max-width: 72ch;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-dark);
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.15;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted2);
  font-size: 1rem;
  line-height: 1.7;
}

/* ----- Overview Grid ----- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.overview-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition);
}

.overview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 220, 132, 0.3);
}

.oc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-dark);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oc-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.overview-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.overview-card p {
  font-size: 0.92rem;
  color: var(--muted2);
  line-height: 1.65;
}

/* ----- Features Grid ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.features-grid > *,
.overview-grid > *,
.media-grid > .media-card,
.faq-grid > details {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.features-grid > .card-visible,
.overview-grid > .card-visible,
.media-grid > .media-card.card-visible,
.faq-grid > details.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(61, 220, 132, 0.06) 50%, transparent 60%);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: inherit;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 220, 132, 0.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 30px rgba(61, 220, 132, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
  animation: shimmer 1.2s ease infinite;
}

.fc-media {
  overflow: hidden;
  background: var(--bg2);
}

.fc-media img,
.fc-media video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.feature-card:hover .fc-media img {
  transform: scale(1.04);
}

.fc-body {
  padding: 22px;
}

.fc-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.fc-body > p {
  font-size: 0.92rem;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.fc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fc-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

.fc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.4;
}

/* ----- Adaptive UI ----- */
.adaptive-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.adaptive-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.adaptive-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.adaptive-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ad-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-sm);
}

.ad-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-dark);
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.ad-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.ad-item p {
  font-size: 0.85rem;
  color: var(--muted2);
  line-height: 1.55;
}

/* ----- Performance ----- */
.perf-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.perf-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.perf-image img {
  width: 100%;
  height: auto;
  display: block;
}

.perf-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perf-item {
  padding: 22px;
  border-radius: var(--radius-sm);
}

.perf-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-dark);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perf-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.perf-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.perf-item p {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.6;
}

/* ----- Privacy & Security ----- */
.security-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: start;
}

.security-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sec-item {
  padding: 20px;
  border-radius: var(--radius-sm);
}

.sec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-dark);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sec-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.sec-item p {
  font-size: 0.85rem;
  color: var(--muted2);
  line-height: 1.55;
}

.security-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.security-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- Camera & Media ----- */
.media-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.media-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.media-image img {
  width: 100%;
  height: auto;
  display: block;
}

.media-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.media-item {
  padding: 20px;
  border-radius: var(--radius-sm);
}

.media-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.media-item p {
  font-size: 0.85rem;
  color: var(--muted2);
  line-height: 1.55;
}

/* ----- Roadmap ----- */
.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.roadmap-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  z-index: 0;
}

.roadmap-step {
  padding: 22px 18px;
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.roadmap-step::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-dark);
  border: 2px solid var(--green);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-step:hover::before {
  background: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
}

.roadmap-step.reached::before {
  background: var(--green);
  box-shadow: 0 0 16px var(--green-glow);
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 14px;
}

.roadmap-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.roadmap-step p {
  font-size: 0.85rem;
  color: var(--muted2);
  line-height: 1.55;
  flex: 1;
}

/* ----- Comparison Table ----- */
.table-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.compare-table th,
.compare-table td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-subtle);
}

.compare-table thead th {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(61, 220, 132, 0.04);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s ease;
}

.compare-table tbody tr.visible {
  opacity: 1;
  transform: translateX(0);
}

.compare-table tbody tr:hover {
  background: rgba(61, 220, 132, 0.03);
}

.compare-table td:last-child {
  position: relative;
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.03), rgba(138, 180, 248, 0.03));
}

.compare-table td:last-child::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  animation: none;
  pointer-events: none;
}

.compare-table tr:hover td:last-child::after {
  animation: greenPulse 1.5s ease-in-out infinite;
}

/* ----- image aspect-ratio containers for CLS prevention ----- */
.feature-card img,
.feature-card video {
  object-fit: contain;
}
.adaptive-visual img,
.perf-image img,
.security-image img,
.media-image img,
.youtube-cover img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.hero img {
  aspect-ratio: auto;
}

.compare-table .cat {
  color: var(--muted);
  font-weight: 500;
  width: 16%;
}

.compare-table td {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

/* ----- Get Android 17 ----- */
.get-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.get-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.get-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 220, 132, 0.25);
}

.get-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.15), rgba(61, 220, 132, 0.05));
  border: 1px solid rgba(61, 220, 132, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.get-icon .material-symbols-outlined {
  font-size: 28px;
  color: #3ddc84;
  font-variation-settings: 'FILL' 1;
}

.get-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.get-card p {
  font-size: 0.85rem;
  color: var(--muted2);
  line-height: 1.6;
  margin: 0 0 16px;
}

.get-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(61, 220, 132, 0.1);
  color: #3ddc84;
  border: 1px solid rgba(61, 220, 132, 0.2);
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

/* ----- YouTube ----- */
.youtube-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.youtube-card {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.youtube-cover {
  overflow: hidden;
}

.youtube-cover img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.youtube-card:hover .youtube-cover img {
  transform: scale(1.04);
}

.youtube-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.youtube-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.youtube-body p {
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.youtube-body .btn {
  align-self: flex-start;
}

.youtube-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  aspect-ratio: 16 / 9;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ----- Devices Showcase ----- */
.devices-showcase {
  padding: 60px 0 80px;
}

.devices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.device-card {
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.device-card img {
  width: 100%;
  height: auto;
  display: block;
}

.device-card p {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .devices-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Footer ----- */
.footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line-subtle);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.footer-links a {
  padding: 4px 10px;
  font-size: 0.85rem;
  color: var(--muted2);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.footer-links a:hover {
  color: var(--text);
  background: var(--green-dark);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--muted2);
  max-width: 56ch;
  line-height: 1.6;
}
.footer-extra {
  display: flex;
  gap: 16px;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted2);
  transition: color var(--transition), background var(--transition);
}
.footer-link:hover {
  color: var(--text);
  background: var(--green-dark);
}

/* ----- 3D Model Embeds ----- */
.android-3d-embed {
  position: relative;
  background: radial-gradient(ellipse at center, rgba(61, 220, 132, 0.04), transparent 70%);
  border-radius: 24px;
}

.android-3d-embed canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: none;
  border-radius: 24px;
  display: block;
  min-height: 340px;
  cursor: grab;
  touch-action: none;
}

.bot-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.loaded .bot-loading {
  opacity: 0;
}

.bot-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: botPulse 1.2s ease-in-out infinite;
}

.bot-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.bot-loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes botPulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* ----- Phone Simulator ----- */
.simulator-wrapper {
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-frame {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a1a2e, #0d0d1a);
  border-radius: 36px;
  padding: 8px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 0 30px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateX(2deg); }
  50% { transform: translateY(-8px) rotateX(-1deg); }
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #121212;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px 8px;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  z-index: 2;
}

.phone-apps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 12px 140px;
  align-content: start;
}

.phone-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  opacity: 0;
  animation: appIn 0.4s var(--apple-ease) forwards;
}

.phone-app:nth-child(1) { animation-delay: 0.3s; }
.phone-app:nth-child(2) { animation-delay: 0.35s; }
.phone-app:nth-child(3) { animation-delay: 0.4s; }
.phone-app:nth-child(4) { animation-delay: 0.45s; }
.phone-app:nth-child(5) { animation-delay: 0.5s; }
.phone-app:nth-child(6) { animation-delay: 0.55s; }
.phone-app:nth-child(7) { animation-delay: 0.6s; }
.phone-app:nth-child(8) { animation-delay: 0.65s; }
.phone-app:nth-child(9) { animation-delay: 0.7s; }

@keyframes appIn {
  from { opacity: 0; transform: scale(0.8) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.phone-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.phone-app:active .phone-app-icon,
.phone-app-tap .phone-app-icon {
  transform: scale(0.88);
}

.phone-app-tap {
  animation: phoneTap 0.3s ease;
}

@keyframes phoneTap {
  0% { transform: scale(1); }
  40% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.phone-app-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.2;
}

.phone-bubbles {
  position: absolute;
  bottom: 60px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
  pointer-events: none;
}

.phone-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.phone-bubble:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.phone-bubble:active {
  transform: scale(0.9);
}

.phone-bubble svg { fill: #fff; }

.phone-bubble-preview {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30,30,50,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 6px 10px;
  white-space: nowrap;
  font-size: 0.65rem;
  color: #fff;
  pointer-events: none;
  animation: previewIn 0.2s ease both;
}

@keyframes previewIn {
  from { opacity: 0; transform: translateY(-50%) translateX(8px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.phone-reactions {
  position: absolute;
  top: 50px;
  right: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.phone-reaction {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.15s;
  position: relative;
}

.phone-reaction:hover {
  transform: scale(1.4);
}

.phone-reaction:active {
  transform: scale(0.85);
}

.phone-reaction-burst {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  animation: burstOut 0.6s ease forwards;
}

@keyframes burstOut {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--bx),var(--by)) scale(0); }
}

.phone-notification {
  position: absolute;
  top: 56px;
  left: 12px;
  right: 12px;
  background: rgba(30,30,50,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
  animation: notifIn 0.4s ease forwards, notifOut 0.4s ease 2.6s forwards;
}

@keyframes notifIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes notifOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

@keyframes floatReaction {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(5deg); }
  75% { transform: translateY(-4px) rotate(-5deg); }
}

.phone-notification-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-notification-icon svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.phone-notification-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
}

.phone-notification-text strong {
  display: block;
  font-size: 0.7rem;
  color: #fff;
}





/* ===== Animation System ===== */


/* ----- Premium Keyframes ----- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes blurReveal {
  from { opacity: 0; transform: translateY(60px) scale(0.97); filter: blur(16px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes blurRevealLeft {
  from { opacity: 0; transform: translateX(-80px) scale(0.97); filter: blur(12px); }
  to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}

@keyframes blurRevealRight {
  from { opacity: 0; transform: translateX(80px) scale(0.97); filter: blur(12px); }
  to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}

@keyframes scaleReveal {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes clipReveal {
  from { clip-path: inset(50% 50% 50% 50%); }
  to { clip-path: inset(0); }
}

@keyframes clipRevealH {
  from { clip-path: inset(0 50% 0 50%); }
  to { clip-path: inset(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(61, 220, 132, 0.15); }
  50% { box-shadow: 0 0 50px rgba(61, 220, 132, 0.35); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 10px rgba(61, 220, 132, 0.2); }
  50% { opacity: 1; box-shadow: 0 0 30px rgba(61, 220, 132, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes greenPulse {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(61, 220, 132, 0); }
  50% { box-shadow: inset 0 0 24px -6px rgba(61, 220, 132, 0.25); }
}

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-160px) translateX(50px) scale(0.2); opacity: 0; }
}

@keyframes cardReflection {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

@keyframes lightBeamMove {
  0% { transform: translateX(-30%) translateY(-20%) rotate(-15deg); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { transform: translateX(30%) translateY(20%) rotate(-15deg); opacity: 0; }
}

@keyframes bgGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heroDeviceIn {
  0% { opacity: 0; transform: scale(0.8) rotate(-12deg) translateY(40px); }
  40% { opacity: 1; transform: scale(1.02) rotate(2deg) translateY(-4px); }
  70% { transform: scale(0.99) rotate(0deg) translateY(0); }
  100% { opacity: 1; transform: scale(1) rotate(0deg) translateY(0); }
}

@keyframes heroDeviceGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(61, 220, 132, 0.1), var(--shadow); }
  50% { box-shadow: 0 0 80px rgba(61, 220, 132, 0.3), var(--shadow); }
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wordReveal {
  from { opacity: 0; transform: translateY(1em) rotateX(-60deg); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
}

@keyframes tableHighlight {
  0%, 100% { background: rgba(61, 220, 132, 0.03); }
  50% { background: rgba(61, 220, 132, 0.10); }
}

@keyframes timelineDotIn {
  from { opacity: 0; transform: scale(0); }
  50% { transform: scale(1.4); }
  to { opacity: 1; transform: scale(1); }
}

/* ----- Base Animation Classes ----- */
.anim-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s var(--apple-ease-out) forwards;
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp 1s var(--apple-ease) forwards;
}

.anim-fade-scale {
  opacity: 0;
  animation: fadeScale 0.9s var(--apple-ease) forwards;
}

.anim-blur {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(40px) scale(0.97);
  animation: blurReveal 1.2s var(--apple-ease) forwards;
}

.anim-blur-left {
  opacity: 0;
  filter: blur(12px);
  transform: translateX(-60px) scale(0.97);
  animation: blurRevealLeft 1.1s var(--apple-ease) forwards;
}

.anim-blur-right {
  opacity: 0;
  filter: blur(12px);
  transform: translateX(60px) scale(0.97);
  animation: blurRevealRight 1.1s var(--apple-ease) forwards;
}

.anim-scale-reveal {
  opacity: 0;
  animation: scaleReveal 1s var(--apple-ease) forwards;
}

.anim-left {
  opacity: 0;
  transform: translateX(-60px);
  animation: fadeUp 0.9s var(--apple-ease) forwards;
}

.anim-right {
  opacity: 0;
  transform: translateX(60px);
  animation: fadeUp 0.9s var(--apple-ease) forwards;
}

/* ----- Stagger Delays ----- */
.anim-stagger-1 { animation-delay: 0.1s; }
.anim-stagger-2 { animation-delay: 0.2s; }
.anim-stagger-3 { animation-delay: 0.3s; }
.anim-stagger-4 { animation-delay: 0.4s; }
.anim-stagger-5 { animation-delay: 0.5s; }
.anim-stagger-6 { animation-delay: 0.6s; }
.anim-stagger-7 { animation-delay: 0.7s; }

/* ----- Image Clip Reveal (Apple-style) ----- */
.img-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.img-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Card Glass Reflection ----- */
.glass-reflection {
  position: relative;
  overflow: hidden;
}

.glass-reflection::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255,255,255,0.04) 45%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 55%,
    transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ----- Hero Cinematic (Apple-style) ----- */
.hero-cinematic {
  animation: heroDeviceIn 3.5s var(--apple-ease) forwards;
}

.hero-cinematic-glow {
  animation: heroDeviceGlow 4s ease-in-out infinite;
}

@keyframes heroBgIn {
  0% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 220, 132, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: glowPulse 3s ease-in-out infinite;
}

/* ----- Secondary hero glow (blue) ----- */
.hero-glow-secondary {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 180, 248, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 1;
  top: 60%;
  left: 20%;
  animation: glowPulse 4s ease-in-out infinite 1s;
}

/* ----- Word-by-word text reveal ----- */
.word-reveal {
  display: inline-block;
  overflow: hidden;
}

.word-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(40deg);
  animation: wordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* ----- Device Float + Tilt ----- */
.device-tilt {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.device-tilt:hover {
  transition-duration: 0.1s;
}

/* ----- AI Flow Animation ----- */
.ai-flow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
}

.ai-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: nodePop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ai-flow-node:nth-child(1) { animation-delay: 0.1s; }
.ai-flow-node:nth-child(3) { animation-delay: 0.4s; }
.ai-flow-node:nth-child(5) { animation-delay: 0.7s; }
.ai-flow-node:nth-child(7) { animation-delay: 1s; }

@keyframes nodePop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

.ai-flow-node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px var(--green-glow);
  animation: pulseGlow 2s ease-in-out infinite;
}

.ai-flow-node-label {
  font-size: 0.78rem;
  color: var(--muted2);
  font-weight: 500;
  white-space: nowrap;
}

.ai-flow-connector {
  flex: 1;
  height: 2px;
  max-width: 60px;
  background: linear-gradient(90deg, var(--green), transparent);
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: connectorIn 0.6s ease 0.3s forwards;
}

.ai-flow-connector:nth-of-type(2) { animation-delay: 0.6s; }
.ai-flow-connector:nth-of-type(3) { animation-delay: 0.9s; }
.ai-flow-connector:nth-of-type(4) { animation-delay: 1.2s; }

@keyframes connectorIn {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

/* ----- Particle Canvas ----- */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ----- Performance Counters ----- */
.perf-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.perf-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}

.perf-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat-value {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-value.show {
  animation: statPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes statPop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.perf-stat-label {
  font-size: 0.82rem;
  color: var(--muted2);
}

/* ----- Nav Scroll Effect ----- */
.nav-scrolled {
  background: rgba(5, 8, 5, 0.92);
  border-bottom-color: var(--line);
}

/* ----- Skip Link (Accessibility) ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--green);
  color: #051008;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ----- Section Divider ----- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: none;
  margin: 0;
}

/* ----- Glow Effect Utility ----- */
.glow-border {
  border-color: rgba(61, 220, 132, 0.3);
  box-shadow: 0 0 24px rgba(61, 220, 132, 0.08);
}

/* ----- Scroll Indicator ----- */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeIn 1s ease 3s forwards;
}
.scroll-text {
  font-size: 0.7rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.scroll-indicator svg {
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--muted2);
}
.scroll-indicator circle {
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(6px); }
}

/* ----- Scroll Reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Feature Card Apple-style Lift ----- */
.feature-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.feature-card .fc-media img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:has(.fc-media:hover) .fc-media img {
  transform: scale(1.08);
}

/* ----- Overview Card Hover ----- */
.overview-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ----- 3D Android Bot Section ----- */
.android-3d-embed {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, rgba(61, 220, 132, 0.04) 0%, transparent 60%);
  position: relative;
  cursor: grab;
}
.android-3d-embed:active { cursor: grabbing; }
.android-3d-embed canvas {
  width: 100% !important;
  height: 100% !important;
}
.android-3d-embed.loaded::after {
  content: 'Drag to rotate';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--muted2);
  background: var(--card);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeIn 0.6s ease 2s forwards;
  pointer-events: none;
}



/* ----- FAQ Section ----- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}
.faq-item[open] {
  background: var(--card-hover);
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.7;
  margin: 0;
}

/* ----- Responsive: Tablet ----- */
@media (max-width: 1080px) {
  .hero-grid,
  .adaptive-layout,
  .perf-layout,
  .security-layout,
  .media-grid,
  .youtube-layout {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .phone {
    transform: translateX(0) rotate(5deg);
  }

  .tablet {
    transform: translate(-40px, 120px) rotate(-4deg);
  }

  .security-image {
    order: -1;
  }

  .youtube-embed iframe {
    min-height: 320px;
  }
}

/* ----- Responsive: Mobile ----- */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .device-stack {
    min-height: 420px;
  }

  .phone {
    width: 200px;
    height: 400px;
    transform: translateX(0) rotate(4deg);
  }

  .tablet {
    width: 100%;
    height: 200px;
    transform: translateY(160px) rotate(-2deg);
  }

  .floating-card:first-of-type {
    left: 0;
    top: 10px;
    position: relative;
    margin-bottom: 10px;
  }

  .fc-secondary {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-card:last-child {
    margin-bottom: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-steps {
    grid-template-columns: 1fr;
  }

  .media-cards {
    grid-template-columns: 1fr;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 10px;
    font-size: 0.82rem;
  }

  .youtube-embed iframe {
    min-height: 240px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    gap: 14px;
  }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
