/* ============================================================
   ParadoxShift Marketing Site — style.css
   Design language: dark cosmos / chess / time-travel
   ============================================================ */

/* ---- Design Tokens ---------------------------------------- */
:root {
  --void:     #060810;
  --deep:     #09091a;
  --surface:  #0f1124;
  --elevated: #161a33;
  --rim:      #1e2240;

  --violet:   #7c6fff;
  --violet-dim: rgba(124, 111, 255, 0.15);
  --cyan:     #00d4f5;
  --cyan-dim: rgba(0, 212, 245, 0.12);
  --gold:     #e8c84a;
  --gold-dim: rgba(232, 200, 74, 0.12);

  --text:     #eaebf5;
  --muted:    #9da5c8;
  --subtle:   #3a3d5c;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-violet: 0 0 40px rgba(124, 111, 255, 0.25);
  --shadow-cyan:   0 0 40px rgba(0, 212, 245, 0.25);
  --shadow-card:   0 4px 32px rgba(0, 0, 0, 0.5);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

/* ---- Grid background -------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 111, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 111, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Layout ----------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; z-index: 1; }

/* ---- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.logo-text {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #00e5ff;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}

/* ---- Navigation ------------------------------------------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  background: rgba(6, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 34, 64, 0.8);
  transition: border-color var(--transition);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-logo span { }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  background: var(--violet);
  color: white;
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  background: #6b5eff;
  box-shadow: 0 0 20px rgba(124, 111, 255, 0.5);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--violet);
  color: white;
  box-shadow: var(--shadow-violet);
}
.btn-primary:hover {
  background: #6b5eff;
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(124, 111, 255, 0.45);
}
.btn-secondary {
  background: var(--elevated);
  color: var(--text);
  border: 1px solid var(--rim);
}
.btn-secondary:hover {
  border-color: var(--subtle);
  background: var(--surface);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--violet);
  border: 1px solid var(--violet);
}
.btn-outline:hover {
  background: var(--violet-dim);
}
.btn.disabled, .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.btn svg { flex-shrink: 0; }

/* ---- Store buttons ---------------------------------------- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid;
  transition: all var(--transition);
}
.store-btn-label { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn-label .pre { font-size: 0.7rem; font-weight: 400; opacity: 0.75; }
.store-btn-label .name { font-size: 0.95rem; }
.store-btn-google, .store-btn-apple, .store-btn-steam {
  background: var(--elevated);
  border-color: var(--rim);
  color: var(--muted);
}
.store-btn-apple.soon, .store-btn-steam.soon, .store-btn-google.soon {
  position: relative;
  cursor: default;
}
.store-btn-icon {
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}
.soon-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--violet);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---- Hero ------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 111, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 245, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text .eyebrow { margin-bottom: 16px; }
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  margin-bottom: 20px;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
}

/* ---- Phone Mockup ----------------------------------------- */
.phone-mockup {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-frame {
  max-width: 290px;
  width: 100%;
  background: #0c0e1e;
  border: 2px solid var(--rim);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(124, 111, 255, 0.2),
    var(--shadow-card),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
}
.phone-notch {
  width: 80px;
  height: 10px;
  background: var(--void);
  border-radius: 10px;
  margin: 0 auto 10px;
  border: 1px solid var(--rim);
}
.phone-screen {
  background: var(--deep);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
}

/* Screenshot placeholder — replace with <img> when screenshots are ready */
.screenshot-frame {
  width: 100%;
  aspect-ratio: 9/16;
  background:
    repeating-conic-gradient(
      rgba(255,255,255,0.015) 0% 25%,
      rgba(255,255,255,0.03) 0% 50%
    ) 0 0 / 34px 34px,
    var(--deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}
.screenshot-frame .sf-icon { font-size: 1.6rem; opacity: 0.3; }
.screenshot-frame .sf-label { opacity: 0.4; }

/* Actual screenshot/video (swap in when ready) */
.phone-screen img,
.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 30px;
}

/* ---- Demo Board (animated) -------------------------------- */
.demo-board-wrapper {
  width: 100%;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  background: #0d0f20;
}
.demo-bar {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0,0,0,0.3);
}
.demo-bar .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.demo-bar .dot.active { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.demo-timer {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.demo-board-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.chess-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.08);
}
.sq {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  position: relative;
  transition: background 0.3s;
}
.sq.light { background: #2a2d44; }
.sq.dark  { background: #1a1d2e; }
.sq.highlight-from { background: rgba(124, 111, 255, 0.35) !important; }
.sq.highlight-to   { background: rgba(0, 212, 245, 0.25) !important; }

.piece {
  transition: all 0.6s ease;
  position: relative;
  user-select: none;
  line-height: 1;
}
.piece.black-p { color: #c8c8c8; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.piece.white-p { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.piece.phasing {
  opacity: 0.35;
  animation: phase-pulse 1.2s ease-in-out infinite;
  color: var(--cyan);
  filter: drop-shadow(0 0 6px var(--cyan));
}
.piece.materializing {
  animation: materialize-flash 0.8s ease-out forwards;
}

.demo-status {
  text-align: center;
  padding: 10px 14px 14px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  min-height: 36px;
}
.demo-status .phase-label {
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Features --------------------------------------------- */
.features {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { border-color: var(--subtle); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-icon.violet { background: var(--violet-dim); }
.feature-icon.cyan   { background: var(--cyan-dim); }
.feature-icon.gold   { background: var(--gold-dim); }
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- How It Works teaser ---------------------------------- */
.how-teaser {
  padding: 80px 0;
  text-align: center;
}
.how-teaser p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---- Platforms / Download --------------------------------- */
.platforms {
  padding: 80px 0;
  border-top: 1px solid var(--rim);
}
.platforms-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.platforms-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.platforms-inner p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 440px;
}
.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---- Newsletter ------------------------------------------- */
.newsletter {
  padding: 100px 0;
  position: relative;
}
.newsletter-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 111, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.newsletter-card > p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--violet);
}
.newsletter-form input[type="email"]::placeholder { color: var(--muted); }
.newsletter-submit {
  padding: 14px 28px;
  background: var(--violet);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.newsletter-submit:hover {
  background: #6b5eff;
  box-shadow: var(--shadow-violet);
}
.newsletter-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-message {
  margin-top: 16px;
  font-size: 0.875rem;
  min-height: 20px;
}
.form-message.success { color: #22c55e; }
.form-message.error   { color: #f87171; }

/* ---- Beta section ----------------------------------------- */
.beta-section {
  padding: 100px 0;
  position: relative;
}
.beta-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: 20px;
  padding: 56px 48px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.beta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(99,90,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.beta-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.beta-card > p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
}
.beta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.beta-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.beta-form input[type="email"]:focus { border-color: var(--violet); }
.beta-form input[type="email"]::placeholder { color: var(--muted); }
.beta-submit {
  padding: 14px 28px;
  background: var(--violet);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.beta-submit:hover { background: #6b5eff; box-shadow: var(--shadow-violet); }
.beta-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.beta-codes { margin-top: 32px; }
.beta-instructions {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.beta-steps {
  text-align: left;
  display: inline-block;
  margin: 0 auto 20px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2;
}
.beta-code-primary {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--violet);
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: 6px;
  padding: 3px 10px;
  display: inline-block;
  vertical-align: middle;
}
.beta-share-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.beta-code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.beta-code-item {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: 8px;
  padding: 10px 16px;
}
@media (max-width: 600px) {
  .beta-card { padding: 40px 24px; }
  .beta-form { flex-direction: column; }
}

/* ---- Footer ----------------------------------------------- */
footer {
  border-top: 1px solid var(--rim);
  padding: 48px 24px 32px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 28px; border-radius: 6px; }
.footer-logo span { font-size: 0.95rem; opacity: 0.8; }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--subtle);
}

/* ============================================================
   SUPPORT PAGE
   ============================================================ */

/* ---- FAQ -------------------------------------------------- */
.faq-section { padding: 60px 0 80px; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--subtle); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}
.faq-question:hover { color: var(--text); }
.faq-question span { flex: 1; }

.faq-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-answer ol { padding-left: 20px; }

/* ---- Contact --------------------------------------------- */
.contact-section {
  padding: 60px 0 100px;
  border-top: 1px solid var(--rim);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.contact-direct h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 14px;
}
.contact-direct > p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.contact-email-link {
  display: inline-block;
  color: var(--violet);
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(124, 111, 255, 0.35);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
}
.contact-email-link:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 245, 0.5);
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.contact-form-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--violet); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-group textarea { resize: vertical; line-height: 1.6; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%236b7194' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: var(--deep); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
}

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

.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 111, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: 16px; }
.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Phases section --------------------------------------- */
.mechanics { padding: 80px 0 60px; }
.mechanics-intro {
  text-align: center;
  margin-bottom: 64px;
}
.mechanics-intro h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.mechanics-intro p { color: var(--muted); max-width: 520px; margin: 0 auto; }

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.phase-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.phase-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  font-weight: 900;
  opacity: 0.06;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}
.phase-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}
.phase-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.phase-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* ---- Screenshot showcase ---------------------------------- */
.screenshots-section { padding: 40px 0 80px; }
.screenshots-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.screenshots-section .sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 48px;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.screenshot-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.screenshot-img {
  width: 100%;
  aspect-ratio: 9/19.3;
  background:
    repeating-conic-gradient(
      rgba(255,255,255,0.015) 0% 25%,
      rgba(255,255,255,0.03) 0% 50%
    ) 0 0 / 28px 28px,
    var(--deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.screenshot-img::after {
  content: attr(data-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.4;
}
/* Video/image inside screenshot card */
.screenshot-card video,
.screenshot-card img {
  width: 100%;
  display: block;
  aspect-ratio: 9/19.3;
  object-fit: contain;
  background: #000;
}
/* When a real screenshot is added, use:
   <img src="images/screenshots/screenshot-N.png" alt="..."> inside .screenshot-card */
.screenshot-card figcaption {
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--rim);
}
.screenshot-card figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---- Rules Table ------------------------------------------ */
.rules-section { padding: 60px 0; }
.rules-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.rules-section .sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 40px;
}
.delay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.delay-table th {
  background: var(--surface);
  border: 1px solid var(--rim);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.delay-table td {
  border: 1px solid var(--rim);
  padding: 14px 20px;
  vertical-align: middle;
}
.delay-table tbody tr:hover td { background: var(--surface); }
.piece-symbol {
  font-size: 1.4rem;
  margin-right: 10px;
}
.delay-badge {
  display: inline-block;
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid rgba(124, 111, 255, 0.3);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---- Special Scenarios ------------------------------------ */
.scenarios { padding: 60px 0; }
.scenarios h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 40px;
}
.scenarios-list { display: flex; flex-direction: column; gap: 16px; }
.scenario-item {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.scenario-icon { font-size: 1.8rem; line-height: 1; }
.scenario-item h3 { font-size: 1rem; margin-bottom: 6px; }
.scenario-item p { font-size: 0.925rem; color: var(--muted); line-height: 1.65; }

/* ---- Campaign section ------------------------------------- */
.campaign-section { padding: 60px 0 100px; }
.campaign-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(124, 111, 255, 0.05) 100%);
  border: 1px solid var(--rim);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.campaign-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 111, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.campaign-text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
.campaign-text p { color: var(--muted); line-height: 1.75; }
.campaign-levels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.level-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.level-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.level-title { font-size: 0.9rem; font-weight: 600; }
.level-desc  { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.level-lock  { margin-left: auto; font-size: 0.85rem; color: var(--subtle); }

/* ---- Animations ------------------------------------------- */
@keyframes phase-pulse {
  0%, 100% { opacity: 0.2; filter: drop-shadow(0 0 4px var(--cyan)); }
  50%       { opacity: 0.5; filter: drop-shadow(0 0 10px var(--cyan)); }
}
@keyframes materialize-flash {
  0%   { opacity: 0; transform: scale(1.4); filter: drop-shadow(0 0 20px var(--cyan)); }
  40%  { opacity: 1; transform: scale(0.9); filter: drop-shadow(0 0 12px var(--cyan)); }
  70%  { transform: scale(1.05); filter: drop-shadow(0 0 6px var(--cyan)); }
  100% { transform: scale(1); filter: none; opacity: 1; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 111, 255, 0.2); }
  50%       { box-shadow: 0 0 40px rgba(124, 111, 255, 0.5); }
}

.animate-in {
  opacity: 0;
  animation: fade-in-up 0.7s ease forwards;
}
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .hero-content    { grid-template-columns: 1fr; gap: 48px; }
  .phone-mockup    { order: -1; }
  .phone-frame     { max-width: 240px; }
  .features-grid   { grid-template-columns: 1fr; }
  .phases-grid     { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; }
  .campaign-card   { grid-template-columns: 1fr; padding: 36px; }
  .newsletter-card { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .store-buttons   { flex-direction: column; align-items: flex-start; }
  .platform-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--deep);
    border-bottom: 1px solid var(--rim);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-hamburger { display: flex; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-section { padding: 60px 0 100px; }
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}
.privacy-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--text);
  margin: 48px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rim);
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.privacy-content ul {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
}
.privacy-content ul li {
  color: var(--muted);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}
.privacy-content ul li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--violet);
  font-weight: 700;
}
.privacy-content a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-content a:hover { color: var(--cyan); }
.privacy-content strong { color: var(--text); font-weight: 600; }
.privacy-effective {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--subtle);
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 40px;
}

/* ============================================================
   DELETE ACCOUNT PAGE
   ============================================================ */
.delete-section { padding: 60px 0 100px; }

.delete-layout {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Warning card */
.delete-warning {
  background: rgba(232, 200, 74, 0.06);
  border: 1px solid rgba(232, 200, 74, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.delete-warning-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.delete-warning ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.delete-warning li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.delete-warning li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--gold);
  font-weight: 700;
}
.delete-warning-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--subtle);
  font-style: italic;
}

/* Sign-in card */
.delete-card {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.delete-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.delete-card-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Google sign-in button wrapper */
.google-signin-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Alt auth note */
.alt-auth-note {
  font-size: 0.82rem;
  color: var(--subtle);
  text-align: center;
  line-height: 1.6;
}
.alt-auth-note a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.alt-auth-note a:hover { color: var(--cyan); }

/* Account badge (shown after sign-in) */
.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--elevated);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}
.account-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violet-dim);
  border: 1px solid var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--violet);
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* Confirmation checkbox */
.delete-confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
}
.delete-confirm-row input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--violet);
  cursor: pointer;
}
.delete-confirm-row span {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Danger button */
.btn-danger {
  background: #7f1d1d;
  color: #fca5a5;
  border: 1px solid #991b1b;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.15);
  width: 100%;
  justify-content: center;
}
.btn-danger:hover:not([disabled]) {
  background: #991b1b;
  color: #fecaca;
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}
.btn-danger[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Page-level status message */
.delete-page-message {
  font-size: 0.875rem;
  margin-top: 14px;
  min-height: 1.2em;
  line-height: 1.5;
}
.delete-page-message.error   { color: #f87171; }
.delete-page-message.success { color: #4ade80; }

/* Success state */
.delete-success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.delete-success h2 { margin-bottom: 10px; }
.delete-success p  { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
