/* Quantum Reality Programming - Modern Redesign 2026 */
:root {
  --bg-dark: #0b1220;
  --bg-card: #141e30;
  --bg-elevated: #1a2740;
  --accent: #00c9a7;
  --accent-hover: #00e0b8;
  --accent-dim: rgba(0, 201, 167, 0.15);
  --text: #e8eef7;
  --text-muted: #9aa8c0;
  --text-dim: #6b7a94;
  --border: #243352;
  --danger: #ff6b6b;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-hover);
}

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

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}
.logo-link img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #04120f !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: #04120f !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 3.5rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #0f1a2e 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 201, 167, 0.12), transparent);
  pointer-events: none;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #04120f;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-download {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}
.btn-download:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.btn-play {
  background: #01875f;
  color: white;
}
.btn-play:hover {
  background: #02a571;
}

/* Sections */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.app-card:hover {
  border-color: rgba(0, 201, 167, 0.4);
  transform: translateY(-3px);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.app-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.app-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.app-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.app-features {
  list-style: none;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.app-features li {
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.app-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

/* Sideload box */
.sideload {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2.5rem;
}
.sideload h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}
.sideload ol {
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.sideload li {
  margin-bottom: 0.4rem;
}

/* Support section - secondary */
.support-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.support-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.support-text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.support-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.support-list {
  list-style: none;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.support-list li {
  padding: 0.3rem 0;
  padding-left: 1.3rem;
  position: relative;
}
.support-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* About / Contact */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.about-content h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.contact-block {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
}
.contact-block p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.contact-block a {
  font-weight: 500;
}

/* Tip Jar */
.tip-banner {
  background: linear-gradient(135deg, #0d3d32, #0a2a24);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  margin: 2rem 0;
}
.tip-banner h3 {
  margin-bottom: 0.5rem;
}
.tip-banner p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.cashapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00d64b;
  color: #003b14 !important;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}
.cashapp-btn:hover {
  background: #00e855;
  color: #003b14 !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--accent);
}

/* Utility */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.muted {
  color: var(--text-muted);
}
.small {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .support-inner,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 2.5rem 1rem 3rem;
  }
  .section {
    padding: 2.5rem 1rem;
  }
}

/* Privacy page specifics */
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.privacy-content h1 {
  margin-bottom: 1rem;
}
.privacy-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
