/* ═══════════════════════════════════════════════════════
   SAINTSHUB — Premium Landing Page Styles
   ═══════════════════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
  --bg-dark: #08080c;
  --bg-dark-2: #111118;
  --bg-light: #f7f7f8;
  --bg-white: #ffffff;

  --accent: #c8a97e;
  --accent-light: #dfc5a4;
  --accent-dark: #a68a5b;

  --text-white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.65);
  --text-dark: #1a1a1f;
  --text-muted: #6b6b76;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
  --gap: clamp(16px, 3vw, 32px);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --transition: 0.4s var(--ease);
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ─── Section Tags & Titles ─── */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 126, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}


/* ═══════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-icon img {
  border-radius: 14px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 10px;
  animation: preloaderBar 1.6s var(--ease) forwards;
}

@keyframes preloaderBar {
  to { width: 100%; }
}


/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.nav-logo-icon {
  border-radius: 10px;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-dark);
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 100px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

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

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

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

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 12, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu-link {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
}

.mobile-menu.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu-cta {
  margin-top: 16px;
  display: inline-flex;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease) 0.3s;
}

.mobile-menu.active .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 169, 126, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(124, 106, 239, 0.05) 0%, transparent 50%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(200, 169, 126, 0.12);
  top: -10%;
  right: -5%;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 106, 239, 0.08);
  bottom: -10%;
  left: -5%;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200, 169, 126, 0.1);
  border: 1px solid rgba(200, 169, 126, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

/* ─── Daily Bible Verse ─── */
.daily-verse {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.daily-verse-accent {
  width: 3px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.daily-verse-body {
  padding: 14px 18px;
  flex: 1;
  min-width: 0;
}

.daily-verse-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.daily-verse-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.daily-verse-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.daily-verse-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.daily-verse-ref {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
  margin-top: 6px;
  font-style: normal;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Device */
.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.hero-device-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(200, 169, 126, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

/* Hero Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(5px); }
  70% { opacity: 1; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(16px); }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-sub {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .daily-verse {
    max-width: 100%;
    text-align: left;
  }
  .hero-device {
    order: -1;
  }
  .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 90px 0 50px;
  }
  .hero-content {
    gap: 32px;
  }
  .daily-verse {
    max-width: 100%;
  }
  .btn-lg {
    padding: 14px 28px;
    font-size: 14px;
  }
}


/* ═══════════════════════════════════════════════════════
   PHONE MOCKUP — devices.css overrides
   ═══════════════════════════════════════════════════════ */

/* Scale down from library's default 428px to fit sections */
/* Device base dimensions: 428 x 868 px
   transform: scale(X) only scales visually, not the layout box.
   Negative margins collapse the unused layout space:
   margin: calc(-868px * (1 - X) / 2)  calc(-428px * (1 - X) / 2)  */

.phone-mockup-hero {
  transform: scale(0.68) rotateY(-6deg) rotateX(3deg);
  transform-style: preserve-3d;
  animation: phoneFloat3d 6s ease-in-out infinite;
  margin: -109px -48px;
}

.device.phone-mockup-feature {
  transform: scale(0.58);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  margin: -142px -60px;
}

.device.phone-mockup-feature:hover {
  transform: scale(0.6) rotateY(2deg);
}

.device.phone-mockup-download {
  transform: scale(0.65) rotateY(6deg) rotateX(3deg);
  transform-style: preserve-3d;
  margin: -122px -45px;
}

@keyframes phoneFloat3d {
  0%, 100% { transform: scale(0.68) rotateY(-6deg) rotateX(3deg) translateY(0); }
  50% { transform: scale(0.68) rotateY(-4deg) rotateX(2deg) translateY(-12px); }
}

/* Prevent horizontal overflow from phone mockups */
.hero,
.features,
.download {
  overflow-x: hidden;
}

/* ── Tablet mockup sizing ── */
@media (max-width: 900px) {
  .phone-mockup-hero {
    transform: scale(0.52) rotateY(-6deg) rotateX(3deg);
    margin: -178px -73px;
    animation: phoneFloat3dTablet 6s ease-in-out infinite;
  }
  @keyframes phoneFloat3dTablet {
    0%, 100% { transform: scale(0.52) rotateY(-6deg) rotateX(3deg) translateY(0); }
    50% { transform: scale(0.52) rotateY(-4deg) rotateX(2deg) translateY(-10px); }
  }
  .device.phone-mockup-feature {
    transform: scale(0.46);
    margin: -194px -86px;
  }
  .device.phone-mockup-feature:hover {
    transform: scale(0.48) rotateY(2deg);
  }
  .device.phone-mockup-download {
    transform: scale(0.50) rotateY(6deg) rotateX(3deg);
    margin: -187px -77px;
  }
}

/* ── Mobile mockup sizing ── */
@media (max-width: 600px) {
  .phone-mockup-hero {
    transform: scale(0.42) rotateY(-4deg) rotateX(2deg);
    margin: -221px -94px;
    animation: phoneFloat3dMobile 6s ease-in-out infinite;
  }
  @keyframes phoneFloat3dMobile {
    0%, 100% { transform: scale(0.42) rotateY(-4deg) rotateX(2deg) translateY(0); }
    50% { transform: scale(0.42) rotateY(-2deg) rotateX(1deg) translateY(-8px); }
  }
  .device.phone-mockup-feature {
    transform: scale(0.38);
    margin: -229px -103px;
  }
  .device.phone-mockup-feature:hover {
    transform: scale(0.40) rotateY(2deg);
  }
  .device.phone-mockup-download {
    transform: scale(0.42) rotateY(4deg) rotateX(2deg);
    margin: -221px -94px;
  }
}

/* ── Very small mobile ── */
@media (max-width: 400px) {
  .phone-mockup-hero {
    transform: scale(0.36) rotateY(-3deg) rotateX(1deg);
    margin: -247px -107px;
    animation: phoneFloat3dXs 6s ease-in-out infinite;
  }
  @keyframes phoneFloat3dXs {
    0%, 100% { transform: scale(0.36) rotateY(-3deg) rotateX(1deg) translateY(0); }
    50% { transform: scale(0.36) rotateY(-1deg) rotateX(0.5deg) translateY(-6px); }
  }
  .device.phone-mockup-feature {
    transform: scale(0.34);
    margin: -246px -111px;
  }
  .device.phone-mockup-feature:hover {
    transform: scale(0.36) rotateY(1deg);
  }
  .device.phone-mockup-download {
    transform: scale(0.36) rotateY(3deg) rotateX(1deg);
    margin: -247px -107px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .hero-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
  .download-title {
    font-size: 28px;
  }
  .download-sub {
    font-size: 14px;
  }
}

/* Make video/images fill the device screen */
.device-screen {
  position: relative;
  overflow: hidden;
}

.device-screen .phone-screen-video,
.device-screen .phone-screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* Drop shadow on the device frame */
.device.device-iphone-14-pro {
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
}

/* Hero device perspective container */
.hero-device {
  perspective: 1200px;
}

.feature-phone-wrapper {
  perspective: 1000px;
}

.download-device {
  perspective: 1000px;
}

/* Old phone-screen styles kept for fallback but overridden by devices.css */


/* ═══════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════ */
.marquee {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-content span {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 24px;
  white-space: nowrap;
}

.marquee-dot {
  color: var(--accent) !important;
  opacity: 0.5;
  font-size: 12px !important;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.about-header {
  text-align: center;
  margin-bottom: 64px;
}

.about-header .section-sub {
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.about-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.about-card:hover {
  background: var(--bg-white);
  border-color: rgba(200, 169, 126, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.about-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 126, 0.1);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ═══════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════ */
.features {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(80px, 10vw, 140px);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row-reversed {
  direction: rtl;
}

.feature-row-reversed > * {
  direction: ltr;
}

.feature-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-list svg {
  flex-shrink: 0;
  color: var(--accent-dark);
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-phone-wrapper {
  position: relative;
}

.feature-phone-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200, 169, 126, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .feature-row-reversed {
    direction: ltr;
  }
  .feature-visual {
    order: -1;
  }
  .feature-list {
    align-items: center;
  }
  .feature-row {
    margin-bottom: clamp(40px, 6vw, 80px);
  }
}


/* ═══════════════════════════════════════════════════════
   RESOURCES
   ═══════════════════════════════════════════════════════ */
.resources {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.resources-header {
  text-align: center;
  margin-bottom: 60px;
}

.resources-header .section-sub {
  margin: 0 auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  border: 1px solid rgba(200, 169, 126, 0.08);
  position: relative;
}

.resource-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  background: linear-gradient(135deg, rgba(200, 169, 126, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.resource-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(200, 169, 126, 0.15);
  border-color: rgba(200, 169, 126, 0.2);
}

.resource-card:hover::after {
  opacity: 1;
}

.resource-card-image {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  position: relative;
}

.resource-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.resource-card:hover .resource-card-image img {
  transform: scale(1.08);
}

/* ─── Group Labels ─── */
.resource-group-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 8px;
  margin-top: 16px;
}

.resource-group-label:first-child {
  margin-top: 0;
  padding-top: 0;
}

.group-label-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  flex-shrink: 0;
}

.group-label-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.group-label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 169, 126, 0.3) 0%, transparent 100%);
  min-width: 40px;
}

.group-label-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(200, 169, 126, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ─── Coming Soon Card ─── */
.resource-card-coming-soon {
  background: transparent;
  border: 1.5px dashed rgba(200, 169, 126, 0.2);
}

.resource-card-coming-soon .resource-card-image {
  aspect-ratio: auto;
  min-height: 140px;
}

.resource-card-coming-soon::after {
  display: none;
}

.resource-card-coming-soon:hover {
  border-color: rgba(200, 169, 126, 0.4);
  box-shadow: none;
  transform: none;
  background: rgba(200, 169, 126, 0.03);
}

.coming-soon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}

.coming-soon-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 169, 126, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}

.coming-soon-text {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.coming-soon-sub {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .group-label-badge {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .group-label-badge svg {
    width: 14px;
    height: 14px;
  }

  .group-label-text {
    font-size: 12px;
  }
}

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


/* ═══════════════════════════════════════════════════════
   TOOLS (Dark Section)
   ═══════════════════════════════════════════════════════ */
.tools {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
  color: var(--text-white);
}

.tools-header {
  text-align: center;
  margin-bottom: 60px;
}

.tools-header .section-title {
  color: var(--text-white);
}

.tools-header .section-sub {
  color: var(--text-light);
  margin: 0 auto;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.tool-card {
  position: relative;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}

.tool-card:hover {
  border-color: rgba(200, 169, 126, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tool-card-featured {
  border-color: rgba(200, 169, 126, 0.15);
  background: linear-gradient(170deg, rgba(200, 169, 126, 0.05) 0%, var(--bg-dark-2) 50%);
}

.tool-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(200, 169, 126, 0.1);
  padding: 5px 12px;
  border-radius: 100px;
}

.tool-card-badge-live {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
}

.tool-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 126, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--accent);
}

.tool-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.tool-card-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tool-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-card-features span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}


/* ═══════════════════════════════════════════════════════
   APP FEATURES (Light Section — Non-AI)
   ═══════════════════════════════════════════════════════ */
.app-features {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}

.app-features-header {
  text-align: center;
  margin-bottom: 60px;
}

.app-features-header .section-sub {
  margin: 0 auto;
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--bg-white);
  transition: all 0.5s var(--ease);
  position: relative;
}

.app-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  background: linear-gradient(135deg, rgba(200, 169, 126, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.app-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 126, 0.2);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 8px 16px rgba(0, 0, 0, 0.03);
}

.app-feature-card:hover::before {
  opacity: 1;
}

.app-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200, 169, 126, 0.12) 0%, rgba(200, 169, 126, 0.04) 100%);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

.app-feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.app-feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .app-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .app-features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* ═══════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════ */
.stats {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  line-height: 1;
}

.stat-text-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ═══════════════════════════════════════════════════════
   DOWNLOAD CTA
   ═══════════════════════════════════════════════════════ */
.download {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
  color: var(--text-white);
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.download-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.download-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(200, 169, 126, 0.1);
  top: -20%;
  left: -10%;
}

.download-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 106, 239, 0.06);
  bottom: -20%;
  right: -10%;
}

.download-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.download-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.download-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.download-device {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

@media (max-width: 900px) {
  .download-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-sub {
    max-width: 100%;
  }
  .download-actions {
    justify-content: center;
  }
  .download-device {
    display: flex;
  }
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: #050508;
  color: var(--text-white);
  padding: clamp(60px, 8vw, 80px) 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  border-radius: 12px;
}

.footer-logo span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 340px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--text-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links-group {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .footer-links-group {
    grid-template-columns: 1fr 1fr;
  }
}


/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATION STATES
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

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


/* ═══════════════════════════════════════════════════════
   LEGAL PAGES (Privacy Policy, Terms)
   ═══════════════════════════════════════════════════════ */
.legal-page {
  background: var(--bg-white);
  min-height: 100vh;
}

.legal-hero {
  background: var(--bg-dark);
  padding: 140px 0 60px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 15px;
  color: var(--text-light);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px clamp(20px, 4vw, 40px) 100px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
  list-style: disc;
}

.legal-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent);
}

.legal-content strong {
  color: var(--text-dark);
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none !important;
  }
}

::selection {
  background: rgba(200, 169, 126, 0.3);
  color: var(--text-dark);
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}
