/* ========================================================================= */
/* ZITEO LANDING PAGE - NATIVE STYLES & TAILWIND COMPATIBILITY LAYER        */
/* ========================================================================= */

:root {
  --ziteo-teal: #248196; 
  --ziteo-blue: #004d68;
  --ziteo-dark: #0f172a;
  --ziteo-navy: #001d2a;
  --ziteo-slate: #64748b;
  --ziteo-slate-light: #f8fafc;
  --ziteo-slate-mid: #f1f5f9;
  --ziteo-gold: #fbbf24;
  --ziteo-green: #10b981;
}

/* SVG Safety: Never allow unconstrained SVGs to expand full-screen */
.landing-root svg,
header svg,
footer svg {
  max-width: 100%;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Base resets & typography */
.landing-root {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #F8F8F8;
  -webkit-font-smoothing: antialiased;
}

.landing-root h1, 
.landing-root h2, 
.landing-root h3, 
.landing-root h4, 
.landing-root h5, 
.landing-root h6 {
  -webkit-text-fill-color: initial !important;
  background: none !important;
  color: #004d68;
  font-weight: 700;
  margin: 0;
}

.landing-root p {
  color: #475569;
  font-weight: 400;
  margin: 0;
}

/* Header fix */
header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

/* Utilities fallback */
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }

/* Interactive details summary */
details summary::-webkit-details-marker {
  display: none;
}

details[open] summary .faq-chevron {
  transform: rotate(180deg);
}

details[open] {
  border-color: #2d91a8 !important;
}

/* ========================================================================= */
/* PRICING TOGGLE & HIGH-CONVERTING CARDS (STYLE MATCHING SUBSCRIPTIONS)    */
/* ========================================================================= */

.billing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  z-index: 20;
  position: relative;
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ziteo-slate);
}

.save-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input { 
  opacity: 0; 
  width: 0; 
  height: 0; 
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; 
  width: 20px;
  left: 4px; 
  bottom: 4px;
  background-color: white;
  transition: .4s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

input:checked + .slider { 
  background-color: #004d68; 
}

input:checked + .slider:before { 
  transform: translateX(22px); 
}

.slider.round { 
  border-radius: 34px; 
}

.slider.round:before { 
  border-radius: 50%; 
}

/* Pricing Visibility Logic */
.pricing-monthly .annual-price-display { 
  display: none !important; 
}

.pricing-annual .monthly-price-display { 
  display: none !important; 
}

/* Pricing Cards Layout */
.pricing-grid-subscription {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .pricing-grid-subscription { 
    grid-template-columns: 1fr; 
    max-width: 480px; 
    margin: 0 auto 40px auto; 
  }
}

.card-premium-sub {
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  height: 100%;
  box-sizing: border-box;
}

.card-premium-sub:hover {
  transform: translateY(-4px);
}

.card-tag-sub {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

.card-title-sub {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card-price-sub {
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.card-price-sub span {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 6px;
}

.price-strikethrough-sub {
  font-size: 0.95rem;
  text-decoration: line-through;
  margin-bottom: 4px;
  display: block;
  font-weight: 600;
}

.card-description-sub {
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.55;
}

.features-list-sub {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.feature-icon-sub {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  font-weight: 800;
}

.card-action-sub {
  margin-top: auto;
  width: 100%;
}

.btn-plan-action {
  width: 100% !important;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* 1. ESENCIAL CARD */
.card-esencial-sub {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.card-esencial-sub:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}
.card-esencial-sub .card-tag-sub { color: #64748b; }
.card-esencial-sub .card-title-sub { color: #004d68; }
.card-esencial-sub .card-price-sub { color: #004d68; }
.card-esencial-sub .price-strikethrough-sub { color: #94a3b8; }
.card-esencial-sub .card-description-sub { color: #64748b; }
.card-esencial-sub .feature-item-sub { color: #334155; }
.card-esencial-sub .feature-icon-sub { background: #f1f5f9; color: #64748b; }
.btn-esencial-sub {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #334155;
}
.btn-esencial-sub:hover {
  background: #ffffff;
  border-color: #004d68;
  color: #004d68;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 2. IMPULSO CARD (TEAL GLOW) */
.card-impulso-sub {
  background: #248196;
  color: white !important;
  border: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 30px 60px rgba(36, 129, 150, 0.35);
  z-index: 5;
}
.card-impulso-sub:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25), 0 40px 80px rgba(36, 129, 150, 0.45);
}
.card-impulso-sub .card-tag-sub { color: rgba(255,255,255,0.85) !important; }
.card-impulso-sub .card-title-sub { color: white !important; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.card-impulso-sub .card-price-sub { color: white !important; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.card-impulso-sub .price-strikethrough-sub { color: rgba(255,255,255,0.65) !important; }
.card-impulso-sub .card-description-sub { color: rgba(255,255,255,0.9) !important; }
.card-impulso-sub .feature-item-sub { color: white !important; }
.card-impulso-sub .feature-icon-sub { background: rgba(255,255,255,0.28); color: white !important; }
.badge-recommended-sub {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24 !important;
  color: #000000 !important;
  padding: 6px 20px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(251, 191, 36, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.btn-impulso-sub,
.card-impulso-sub .btn-impulso-sub,
.card-impulso-sub .btn-impulso-sub span,
.card-impulso-sub .btn-impulso-sub * {
  background: #ffffff !important;
  color: #248196 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.btn-impulso-sub:hover,
.card-impulso-sub .btn-impulso-sub:hover {
  background: #f8fafc !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

/* 3. PRO CARD (DARK CHARCOAL NAVY) */
.card-pro-sub {
  background: #0f172a;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}
.card-pro-sub:hover {
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
  border-color: rgba(255,255,255,0.2);
}
.card-pro-sub .card-tag-sub { color: #fbbf24 !important; }
.card-pro-sub .card-title-sub { color: white !important; }
.card-pro-sub .card-price-sub { color: white !important; }
.card-pro-sub .price-strikethrough-sub { color: rgba(255,255,255,0.45) !important; }
.card-pro-sub .card-description-sub { color: #94a3b8 !important; }
.card-pro-sub .feature-item-sub { color: #f1f5f9 !important; }
.card-pro-sub .feature-icon-sub { background: rgba(251, 191, 36, 0.2); color: #fbbf24 !important; }
.btn-pro-sub,
.card-pro-sub .btn-pro-sub,
.card-pro-sub .btn-pro-sub span,
.card-pro-sub .btn-pro-sub * {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
/* Final CTA Banner styling & Spacing */
.final-cta-banner {
  padding: 64px 28px 56px 28px !important;
}

@media (min-width: 768px) {
  .final-cta-banner {
    padding: 88px 56px 76px 56px !important;
  }
}

.final-cta-banner .final-banner-badge-wrapper {
  margin-bottom: 32px !important;
}

.final-cta-banner .final-banner-badge {
  background-color: #fbbf24 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
}

.final-cta-banner h2 {
  color: #ffffff !important;
  line-height: 1.35 !important;
  margin-bottom: 28px !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.final-cta-banner p.final-banner-desc {
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.7 !important;
  margin-bottom: 40px !important;
  max-width: 620px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.final-cta-banner .final-banner-actions {
  margin-bottom: 36px !important;
}

.final-cta-banner .final-banner-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding-top: 28px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.final-cta-banner .final-banner-footer p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* Active Plan Highlights for Subscription Dashboard */
.card-premium-sub.active-plan-border {
  border: 2.5px solid #004d68 !important;
  box-shadow: 0 0 0 4px rgba(0, 77, 104, 0.15), 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.card-premium-sub.active-plan-border-impulso {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(36, 129, 150, 0.4), 0 35px 70px rgba(36, 129, 150, 0.5) !important;
}

.card-premium-sub.active-plan-border-pro {
  border: 2.5px solid #fbbf24 !important;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.25), 0 25px 60px rgba(15, 23, 42, 0.4) !important;
}



