/* ============================================================
   RODMENA Apps — Consolidated Design System
   Reference: rodmena.co.uk (parent company)
   ============================================================ */

/* ----- Design Tokens (Dark — Default) ----- */
:root {
  --black: #000000;
  --dark: #0a0a0a;
  --darker: #050505;
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --pink: #ec4899;
  --pink-bright: #f472b6;
  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-text: linear-gradient(135deg, #c4b5fd 0%, #f9a8d4 100%);
  --gradient-glass: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(236,72,153,0.1));

  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.52);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --glass-bg: rgba(10,10,10,0.8);
  --card-bg: rgba(255,255,255,0.03);
  --surface: #0a0a0a;
  --body-bg: #000000;

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

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(139,92,246,0.3);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Light Theme ----- */
[data-theme="light"] {
  --black: #ffffff;
  --dark: #f8f8f8;
  --darker: #f0f0f0;
  --text-primary: #1a1a2e;
  --text-secondary: rgba(0,0,0,0.6);
  --text-muted: rgba(0,0,0,0.45);
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --glass-bg: rgba(255,255,255,0.85);
  --card-bg: rgba(255,255,255,0.5);
  --surface: #ffffff;
  --body-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--body-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  min-width: 320px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: 56px; font-weight: 700; letter-spacing: -0.003em; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1em;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover { color: var(--pink-bright); }

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-4); }
}

/* ----- Section ----- */
.section {
  padding: var(--space-10) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--space-10) 0; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: rgba(139,92,246,0.15);
  color: var(--accent-bright);
  letter-spacing: 0.3px;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  letter-spacing: -0.003em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: var(--space-8);
  color: var(--text-secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; margin-bottom: var(--space-6); }
}

/* ----- The Slash (Signature Brand Element) ----- */
.slash {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 200;
  display: inline-block;
}

/* ----- Navbar ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--space-5);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
}

.navbar-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 16px;
}

.theme-toggle:hover {
  background: rgba(139,92,246,0.15);
  color: var(--accent-bright);
  border-color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px var(--space-6) var(--space-6);
    gap: var(--space-6);
    box-shadow: -4px 0 30px rgba(0,0,0,0.5);
    transition: right 0.4s ease;
    z-index: 999;
    border-left: 1px solid var(--border);
  }

  .navbar-nav.active { right: 0; }

  .navbar-links {
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
  }

  .navbar-links a {
    font-size: 18px;
    padding: 10px 0;
    display: block;
  }

  .mobile-menu-toggle { display: block; }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    display: none;
  }

  .mobile-menu-overlay.active { display: block; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(139,92,246,0.25);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(139,92,246,0.08);
  color: var(--text-primary);
}

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

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ----- Cards ----- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-glass {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card-featured {
  border-color: rgba(139,92,246,0.3);
}

.card-featured::before {
  content: 'FEATURED';
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--gradient-accent);
  color: white;
  padding: 4px 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 1;
}

/* ----- Hero ----- */
.hero {
  padding: 160px 0 100px;
  background: var(--body-bg);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '/';
  position: absolute;
  right: -5vw;
  top: -10vh;
  font-size: 80vw;
  font-weight: 200;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.03;
  pointer-events: none;
  transform: rotate(15deg);
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: rgba(139,92,246,0.15);
  color: var(--accent-bright);
  margin-bottom: var(--space-5);
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: var(--space-5);
  color: var(--text-primary);
  line-height: 1.08;
  letter-spacing: -0.003em;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  font-weight: 400;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-9);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 17px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }
  .hero-stats { gap: var(--space-5); }
  .hero-stat-value { font-size: 22px; }
}

/* ----- Apps Section ----- */
.apps-section {
  padding: var(--space-10) 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-6);
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.app-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.app-card-image {
  position: relative;
  height: 180px;
  background: var(--gradient-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.app-icon {
  width: 64px;
  height: 64px;
  background: rgba(139,92,246,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent-bright);
  border: 1px solid rgba(139,92,246,0.2);
}

.app-card-content {
  padding: var(--space-6);
}

.app-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.app-category {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(139,92,246,0.1);
  color: var(--accent-bright);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.app-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  font-size: 14px;
}

.app-buttons {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.app-store-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 16px;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: var(--transition-fast);
  text-decoration: none;
  border: 1px solid var(--border);
}

.app-store-btn:hover {
  background: rgba(139,92,246,0.15);
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-1px);
}

[data-theme="light"] .app-store-btn {
  background: rgba(0,0,0,0.05);
}

[data-theme="light"] .app-store-btn:hover {
  background: rgba(139,92,246,0.1);
}

/* ----- Features Section ----- */
.features-section {
  padding: var(--space-10) 0;
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  text-align: center;
  padding: var(--space-7) var(--space-5);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: var(--gradient-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent-bright);
  border: 1px solid rgba(139,92,246,0.15);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  border-color: rgba(139,92,246,0.3);
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

/* ----- CTA Section ----- */
.cta-section {
  padding: var(--space-12) 0;
  background: var(--gradient-glass);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139,92,246,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: 1.3;
}

.cta-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-7);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .cta-title { font-size: 26px; }
  .cta-description { font-size: 16px; }
}

/* ----- Footer ----- */
.footer {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: var(--space-10) 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--text-secondary);
  transition: var(--transition-fast);
  border: 1px solid var(--border);
  font-size: 16px;
}

.social-link:hover {
  background: rgba(139,92,246,0.15);
  color: var(--accent-bright);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-column h3 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--space-5);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition-fast);
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-brand { text-align: center; align-items: center; }
  .footer-description { text-align: center; max-width: 100%; }
  .footer-column { text-align: center; }
  .footer-links { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ----- App Details Page ----- */
.app-hero {
  padding: 140px 0 80px;
  background: var(--body-bg);
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.app-hero::before {
  content: '/';
  position: absolute;
  left: -5vw;
  bottom: -10vh;
  font-size: 60vw;
  font-weight: 200;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.03;
  pointer-events: none;
  transform: rotate(-15deg);
  line-height: 1;
}

.app-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}

.app-hero-info h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: var(--space-5);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.app-hero-info .app-tagline {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-7);
  line-height: 1.6;
}

.app-download-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  text-decoration: none;
  gap: var(--space-3);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.app-store-badge:hover {
  border-color: var(--accent);
  background: rgba(139,92,246,0.1);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.app-store-badge i {
  font-size: 22px;
  color: var(--text-primary);
}

.app-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-mockup {
  width: 100%;
  max-width: 400px;
  background: var(--gradient-glass);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--border);
}

.app-features-section {
  padding: var(--space-10) 0;
  background: var(--surface);
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.app-details-section {
  padding: var(--space-10) 0;
}

.app-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}

.app-details-content h2 {
  font-size: 36px;
  margin-bottom: var(--space-5);
  font-weight: 700;
  line-height: 1.3;
}

.app-details-list {
  list-style: none;
  margin: var(--space-5) 0;
}

.app-details-list li {
  display: flex;
  align-items: start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  font-size: 15px;
}

.app-details-list i {
  color: var(--accent-bright);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.app-guide-section {
  padding: var(--space-10) 0;
  background: var(--surface);
}

.guide-accordion {
  max-width: 800px;
  margin: var(--space-8) auto 0;
}

.accordion-item {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  border: 1px solid var(--border);
}

.accordion-header {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background: rgba(139,92,246,0.05);
}

.accordion-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.accordion-content {
  padding: 0 var(--space-6);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: 0 var(--space-6) var(--space-6);
  max-height: 1000px;
}

.accordion-content p,
.accordion-content li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.app-support-section {
  padding: var(--space-10) 0;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.support-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.support-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: var(--gradient-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-bright);
  border: 1px solid rgba(139,92,246,0.15);
}

.app-cta-section {
  padding: var(--space-12) 0;
  background: var(--gradient-glass);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.app-cta-content h2 {
  font-size: 36px;
  margin-bottom: var(--space-4);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.app-cta-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-7);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .app-hero-content { grid-template-columns: 1fr; text-align: center; }
  .app-hero-info h1 { font-size: 32px; }
  .app-download-buttons { justify-content: center; }
  .app-details-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .app-details-content h2 { font-size: 26px; }
  .apps-grid { grid-template-columns: 1fr; }
}

/* ----- Utility Classes ----- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted) !important; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

/* ----- Scroll Animations -----
   Content is visible by default. The .animated class adds a subtle
   entrance effect when the IntersectionObserver fires. This prevents
   content being invisible if JS/React hasn't initialized yet. */
[data-animate] {
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(-30px);
}

[data-animate="fade-left"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(30px);
}

[data-animate="fade-right"].animated {
  opacity: 1;
  transform: translateX(0);
}

/* Fallback: if JS hasn't added .animated within 2s, reveal everything */
[data-animate]:not(.animated) {
  animation: reveal-fallback 0.01s 2s forwards;
}

@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0) translateX(0); }
}

/* ----- Loading Spinner ----- */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(139,92,246,0.2);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----- Notification ----- */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 14px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 10000;
  font-size: 14px;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification-success { border-color: rgba(139,92,246,0.3); }
.notification-error { border-color: rgba(236,72,153,0.3); }
