/* ====================== */
/*   RESET & BASE         */
/* ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: rgba(99, 179, 237, 0.3);
  color: #fff;
}

/* ====================== */
/*   BACKGROUND LAYERS    */
/* ====================== */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* Grid pattern */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(99, 179, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 179, 237, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Glowing orbs - enhanced */
.glow-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: glowFloat 12s ease-in-out infinite;
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 179, 237, 0.4), transparent);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.glow-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
  top: 40%;
  right: -15%;
  animation-delay: 3s;
}

.glow-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent);
  bottom: -5%;
  left: 30%;
  animation-delay: 6s;
}

.glow-orb-4 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent);
  top: 60%;
  left: 50%;
  animation-delay: 9s;
}

@keyframes glowFloat {
  0%, 100% {
    opacity: 0.4;
    transform: translate(0, 0) scale(1);
  }
  25% {
    opacity: 0.6;
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-30px, 30px) scale(0.95);
  }
  75% {
    opacity: 0.7;
    transform: translate(40px, 60px) scale(1.05);
  }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(99, 179, 237, 0.6);
  border-radius: 50%;
  animation: particleFloat 15s linear infinite;
  box-shadow: 0 0 10px rgba(99, 179, 237, 0.5);
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* Film grain */
.grain {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="3" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
  opacity: 0.03;
  pointer-events: none;
}

/* ====================== */
/*   TOPBAR / HEADER      */
/* ====================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 179, 237, 0.1);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #63b3ed;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: rgba(232, 232, 240, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #63b3ed;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #63b3ed;
}

.nav a:hover:after {
  width: 100%;
}

.topbar-cta {
  display: flex;
  gap: 0.75rem;
}

/* ====================== */
/*   BUTTONS              */
/* ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #63b3ed);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 179, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(99, 179, 237, 0.6);
}

.btn-secondary {
  background: rgba(99, 179, 237, 0.1);
  color: #63b3ed;
  border: 1px solid rgba(99, 179, 237, 0.3);
}

.btn-secondary:hover {
  background: rgba(99, 179, 237, 0.2);
  border-color: rgba(99, 179, 237, 0.5);
  transform: translateY(-2px);
}

/* ====================== */
/*   HERO INTRO SECTION   */
/* ====================== */
.hero-intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  position: relative;
}

.container-hero-split {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left Side: Cartoon Placeholder */
.hero-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cartoon-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
  animation: floatIn 1s ease-out;
  border-radius: 50%;
  overflow: visible;
  padding: 15px;
  background: linear-gradient(135deg, rgba(99, 179, 237, 0.3), rgba(59, 130, 246, 0.2));
  box-shadow: 
    0 0 40px rgba(99, 179, 237, 0.6),
    0 0 80px rgba(99, 179, 237, 0.4),
    0 0 120px rgba(99, 179, 237, 0.2),
    inset 0 0 50px rgba(99, 179, 237, 0.1);
  animation: floatIn 1s ease-out, glowPulse 3s ease-in-out infinite;
}

.cartoon-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 
      0 0 40px rgba(99, 179, 237, 0.6),
      0 0 80px rgba(99, 179, 237, 0.4),
      0 0 120px rgba(99, 179, 237, 0.2),
      inset 0 0 50px rgba(99, 179, 237, 0.1);
  }
  50% {
    box-shadow: 
      0 0 60px rgba(99, 179, 237, 0.8),
      0 0 100px rgba(99, 179, 237, 0.6),
      0 0 150px rgba(99, 179, 237, 0.4),
      inset 0 0 60px rgba(99, 179, 237, 0.2);
  }
}

.cartoon-badge {
  position: absolute;
  bottom: 20px;
  z-index: 2000;
  right: 45px;
  background: linear-gradient(135deg, #3b82f6, #63b3ed);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(99, 179, 237, 0.5);
  animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Right Side: Brand Animation */
.hero-right {
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand-intro {
  max-width: 600px;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
}

.brand-letter {
  display: inline-block;
  color: #63b3ed;
  animation: letterDrop 0.6s ease-out forwards;
  animation-delay: calc(var(--i) * 0.15s);
  opacity: 0;
  transform: translateY(-50px) rotateX(-90deg);
  text-shadow: 0 4px 20px rgba(99, 179, 237, 0.6);
}

@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translateY(-50px) rotateX(-90deg);
  }
  50% {
    opacity: 1;
    transform: translateY(10px) rotateX(10deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.brand-space {
  width: 30px;
}

.brand-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(99, 179, 237, 0.8);
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease-out 1.5s backwards;
}

.brand-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(232, 232, 240, 0.8);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 1.8s backwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-cta {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 2.1s backwards;
}

/* Trust Pills */
.trust-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease-out 2.4s backwards;
}

.trust-pill {
  padding: 0.75rem 1.5rem;
  background: rgba(99, 179, 237, 0.1);
  border: 1px solid rgba(99, 179, 237, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(232, 232, 240, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.trust-pill:hover {
  background: rgba(99, 179, 237, 0.2);
  border-color: rgba(99, 179, 237, 0.4);
  transform: translateY(-2px);
}

/* ====================== */
/*   CONTAINER & SECTIONS */
/* ====================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #63b3ed;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: rgba(232, 232, 240, 0.7);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ====================== */
/*   GLASS EFFECT         */
/* ====================== */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 179, 237, 0.15);
  border-radius: 16px;
  overflow: hidden;
}

.glass-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(99, 179, 237, 0.05) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* ====================== */
/*   CARDS GRID           */
/* ====================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 179, 237, 0.4);
  box-shadow: 0 20px 60px rgba(99, 179, 237, 0.2);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e8e8f0;
}

.card p {
  color: rgba(232, 232, 240, 0.7);
  line-height: 1.7;
}

/* ====================== */
/*   STEPS                */
/* ====================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #63b3ed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 30px rgba(99, 179, 237, 0.4);
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #e8e8f0;
}

.step p {
  color: rgba(232, 232, 240, 0.7);
  line-height: 1.7;
}

/* ====================== */
/*   DEMO GRID            */
/* ====================== */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.demo-card {
  padding: 2rem;
  transition: all 0.4s ease;
}

.demo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 179, 237, 0.4);
  box-shadow: 0 20px 60px rgba(99, 179, 237, 0.2);
}

.demo-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 179, 237, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 179, 237, 0.2);
}

.demo-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #e8e8f0;
}

.demo-info p {
  color: rgba(232, 232, 240, 0.7);
  line-height: 1.6;
}

/* ====================== */
/*   PRICING (UPDATED)    */
/* ====================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;   /* wider so 3 cards fit comfortably */
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 179, 237, 0.45);
  box-shadow: 0 25px 70px rgba(99, 179, 237, 0.28);
}

/* Featured (middle) plan pop */
.pricing-card.featured {
  transform: scale(1.05);
  border-color: rgba(99, 179, 237, 0.65);
  box-shadow:
    0 18px 60px rgba(99, 179, 237, 0.30),
    0 0 45px rgba(99, 179, 237, 0.18);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow:
    0 28px 90px rgba(99, 179, 237, 0.38),
    0 0 60px rgba(99, 179, 237, 0.25);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e8e8f0;
}

.pricing-price {
  font-size: 3.2rem;
  font-weight: 700;
  color: #63b3ed;
  margin-bottom: 0.5rem;
}

.pricing-period {
  color: rgba(232, 232, 240, 0.6);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: rgba(232, 232, 240, 0.85);
  border-bottom: 1px solid rgba(99, 179, 237, 0.1);
}

.pricing-features li:before {
  content: '✓';
  color: #63b3ed;
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Responsive: go 2 columns then 1 */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 900px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}


/* ====================== */
/*   FINAL CTA            */
/* ====================== */
.final-cta {
  padding: 120px 0;
}

.final-shell {
  padding: 4rem 3rem;
  text-align: center;
}

.final-shell h2 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #63b3ed;
}

.email-form {
  display: flex;
  gap: 1rem;
  max-width: 550px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.email-input {
  flex: 1;
  min-width: 280px;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 179, 237, 0.3);
  border-radius: 8px;
  color: #e8e8f0;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.email-input:focus {
  border-color: rgba(99, 179, 237, 0.6);
  box-shadow: 0 0 20px rgba(99, 179, 237, 0.2);
}

.email-input::placeholder {
  color: rgba(232, 232, 240, 0.5);
}

/* ====================== */
/*   FOOTER               */
/* ====================== */
footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(99, 179, 237, 0.1);
}

footer p {
  color: rgba(232, 232, 240, 0.6);
  font-size: 0.95rem;
}

/* ====================== */
/*   FADE-IN ANIMATION    */
/* ====================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================== */
/*   RESPONSIVE           */
/* ====================== */
@media (max-width: 968px) {
  .container-hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-left {
    order: 2;
  }
  
  .hero-right {
    order: 1;
    text-align: center;
  }
  
  .brand-intro {
    max-width: 100%;
  }
  
  .brand-title {
    font-size: 3.5rem;
    justify-content: center;
  }
  
  .brand-cta {
    justify-content: center;
  }
  
  .cartoon-placeholder {
    max-width: 350px;
  }
  
  .nav {
    display: none;
  }
  
  .topbar-cta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .brand-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .email-input {
    width: 100%;
  }
}