@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --gold: #FFD700;
  --deep-blue: #1a1a4e;
  --bright-blue: #3a5eff;
  --mystery-purple: #7b2ff7;
  --fun-orange: #ff6b2b;
  --kid-green: #2ecf6c;
  --sand: #f5e6c8;
  --dark: #0d0d2b;
  --light: #fffef5;
  --glow: rgba(255, 215, 0, 0.3);
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(123, 47, 247, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(58, 94, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 70%),
    var(--dark);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(1px 1px at 10% 20%, rgba(255,215,0,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,215,0,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 80%, rgba(255,215,0,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 90%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 75%, rgba(255,215,0,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.3) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--gold) 0%, #fff 40%, var(--gold) 70%, #ffe066 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px var(--glow));
}

.hero-badge {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold), #ffe066);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2rem;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
}

.pillar-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--gold);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  transition: all 0.3s;
}

.pillar-tag:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

/* === CONTENT PILLARS === */
.pillars-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--dark) 0%, #12123a 100%);
}

.section-container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fun-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
  color: white;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
}

.pillar-card:nth-child(1)::before { background: var(--gold); }
.pillar-card:nth-child(2)::before { background: var(--mystery-purple); }
.pillar-card:nth-child(3)::before { background: var(--fun-orange); }
.pillar-card:nth-child(4)::before { background: var(--kid-green); }
.pillar-card:nth-child(5)::before { background: var(--bright-blue); }

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.pillar-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* === HOW IT WORKS === */
.how-section {
  padding: 6rem 1.5rem;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(255, 107, 43, 0.08) 0%, transparent 50%),
    #12123a;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.how-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--mystery-purple), var(--bright-blue));
  border-radius: 50%;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.2rem;
}

.how-step h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.how-step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* === AUDIENCE === */
.audience-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #12123a 0%, var(--dark) 100%);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.audience-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.3);
}

.audience-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.audience-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
}

.audience-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* === CLOSING === */
.closing-section {
  padding: 7rem 1.5rem;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(123, 47, 247, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
    var(--dark);
}

.closing-badge {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  background: linear-gradient(135deg, var(--kid-green), #7dff9a);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.closing-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--gold), #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.closing-section .vision-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === FOOTER === */
.site-footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #090920;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* === HERO TOOLS GRID === */
.hero-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-tool-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.25s;
}

.hero-tool-card--script::before { background: linear-gradient(90deg, var(--gold), #ffe066); }
.hero-tool-card--video::before  { background: linear-gradient(90deg, var(--mystery-purple), var(--bright-blue)); }
.hero-tool-card--kdp::before    { background: linear-gradient(90deg, var(--kid-green), #7dff9a); }
.hero-tool-card--shop::before  { background: linear-gradient(90deg, var(--fun-orange), #ff9d6b); }

.hero-tool-card:hover::before { opacity: 1; }

.hero-tool-card--script:hover {
  transform: translateY(-5px);
  background: rgba(255, 215, 0, 0.07);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 28px rgba(255,215,0,0.1);
}
.hero-tool-card--video:hover {
  transform: translateY(-5px);
  background: rgba(123, 47, 247, 0.07);
  border-color: rgba(123, 47, 247, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 28px rgba(123,47,247,0.1);
}
.hero-tool-card--kdp:hover {
  transform: translateY(-5px);
  background: rgba(46, 207, 108, 0.07);
  border-color: rgba(46, 207, 108, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 28px rgba(46,207,108,0.1);
}
.hero-tool-card--shop:hover {
  transform: translateY(-5px);
  background: rgba(255, 107, 43, 0.07);
  border-color: rgba(255, 107, 43, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 28px rgba(255,107,43,0.1);
}

.hero-tool-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.hero-tool-card div { text-align: left; flex: 1; }

.hero-tool-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.35rem;
}

.hero-tool-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
}

/* === CTA ROW === */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-cta-primary {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), #ffe066);
  color: var(--dark);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.35);
}

.hero-cta-secondary {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .audience-cards { grid-template-columns: 1fr 1fr; }
  .hero { padding: 5rem 1.2rem 3rem; }
  .hero-tools-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .site-nav { padding: 0.8rem 1.2rem; }
  .nav-links { gap: 0.5rem; }
  .nav-links a { font-size: 0.78rem; padding: 0.4rem 0.65rem; }
  .nav-shop-btn { padding: 0.4rem 0.8rem !important; }
}

@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
  .audience-cards { grid-template-columns: 1fr; }
  .hero-tools-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero-tool-card { padding: 1rem 0.75rem; }
  .hero-tool-card h3 { font-size: 0.85rem; }
  .hero-tool-card p { font-size: 0.72rem; }
  .nav-links a:not(.nav-shop-btn) { display: none; }
}