/* ============================================================
   AURA PHOTOS — marketing site
   ============================================================ */

/* ----- Custom properties ----- */
:root {
  --bg: #0a0612;
  --text: #f5efff;
  --text-muted: #a89cb8;
  --orb-violet: #8a4fff;
  --orb-magenta: #ff4fcb;
  --orb-cyan: #4fdfff;
  --orb-gold: #ffd24f;
  --orb-emerald: #4fff9b;
  --accent-start: #8a4fff;
  --accent-end: #ff4fcb;

  --font-display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --section-pad-y: clamp(4rem, 10vw, 7rem);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* ----- Body / typography ----- */
html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  position: relative; /* containing block for fixed orb-field children */
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ----- Layout primitives ----- */
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* ----- CTA button (wraps the Play Store badge) ----- */
.cta {
  display: inline-block;
  transition: transform 200ms ease, filter 200ms ease;
  filter: drop-shadow(0 8px 24px rgba(138, 79, 255, 0.4));
}
.cta:hover { transform: translateY(-2px); filter: drop-shadow(0 12px 32px rgba(255, 79, 203, 0.5)); }
.cta:focus-visible { outline: 2px solid var(--orb-magenta); outline-offset: 4px; border-radius: 8px; }
.cta img { height: 64px; width: auto; }

/* ============================================================
   ORB FIELD — drifting blurred gradients + light streaks
   ============================================================ */

.orb-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: 0.55;
  will-change: transform;
}

.orb-1 {
  width: 720px; height: 720px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, var(--orb-violet) 0%, transparent 70%);
  animation: drift-1 78s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  top: 20%; right: -10%;
  background: radial-gradient(circle, var(--orb-magenta) 0%, transparent 70%);
  animation: drift-2 64s ease-in-out infinite;
}
.orb-3 {
  width: 540px; height: 540px;
  bottom: 10%; left: 5%;
  background: radial-gradient(circle, var(--orb-cyan) 0%, transparent 70%);
  animation: drift-3 90s ease-in-out infinite;
}
.orb-4 {
  width: 420px; height: 420px;
  top: 55%; right: 20%;
  background: radial-gradient(circle, var(--orb-gold) 0%, transparent 70%);
  animation: drift-4 72s ease-in-out infinite;
  opacity: 0.4;
}
.orb-5 {
  width: 500px; height: 500px;
  bottom: -15%; right: -8%;
  background: radial-gradient(circle, var(--orb-emerald) 0%, transparent 70%);
  animation: drift-5 82s ease-in-out infinite;
  opacity: 0.45;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 80px) scale(1.1); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-80px, 40px) scale(1.05); }
}
@keyframes drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(100px, -60px) scale(1.08); }
}
@keyframes drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, -80px) scale(1.12); }
}
@keyframes drift-5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(70px, -50px) scale(1.06); }
}

/* ----- Light streaks (SVG, slowly rotating) ----- */
.streak {
  position: absolute;
  width: 140%;
  height: 30%;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform;
}
.streak-1 {
  top: 25%; left: -20%;
  animation: rotate-slow 120s linear infinite;
}
.streak-2 {
  bottom: 15%; left: -20%;
  animation: rotate-slow-rev 160s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(-3deg); }
  to   { transform: rotate(3deg); }
}
@keyframes rotate-slow-rev {
  from { transform: rotate(2deg); }
  to   { transform: rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .streak { animation: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 8vw, 5rem);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 8rem) clamp(1.5rem, 5vw, 3rem) clamp(4rem, 10vw, 6rem);
  min-height: 100vh;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 40px rgba(138, 79, 255, 0.4);
}

.hero-title {
  font-size: clamp(2.75rem, 8vw, 5rem);
  background: linear-gradient(135deg, var(--text) 0%, var(--orb-violet) 60%, var(--orb-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 32ch;
  margin: 0 auto 2.5rem;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-phone img {
  max-width: 320px;
  width: 100%;
  border-radius: 36px;
  box-shadow:
    0 30px 80px rgba(138, 79, 255, 0.35),
    0 0 60px rgba(255, 79, 203, 0.2);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-phone img { animation: none; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    text-align: left;
  }
  .hero-content {
    text-align: left;
    align-items: flex-start;
  }
  .hero-subtitle { margin-left: 0; margin-right: 0; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad-y) clamp(1.5rem, 5vw, 3rem);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  color: var(--orb-violet);
  filter: drop-shadow(0 0 12px rgba(138, 79, 255, 0.6));
}

.step h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   CHAKRA GRID
   ============================================================ */

.chakras {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad-y) clamp(1.5rem, 5vw, 3rem);
}

.chakra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.chakra-card {
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 200ms ease, border-color 200ms ease;
}

.chakra-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.chakra-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dot-color);
  box-shadow:
    0 0 12px var(--dot-color),
    0 0 24px var(--dot-color);
  margin-bottom: 1rem;
}

.chakra-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.chakra-color {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.chakra-card p:last-child {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (min-width: 640px)  { .chakra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .chakra-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   SCREENSHOTS GALLERY
   ============================================================ */

.gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad-y) clamp(1.5rem, 5vw, 3rem);
}

.gallery-row {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-row::-webkit-scrollbar { display: none; }

.phone-frame {
  flex: 0 0 240px;
  scroll-snap-align: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(138, 79, 255, 0.3),
    0 0 40px rgba(255, 79, 203, 0.18);
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
.phone-frame:nth-child(2) { animation-delay: -1.5s; box-shadow: 0 20px 50px rgba(255, 210, 79, 0.28), 0 0 40px rgba(79, 255, 155, 0.18); }
.phone-frame:nth-child(3) { animation-delay: -3s;   box-shadow: 0 20px 50px rgba(79, 223, 255, 0.3),  0 0 40px rgba(138, 79, 255, 0.18); }
.phone-frame:nth-child(4) { animation-delay: -4.5s; box-shadow: 0 20px 50px rgba(255, 107, 138, 0.3), 0 0 40px rgba(255, 79, 203, 0.18); }

.phone-frame img { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .phone-frame { animation: none; }
}

@media (min-width: 900px) {
  .gallery-row {
    justify-content: center;
    overflow: visible;
  }
  .phone-frame { flex: 0 0 220px; }
}

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */

.final-cta {
  text-align: center;
  padding: var(--section-pad-y) clamp(1.5rem, 5vw, 3rem);
  max-width: var(--container);
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--orb-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-footer {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer a {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.site-footer a:hover {
  color: var(--text);
  border-bottom-color: var(--orb-violet);
}

/* ============================================================
   PRIVACY / DOC PAGE
   ============================================================ */

.page-topbar {
  padding: 1.5rem clamp(1.5rem, 5vw, 3rem);
  max-width: var(--container);
  margin: 0 auto;
}

.page-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
}
.page-topbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem) clamp(4rem, 8vw, 6rem);
}

.doc h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.doc h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.doc p, .doc li {
  color: var(--text);
  margin-bottom: 1rem;
}

.doc ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.doc .updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.doc a {
  color: var(--orb-magenta);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.doc a:hover { border-bottom-color: var(--orb-magenta); }
.doc strong { color: var(--text); }
