/* ============================================================
   Cube Pour – Landing Page Stylesheet
   Theme: Dark premium glassmorphism
   Font: Poppins (Google Fonts)
   ============================================================ */

/* ---------------------------
   Custom Properties
--------------------------- */
:root {
  --bg:       #0F172A;
  --surface:  #1E293B;
  --primary:  #3B82F6;
  --accent:   #06B6D4;
  --text:     #FFFFFF;
  --muted:    #94A3B8;
  --border:   rgba(255,255,255,.08);

  --glass-bg: rgba(30,41,59,.55);
  --glass-bd: rgba(255,255,255,.07);

  --shadow-card: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  --shadow-btn:  0 4px 20px rgba(59,130,246,.45);

  --r:   16px;
  --r-lg: 24px;
  --ease: .3s ease;
  --font: 'Poppins', sans-serif;
}

/* ---------------------------
   Reset & Base
--------------------------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; }

/* Skip-to-content for accessibility */
.skip-link {
  position: absolute;
  top: -999px;
  left: -999px;
}
.skip-link:focus {
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  background: var(--primary);
  border-radius: 8px;
  z-index: 999;
}

/* ---------------------------
   Layout helpers
--------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ---------------------------
   Glass card
--------------------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 40px rgba(59,130,246,.12);
}

/* ---------------------------
   Buttons
--------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,.65); }

.btn-glass {
  background: var(--glass-bg);
  color: #fff;
  border: 1px solid var(--glass-bd);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

.btn-lg  { padding: 16px 32px; font-size: 1rem; }
.btn-sm  { padding: 8px 18px; font-size: .85rem; }

.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------------------------
   Navigation
--------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
  background: rgba(15,23,42,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Real app icon in nav / footer logo */
.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------------------------
   Hero
--------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Ambient orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.orb-1 { width:650px; height:650px; background:radial-gradient(circle,var(--primary),transparent); top:-200px; right:-200px; }
.orb-2 { width:400px; height:400px; background:radial-gradient(circle,var(--accent),transparent); bottom:-100px; left:-100px; }
.orb-3 { width:300px; height:300px; background:radial-gradient(circle,#8B5CF6,transparent); top:50%; left:40%; transform:translate(-50%,-50%); opacity:.2; }

.hero-content { text-align: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.28);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 36px;
}

/* 3-D spinning cube */
.cube-wrapper {
  perspective: 400px;
  margin-bottom: 28px;
}

.cube3d {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  animation: spinCube 9s linear infinite;
}

.cf {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 10px;
}
.cf-front  { background:rgba(59,130,246,.7);  transform:translateZ(45px); }
.cf-back   { background:rgba(6,182,212,.7);   transform:rotateY(180deg) translateZ(45px); }
.cf-left   { background:rgba(139,92,246,.65); transform:rotateY(-90deg) translateZ(45px); }
.cf-right  { background:rgba(59,130,246,.4);  transform:rotateY(90deg) translateZ(45px); }
.cf-top    { background:rgba(6,182,212,.4);   transform:rotateX(90deg) translateZ(45px); }
.cf-bottom { background:rgba(139,92,246,.4);  transform:rotateX(-90deg) translateZ(45px); }

@keyframes spinCube {
  from { transform: rotateX(0) rotateY(0); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

.hero-title { margin-bottom: 20px; }

.title-main {
  display: block;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}

.title-sub {
  display: block;
  font-size: clamp(.9rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 10px;
  -webkit-text-fill-color: var(--muted);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats pill */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: 50px;
  padding: 14px 32px;
  backdrop-filter: blur(16px);
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-divider { width: 1px; height: 38px; background: var(--border); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ---------------------------
   Section Headers
--------------------------- */
.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-block;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.28);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc { font-size: 1rem; color: var(--muted); max-width: 480px; margin: 0 auto; }

/* ---------------------------
   Hero App Icon
--------------------------- */
.hero-app-icon { margin-bottom: 28px; }

.app-icon-img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto;
  display: block;
  box-shadow:
    0 24px 64px rgba(59,130,246,.45),
    0 0 0 1px rgba(255,255,255,.10);
}

/* ---------------------------
   Screenshots
--------------------------- */
.shots-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.shot-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 460px;
}
.shot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.shot-card:hover img { transform: scale(1.03); }
.shot-featured { max-height: 540px; }

/* Second row — 2 screenshots centred */
.shots-grid-2 {
  grid-template-columns: 1fr 1fr;
  max-width: 500px;
  margin: 16px auto 0;
}

/* ---------------------------
   Features
--------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card { padding: 36px 28px; text-align: center; }

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--accent);
  filter: drop-shadow(0 0 14px rgba(6,182,212,.55));
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }

.feature-desc { color: var(--muted); font-size: .9rem; line-height: 1.75; }

/* ---------------------------
   CTA
--------------------------- */
.cta-card {
  padding: 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,.25), transparent);
  border-radius: 50%;
  top: -100px; right: -100px;
  pointer-events: none;
  filter: blur(40px);
}

.cta-body { position: relative; z-index: 1; }

.cta-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }

.cta-desc { color: var(--muted); font-size: 1rem; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------------------------
   Footer
--------------------------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-logo { margin-bottom: 14px; }

.footer-tagline { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }

.footer-dev { color: var(--muted); font-size: .82rem; }
.footer-dev strong { color: var(--text); }

.footer-heading {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-link { color: var(--muted); font-size: .9rem; }
.footer-link:hover { color: #fff; }

.footer-email {
  display: block;
  color: var(--accent);
  font-size: .9rem;
  margin-bottom: 20px;
  word-break: break-all;
}
.footer-email:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy, .footer-love { color: var(--muted); font-size: .82rem; }

/* ============================================================
   Privacy Policy – Document Layout (replaces card grid)
   ============================================================ */

/* Hero */
.pdoc-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pdoc-hero-inner { position: relative; z-index: 1; }

.pdoc-shield {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 20px rgba(6,182,212,.5));
}
.pdoc-shield svg { width: 100%; height: 100%; }

.pdoc-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 50%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pdoc-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.pdoc-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pdoc-badge {
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.24);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: .82rem;
  color: var(--accent);
  font-weight: 500;
}
.pdoc-date { color: var(--muted); font-size: .82rem; }

/* Document body */
.pdoc-body { padding: 0 0 100px; }

.pdoc-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* TOC */
.pdoc-toc {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.pdoc-toc-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pdoc-toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
  counter-reset: toc-item;
}

.pdoc-toc-list li {
  counter-increment: toc-item;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pdoc-toc-list li::before {
  content: counter(toc-item, decimal-leading-zero);
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  opacity: .7;
  flex-shrink: 0;
  min-width: 22px;
}

.pdoc-toc-list a {
  color: var(--muted);
  font-size: .88rem;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
  line-height: 1.5;
}
.pdoc-toc-list a:hover {
  color: #fff;
  border-bottom-color: rgba(6,182,212,.4);
}

/* Sections */
.pdoc-article { display: flex; flex-direction: column; }

.pdoc-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.pdoc-h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.pdoc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.22);
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.pdoc-section p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.9;
  margin-bottom: 14px;
}
.pdoc-section p:last-child { margin-bottom: 0; }

.pdoc-list {
  list-style: none;
  margin: 16px 0;
}

.pdoc-list li {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.8;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pdoc-list li:last-child { border-bottom: none; }

.pdoc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 19px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .6;
}

.pdoc-list strong { color: var(--text); font-weight: 600; }

/* Third-party table */
.pdoc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: .88rem;
}
.pdoc-table thead tr { border-bottom: 1px solid var(--border); }
.pdoc-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdoc-table td {
  padding: 12px 14px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pdoc-table td:first-child { color: var(--text); font-weight: 500; }
.pdoc-table tbody tr:last-child td { border-bottom: none; }

/* Contact block */
.pdoc-appinfo { margin-bottom: 32px; }

.pdoc-contact {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin: 16px 0;
}

.pdoc-contact-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pdoc-contact-row:last-child { border-bottom: none; }

.pdoc-contact-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 110px;
}

.pdoc-contact-value { color: var(--text); font-size: .9rem; }

/* Notice box */
.pdoc-notice {
  background: rgba(59,130,246,.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px;
  margin-top: 16px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
}

/* Link */
.pdoc-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(6,182,212,.35);
  transition: text-decoration-color var(--ease);
}
.pdoc-link:hover { text-decoration-color: var(--accent); }

/* Document footer row */
.pdoc-doc-footer {
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.pdoc-doc-footer p {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.8;
  margin-bottom: 6px;
}
.pdoc-doc-footer p:last-child { margin-bottom: 0; }

/* ---------------------------
   Animations
--------------------------- */
.animate-fade {
  opacity: 0;
  animation: fadeIn .9s ease forwards;
  animation-delay: var(--delay, 0s);
}

.animate-slide {
  opacity: 0;
  transform: translateY(28px);
  animation: slideUp .8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.features-grid .feature-card:nth-child(1) { transition-delay: .05s; }
.features-grid .feature-card:nth-child(2) { transition-delay: .12s; }
.features-grid .feature-card:nth-child(3) { transition-delay: .19s; }
.features-grid .feature-card:nth-child(4) { transition-delay: .26s; }
.features-grid .feature-card:nth-child(5) { transition-delay: .33s; }
.features-grid .feature-card:nth-child(6) { transition-delay: .40s; }

/* Privacy doc mobile overrides */
@media (max-width: 768px) {
  .pdoc-hero { padding: 110px 0 60px; }
  .pdoc-toc { padding: 20px 18px; }
  .pdoc-toc-list { grid-template-columns: 1fr; }
  .pdoc-table th, .pdoc-table td { padding: 9px 10px; }
  .pdoc-contact-label { min-width: 90px; }
  .pdoc-h2 { font-size: 1.1rem; }
}

/* ---------------------------
   Responsive – Tablet
--------------------------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .priv-grid { grid-template-columns: 1fr; }
  .priv-card-wide { grid-column: auto; }
}

/* ---------------------------
   Responsive – Mobile
--------------------------- */
@media (max-width: 768px) {

  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(15,23,42,.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    border-radius: var(--r-lg);
    padding: 24px;
    width: 100%;
    max-width: 260px;
  }
  .stat-divider { width: 100%; height: 1px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-lg { width: 100%; max-width: 320px; justify-content: center; }

  .shots-grid {
    grid-template-columns: 1fr;
    max-width: 290px;
    margin: 0 auto 24px;
  }
  .shots-grid-2 {
    grid-template-columns: 1fr;
    max-width: 290px;
  }
  .shot-featured { order: -1; }

  .features-grid { grid-template-columns: 1fr; }

  .cta-card { padding: 36px 24px; }
  .cta-orb { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 72px 0; }

  .priv-hero { padding: 110px 0 60px; }

  .date-box { padding: 24px 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .priv-card { padding: 22px 18px; }
  .feature-card { padding: 26px 20px; }
  .hero-stats { max-width: 220px; }
  .third-item { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* ---------------------------
   Accessibility
--------------------------- */
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .cube3d { animation: none; }
}
