/* ===================================================
   ArrowMind Puzzle — style.css
   =================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --green-900: #0a1a0a;
  --green-800: #0d2010;
  --green-700: #0f2d14;
  --green-600: #1a4a1e;
  --green-500: #2d7a34;
  --green-400: #3db346;
  --green-300: #5ed668;
  --green-200: #96ebb0;
  --green-100: #d1f5d8;

  --accent: #3db346;
  --accent-bright: #5ed668;
  --accent-glow: rgba(61, 179, 70, 0.35);

  --bg-primary: #080f08;
  --bg-secondary: #0d1a0e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  --text-primary: #f0faf1;
  --text-secondary: #a8c8ab;
  --text-muted: #6b8f6e;

  --border: rgba(61, 179, 70, 0.2);
  --border-bright: rgba(61, 179, 70, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(61, 179, 70, 0.2);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-main: 'Outfit', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--green-300) 0%, var(--accent-bright) 60%, #a8ff78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--accent-bright); }

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(61, 179, 70, 0.12);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Scroll Animations ---------- */
[data-anim] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-anim="slide-right"] {
  transform: translateX(-40px);
}

[data-anim="slide-left"] {
  transform: translateX(40px);
}

[data-anim].in-view {
  opacity: 1;
  transform: none;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 15, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 16px var(--accent-glow);
  transition: transform var(--transition);
}

.nav-logo:hover .nav-icon { transform: rotate(-8deg) scale(1.08); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 15, 8, 0.85) 0%,
    rgba(8, 15, 8, 0.6) 50%,
    rgba(13, 32, 16, 0.8) 100%
  );
}

.floating-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-arrow {
  position: absolute;
  font-size: 2rem;
  color: var(--accent-bright);
  opacity: 0;
  animation: floatUp var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
  filter: drop-shadow(0 0 8px var(--accent));
}

@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-120vh) rotate(20deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(61, 179, 70, 0.1);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 28px;
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-bright);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.8s ease 0.4s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  animation: fadeSlideDown 0.8s ease 0.6s both;
}

.hero-subtitle strong { color: var(--accent-bright); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeSlideDown 0.8s ease 0.8s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--green-400) 100%);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(45, 122, 52, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(45, 122, 52, 0.6);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeSlideDown 0.8s ease 1s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-bright);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-mockup {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  animation: heroMockupIn 1s ease 0.5s both;
}

@keyframes heroMockupIn {
  from { opacity: 0; transform: translateY(-40%) translateX(60px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.mockup-img {
  width: clamp(280px, 35vw, 480px);
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.6));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: fadeIn 1s ease 1.5s both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ---------- FEATURES ---------- */
.features {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

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

.feature-icon-wrap { margin-bottom: 24px; }

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(61,179,70,0.15), rgba(61,179,70,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 24px var(--accent-glow);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- HOW TO PLAY ---------- */
.how-to-play {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.how-to-play::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(61,179,70,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.step-item:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(61, 179, 70, 0.12);
  line-height: 1;
  min-width: 100px;
  flex-shrink: 0;
  transition: color var(--transition);
}

.step-item:hover .step-number { color: rgba(61, 179, 70, 0.25); }

.step-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
}

.step-icon-area {
  flex-shrink: 0;
}

.step-arrow-demo {
  width: 110px;
  height: 110px;
  background: rgba(61, 179, 70, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition);
}

.step-item:hover .step-arrow-demo {
  box-shadow: 0 0 24px var(--accent-glow);
}

.step-arrow-demo.win {
  background: rgba(61, 179, 70, 0.15);
  border-color: var(--accent);
}

.arrow-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-arrow {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mini-arrow.active {
  background: rgba(61, 179, 70, 0.2);
  border-color: var(--accent);
  color: var(--accent-bright);
  box-shadow: 0 0 12px var(--accent-glow);
}

.tap-indicator, .think-indicator, .win-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--accent-bright);
}

.tap-indicator span, .think-indicator span, .win-indicator span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.win-indicator { animation: winPulse 1.5s ease infinite; }

@keyframes winPulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 12px var(--accent-bright)); }
}

.step-text { flex: 1; }

.step-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- SCREENSHOTS ---------- */
.screenshots {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.screenshots-showcase {
  position: relative;
}

.screenshot-card {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  animation: ssCardIn 0.5s ease both;
}

.screenshot-card.active { display: grid; }

@keyframes ssCardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ss-phone {
  display: flex;
  justify-content: center;
}

.phone-screen {
  width: 260px;
  height: 500px;
  background: #0a160a;
  border-radius: 36px;
  border: 2px solid rgba(61,179,70,0.3);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 40px var(--accent-glow);
  display: flex;
  align-items: stretch;
}

.game-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  position: relative;
}

.game-preview.brain { background: linear-gradient(180deg, #0a2a0c 0%, #0d3010 100%); }
.game-preview.controls { background: linear-gradient(180deg, #08200a 0%, #0a2a10 100%); }
.game-preview.grid-lines { background: linear-gradient(180deg, #0d2a0f 0%, #102e12 100%); }
.game-preview.hints { background: linear-gradient(180deg, #0a2a1a 0%, #0d3020 100%); }

.game-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  background: rgba(61,179,70,0.15);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* Puzzle Grid Preview */
.arrow-grid.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
}

.preview-cell {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.preview-cell.highlight {
  background: rgba(61,179,70,0.2);
  border-color: var(--accent);
  color: var(--accent-bright);
  box-shadow: 0 0 10px rgba(61,179,70,0.3);
}

/* Challenge Vis */
.challenge-vis {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.challenge-row {
  display: flex;
  gap: 8px;
}

.c-arrow {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

.c-arrow.sliding {
  background: rgba(61,179,70,0.2);
  border-color: var(--accent);
  color: var(--accent-bright);
  animation: slide-anim 2s ease infinite;
}

@keyframes slide-anim {
  0%, 100% { transform: translateX(0); box-shadow: none; }
  50% { transform: translateX(8px); box-shadow: 0 0 16px var(--accent-glow); }
}

/* Grid Demo */
.grid-demo {
  position: relative;
  width: 180px; height: 180px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,179,70,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,179,70,0.2) 1px, transparent 1px);
  background-size: 45px 45px;
}

.grid-arrows {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.ga {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Hint Vis */
.hint-vis {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hint-arrow {
  width: 72px; height: 72px;
  background: rgba(61,179,70,0.15);
  border: 2px solid var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-bright);
}

.hint-arrow.glowing {
  animation: hintGlow 1.5s ease infinite;
}

@keyframes hintGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 16px transparent; }
}

.hint-text-bubble {
  background: rgba(61,179,70,0.15);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
  animation: bubblePop 2s ease infinite;
}

@keyframes bubblePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* SS Info */
.ss-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ss-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(61,179,70,0.12);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.ss-info h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.ss-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ss-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.ss-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.ss-dot.active {
  background: var(--accent-bright);
  width: 28px;
  border-radius: 5px;
}

/* ---------- APPEAL ---------- */
.appeal {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.appeal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.appeal-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 16px;
}

.appeal-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.appeal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appeal-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 28px; height: 28px;
  background: rgba(61,179,70,0.15);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-bright);
  flex-shrink: 0;
}

/* Live Puzzle */
.live-puzzle {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.puzzle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
}

.puzzle-level { color: var(--accent-bright); }
.puzzle-moves { color: var(--text-muted); }

.puzzle-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.pb-cell {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.pb-cell:hover {
  background: rgba(61,179,70,0.12);
  border-color: var(--accent);
  color: var(--accent-bright);
  transform: scale(1.05);
}

.pb-cell.hint-cell {
  background: rgba(61,179,70,0.2);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  box-shadow: 0 0 16px var(--accent-glow);
  animation: hintGlow 1.5s ease infinite;
}

.pb-cell.empty { background: rgba(61,179,70,0.05); border-color: rgba(61,179,70,0.1); }
.pb-cell.sliding-out {
  animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
  to { opacity: 0; transform: scale(0.5); }
}

.puzzle-footer {
  text-align: center;
}

.puzzle-hint-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- DOWNLOAD CTA ---------- */
.download-cta {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-glow-1 {
  width: 500px; height: 500px;
  background: rgba(45, 122, 52, 0.25);
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
}

.cta-glow-2 {
  width: 400px; height: 400px;
  background: rgba(61, 179, 70, 0.15);
  top: 50%; left: 70%;
  transform: translate(-50%, -50%);
}

.cta-arrows-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.06;
  display: flex;
  flex-wrap: wrap;
  font-size: 3rem;
  color: var(--accent-bright);
  align-content: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  pointer-events: none;
}

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

.cta-icon {
  width: 100px; height: 100px;
  border-radius: 24px;
  margin: 0 auto 32px;
  box-shadow: 0 0 48px var(--accent-glow);
  animation: float 4s ease-in-out infinite;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-block;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.play-badge {
  height: 72px;
  width: auto;
  border-radius: 12px;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 40px; height: 40px;
  border-radius: 10px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- ANIMATIONS UTILS ---------- */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-mockup {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 48px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 0;
  }

  .appeal-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .screenshot-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ss-phone { justify-content: center; }
  .ss-tag { align-self: center; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,15,8,0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }

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

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

  .step-item {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .step-content {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
  }

  .step-number { font-size: 3rem; }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 1.8rem; }
  .ss-info h3 { font-size: 1.5rem; }
}
