/* ============================================
   Approve The Move — Website Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #09090b;
  --bg-card: #131316;
  --bg-card-hover: #1a1a1f;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #4a9eff;
  --accent-rgb: 74, 158, 255;
  --accent-glow: rgba(74, 158, 255, 0.15);
  --accent-2: #7c3aed;
  --border: #27272a;
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1100px;
  --transition: 0.2s ease;
}

[data-theme="light"] {
  --bg: #fafafa;
  --bg-card: #ffffff;
  --bg-card-hover: #f4f4f5;
  --text: #18181b;
  --text-muted: #71717a;
  --border: #e4e4e7;
  --accent-glow: rgba(74, 158, 255, 0.08);
}

/* Per-app accent color themes */
body[data-accent="green"] {
  --accent: #34c759;
  --accent-rgb: 52, 199, 89;
  --accent-glow: rgba(52, 199, 89, 0.15);
  --accent-2: #30b350;
}

body[data-accent="orange"] {
  --accent: #ff9500;
  --accent-rgb: 255, 149, 0;
  --accent-glow: rgba(255, 149, 0, 0.15);
  --accent-2: #ff3b30;
}

body[data-accent="purple"] {
  --accent: #af52de;
  --accent-rgb: 175, 82, 222;
  --accent-glow: rgba(175, 82, 222, 0.15);
  --accent-2: #5e5ce6;
}

body[data-accent="red"] {
  --accent: #ff3b30;
  --accent-rgb: 255, 59, 48;
  --accent-glow: rgba(255, 59, 48, 0.15);
  --accent-2: #ff9500;
}

body[data-accent="teal"] {
  --accent: #5ac8fa;
  --accent-rgb: 90, 200, 250;
  --accent-glow: rgba(90, 200, 250, 0.15);
  --accent-2: #00c7be;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(ellipse at top, rgba(74, 158, 255, 0.03) 0%, transparent 60%);
  background-attachment: fixed;
}

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

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .nav {
  background: rgba(245, 245, 247, 0.85);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  opacity: 1;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 130px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.hero::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 158, 255, 0.25), transparent 65%);
  top: -200px;
  left: -150px;
  animation: float-1 16s ease-in-out infinite;
}

.hero::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 65%);
  top: 0;
  right: -150px;
  animation: float-2 20s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 1;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.05); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(1.08); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(74, 158, 255, 0.2);
}

/* ============================================
   About Section
   ============================================ */

.about {
  padding: 24px 0 64px;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}

/* ============================================
   Apps Grid
   ============================================ */

.apps-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.card-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.card-status.coming-soon {
  background: rgba(255, 204, 10, 0.12);
  color: #ffcc0a;
  border: 1px solid rgba(255, 204, 10, 0.3);
}

[data-theme="light"] .card-status.coming-soon {
  background: rgba(184, 134, 11, 0.12);
  color: #b8860b;
  border-color: rgba(184, 134, 11, 0.3);
}

.badge.coming-soon {
  background: rgba(255, 204, 10, 0.12);
  color: #ffcc0a;
  border-color: rgba(255, 204, 10, 0.3);
}

[data-theme="light"] .badge.coming-soon {
  background: rgba(184, 134, 11, 0.12);
  color: #b8860b;
  border-color: rgba(184, 134, 11, 0.3);
}

.app-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(var(--accent-rgb), 0.15) inset;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.app-icon-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.app-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-card-header .app-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.app-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.app-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  background: var(--accent-glow);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.app-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   Values / Principles Grid (About section)
   ============================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 32px 0;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.value-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* ============================================
   FAQ Accordion
   ============================================ */

.faq-list {
  max-width: 780px;
  margin-top: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: all var(--transition);
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: color var(--transition);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '\2212';
  color: var(--accent);
}

.faq-item p {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   App Page (Individual)
   ============================================ */

.app-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

.app-hero .container {
  position: relative;
  z-index: 1;
}

.app-hero .app-icon-large {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.app-hero .app-icon-placeholder-large {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.app-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.app-hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 24px;
}

.app-hero .app-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(74, 158, 255, 0.15);
}

.badge.free {
  background: rgba(52, 199, 89, 0.12);
  color: #34c759;
  border-color: rgba(52, 199, 89, 0.2);
}

.badge.no-ads {
  background: rgba(255, 159, 10, 0.12);
  color: #ff9f0a;
  border-color: rgba(255, 159, 10, 0.2);
}

/* ============================================
   Content Sections (App Pages)
   ============================================ */

.content-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.content-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 750px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Steps / How to Use */
.steps {
  counter-reset: step;
  max-width: 700px;
}

.step {
  counter-increment: step;
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.step::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(74, 158, 255, 0.2);
  margin-top: 2px;
}

.step p {
  margin-bottom: 0;
}

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

/* ============================================
   Privacy Page
   ============================================ */

.privacy-content {
  max-width: 700px;
  padding: 140px 0 80px;
}

.privacy-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.privacy-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.privacy-content p, .privacy-content li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.privacy-content ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}

.privacy-content li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.privacy-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.privacy-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.privacy-hub-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all var(--transition);
}

.privacy-hub-card:hover {
  border-color: var(--accent);
  opacity: 1;
}

.privacy-hub-card .icon-small {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.privacy-hub-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.privacy-hub-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero::before,
  .hero::after {
    animation: none;
  }
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 90;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

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

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 110px 0 36px;
  }

  .app-hero {
    padding: 100px 0 40px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

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

  .nav-hamburger {
    display: block;
  }

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

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

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .privacy-hub-grid {
    grid-template-columns: 1fr;
  }
}
