/* ============================================================
   OWLEAD DESIGN TOKENS v2.0
   Load this BEFORE all other stylesheets.
   ============================================================ */

:root {
  /* Brand */
  --owl-primary:      #8B5CF6;
  --owl-secondary:    #6366F1;
  --owl-gradient:     linear-gradient(135deg, #8B5CF6, #6366F1);

  /* Backgrounds */
  --owl-bg:           #ffffff;
  --owl-bg-alt:       #f6f8f8;
  --owl-bg-dark:      #111827;

  /* Text */
  --owl-text-heading: #111827;
  --owl-text-body:    #374151;
  --owl-text-second:  #6B7280;
  --owl-text-muted:   #9CA3AF;

  /* Borders */
  --owl-border:       #e3e3e3;

  /* Radius */
  --owl-r-sm:         5px;
  --owl-r-md:         8px;
  --owl-r-lg:         10px;
  --owl-r-xl:         14px;
  --owl-r-pill:       50px;

  /* Shadows */
  --owl-shadow-card:  0 1px 3px rgba(0,0,0,0.07), 0 8px 24px rgba(139,92,246,0.06);
  --owl-shadow-hover: 0 4px 16px rgba(139,92,246,0.18);
  --owl-focus-ring:   0 0 0 3px rgba(139,92,246,0.25);

  /* Override legacy dark-theme variables */
  --fontColor:  var(--owl-text-body);
  --mainBg:     var(--owl-bg);
}

/* ============================================================
   GLOBAL RESETS for light theme
   ============================================================ */

html, body {
  background-color: var(--owl-bg) !important;
  color: var(--owl-text-body);
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--owl-text-heading);
}

a, a.active, a:active, a:focus, a:hover {
  color: var(--owl-primary);
}

/* ============================================================
   WORDMARK LOGO
   ============================================================ */

.owlead-wordmark {
  font-family: 'Lato', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
}

.owlead-wordmark:hover {
  text-decoration: none !important;
}

.wm-owl {
  color: #111827;
}

.wm-ead {
  background: linear-gradient(135deg, #8B5CF6, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dark surface variant */
footer .owlead-wordmark .wm-owl,
#cta-footer .owlead-wordmark .wm-owl {
  color: #fff;
}

/* ============================================================
   NAVBAR — light
   ============================================================ */

.navbar {
  background: var(--owl-bg) !important;
  border-bottom: 1px solid var(--owl-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.navbar a {
  color: var(--owl-text-heading) !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--owl-text-heading) !important;
}

.navbar a:hover,
.nav-item a:focus,
.nav-item a:active,
.nav-item a:hover {
  color: var(--owl-primary) !important;
  text-decoration: none;
}

.navbar-dark .navbar-toggler {
  border-color: var(--owl-border);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,24,39,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.langs {
  color: var(--owl-text-second);
}

.langs a {
  color: var(--owl-text-second) !important;
}

a.btnHeader {
  border: 2px solid var(--owl-primary) !important;
  color: var(--owl-primary) !important;
  background: transparent !important;
  border-radius: var(--owl-r-lg) !important;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

a.btnHeader:hover,
a.btnHeader:active {
  background: var(--owl-gradient) !important;
  color: #fff !important;
  box-shadow: var(--owl-shadow-hover);
  transform: translateY(-1px);
}

/* ============================================================
   SHARED: Badge + Stats (used across Hero, LandingHero, Plans, etc.)
   ============================================================ */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #8B5CF6;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 50px;
  letter-spacing: 0.3px;
  animation: badgeFadeIn 0.8s ease-out;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8B5CF6;
  animation: badgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(139,92,246,0.5);
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(139,92,246,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 20px rgba(139,92,246,0.3); }
}

@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes meshShift {
  0%, 100% { opacity: 1; transform: scale(1); }
  33% { opacity: 0.8; transform: scale(1.05) translateX(2%); }
  66% { opacity: 1; transform: scale(0.98) translateX(-1%); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.1); }
  50% { transform: translate(-15px, 15px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.05); }
}

/* Stats — shared across Hero + LandingHero */
.hero-stats,
.lh-stats {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 28px !important;
  flex-wrap: wrap !important;
}

.hero-stat,
.lh-stat {
  text-align: center !important;
}

.hero-stat-value,
.lh-stat-value {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #8B5CF6 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  display: block !important;
}

.hero-stat-label,
.lh-stat-label {
  font-size: 13px !important;
  color: #9CA3AF !important;
  margin-top: 4px !important;
  display: block !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  max-width: none !important;
  text-align: center !important;
}

.hero-stat-divider,
.lh-stat-divider {
  width: 1px !important;
  height: 36px !important;
  background: #e3e3e3 !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* ============================================================
   LANDING HERO — mesh, orbs, grid, title, subtitle
   ============================================================ */

.landing-hero-new {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: #fff;
}

.lh-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(99,102,241,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(139,92,246,0.06) 0%, transparent 50%);
  animation: meshShift 12s ease-in-out infinite;
  pointer-events: none;
}

.lh-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: orbFloat 10s ease-in-out infinite;
}

.lh-orb-1 {
  width: 200px;
  height: 200px;
  top: -40px;
  right: 10%;
  background: rgba(139,92,246,0.18);
}

.lh-orb-2 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 5%;
  background: rgba(99,102,241,0.14);
  animation-delay: 3s;
}

.lh-orb-3 {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 60%;
  background: rgba(167,139,250,0.12);
  animation-delay: 6s;
}

.lh-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(139,92,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 70%);
}

.lh-title {
  font-size: 52px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  line-height: 1.1 !important;
  margin: 0 auto 20px !important;
  max-width: 700px;
  letter-spacing: -0.5px !important;
  animation: heroFadeUp 0.8s ease-out 0.15s both;
}

.lh-subtitle {
  font-size: 18px !important;
  color: #6B7280 !important;
  line-height: 1.6 !important;
  max-width: 580px;
  margin: 0 auto 32px !important;
  font-weight: 400 !important;
  animation: heroFadeUp 0.8s ease-out 0.3s both;
}

@media (max-width: 767px) {
  .landing-hero-new {
    padding: 50px 0 40px;
  }

  .lh-title {
    font-size: 34px !important;
  }

  .lh-subtitle {
    font-size: 16px !important;
  }

  .lh-orb-1 { width: 120px; height: 120px; }
  .lh-orb-2 { width: 80px; height: 80px; }
  .lh-orb-3 { display: none; }
}

/* ============================================================
   HERO — override legacy header styles
   ============================================================ */

/* Reset legacy header .container padding inside new heroes */
.landing-hero-new > .container,
.hero-new > .container,
.lifetime-hero-new > .container {
  padding-top: 0 !important;
}

/* The hero background is set by the hero's own CSS (.landing-hero-new etc.)
   Override only the legacy `header` background-image from important.css */
header.landing-hero-new,
header.hero-new,
header.lifetime-hero-new {
  background-image: none;
}

/* Override legacy header h1/h2/p styles inside new heroes */
.landing-hero-new h1:not(.lh-title),
.landing-hero-new h2,
.landing-hero-new p:not(.lh-subtitle) {
  color: inherit;
}

/* ============================================================
   HERO
   ============================================================ */

.index header,
header.img-back {
  background: var(--owl-bg) !important;
  color: var(--owl-text-heading) !important;
}

.index .gradient,
header .gradient {
  background: transparent !important;
}

.index h1, .landing h1 {
  color: var(--owl-text-heading) !important;
}

.index header h2,
.index header p,
.landing header h2,
.landing header p {
  color: var(--owl-text-second) !important;
}

.know {
  color: var(--owl-text-second);
}

.know svg path {
  fill: var(--owl-primary) !important;
}

.index .know svg,
.landing .know svg {
  filter: none !important;
}

/* ============================================================
   PAIN POINTS
   ============================================================ */

#pain-points {
  background-color: var(--owl-bg-alt) !important;
}

#pain-points .pain-points-list {
  color: var(--owl-text-body) !important;
}

#pain-points .pain-points {
  background-color: var(--owl-bg) !important;
  border: 1px solid var(--owl-border);
  box-shadow: var(--owl-shadow-card);
}

#pain-points .pain-points h2 {
  color: var(--owl-text-heading);
}

#pain-points .pain-points p {
  color: var(--owl-text-second);
}

#pain-points .icons {
  background: var(--owl-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   BENEFITS
   ============================================================ */

#benefits {
  background-color: var(--owl-bg);
}

#benefits h2 {
  color: var(--owl-text-heading);
}

#benefits .benefit-text p {
  color: var(--owl-text-second);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

#how-it-works {
  background-color: var(--owl-bg-alt) !important;
  color: var(--owl-text-body) !important;
}

.list-steps li::before,
.point {
  background: var(--owl-gradient) !important;
  background-color: var(--owl-primary) !important;
  border-color: var(--owl-bg-alt) !important;
}

.pasos .line {
  background-color: var(--owl-primary);
}

.item_steps {
  border: 1px solid var(--owl-border);
  box-shadow: var(--owl-shadow-card);
}

.item_steps .step-title {
  color: var(--owl-text-heading);
}

.item_steps .step-desc {
  color: var(--owl-text-second);
}

/* ============================================================
   FEATURES
   ============================================================ */

#features {
  background-color: var(--owl-bg-alt) !important;
  color: var(--owl-text-body) !important;
}

#features h2 {
  color: var(--owl-text-heading);
}

#features .benefit .row {
  background-color: var(--owl-bg) !important;
  color: var(--owl-text-body) !important;
  border: 1px solid var(--owl-border);
  box-shadow: var(--owl-shadow-card);
  transition: box-shadow 0.2s ease;
}

#features .benefit .row:hover {
  box-shadow: var(--owl-shadow-hover);
}

#features .benefit-text p {
  color: var(--owl-text-second);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

#testimonials .testimonial-card .testimonial {
  background: var(--owl-bg-alt) !important;
  color: var(--owl-text-body) !important;
}

#testimonials .testimonial-card .testimonial:after {
  border-top-color: var(--owl-bg-alt) !important;
}

/* ============================================================
   FAQS
   ============================================================ */

#faqs .question {
  color: var(--owl-primary);
}

/* ============================================================
   CTA FOOTER
   ============================================================ */

#cta-footer {
  background: var(--owl-gradient) !important;
  position: relative;
  overflow: hidden;
}

#cta-footer::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
  animation: ctaOrb 8s ease-in-out infinite;
}

#cta-footer::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -40px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
  animation: ctaOrb 8s ease-in-out infinite 3s;
}

@keyframes ctaOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -10px) scale(1.08); }
}

#cta-footer h2,
#cta-footer h3,
#cta-footer h4,
#cta-footer .subtitle {
  color: #fff !important;
  position: relative;
  z-index: 1;
}

#cta-footer .btnOwl-outline,
#cta-footer .btnOwl,
#cta-footer a {
  position: relative;
  z-index: 1;
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(139,92,246,0.15);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.sticky-cta-bar.sticky-visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sticky-cta-text {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  display: none;
}

@media (min-width: 768px) {
  .sticky-cta-text {
    display: block;
  }
}

/* ============================================================
   FEATURE DETAIL SECTIONS — modern card styles
   ============================================================ */

/* Section alternation */
.feature-detail section:nth-of-type(even) {
  background-color: #f6f8f8;
}

/* Gradient accent cards */
.fd-gradient-card {
  background: linear-gradient(145deg, #8B5CF6, #6366F1);
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fd-gradient-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.3);
}

.fd-gradient-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  top: -30px;
  right: -30px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}

.fd-gradient-card .fd-card-emoji {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
  display: block;
  position: relative;
  z-index: 1;
}

.fd-gradient-card .fd-card-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 8px !important;
  position: relative;
  z-index: 1;
}

.fd-gradient-card .fd-card-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* White info cards */
.fd-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fd-card:hover {
  box-shadow: 0 4px 16px rgba(139,92,246,0.15);
  transform: translateY(-2px);
}

.fd-card .fd-card-emoji {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
  display: block;
}

.fd-card .fd-card-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin-bottom: 6px !important;
  max-width: 100%;
}

.fd-card .fd-card-text {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* Icon-text row cards */
.fd-icon-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  padding: 22px 20px;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fd-icon-row:hover {
  box-shadow: 0 4px 16px rgba(139,92,246,0.15);
  transform: translateY(-2px);
}

.fd-icon-row .fd-icon-emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.fd-icon-row .fd-icon-label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.fd-icon-row .fd-icon-text {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* Score/stat badge inside cards */
.fd-score-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(99,102,241,0.08));
  color: #8B5CF6;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  border: 1px solid rgba(139,92,246,0.15);
}

/* Feature section title */
.fd-section-title {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: center;
  margin-bottom: 8px !important;
}

.fd-section-subtitle {
  font-size: 16px;
  color: #6B7280;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

/* Numbered list with line connector */
.fd-numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: fdStep;
}

.fd-numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  counter-increment: fdStep;
}

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

.fd-numbered-item::before {
  content: counter(fdStep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #6366F1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.fd-numbered-text {
  font-size: 15px;
  color: #374151;
  line-height: 1.5;
}

.fd-numbered-text strong {
  color: #111827;
}

/* ============================================================
   SCREENSHOT FRAME — browser mockup wrapper
   ============================================================ */

.screenshot-frame {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}

.screenshot-frame:hover {
  box-shadow: 0 8px 32px rgba(139,92,246,0.12), 0 2px 6px rgba(0,0,0,0.04);
}

.screenshot-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f6f8f8;
  border-bottom: 1px solid #e3e3e3;
}

.screenshot-frame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}

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

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background-color: var(--owl-bg-dark) !important;
}

footer h5 {
  color: #fff;
}

footer .social-media a {
  color: rgba(255,255,255,0.7);
  transition: color 0.18s ease;
}

footer .social-media a:hover {
  color: var(--owl-primary);
}

/* ============================================================
   BUTTONS — new system
   ============================================================ */

.btnOwl,
.btnOwl:visited {
  display: inline-block;
  padding: 13px 28px;
  background: var(--owl-gradient);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--owl-r-lg);
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  font-family: 'Lato', sans-serif;
}

.btnOwl:hover,
.btnOwl:focus,
.btnOwl:active {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--owl-shadow-hover);
  color: #fff !important;
  text-decoration: none;
  outline: none;
}

.btnOwl .btn-arrow,
.btnOwl-outline .btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btnOwl:hover .btn-arrow,
.btnOwl:focus .btn-arrow,
.btnOwl-outline:hover .btn-arrow,
.btnOwl-outline:focus .btn-arrow {
  transform: translateX(5px);
}

/* White variant — for use on gradient backgrounds */
.btnOwl-outline {
  display: inline-block;
  padding: 13px 28px;
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--owl-r-lg);
  border: 2px solid rgba(255,255,255,0.85);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: background 0.18s ease, color 0.18s ease;
  font-family: 'Lato', sans-serif;
}

.btnOwl-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  text-decoration: none;
}
