/* Pip's 20 Questions — Brand Stylesheet */

:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --secondary: #0284C7;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --dark: #0F172A;
  --dark-sub: #334155;
  --muted: #64748B;
  --light-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(79, 70, 229, 0.15);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark-sub);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-hover);
}

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

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #4F46E5, #0284C7);
  color: #FFFFFF;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 14px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.brand-text {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  color: var(--dark-sub);
  font-size: 15px;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary);
  padding: 14px 26px;
  font-size: 16px;
}

.btn-secondary:hover {
  background: #E0E7FF;
  transform: translateY(-1px);
}

/* Store Badge Button */
.btn-store {
  display: inline-flex;
  align-items: center;
  background: #000000;
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 14px;
  gap: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background 0.2s;
}

.btn-store:hover {
  transform: translateY(-2px);
  background: #1E293B;
  color: #FFFFFF;
}

.store-icon {
  width: 28px;
  height: 28px;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-subtitle {
  font-size: 10px;
  letter-spacing: 0.8px;
  opacity: 0.8;
}

.store-title {
  font-size: 18px;
  font-weight: 700;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  background: radial-gradient(100% 60% at 50% 0%, #EEF2FF 0%, #FFFFFF 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
}

.hero-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 52px;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, #4F46E5 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--dark-sub);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

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

/* Phone Mockup Frame */
.hero-media {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 310px;
  border-radius: 44px;
  padding: 10px;
  background: #0F172A;
  box-shadow: 0 25px 60px -15px rgba(79, 70, 229, 0.35);
  position: relative;
}

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #FFFFFF;
}

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

/* Section Common */
.section {
  padding: 90px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 38px;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 48px;
}

/* Interactive Simulator */
.demo-section {
  background: #F1F5F9;
}

.deck-simulator {
  max-width: 420px;
  margin: 0 auto;
  perspective: 1000px;
}

.sim-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  cursor: grab;
}

.sim-card:active {
  cursor: grabbing;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.sim-skips {
  color: var(--accent);
}

.sim-pip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.sim-emoji {
  font-size: 32px;
}

.sim-pip-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
}

.sim-question {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  margin-bottom: 24px;
}

.sim-hints {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.sim-controls {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.sim-btn {
  flex: 1;
  padding: 14px 0;
  border-radius: 16px;
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.sim-btn:active {
  transform: scale(0.96);
}

.sim-nope {
  background: #F43F5E;
  color: #FFFFFF;
}

.sim-skip {
  background: #F59E0B;
  color: #FFFFFF;
}

.sim-yes {
  background: #10B981;
  color: #FFFFFF;
}

.sim-status {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.icon-purple { background: #EEF2FF; }
.icon-blue { background: #E0F2FE; }
.icon-amber { background: #FEF3C7; }
.icon-green { background: #DCFCE7; }
.icon-rose { background: #FFE4E6; }
.icon-cyan { background: #CFFAFE; }

.feature-card h3 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--dark-sub);
  line-height: 1.6;
}

/* Screenshots Grid */
.screenshots-section {
  background: #F8FAFC;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shot-card {
  text-align: center;
}

.shot-wrapper {
  background: #0F172A;
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  transition: transform 0.2s;
}

.shot-wrapper:hover {
  transform: translateY(-4px);
}

.shot-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

.shot-card h4 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 4px;
}

.shot-card p {
  font-size: 13px;
  color: var(--muted);
}

/* 40 Worlds */
.worlds-section {
  background: #FFFFFF;
}

.worlds-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}

.world-pill {
  background: #F1F5F9;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-sub);
  transition: all 0.2s;
}

.world-pill:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: var(--primary);
  transform: scale(1.05);
}

/* Safety Section */
.safety-section {
  background: #EEF2FF;
}

.safety-card {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 40px;
  border: 2px solid #C7D2FE;
  box-shadow: var(--shadow-md);
}

.safety-content h2 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 34px;
  color: var(--dark);
  margin-bottom: 14px;
}

.safety-content p {
  font-size: 16px;
  color: var(--dark-sub);
  margin-bottom: 20px;
}

.safety-list {
  list-style: none;
  margin-bottom: 28px;
}

.safety-list li {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--dark-sub);
  line-height: 1.5;
}

.safety-badge-art {
  text-align: center;
}

.big-shield {
  font-size: 80px;
  margin-bottom: 12px;
}

.badge-sub {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  background: #EEF2FF;
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
}

/* FAQ */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: #FFFFFF;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--dark-sub);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #1E293B;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand h3 {
  font-family: 'Fredoka', cursive, sans-serif;
  color: #FFFFFF;
  font-size: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: #64748B;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .safety-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 38px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}
