/* ===============================
   Root Variables
================================ */
:root {
  --primary: #6C63FF;
  --accent: #38B6A8;
  --dark: #0F1020;
  --mid-dark: #1B1D36;
  --warm-dark: #241A2E;
  --light: #F5F7FA;
  --muted: #B8C0D9;
}

/* ===============================
   Base
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}




section {
  padding: 60px 6%;
}

/* Force all links to remain white */
a,
a:visited,
a:active {
  color: var(--light);
  text-decoration: none;
}

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

/* Body text link hover effect (exclude buttons and nav) */
section a:not(.btn):not(.nav-links a) {
  position: relative;
  transition: color 0.3s ease;
}

section a:not(.btn):not(.nav-links a)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--light);
  transition: width 0.3s ease;
}

section a:not(.btn):not(.nav-links a):hover::after {
  width: 100%;
}

/* ===============================
   Living Story Worlds Section
================================ */

/* ===============================
   Living Story Worlds Section
================================ */

.story_world{
  padding:20px 6% 50px 6%;
}

.story_world h2{
  font-size:2rem;
  margin-bottom:40px;

  text-shadow:
    0 0 12px rgba(108,99,255,0.35),
    0 0 28px rgba(108,99,255,0.18);
}
.story_world h2{
  margin-bottom:28px;
}
.story-world-image{
  max-width:900px;
  width:100%;
  border-radius:12px;

  box-shadow:
    0 25px 80px rgba(0,0,0,0.6),
    0 0 30px rgba(108,99,255,0.15);

  margin:0;      /* changed */
  display:block;
}

.form-intro {
  max-width: 900px;
  margin-left: 0;
  margin-right: auto;
}


/* ===============================
   Header
================================ */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 16, 32, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 110px;
  height: auto;
  display: block;
}

.logo a {
  position: relative;
  text-decoration: none;
}

.logo a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.logo a:hover::after {
  width: 100%;
}

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

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  transition: 0.25s ease;
  text-decoration: none;
  color: var(--light);
}

/* Demo Button in Header */
.nav-demo-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  opacity: 1;
  transition: 0.3s ease;
  margin-left: 10px;
}

.nav-demo-btn:hover {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
}

/* Mobile */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 6%;
    flex-direction: column;
    background: rgba(15,16,32,0.95);
    backdrop-filter: blur(14px);
    padding: 24px;
    border-radius: 8px;
    display: none;
  }

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

  .hamburger {
    display: flex;
  }
}

/* ===============================
   Hero
================================ */
.hero {
  min-height: 100vh;
  background-image: linear-gradient(rgba(8,8,18,0.38), rgba(8,8,18,0.48)), url('images/hero/1/10.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  padding: 0 6%;
  position: relative;
  filter: brightness(1.15) contrast(1.08) saturate(1.08);
  transition: background-image 1.4s ease-in-out;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  cursor: pointer;

  background: rgba(12,12,28,0.55);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,0.08);

  z-index: 20; /* ADD THIS */

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.08);

  background: rgba(20,20,50,0.75);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.35),
    0 0 16px rgba(108,99,255,0.35);
}

.hero-arrow-left {
  left: 20px;
}

.hero-arrow-right {
  right: 20px;
}

@media (max-width: 768px) {
  .hero-arrow {
    top: auto;
    bottom: 30px;
    transform: none;
    width: 42px;
    height: 42px;
  }
}




.hero-content {
  max-width: 700px;
  padding: 28px 32px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  position: relative;
  z-index: 10;
  background: linear-gradient(
    90deg,
    rgba(8,8,18,0.70) 0%,
    rgba(8,8,18,0.55) 45%,
    rgba(8,8,18,0.25) 75%,
    rgba(8,8,18,0.0) 100%
  );
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow:
    0 0 12px rgba(0,0,0,0.75),
    0 0 28px rgba(0,0,0,0.55),
    0 0 30px rgba(108,99,255,0.35);
}

.hero p {
  color: var(--muted);
  margin-bottom: 28px;
  text-shadow:
    0 0 8px rgba(0,0,0,0.6),
    0 0 18px rgba(0,0,0,0.5);
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: var(--accent);
  color: white;
}

.btn:hover {
  opacity: 0.9;
}

.hero-legal {
  position: absolute;
  bottom: 22px;
  left: 6%;
  max-width: 520px;

  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.65);

  padding: 6px 10px;
  border-radius: 6px;

  background: linear-gradient(
    90deg,
    rgba(8,8,18,0.70) 0%,
    rgba(8,8,18,0.40) 60%,
    rgba(8,8,18,0.0) 100%
  );

  backdrop-filter: blur(2px);
}


/* ===============================
   Platform Overview
================================ */
.platform {
  background: linear-gradient(180deg, #151734 0%, #1C1E3F 100%);
}

/* About section left alignment override */
#about {
  text-align: left;
  background: linear-gradient(180deg, #171933 0%, #14162b 100%);
}

#about p {
  max-width: 900px;
  margin: 0 0 28px 0;
  font-size: 1.15rem;
}

.platform p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* ===============================
   Beta Section
================================ */
.beta {
  background: linear-gradient(180deg, #1c1f3a 0%, #191c34 100%);
  text-align: left;
  padding-top: 60px;
}

.beta-card {
  max-width: 820px;
  margin: 40px 0 0 0;
  padding: 50px 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* ===============================
   Integrated Form Header
================================ */

#beta .form-title{
  font-size:1.8rem;
  margin-bottom:10px;
}

#beta p{
  max-width:700px;
  margin-bottom:26px;
  opacity:.9;
  line-height:1.6;
}

/* create integrated header inside card */
#beta .beta-card{
  position:relative;
  padding-top:38px;
}

/* elegant divider */
#beta .beta-card::before{
  content:"";
  position:absolute;
  top:0;
  left:40px;
  right:40px;
  height:1px;

  background:linear-gradient(
    90deg,
    rgba(108,99,255,0),
    rgba(108,99,255,0.5),
    rgba(56,182,168,0.5),
    rgba(108,99,255,0)
  );
}

/* improve field spacing */
#beta .beta-form{
  margin-top:6px;
}

#beta .form-title{
  text-shadow:
    0 0 12px rgba(108,99,255,0.35),
    0 0 28px rgba(108,99,255,0.18);
}

.beta-form {
  max-width: 700px;
  margin: 0;
  display: grid;
  gap: 18px;
}

.beta-form input,
.beta-form select,
.beta-form textarea {
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background: #f1f2f5;
  color: #111;
  transition: box-shadow 0.2s ease, outline 0.2s ease;
}


/* ===============================
   Integrated Header – Stay Informed
================================ */

#updates .form-title,
#updates h2{
  font-size:1.8rem;
  margin-bottom:10px;
}

#updates p{
  max-width:700px;
  margin-bottom:26px;
  opacity:.9;
  line-height:1.6;
}

/* integrate header with card */
#updates .beta-card{
  position:relative;
  padding-top:38px;
}

/* elegant divider */
#updates .beta-card::before{
  content:"";
  position:absolute;
  top:0;
  left:40px;
  right:40px;
  height:1px;

  background:linear-gradient(
    90deg,
    rgba(108,99,255,0),
    rgba(108,99,255,0.5),
    rgba(56,182,168,0.5),
    rgba(108,99,255,0)
  );
}

/* spacing between header and form */
#updates .beta-form{
  margin-top:6px;
}


/* ===============================
   Partnership Form Integration
================================ */

#partners .form-title{
  font-size:1.8rem;
  margin-bottom:10px;
}

.partnership-intro{
  max-width:720px;
  margin-bottom:28px;
  opacity:.9;
  line-height:1.6;
}

/* integrate header with form card */
#partners .partner-card{
  position:relative;
  padding-top:38px;
}

/* elegant divider line */
#partners .partner-card::before{
  content:"";
  position:absolute;
  top:0;
  left:40px;
  right:40px;
  height:1px;

  background:linear-gradient(
    90deg,
    rgba(108,99,255,0),
    rgba(108,99,255,0.5),
    rgba(56,182,168,0.5),
    rgba(108,99,255,0)
  );
}

/* spacing between header and form */
#partners .partner-form{
  margin-top:6px;
}

/* subtle glow for heading */
#partners .form-title{
  text-shadow:
    0 0 12px rgba(108,99,255,0.35),
    0 0 24px rgba(108,99,255,0.15);
}


#updates h2{
  text-shadow:
    0 0 12px rgba(108,99,255,0.35),
    0 0 24px rgba(108,99,255,0.15);
}


/* Validation highlight */
.field-error {
  outline: 3px solid #ff2fa3;
  box-shadow: 0 0 0 6px rgba(255,47,163,0.35), 0 0 18px rgba(255,47,163,0.55);
}

/* Label validation highlight */
.label-error {
  color: #ff2fa3;
  font-weight: 700;
}

/* Required field indicator */
label.required::after {
  content: " *";
  color: #ff2fa3;
  font-weight: 700;
}

label.required.valid::after {
  color: #4be38a;
}

.beta-form textarea {
  min-height: 120px;
}

/* Partnership Form styled same as Beta */
.partner-card {
  max-width: 820px;
  margin: 40px 0 0 0;
  padding: 50px 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.partner-form {
  max-width: 700px;
  margin: 0;
  display: grid;
  gap: 18px;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background: #f1f2f5;
  color: #111;
}

.partner-form textarea {
  min-height: 120px;
}

.beta-btn {
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* Reduce spacing between partner category titles and descriptions */
#partners > div > p:first-child {
  margin-bottom: 8px;
}
#partners > div > p:first-child + p {
  margin-top: 0;
}

/* ===============================
   Footer
================================ */
footer {
  background: #0A0B18;
  padding: 30px 6%;
  text-align: center;
}

footer a {
  margin: 0 16px;
  color: var(--light);
  text-decoration: none;
  opacity: 0.85;
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--light);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

footer a:hover {
  opacity: 1;
}

.footer-legal {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  margin-top: 12px;
  font-size: 0.65rem;
}

.footer-legal.compact {
  margin-top: 6px;
}

p {
  margin-bottom: 28px;
}

.spacious {
  margin-top: 10px;
  margin-bottom: 20px;
}

.closing {
  margin-top: 30px;
  font-size: 22px;
}

/* Form Title Styling */
.form-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  position: relative;
}

/* Partnership Form underline exception */
#partners .form-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: var(--primary);
  transition: width 0.35s ease;
}

#partners:hover .form-title::after,
#partners:focus-within .form-title::after {
  width: 100%;
}

/* Trademark styling */
.tm {
  font-size: 0.85em;
  vertical-align: super;
  margin-left: 2px;
}

/* ===============================
   Live Experience iFrame Section
================================ */
.iframe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.iframe-card {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 25px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
}

.iframe-card h3 {
  margin-bottom: 8px;
}

.iframe-card p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.iframe-card iframe {
  width: 100%;
  height: 560px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f1020;
}

@media (max-width: 900px) {
  .iframe-grid {
    grid-template-columns: 1fr;
  }
  .iframe-card iframe {
    height: 380px;
  }
}

/* ===============================
   Star Rating + NPS
================================ */
.visual-star-rating {
  display: inline-flex;
  gap: 6px;
  font-size: 1.8rem;
  cursor: pointer;
}

.visual-star-rating .star {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s ease, transform 0.15s ease, text-shadow 0.2s ease;
}

.visual-star-rating .star.hovered,
.visual-star-rating .star.selected {
  color: gold;
  text-shadow: 0 0 8px rgba(255,215,0,0.6);
  transform: translateY(-2px);
}

.nps-scale label {
  margin-right: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.nps-scale label:hover {
  transform: translateY(-2px);
}

/* Celebration Animation */
.celebrate {
  animation: celebratePulse 0.6s ease;
}
@keyframes celebratePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Add this BELOW the others */
@keyframes heroKenBurns {
  0% {
    background-position: center 50px;
    transform: scale(1);
  }
  100% {
    background-position: center 40px;
    transform: scale(1.06);
  }
}

.confetti-piece {
  position: fixed;
  width: 6px;
  height: 10px;
  background: var(--accent);
  top: -10px;
  z-index: 4000;
  opacity: 0.9;
  animation: fall 1.2s linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.detractor-comment {
  display: none;
  min-height: 100px;
  margin-top: 10px;
  width: 100%;
}

/* Add spacing when detractor visible */
.feedback-detractor-active .beta-btn {
  margin-top: 18px;
}

/* ===============================
   Features
================================ */

/* Standardize body text size between About and Out of Book Experience */
#features p:not(.closing) {
  font-size: 1.15rem;
}
#features{
  background: linear-gradient(rgba(8,8,18,0.82), rgba(8,8,18,0.88)), url('images/hero/1/2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 5px;
  padding:20px 6%;
  width:100%;
  box-sizing:border-box;
}



.features-divider {
  margin: 50px auto;
  max-width: 1100px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(108,99,255,0), rgba(108,99,255,0.6), rgba(56,182,168,0.6), rgba(108,99,255,0));
  border-radius: 2px;
  opacity: 0.9;
  position: relative;
}

.features-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.95) 0%, rgba(56,182,168,0.9) 55%, rgba(56,182,168,0) 70%);
  box-shadow: 0 0 18px rgba(108,99,255,0.35);
}

.features-subheading {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.creator-highlight {
  margin-top: 26px;
  margin-bottom: 12px;
  max-width:880px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: var(--primary);

  background: linear-gradient(
    90deg,
    rgba(108,99,255,0.12),
    rgba(56,182,168,0.08)
  );

  padding: 4px 10px;
  border-radius: 6px;
}


/* Persona Divider (between Creators, Book Lovers, Publishers) */
.persona-divider {
  margin: 40px 0;
  max-width: 1100px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(108,99,255,0), rgba(108,99,255,0.6), rgba(56,182,168,0.6), rgba(108,99,255,0));
  opacity: 0.9;
  position: relative;
}

.persona-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.95) 0%, rgba(56,182,168,0.9) 55%, rgba(56,182,168,0) 70%);
  box-shadow: 0 0 18px rgba(108,99,255,0.35);
}

.persona-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.95) 0%, rgba(56,182,168,0.85) 55%, rgba(56,182,168,0) 70%);
  box-shadow: 0 0 16px rgba(108,99,255,0.25);
}

/* ===============================
   Testimonials
================================ */
#reviews {
  position: relative;
  background: linear-gradient(180deg, #171933 0%, #14162b 100%);
  overflow: hidden;

  padding-top:20px;
  padding-bottom:20px;

  padding-left:6%;
  padding-right:6%;
}


#reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='800' height='600' viewBox='0 0 800 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%236C63FF' stroke-opacity='0.06' fill='none' stroke-width='1.2'%3E%3Cpath d='M0 300 Q200 200 400 300 T800 300'/%3E%3Cpath d='M0 450 Q250 350 500 450 T800 450'/%3E%3Cpath d='M0 150 Q300 50 600 150 T800 150'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1400px 900px;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
}

#reviews > * {
  position: relative;
  z-index: 1;
}

.testimonial-wrapper{
max-width:900px;
margin-left:0;
margin-right:auto;
overflow:hidden;
position:relative;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.testimonial-card {
  min-width: 256px;
  padding: 20px 20px 16px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: testimonialFade 0.8s ease forwards;
  display: flex;
  flex-direction: column;
}

.testimonial-card .testimonial-body {
  flex: 1;
}

.testimonial-card .genre {
  opacity: .6;
  font-size: .8rem;
}

.testimonial-card .feedback-text {
  margin-top: 8px;
  font-size: .8rem;
  opacity: .85;
  line-height: 1.4;
}

.testimonial-card .stars {
  margin-top: 10px;
  display: flex;
  gap: 4px;
}


.review-cta{
max-width:900px;
margin:60px 0 60px 0;   /* no auto centering */
text-align:center;
}

.review-cta a{
display:inline-block;

padding:10px 18px;      /* smaller */
border-radius:8px;      /* slightly tighter */

font-size:0.9rem;       /* smaller text */
font-weight:600;
letter-spacing:.01em;

background:#ffffff;
color:#111;

border:1px solid rgba(108,99,255,0.45);

box-shadow:
0 0 8px rgba(108,99,255,0.55),
0 0 18px rgba(108,99,255,0.28);

transition:
transform .25s ease,
box-shadow .25s ease;
}

.review-cta a:hover{
transform:translateY(-2px);

box-shadow:
0 6px 18px rgba(0,0,0,.25),
0 0 14px rgba(108,99,255,.75),
0 0 28px rgba(108,99,255,.35);
}

.review-cta a:hover{
transform:translateY(-2px);

box-shadow:
0 10px 24px rgba(0,0,0,.25),
0 0 18px rgba(108,99,255,.85),
0 0 36px rgba(108,99,255,.45);
}



.stars .star {
  font-size: 0.95rem;
  position: relative;
}

.stars .star.full { color: gold; }

.stars .star.empty { color: rgba(255,255,255,0.25); }

.stars .star.half {
  color: rgba(255,255,255,0.25);
}

.stars .star.half::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: gold;
}


.testimonial-card:nth-child(1){animation-delay:.1s}
.testimonial-card:nth-child(2){animation-delay:.2s}
.testimonial-card:nth-child(3){animation-delay:.3s}
.testimonial-card:nth-child(4){animation-delay:.4s}
.testimonial-card:nth-child(5){animation-delay:.5s}
.testimonial-card:nth-child(6){animation-delay:.6s}
.testimonial-card:nth-child(7){animation-delay:.7s}
.testimonial-card:nth-child(8){animation-delay:.8s}
.testimonial-card:nth-child(9){animation-delay:.9s}

@keyframes testimonialFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  background: rgba(15,16,32,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}


.stars {
  margin-top: 8px;
  color: gold;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.testimonial-arrow.left { left: -10px; }
.testimonial-arrow.right { right: -10px; }


.legal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.6);
  z-index: 3000;
}

.legal-content {
  width: 60vw;
  max-width: 800px;
  max-height: 80vh;
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: rgba(28,31,58,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.legal-scroll {
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 10px;
}

.legal-scroll p,
.legal-scroll li {
  font-size: 0.85rem;
}

.legal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* ===============================
   Video Section
================================ */
#video-section {
  background: #f6f4ef;
  color: #111;
  text-align: center;
}

#video-section h2 {
  color: #111;
}

.video-container {
  max-width: 1000px;
  margin: 30px auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ddd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #555;
  border: 2px dashed #bbb;
}

.video-description {
  max-width: 800px;
  margin: 20px auto 0 auto;
  font-size: 1.05rem;
  color: #333;
}


.hp-field {
  position: absolute;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
}






.pill-button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  color: white;
  display: inline-block;
  animation: brandPulse 2.6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.pill-button:hover {
  background: rgba(255,255,255,0.14);
}

@keyframes brandPulse {

  0% {
    box-shadow: 0 0 4px rgba(108,99,255,0.35);
  }

  50% {
    box-shadow:
      0 0 12px rgba(108,99,255,0.9),
      0 0 24px rgba(108,99,255,0.55),
      0 0 40px rgba(108,99,255,0.35);
  }

  100% {
    box-shadow: 0 0 4px rgba(108,99,255,0.35);
  }

}


#features .creator-highlight:first-of-type {
  margin-top: 6px;
}

section {
  padding: 60px 6%;
}

#features {
  padding-top: 35px;
}


label.required.valid::after {
  color: #4be38a;
  text-shadow: 0 0 6px rgba(75,227,138,0.6);
}



.field-validation-message{
  margin-top:6px;
  font-size:0.85rem;
  color:#ff6aa9;
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .2s ease, transform .2s ease;
}

.field-validation-message.visible{
  opacity:1;
  transform:translateY(0);
}



.pill-button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  color: white;
  display: inline-block;
  animation: brandPulse 2.6s ease-in-out infinite;
  transition: all 0.25s ease;
}


.submission-modal-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.submission-modal-content img{
  width:120px;
  height:auto;
  margin-bottom:8px;
}

.submission-modal-content .pill-button{
  margin-top:6px;
  margin-bottom:28px;
}




html{
  scroll-behavior:smooth;
}


.hero-images{
  position:relative;
  width:520px;
  height:340px;
}

.hero-img{
  position:absolute;
  width:100%;
  height:auto;
  border-radius:18px;

  opacity:0;
  transform:scale(1);

  transition:
    opacity 1.6s ease,
    transform 6s ease;

  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 40px rgba(108,99,255,.25);
}

/* ensure first image is visible before JS runs */
.hero-img:first-child{
  opacity:1;
}

.hero-img.active{
  opacity:1;
  transform:scale(1.08) translateY(-6px);
}


.subline {
text-align: center;
margin-top: 5px;
margin-bottom: 15px;
}

.more-info-link::before{content:"— "; opacity:.6}
.more-info-link::after{content:" —"; opacity:.6}
.more-info-link:hover{
  opacity:1;
  text-shadow:0 0 8px rgba(108,99,255,0.6),0 0 14px rgba(108,99,255,0.35);
}


/* ===============================
   Unified Modal System
================================ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5000;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(92vw, 800px);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(28, 31, 58, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 0 25px rgba(108,99,255,0.18);
  animation: modalFade 0.35s ease;
}

.modal-content-sm {
  max-width: 520px;
}

.modal-content-md {
  max-width: 700px;
}

.modal-content-lg {
  max-width: 800px;
}

.modal-content-testimonial {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(18px);
}

.modal-body {
  padding: 40px;
}

.modal-scroll {
  overflow-y: auto;
  max-height: calc(88vh - 32px);
  padding-right: 10px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  z-index: 2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
  transform: scale(1.08);
}

.modal.is-closing .modal-content {
  animation: modalFadeOut 0.35s ease forwards;
}

.success-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-logo {
  width: 210px;
  margin-bottom: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 0 12px rgba(108,99,255,.35));
  animation: logoFade .5s ease;
}

.success-modal-content h2 {
  font-size: 28px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.success-modal-content p {
  color: #cfcfcf;
  line-height: 1.6;
  margin-bottom: 22px;
}

.success-modal-content .pill-button {
  margin-top: 6px;
  margin-bottom: 0;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: scale(.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


#features{
  background: linear-gradient(rgba(8,8,18,0.82), rgba(8,8,18,0.88)), url('images/hero/1/2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding:60px 6%;
}

#features p{
  max-width:880px;
}


.books-carousel-inner{
max-width:900px;
margin:0 auto;
padding:0;
box-sizing:border-box;
}


/* Living Story Worlds Section */

.story_world{
  padding:20px 6% 50px 6%;
  text-align:left;
}
.story_world h2{
  margin:0 0 28px 0;
  margin-bottom:36px;
}
.story-world-image{
  display:block;
  margin:0 auto;

  max-width:1000px;
  width:100%;

  border-radius:12px;
  box-shadow:0 25px 80px rgba(0,0,0,.6);
}
.story-world-image{
  display:block;
  margin:0 auto;
  max-width:1000px;
  width:100%;
  border-radius:12px;
  box-shadow:0 25px 80px rgba(0,0,0,.6);
}
.form-intro {
  max-width: 900px;
  margin-left: 0;
  margin-right: auto;
}


/* ===============================
   Header
================================ */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 16, 32, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 110px;
  height: auto;
  display: block;
}

.logo a {
  position: relative;
  text-decoration: none;
}

.logo a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.logo a:hover::after {
  width: 100%;
}

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

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  transition: 0.25s ease;
  text-decoration: none;
  color: var(--light);
}

/* Demo Button in Header */
.nav-demo-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  opacity: 1;
  transition: 0.3s ease;
  margin-left: 10px;
}

.nav-demo-btn:hover {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
}

/* Mobile */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 6%;
    flex-direction: column;
    background: rgba(15,16,32,0.95);
    backdrop-filter: blur(14px);
    padding: 24px;
    border-radius: 8px;
    display: none;
  }

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

  .hamburger {
    display: flex;
  }
}

/* ===============================
   Hero
================================ */
.hero {
  min-height: 100vh;
  background-image: linear-gradient(rgba(8,8,18,0.38), rgba(8,8,18,0.48)), url('images/hero/1/10.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  padding: 0 6%;
  position: relative;
  filter: brightness(1.15) contrast(1.08) saturate(1.08);
  transition: background-image 1.4s ease-in-out;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  cursor: pointer;

  background: rgba(12,12,28,0.55);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,0.08);

  z-index: 20; /* ADD THIS */

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.08);

  background: rgba(20,20,50,0.75);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.35),
    0 0 16px rgba(108,99,255,0.35);
}

.hero-arrow-left {
  left: 20px;
}

.hero-arrow-right {
  right: 20px;
}

@media (max-width: 768px) {
  .hero-arrow {
    top: auto;
    bottom: 30px;
    transform: none;
    width: 42px;
    height: 42px;
  }
}




.hero-content {
  max-width: 700px;
  padding: 28px 32px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  position: relative;
  z-index: 10;
  background: linear-gradient(
    90deg,
    rgba(8,8,18,0.70) 0%,
    rgba(8,8,18,0.55) 45%,
    rgba(8,8,18,0.25) 75%,
    rgba(8,8,18,0.0) 100%
  );
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow:
    0 0 12px rgba(0,0,0,0.75),
    0 0 28px rgba(0,0,0,0.55),
    0 0 30px rgba(108,99,255,0.35);
}

.hero p {
  color: var(--muted);
  margin-bottom: 28px;
  text-shadow:
    0 0 8px rgba(0,0,0,0.6),
    0 0 18px rgba(0,0,0,0.5);
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: var(--accent);
  color: white;
}

.btn:hover {
  opacity: 0.9;
}

.hero-legal {
  position: absolute;
  bottom: 22px;
  left: 6%;
  max-width: 520px;

  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.65);

  padding: 6px 10px;
  border-radius: 6px;

  background: linear-gradient(
    90deg,
    rgba(8,8,18,0.70) 0%,
    rgba(8,8,18,0.40) 60%,
    rgba(8,8,18,0.0) 100%
  );

  backdrop-filter: blur(2px);
}


/* ===============================
   Platform Overview
================================ */
.platform {
  background: linear-gradient(180deg, #151734 0%, #1C1E3F 100%);
}

/* About section left alignment override */
#about {
  text-align: left;
  background: linear-gradient(180deg, #171933 0%, #14162b 100%);
}

#about p {
  max-width: 900px;
  margin: 0 0 28px 0;
  font-size: 1.15rem;
}

.platform p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* ===============================
   Beta Section
================================ */
.beta {
  background: linear-gradient(180deg, #1c1f3a 0%, #191c34 100%);
  text-align: left;
  padding-top: 60px;
}

.beta-card {
  max-width: 820px;
  margin: 40px 0 0 0;
  padding: 50px 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* ===============================
   Integrated Form Header
================================ */

#beta .form-title{
  font-size:1.8rem;
  margin-bottom:10px;
}

#beta p{
  max-width:700px;
  margin-bottom:26px;
  opacity:.9;
  line-height:1.6;
}

/* create integrated header inside card */
#beta .beta-card{
  position:relative;
  padding-top:38px;
}

/* elegant divider */
#beta .beta-card::before{
  content:"";
  position:absolute;
  top:0;
  left:40px;
  right:40px;
  height:1px;

  background:linear-gradient(
    90deg,
    rgba(108,99,255,0),
    rgba(108,99,255,0.5),
    rgba(56,182,168,0.5),
    rgba(108,99,255,0)
  );
}

/* improve field spacing */
#beta .beta-form{
  margin-top:6px;
}

#beta .form-title{
  text-shadow:
    0 0 12px rgba(108,99,255,0.35),
    0 0 28px rgba(108,99,255,0.18);
}

.beta-form {
  max-width: 700px;
  margin: 0;
  display: grid;
  gap: 18px;
}

.beta-form input,
.beta-form select,
.beta-form textarea {
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background: #f1f2f5;
  color: #111;
  transition: box-shadow 0.2s ease, outline 0.2s ease;
}


/* ===============================
   Integrated Header – Stay Informed
================================ */

#updates .form-title,
#updates h2{
  font-size:1.8rem;
  margin-bottom:10px;
}

#updates p{
  max-width:700px;
  margin-bottom:26px;
  opacity:.9;
  line-height:1.6;
}

/* integrate header with card */
#updates .beta-card{
  position:relative;
  padding-top:38px;
}

/* elegant divider */
#updates .beta-card::before{
  content:"";
  position:absolute;
  top:0;
  left:40px;
  right:40px;
  height:1px;

  background:linear-gradient(
    90deg,
    rgba(108,99,255,0),
    rgba(108,99,255,0.5),
    rgba(56,182,168,0.5),
    rgba(108,99,255,0)
  );
}

/* spacing between header and form */
#updates .beta-form{
  margin-top:6px;
}


/* ===============================
   Partnership Form Integration
================================ */

#partners .form-title{
  font-size:1.8rem;
  margin-bottom:10px;
}

.partnership-intro{
  max-width:720px;
  margin-bottom:28px;
  opacity:.9;
  line-height:1.6;
}

/* integrate header with form card */
#partners .partner-card{
  position:relative;
  padding-top:38px;
}

/* elegant divider line */
#partners .partner-card::before{
  content:"";
  position:absolute;
  top:0;
  left:40px;
  right:40px;
  height:1px;

  background:linear-gradient(
    90deg,
    rgba(108,99,255,0),
    rgba(108,99,255,0.5),
    rgba(56,182,168,0.5),
    rgba(108,99,255,0)
  );
}

/* spacing between header and form */
#partners .partner-form{
  margin-top:6px;
}

/* subtle glow for heading */
#partners .form-title{
  text-shadow:
    0 0 12px rgba(108,99,255,0.35),
    0 0 24px rgba(108,99,255,0.15);
}


#updates h2{
  text-shadow:
    0 0 12px rgba(108,99,255,0.35),
    0 0 24px rgba(108,99,255,0.15);
}


/* Validation highlight */
.field-error {
  outline: 3px solid #ff2fa3;
  box-shadow: 0 0 0 6px rgba(255,47,163,0.35), 0 0 18px rgba(255,47,163,0.55);
}

/* Label validation highlight */
.label-error {
  color: #ff2fa3;
  font-weight: 700;
}

/* Required field indicator */
label.required::after {
  content: " *";
  color: #ff2fa3;
  font-weight: 700;
}

label.required.valid::after {
  color: #4be38a;
}

.beta-form textarea {
  min-height: 120px;
}

/* Partnership Form styled same as Beta */
.partner-card {
  max-width: 820px;
  margin: 40px 0 0 0;
  padding: 50px 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.partner-form {
  max-width: 700px;
  margin: 0;
  display: grid;
  gap: 18px;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background: #f1f2f5;
  color: #111;
}

.partner-form textarea {
  min-height: 120px;
}

.beta-btn {
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* Reduce spacing between partner category titles and descriptions */
#partners > div > p:first-child {
  margin-bottom: 8px;
}
#partners > div > p:first-child + p {
  margin-top: 0;
}

/* ===============================
   Footer
================================ */
footer {
  background: #0A0B18;
  padding: 30px 6%;
  text-align: center;
}

footer a {
  margin: 0 16px;
  color: var(--light);
  text-decoration: none;
  opacity: 0.85;
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--light);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

footer a:hover {
  opacity: 1;
}

.footer-legal {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  margin-top: 12px;
  font-size: 0.65rem;
}

.footer-legal.compact {
  margin-top: 6px;
}

p {
  margin-bottom: 28px;
}

.spacious {
  margin-top: 10px;
  margin-bottom: 20px;
}

.closing {
  margin-top: 30px;
  font-size: 22px;
}

/* Form Title Styling */
.form-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  position: relative;
}

/* Partnership Form underline exception */
#partners .form-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: var(--primary);
  transition: width 0.35s ease;
}

#partners:hover .form-title::after,
#partners:focus-within .form-title::after {
  width: 100%;
}

/* Trademark styling */
.tm {
  font-size: 0.85em;
  vertical-align: super;
  margin-left: 2px;
}

/* ===============================
   Live Experience iFrame Section
================================ */
.iframe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.iframe-card {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 25px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
}

.iframe-card h3 {
  margin-bottom: 8px;
}

.iframe-card p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.iframe-card iframe {
  width: 100%;
  height: 560px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f1020;
}

@media (max-width: 900px) {
  .iframe-grid {
    grid-template-columns: 1fr;
  }
  .iframe-card iframe {
    height: 380px;
  }
}

/* ===============================
   Star Rating + NPS
================================ */
.visual-star-rating {
  display: inline-flex;
  gap: 6px;
  font-size: 1.8rem;
  cursor: pointer;
}

.visual-star-rating .star {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s ease, transform 0.15s ease, text-shadow 0.2s ease;
}

.visual-star-rating .star.hovered,
.visual-star-rating .star.selected {
  color: gold;
  text-shadow: 0 0 8px rgba(255,215,0,0.6);
  transform: translateY(-2px);
}

.nps-scale label {
  margin-right: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.nps-scale label:hover {
  transform: translateY(-2px);
}

/* Celebration Animation */
.celebrate {
  animation: celebratePulse 0.6s ease;
}
@keyframes celebratePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Add this BELOW the others */
@keyframes heroKenBurns {
  0% {
    background-position: center 50px;
    transform: scale(1);
  }
  100% {
    background-position: center 40px;
    transform: scale(1.06);
  }
}

.confetti-piece {
  position: fixed;
  width: 6px;
  height: 10px;
  background: var(--accent);
  top: -10px;
  z-index: 4000;
  opacity: 0.9;
  animation: fall 1.2s linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.detractor-comment {
  display: none;
  min-height: 100px;
  margin-top: 10px;
  width: 100%;
}

/* Add spacing when detractor visible */
.feedback-detractor-active .beta-btn {
  margin-top: 18px;
}

/* ===============================
   Features
================================ */

/* Standardize body text size between About and Out of Book Experience */
#features p:not(.closing) {
  font-size: 1.15rem;
}
#features{
  background: linear-gradient(rgba(8,8,18,0.82), rgba(8,8,18,0.88)), url('images/hero/1/2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding:60px 6%;
  width:100%;
  box-sizing:border-box;
}



.features-divider {
  margin: 50px auto;
  max-width: 1100px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(108,99,255,0), rgba(108,99,255,0.6), rgba(56,182,168,0.6), rgba(108,99,255,0));
  border-radius: 2px;
  opacity: 0.9;
  position: relative;
}

.features-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.95) 0%, rgba(56,182,168,0.9) 55%, rgba(56,182,168,0) 70%);
  box-shadow: 0 0 18px rgba(108,99,255,0.35);
}

.features-subheading {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.creator-highlight {
  margin-top: 26px;
  margin-bottom: 12px;
  max-width:880px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: var(--primary);

  background: linear-gradient(
    90deg,
    rgba(108,99,255,0.12),
    rgba(56,182,168,0.08)
  );

  padding: 4px 10px;
  border-radius: 6px;
}


/* Persona Divider (between Creators, Book Lovers, Publishers) */
.persona-divider {
  margin: 40px 0;
  max-width: 1100px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(108,99,255,0), rgba(108,99,255,0.6), rgba(56,182,168,0.6), rgba(108,99,255,0));
  opacity: 0.9;
  position: relative;
}

.persona-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.95) 0%, rgba(56,182,168,0.9) 55%, rgba(56,182,168,0) 70%);
  box-shadow: 0 0 18px rgba(108,99,255,0.35);
}

.persona-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.95) 0%, rgba(56,182,168,0.85) 55%, rgba(56,182,168,0) 70%);
  box-shadow: 0 0 16px rgba(108,99,255,0.25);
}

/* ===============================
   Testimonials
================================ */
#reviews {
  position: relative;
  background: linear-gradient(180deg, #171933 0%, #14162b 100%);
  overflow: hidden;

  padding-top:20px;
  padding-bottom:20px;

  padding-left:6%;
  padding-right:6%;
}


#reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='800' height='600' viewBox='0 0 800 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%236C63FF' stroke-opacity='0.06' fill='none' stroke-width='1.2'%3E%3Cpath d='M0 300 Q200 200 400 300 T800 300'/%3E%3Cpath d='M0 450 Q250 350 500 450 T800 450'/%3E%3Cpath d='M0 150 Q300 50 600 150 T800 150'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1400px 900px;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
}

#reviews > * {
  position: relative;
  z-index: 1;
}

.testimonial-wrapper{
max-width:900px;
margin-left:0;
margin-right:auto;
overflow:hidden;
position:relative;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.testimonial-card {
  min-width: 256px;
  padding: 20px 20px 16px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: testimonialFade 0.8s ease forwards;
  display: flex;
  flex-direction: column;
}

.testimonial-card .testimonial-body {
  flex: 1;
}

.testimonial-card .genre {
  opacity: .6;
  font-size: .8rem;
}

.testimonial-card .feedback-text {
  margin-top: 8px;
  font-size: .8rem;
  opacity: .85;
  line-height: 1.4;
}

.testimonial-card .stars {
  margin-top: 10px;
  display: flex;
  gap: 4px;
}


.review-cta{
max-width:900px;
margin:60px 0 60px 0;   /* no auto centering */
text-align:center;
}

.review-cta a{
display:inline-block;

padding:10px 18px;      /* smaller */
border-radius:8px;      /* slightly tighter */

font-size:0.9rem;       /* smaller text */
font-weight:600;
letter-spacing:.01em;

background:#ffffff;
color:#111;

border:1px solid rgba(108,99,255,0.45);

box-shadow:
0 0 8px rgba(108,99,255,0.55),
0 0 18px rgba(108,99,255,0.28);

transition:
transform .25s ease,
box-shadow .25s ease;
}

.review-cta a:hover{
transform:translateY(-2px);

box-shadow:
0 6px 18px rgba(0,0,0,.25),
0 0 14px rgba(108,99,255,.75),
0 0 28px rgba(108,99,255,.35);
}

.review-cta a:hover{
transform:translateY(-2px);

box-shadow:
0 10px 24px rgba(0,0,0,.25),
0 0 18px rgba(108,99,255,.85),
0 0 36px rgba(108,99,255,.45);
}



.stars .star {
  font-size: 0.95rem;
  position: relative;
}

.stars .star.full { color: gold; }

.stars .star.empty { color: rgba(255,255,255,0.25); }

.stars .star.half {
  color: rgba(255,255,255,0.25);
}

.stars .star.half::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: gold;
}


.testimonial-card:nth-child(1){animation-delay:.1s}
.testimonial-card:nth-child(2){animation-delay:.2s}
.testimonial-card:nth-child(3){animation-delay:.3s}
.testimonial-card:nth-child(4){animation-delay:.4s}
.testimonial-card:nth-child(5){animation-delay:.5s}
.testimonial-card:nth-child(6){animation-delay:.6s}
.testimonial-card:nth-child(7){animation-delay:.7s}
.testimonial-card:nth-child(8){animation-delay:.8s}
.testimonial-card:nth-child(9){animation-delay:.9s}

@keyframes testimonialFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  background: rgba(15,16,32,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}


.stars {
  margin-top: 8px;
  color: gold;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.testimonial-arrow.left { left: -10px; }
.testimonial-arrow.right { right: -10px; }


.legal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.6);
  z-index: 3000;
}

.legal-content {
  width: 60vw;
  max-width: 800px;
  max-height: 80vh;
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: rgba(28,31,58,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.legal-scroll {
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 10px;
}

.legal-scroll p,
.legal-scroll li {
  font-size: 0.85rem;
}

.legal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* ===============================
   Video Section
================================ */
#video-section {
  background: #f6f4ef;
  color: #111;
  text-align: center;
}

#video-section h2 {
  color: #111;
}

.video-container {
  max-width: 1000px;
  margin: 30px auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ddd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #555;
  border: 2px dashed #bbb;
}

.video-description {
  max-width: 800px;
  margin: 20px auto 0 auto;
  font-size: 1.05rem;
  color: #333;
}


.hp-field {
  position: absolute;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
}






.pill-button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  color: white;
  display: inline-block;
  animation: brandPulse 2.6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.pill-button:hover {
  background: rgba(255,255,255,0.14);
}

@keyframes brandPulse {

  0% {
    box-shadow: 0 0 4px rgba(108,99,255,0.35);
  }

  50% {
    box-shadow:
      0 0 12px rgba(108,99,255,0.9),
      0 0 24px rgba(108,99,255,0.55),
      0 0 40px rgba(108,99,255,0.35);
  }

  100% {
    box-shadow: 0 0 4px rgba(108,99,255,0.35);
  }

}


#features .creator-highlight:first-of-type {
  margin-top: 6px;
}

section {
  padding: 60px 6%;
}

#features {
  padding-top: 35px;
}


label.required.valid::after {
  color: #4be38a;
  text-shadow: 0 0 6px rgba(75,227,138,0.6);
}



.field-validation-message{
  margin-top:6px;
  font-size:0.85rem;
  color:#ff6aa9;
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .2s ease, transform .2s ease;
}

.field-validation-message.visible{
  opacity:1;
  transform:translateY(0);
}



.pill-button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  color: white;
  display: inline-block;
  animation: brandPulse 2.6s ease-in-out infinite;
  transition: all 0.25s ease;
}


.submission-modal-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.submission-modal-content img{
  width:120px;
  height:auto;
  margin-bottom:8px;
}

.submission-modal-content .pill-button{
  margin-top:6px;
  margin-bottom:28px;
}




html{
  scroll-behavior:smooth;
}


.hero-images{
  position:relative;
  width:520px;
  height:340px;
}

.hero-img{
  position:absolute;
  width:100%;
  height:auto;
  border-radius:18px;

  opacity:0;
  transform:scale(1);

  transition:
    opacity 1.6s ease,
    transform 6s ease;

  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 40px rgba(108,99,255,.25);
}

/* ensure first image is visible before JS runs */
.hero-img:first-child{
  opacity:1;
}

.hero-img.active{
  opacity:1;
  transform:scale(1.08) translateY(-6px);
}


.subline {
text-align: center;
margin-top: 5px;
margin-bottom: 15px;
}

.more-info-link::before{content:"— "; opacity:.6}
.more-info-link::after{content:" —"; opacity:.6}
.more-info-link:hover{
  opacity:1;
  text-shadow:0 0 8px rgba(108,99,255,0.6),0 0 14px rgba(108,99,255,0.35);
}


/* ===============================
   Unified Modal System
================================ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5000;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(92vw, 800px);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(28, 31, 58, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 0 25px rgba(108,99,255,0.18);
  animation: modalFade 0.35s ease;
}

.modal-content-sm {
  max-width: 520px;
}

.modal-content-md {
  max-width: 700px;
}

.modal-content-lg {
  max-width: 800px;
}

.modal-content-testimonial {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(18px);
}

.modal-body {
  padding: 40px;
}

.modal-scroll {
  overflow-y: auto;
  max-height: calc(88vh - 32px);
  padding-right: 10px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  z-index: 2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
  transform: scale(1.08);
}

.modal.is-closing .modal-content {
  animation: modalFadeOut 0.35s ease forwards;
}

.success-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-logo {
  width: 210px;
  margin-bottom: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 0 12px rgba(108,99,255,.35));
  animation: logoFade .5s ease;
}

.success-modal-content h2 {
  font-size: 28px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.success-modal-content p {
  color: #cfcfcf;
  line-height: 1.6;
  margin-bottom: 22px;
}

.success-modal-content .pill-button {
  margin-top: 6px;
  margin-bottom: 0;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: scale(.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


#features{
  background: linear-gradient(rgba(8,8,18,0.82), rgba(8,8,18,0.88)), url('images/hero/1/2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding:60px 6%;
}

#features p{
  max-width:880px;
}


.books-carousel-inner{
max-width:900px;
margin:0 auto;
padding:0;
box-sizing:border-box;
}



.section-fade{
  position:relative;
}

.section-fade::after{
  content:"";
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:120px;

  background:linear-gradient(
    180deg,
    rgba(15,16,32,0),
    rgba(15,16,32,1)
  );

  pointer-events:none;
}



.story-world-image{
  max-width:1000px;
  border-radius:12px;

  box-shadow:
    0 30px 90px rgba(0,0,0,.7),
    0 0 50px rgba(108,99,255,.35),
    0 0 120px rgba(108,99,255,.15);
}



.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* Modal card upgrade */
.modal-card{
  max-width:620px;
  width:90%;

  padding:42px 40px;

  background:linear-gradient(
    180deg,
    rgba(32,34,68,0.96),
    rgba(20,22,45,0.96)
  );

  border-radius:22px;

  border:1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 40px 120px rgba(0,0,0,.7),
    0 0 40px rgba(108,99,255,.18);

  text-align:center;

  position:relative;
}

.modal-header{
  margin-bottom:16px;
}

.outerbook-logo{
  width:120px;
  margin-bottom:12px;

  filter:drop-shadow(0 0 14px rgba(108,99,255,.35));
}

.outerbook-explore{
  font-size:.85rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.7;
}

.modal-name{
  font-family:'Playfair Display', serif;
  font-size:1.9rem;
  font-weight:500;

  margin-top:12px;
  margin-bottom:4px;

  text-shadow:
    0 0 16px rgba(108,99,255,.25);
}

.modal-book{
  font-size:.85rem;
  opacity:.65;
  letter-spacing:.02em;

  margin-bottom:14px;
}


.modal-comment{
  font-size:1rem;
  line-height:1.6;
  opacity:.9;

  margin:14px auto 24px auto;
  max-width:420px;
}


.score-label{
  font-size:.8rem;
  letter-spacing:.1em;
  text-transform:uppercase;

  opacity:.6;
}

.modal-score{
  font-size:42px;
  font-weight:700;

  margin-top:6px;

  color:#fff;

  text-shadow:
    0 0 20px rgba(108,99,255,.7),
    0 0 40px rgba(108,99,255,.35);
}


.modal-close{
  position:absolute;
  top:16px;
  right:18px;

  font-size:22px;
  opacity:.7;
  cursor:pointer;

  transition:all .2s ease;
}

.modal-close:hover{
  opacity:1;
  transform:scale(1.15);
}

.outerbook-logo{
  width:120px;
  margin-bottom:12px;

  filter:drop-shadow(0 0 14px rgba(108,99,255,.35));
}



