:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #1e1b4b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --bg: #f8fafc;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Prevent horizontal overflow on all devices */
  overflow-x: hidden;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  /* Ensure font renders well on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent tap highlight on mobile */
  -webkit-tap-highlight-color: transparent;
}

/* ─── Background ─────────────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    black 30%,
    transparent 100%
  );
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.12) 0%,
    transparent 70%
  );
  top: -150px;
  right: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.07) 0%,
    transparent 70%
  );
  bottom: 20%;
  left: -100px;
}

/* ─── Layout ─────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ─── Header ─────────────────────────────────────── */
header {
  height: 72px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  white-space: nowrap;
}

nav ul li a:hover {
  background: var(--bg);
}

.nav-btn {
  background: var(--primary) !important;
  color: white !important;
  padding: 9px 20px !important;
}

.nav-btn:hover {
  background: var(--primary-dark) !important;
}

/* ─── Hamburger ──────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  /* Larger tap target for mobile */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Nav ─────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 190;
  padding: 16px 24px 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  /* Minimum tap target height */
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav ul li a:hover {
  background: var(--bg);
}

/* ─── Shared Labels ───────────────────────────────── */
.section-label {
  display: inline-block;
  background: #eef2ff;
  color: var(--primary);
  border: 1px solid #c7d2fe;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  padding: 72px 0 64px;
  position: relative;
}

.hero-flex {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 0 0 520px;
}

.badge {
  display: inline-block;
  background: #eef2ff;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid #c7d2fe;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--secondary);
  margin-bottom: 18px;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-text p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  /* Minimum touch target */
  min-height: 48px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap 0.2s;
  min-height: 44px;
}

.btn-watch:hover {
  gap: 16px;
}

.play-icon {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding-left: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* ─── Hero Stats ─────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: fit-content;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Hero Image ─────────────────────────────────── */
.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.18) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-ring-1 {
  width: 420px;
  height: 420px;
}
.hero-ring-2 {
  width: 560px;
  height: 560px;
  border-style: dotted;
  opacity: 0.5;
}

.hero-mockup {
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.15));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ─── About ──────────────────────────────────────── */
.about {
  padding: 80px 0;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #f5f3ff 30%,
    #f5f3ff 70%,
    transparent 100%
  );
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-centered {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-centered h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.15;
}

.about-centered p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ─── Section Header ─────────────────────────────── */
.section-header {
  padding: 80px 0 48px;
  text-align: center;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
}

/* ─── Features ───────────────────────────────────── */
.features {
  padding: 0 0 80px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 80px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-mockup {
  flex: 1;
  min-width: 0; /* Prevent flex overflow */
}

.mockup-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px;
}

.mockup-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
  height: auto;
}

.feature-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0; /* Prevent flex overflow */
}

.detail-item {
  padding: 20px 20px 20px 24px;
  border-left: 3px solid var(--border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all 0.2s;
}

.detail-item.active {
  border-left-color: var(--primary);
  background: #f8f8ff;
}

.detail-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.detail-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Download CTA ───────────────────────────────── */
.download-cta {
  padding: 0 24px 80px;
}

.download-inner {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d2a6e 100%);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-inner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.download-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.download-inner h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  margin-bottom: 12px;
}

.download-inner > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.btn-light {
  background: white;
  color: var(--secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ─── Footer ─────────────────────────────────────── */
.main-footer {
  background: #fafbfc;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--secondary);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
  /* Minimum tap target */
  display: inline-block;
  min-height: 36px;
  line-height: 36px;
}

.footer-links ul li a:hover {
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 14px;
  word-break: break-word;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
  /* Better touch target */
  min-width: 44px;
  min-height: 44px;
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════ */

/* ─── Large Desktop: 1280px+ ─────────────────────── */
@media (min-width: 1280px) {
  .hero-text {
    flex: 0 0 560px;
  }

  .hero-text h1 {
    font-size: 52px;
  }
}

/* ─── Desktop: 1025px – 1279px ───────────────────── */
@media (max-width: 1279px) and (min-width: 1025px) {
  .hero-text {
    flex: 0 0 480px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-ring-1 {
    width: 380px;
    height: 380px;
  }

  .hero-ring-2 {
    width: 500px;
    height: 500px;
  }
}

/* ─── Tablet Landscape: 901px – 1024px ───────────── */
@media (max-width: 1024px) and (min-width: 901px) {
  .container {
    padding: 0 32px;
  }

  .hero-text {
    flex: 0 0 420px;
  }

  .hero-text h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image-container {
    min-height: 440px;
  }

  .hero-ring-1 {
    width: 340px;
    height: 340px;
  }

  .hero-ring-2 {
    width: 460px;
    height: 460px;
  }

  .hero-mockup {
    max-width: 320px;
  }

  .about-centered h2 {
    font-size: 34px;
  }

  .section-header h2 {
    font-size: 36px;
  }

  .feature-row {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 32px;
  }
}

/* ─── Tablet Portrait + Mobile Landscape: ≤ 900px ── */
@media (max-width: 900px) {
  /* Header */
  nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 48px 0 56px;
  }

  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    flex: none;
    width: 100%;
    order: 1;
  }

  .hero-image-container {
    order: 2;
    width: 100%;
    min-height: 340px;
  }

  .hero-text p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
  }

  .hero-mockup {
    max-width: 300px;
  }

  .hero-ring-1 {
    width: 340px;
    height: 340px;
  }

  .hero-ring-2 {
    width: 450px;
    height: 450px;
  }

  .hero-glow {
    width: 260px;
    height: 260px;
  }

  /* About */
  .about {
    padding: 64px 0;
  }

  .about-centered h2 {
    font-size: 30px;
    letter-spacing: -0.5px;
  }

  .about-centered p {
    font-size: 15px;
  }

  /* Section Header */
  .section-header {
    padding: 64px 0 36px;
  }

  .section-header h2 {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .section-header p {
    font-size: 16px;
  }

  /* Features */
  .features {
    padding-bottom: 64px;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 64px;
  }

  .feature-mockup {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .detail-item h3 {
    font-size: 18px;
  }

  /* Download */
  .download-cta {
    padding: 0 16px 64px;
  }

  .download-inner {
    padding: 56px 32px;
  }

  .download-inner h2 {
    font-size: 30px;
  }

  /* Footer */
  .main-footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-brand > div:first-child,
  .footer-brand p {
    width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ─── Mobile: ≤ 640px ────────────────────────────── */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* Header */
  header {
    height: 64px;
  }

  .mobile-nav {
    top: 64px;
  }

  .logo {
    font-size: 20px;
  }

  /* Hero */
  .hero {
    padding: 40px 0 48px;
  }

  .hero-flex {
    gap: 36px;
  }

  .hero-text h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
  }

  .hero-text p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .badge {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 14px 24px;
  }

  .btn-watch {
    width: auto;
  }

  .hero-stats {
    gap: 16px;
    padding: 16px 20px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .stat strong {
    font-size: 18px;
  }

  .stat span {
    font-size: 11px;
  }

  .hero-image-container {
    min-height: 280px;
  }

  .hero-mockup {
    max-width: 240px;
  }

  .hero-ring-1 {
    width: 280px;
    height: 280px;
  }

  .hero-ring-2 {
    width: 370px;
    height: 370px;
  }

  .hero-glow {
    width: 220px;
    height: 220px;
  }

  /* About */
  .about {
    padding: 52px 0;
  }

  .about-centered h2 {
    font-size: 26px;
    letter-spacing: -0.3px;
  }

  .about-centered p {
    font-size: 14px;
  }

  .about-tags {
    gap: 8px;
  }

  .tag {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* Section Header */
  .section-header {
    padding: 52px 0 28px;
  }

  .section-header h2 {
    font-size: 26px;
    letter-spacing: -0.3px;
  }

  .section-header p {
    font-size: 14px;
  }

  /* Features */
  .features {
    padding-bottom: 52px;
  }

  .feature-row,
  .feature-row.reverse {
    gap: 28px;
    margin-bottom: 52px;
  }

  .feature-mockup {
    max-width: 100%;
  }

  .detail-item {
    padding: 16px 16px 16px 20px;
  }

  .detail-item h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .detail-item p {
    font-size: 14px;
  }

  /* Download */
  .download-cta {
    padding: 0 12px 52px;
  }

  .download-inner {
    padding: 44px 20px;
    border-radius: var(--radius-md);
  }

  .download-badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .download-inner h2 {
    font-size: 24px;
    letter-spacing: -0.5px;
  }

  .download-inner > p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .btn-light {
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .main-footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .footer-brand {
    grid-column: auto;
    display: block;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-links h4,
  .footer-contact h4 {
    margin-bottom: 14px;
  }

  .contact-item {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom-inner {
    font-size: 12px;
    gap: 6px;
  }
}

/* ─── Small Mobile: ≤ 380px ─────────────────────── */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    min-width: 60px;
  }

  .hero-ring-1 {
    width: 240px;
    height: 240px;
  }

  .hero-ring-2 {
    width: 320px;
    height: 320px;
  }

  .hero-mockup {
    max-width: 200px;
  }

  .hero-image-container {
    min-height: 240px;
  }

  .about-centered h2 {
    font-size: 22px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .download-inner h2 {
    font-size: 20px;
  }

  .detail-item h3 {
    font-size: 16px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 4px;
  }
}

/* ─── Touch / Hover States ───────────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover transforms on touch devices to avoid sticky states */
  .btn-primary:hover,
  .btn-light:hover {
    transform: none;
  }

  .btn-watch:hover {
    gap: 12px;
  }

  /* Active states for touch feedback */
  .btn-primary:active {
    background: var(--primary-dark);
    transform: scale(0.98);
  }

  .btn-light:active {
    transform: scale(0.98);
  }

  .nav-hamburger:active {
    opacity: 0.7;
  }
}

/* ─── Print ──────────────────────────────────────── */
@media print {
  .bg-canvas,
  .hero-ring,
  .hero-glow,
  .hero-image-container,
  header,
  .mobile-nav,
  .nav-hamburger,
  .download-cta,
  .social-icons {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .container {
    max-width: 100%;
    padding: 0 16px;
  }

  .hero-flex {
    flex-direction: column;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ─── Reduced Motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-mockup {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
