/* ============================================
   iMovi - Base CSS
   Variables, reset, navegación, footer y utilidades
   Común a todas las páginas
   ============================================ */

/* -----------------------------------
   VARIABLES CSS
----------------------------------- */
:root {
  --ink: #0A0908;
  --cream: #F8F6F1;
  --surface: #FFFFFF;
  --border: #E8E2D9;
  --ember: #E8612A;
  --ember-light: #F59E6B;
  --ember-bg: #FBE9DF;
  --ember-d: #D24D1F;
  --ember-glow: rgba(232,97,42,0.18);
  --muted: #6B6258;
  --muted2: #A09890;
  --sand: #E0D8CE;
  --green: #16A34A;
  --green-bg: #DCFCE7;
}

/* -----------------------------------
   RESET / BASE
----------------------------------- */
*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  background: var(--ink);
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  overflow-x: hidden;
}

/* -----------------------------------
   NAVEGACIÓN
----------------------------------- */
nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 500;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 0 44px; 
  height: 60px;
  transition: background .4s, border-color .4s;
}

nav.bg { 
  background: rgba(10,9,8,.9); 
  backdrop-filter: blur(20px); 
  border-bottom: 1px solid rgba(255,255,255,.07); 
}

.nav-logo { 
  text-decoration: none; 
  font-size: 19px; 
  font-weight: 800; 
  color: #fff; 
  letter-spacing: -.5px; 
}

.nav-logo em { 
  color: var(--ember); 
  font-style: normal; 
}

.nav-links { 
  display: flex; 
  gap: 28px; 
}

.nav-link { 
  font-size: 13px; 
  color: rgba(255,255,255,.7); 
  font-weight: 600; 
  text-decoration: none; 
  transition: color .2s; 
}

.nav-link:hover { 
  color: #fff; 
}

.nav-ctas { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
}

.n-ghost { 
  font-size: 12px; 
  font-weight: 700; 
  color: rgba(255,255,255,.5); 
  background: rgba(255,255,255,.07); 
  border: 1px solid rgba(255,255,255,.12); 
  padding: 7px 16px; 
  border-radius: 7px; 
  font-family: 'Bricolage Grotesque', sans-serif; 
  transition: all .2s; 
  cursor: pointer;
}

.n-ghost:hover { 
  color: #fff; 
  border-color: rgba(255,255,255,.3); 
}

.n-main { 
  font-size: 12px; 
  font-weight: 800; 
  color: #fff; 
  background: var(--ember); 
  border: none; 
  padding: 8px 18px; 
  border-radius: 7px; 
  font-family: 'Bricolage Grotesque', sans-serif; 
  transition: background .2s; 
  cursor: pointer;
}

.n-main:hover { 
  background: #d4531e; 
}

/* -----------------------------------
   FOOTER
----------------------------------- */
footer { 
  background: #060504; 
  padding: 64px 44px 40px; 
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 1.6fr 1fr 1fr 1fr; 
  gap: 48px; 
  margin-bottom: 56px; 
}

.f-logo { 
  text-decoration: none; 
  color: inherit; 
  font-size: 22px; 
  font-weight: 800; 
  color: #fff; 
  letter-spacing: -.5px; 
  margin-bottom: 12px; 
}

.f-logo em { 
  color: var(--ember); 
  font-style: normal; 
}

.f-tagline { 
  font-size: 13px; 
  color: rgba(255,255,255,.25); 
  line-height: 1.6; 
}

.f-col-title { 
  font-size: 9px; 
  font-weight: 700; 
  letter-spacing: 3px; 
  text-transform: uppercase; 
  color: rgba(255,255,255,.18); 
  margin-bottom: 18px; 
}

.f-link { 
  display: block; 
  font-size: 13px; 
  color: rgba(255,255,255,.65); 
  text-decoration: none; 
  margin-bottom: 10px; 
  transition: color .2s; 
}

.f-link:hover { 
  color: #fff; 
}

.footer-bottom { 
  border-top: 1px solid rgba(255,255,255,.06); 
  padding-top: 32px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.f-copy { 
  font-size: 11px; 
  color: rgba(255,255,255,.55); 
}

/* -----------------------------------
   ACCESIBILIDAD
----------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ember);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.3s;
}

.skip-link:focus { 
  top: 0; 
}

*:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

/* -----------------------------------
   UTILIDADES COMUNES
----------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 44px;
}

/* Kicker/label styles */
.kicker {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--ember);
}

/* Headings with ember accent */
h1 em, h2 em {
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  color: var(--ember);
}

/* Scrollbar styling */
::-webkit-scrollbar { 
  width: 4px; 
}

::-webkit-scrollbar-track { 
  background: var(--ink); 
}

::-webkit-scrollbar-thumb { 
  background: #2a2a2a; 
  border-radius: 2px; 
}

/* -----------------------------------
   ANIMACIONES
----------------------------------- */
@keyframes fadeUp { 
  from { opacity: 0; transform: translateY(28px); } 
  to { opacity: 1; transform: none; } 
}

@keyframes scrollPulse { 
  0%, 100% { opacity: .4; } 
  50% { opacity: 1; } 
}

.reveal { 
  opacity: 0; 
  transform: translateY(32px); 
  transition: opacity .7s ease, transform .7s ease; 
}

.reveal.on { 
  opacity: 1; 
  transform: none; 
}

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .18s; }
.d3 { transition-delay: .26s; }
.d4 { transition-delay: .34s; }

/* -----------------------------------
   RESPONSIVE BASE
----------------------------------- */
@media (max-width: 900px) {
  nav { 
    padding: 0 20px; 
  }
  
  .nav-links { 
    display: none; 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px;
  }
  
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 48px 24px 32px;
  }
}
/* ============================================
   iMovi - Componentes Reutilizables
   Botones, cards, badges, y elementos compartidos
   ============================================ */

/* -----------------------------------
   BOTONES
----------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .15s;
}

.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 0 40px rgba(232,97,42,.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 48px rgba(232,97,42,.6);
}

.btn-secondary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.btn-ghost {
  background: #F3F4F6;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--sand);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 6px 6px 0 rgba(0,0,0,.25);
}

.btn-dark:hover {
  transform: translate(-3px,-3px);
  box-shadow: 9px 9px 0 rgba(0,0,0,.25);
}

/* -----------------------------------
   BADGES
----------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 6px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}

.badge-ember {
  background: rgba(232,97,42,.12);
  border: 1px solid rgba(232,97,42,.3);
  color: var(--ember-light);
}

.badge-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ember);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* -----------------------------------
   CARDS
----------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,97,42,.3);
  box-shadow: 0 12px 40px rgba(232,97,42,.08);
}

.card-dark {
  background: var(--ink);
  border-color: rgba(255,255,255,.06);
  color: #fff;
}

.card-ember {
  background: var(--ember);
  border-color: transparent;
  color: #fff;
}

/* -----------------------------------
   CHIPS / TAGS
----------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--surface2, #F2EDE5);
  color: var(--muted);
  border: 1px solid var(--border);
}

.tag {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.tag-ember {
  color: var(--ember);
  background-color: var(--ember-bg);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
}

.tag-white {
  color: rgba(255,255,255,.5);
}

.tag-cream {
  color: rgba(255,255,255,.7);
}

/* -----------------------------------
   ICON BOXES
----------------------------------- */
.icon-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  background: rgba(10,9,8,.05);
  border: 1.5px solid rgba(10,9,8,.1);
  color: var(--ink);
}

.icon-box-light {
  color: #fff;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}

.icon-box-ember {
  color: #fff;
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.35);
}

/* -----------------------------------
   TESTIMONIAL CARDS
----------------------------------- */
.testimonial-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform .2s;
  background: var(--cream);
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-card-dark {
  background: var(--ink);
  border-color: transparent;
}

.testimonial-stars {
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
}

.testimonial-quote strong {
  color: var(--ember);
  font-style: normal;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-role {
  font-size: 11px;
  color: var(--muted2);
}

/* -----------------------------------
   PRICING CARDS
----------------------------------- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

.pricing-card-pop {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--ember);
}

.pricing-card-pop:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 3px var(--ember), 0 16px 48px rgba(0,0,0,.2);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ember);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .5px;
}

.pricing-tier {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted2);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
}

.pricing-amount {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--ink);
  line-height: 1;
}

.pricing-period {
  font-size: 13px;
  color: var(--muted);
}

.pricing-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
}

.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-feature {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.pricing-feature.dim {
  color: var(--muted2);
  text-decoration: line-through;
}

.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background-color: var(--green-bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

/* -----------------------------------
   TICKER
----------------------------------- */
.ticker {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickRun 22s linear infinite;
}

@keyframes tickRun { 
  from { transform: translateX(0); } 
  to { transform: translateX(-50%); } 
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}

.ticker-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember);
  flex-shrink: 0;
}

/* -----------------------------------
   COOKIE BANNER
----------------------------------- */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: #0f0d0b;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.cookie-text {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cookie-btn {
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.cookie-btn-accept {
  background: #E8612A;
  border-color: #E8612A;
  color: #fff;
}

.cookie-btn-reject {
  background: rgba(255,255,255,.08);
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/* ============================================
   PHOSPHOR BOLD DUOTONE ICONS
   ============================================ */

.ph-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ph-icon svg {
  width: 1em;
  height: 1em;
}

.ph-icon-duotone {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ph-icon-duotone svg {
  width: 1em;
  height: 1em;
}

.ph-icon-duotone .ph-fill {
  position: absolute;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ph-icon-duotone:hover .ph-fill {
  opacity: 1;
}

.ph-icon-duotone:hover svg {
  opacity: 0;
}

.ph-icon-interactive {
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ph-icon-interactive:hover {
  transform: scale(1.1);
}

.ph-icon-interactive:active {
  transform: scale(0.95);
}

/* Icon sizes */
.ph-icon-sm { font-size: 14px; }
.ph-icon-md { font-size: 18px; }
.ph-icon-lg { font-size: 24px; }
.ph-icon-xl { font-size: 32px; }
.ph-icon-2xl { font-size: 40px; }

/* Specific icon containers */
.b-icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.b-icon-large svg {
  width: 40px;
  height: 40px;
}

.settings-nav-icon,
.settings-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.settings-nav-icon svg,
.settings-section-icon svg {
  width: 18px;
  height: 18px;
}

.badge-icon svg {
  width: 20px;
  height: 20px;
}

.oauth-icon svg {
  width: 18px;
  height: 18px;
}

.house-svg svg {
  width: 120px;
  height: 100px;
}
