/*
========================================================================
   NEGOCIOUP CORE DESIGN SYSTEM V11.0
   Dual Theme Architecture:
     - Public Landing: Pure White (#FFFFFF) - Trustworthy Google Cloud Style
     - Client Portal: Deep Space (#080C14) - Futuristic Hack-Level Dashboard
========================================================================
*/


:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', var(--font-sans);

  /* Google Colors (HSL Tweak for Premium aesthetics) */
  --google-blue: hsl(217, 89%, 61%);      /* #3b82f6 - Vibrant Royal Blue */
  --google-red: hsl(0, 84%, 60%);         /* #ef4444 - Warm Coral Red */
  --google-yellow: hsl(38, 92%, 50%);     /* #f59e0b - Amber Yellow */
  --google-green: hsl(162, 76%, 41%);     /* #10b981 - Emerald Green */

  /* Neon Colors */
  --neon-green: hsl(162, 76%, 41%);
  --neon-blue: hsl(217, 89%, 61%);
  --neon-purple: hsl(271, 91%, 65%);      /* #a855f7 - Electric Indigo */

  /* Landing Light Theme Tokens */
  --bg-color: #ffffff;
  --bg-gradient: radial-gradient(circle at 50% 0%, hsl(210, 40%, 98%) 0%, #ffffff 80%);
  --text-primary: hsl(222, 47%, 11%);     /* #0f172a - Slate-900 */
  --text-muted: hsl(215, 16%, 47%);       /* #64748b - Slate-500 */
  --border-color: hsl(214, 32%, 91%);     /* #e2e8f0 - Slate-200 */
  
  --primary: var(--google-blue);
  --primary-hover: hsl(217, 89%, 55%);
  --primary-glow: rgba(59, 130, 246, 0.15);

  --secondary: hsl(210, 40%, 96.1%);      /* #f1f5f9 - Slate-100 */
  --secondary-text: var(--text-primary);
  --secondary-hover: hsl(210, 40%, 90%);

  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-light: hsl(214, 32%, 91%);

  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* PORTAL DARK THEME OVERRIDES (Futuristic Growth Hacking UI) */
body.portal-theme {
  --bg-color: hsl(222, 47%, 4%);          /* #020617 - Deep slate-950 */
  --bg-gradient: radial-gradient(circle at 50% 20%, hsl(222, 47%, 10%) 0%, hsl(222, 47%, 4%) 90%);
  --text-primary: hsl(210, 40%, 98%);     /* Slate-50 */
  --text-muted: hsl(215, 25%, 72%);       /* Slate-300 */
  --border-color: rgba(255, 255, 255, 0.08);

  --primary: var(--neon-blue);
  --primary-hover: hsl(217, 89%, 68%);
  --primary-glow: rgba(59, 130, 246, 0.4);

  --secondary: rgba(255, 255, 255, 0.04);
  --secondary-text: var(--text-primary);
  --secondary-hover: rgba(255, 255, 255, 0.08);

  --bg-card: rgba(15, 23, 42, 0.3);       /* Dark slate glass card */
  --bg-card-hover: rgba(15, 23, 42, 0.5);
  --border-light: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px 0 rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 12px 40px 0 rgba(0, 0, 0, 0.8);
}

/* Base Styles & Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-gradient);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Standard Styles */
.section {
  padding: 6rem 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--google-blue);
  background: rgba(66, 133, 244, 0.06);
  border: 1px solid rgba(66, 133, 244, 0.15);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Text Highlights */
.text-gradient {
  background: linear-gradient(135deg, var(--google-blue) 0%, var(--google-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red {
  color: var(--google-red);
}

.text-gradient-green {
  color: var(--google-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--google-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.btn-primary:hover {
  background-color: #1a73e8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-secondary-neon {
  background-color: rgba(66, 133, 244, 0.03);
  color: var(--google-blue);
  border: 2px solid var(--google-blue);
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary-neon:hover {
  background-color: rgba(66, 133, 244, 0.08);
  color: #1a73e8;
  border-color: #1a73e8;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.2), 0 0 12px rgba(66, 133, 244, 0.15);
  transform: translateY(-2px);
}

body.portal-theme .btn-secondary {
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

body.portal-theme .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

body.portal-theme .glass-card {
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: var(--shadow-md);
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

body.portal-theme .glass-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Roadmap Grid Layout */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .roadmap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.roadmap-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 10px 30px rgba(60, 64, 67, 0.02), 0 1px 3px rgba(60, 64, 67, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Card frames & colored top-bar indicators */
.roadmap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: height 0.3s ease;
}
.roadmap-card.card-f0::before { background: var(--google-blue); }
.roadmap-card.card-f1::before { background: var(--google-yellow); }
.roadmap-card.card-f2::before { background: var(--google-green); }

/* Double border frame effect on hover */
.roadmap-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Active and Hover glows */
.roadmap-card.card-f0.active-phase {
  border-color: hsla(217, 89%, 61%, 0.25);
  box-shadow: 0 12px 35px hsla(217, 89%, 61%, 0.08);
  background: linear-gradient(to bottom, hsla(217, 89%, 61%, 0.01) 0%, #ffffff 100%);
}
.roadmap-card.card-f0:hover {
  transform: translateY(-6px);
  border-color: hsla(217, 89%, 61%, 0.35);
  box-shadow: 0 20px 40px hsla(217, 89%, 61%, 0.12);
}
.roadmap-card.card-f0:hover::after {
  border-color: hsla(217, 89%, 61%, 0.15);
}

.roadmap-card.card-f1:hover {
  transform: translateY(-6px);
  border-color: hsla(38, 92%, 50%, 0.35);
  box-shadow: 0 20px 40px hsla(38, 92%, 50%, 0.1);
  background: linear-gradient(to bottom, hsla(38, 92%, 50%, 0.01) 0%, #ffffff 100%);
}
.roadmap-card.card-f1:hover::after {
  border-color: hsla(38, 92%, 50%, 0.15);
}

.roadmap-card.card-f2:hover {
  transform: translateY(-6px);
  border-color: hsla(162, 76%, 41%, 0.35);
  box-shadow: 0 20px 40px hsla(162, 76%, 41%, 0.1);
  background: linear-gradient(to bottom, hsla(162, 76%, 41%, 0.01) 0%, #ffffff 100%);
}
.roadmap-card.card-f2:hover::after {
  border-color: hsla(162, 76%, 41%, 0.15);
}

.roadmap-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.phase-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  color: #ffffff;
}

.badge-f0 { background-color: var(--google-blue); }
.badge-f1 { background-color: var(--google-yellow); color: #000; }
.badge-f2 { background-color: var(--google-green); }

.roadmap-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.roadmap-quote {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid rgba(0,0,0,0.1);
  padding-left: 10px;
}
.roadmap-card.card-f0 .roadmap-quote { border-left-color: var(--google-blue); color: var(--google-blue); }
.roadmap-card.card-f1 .roadmap-quote { border-left-color: var(--google-yellow); color: #c49102; }
.roadmap-card.card-f2 .roadmap-quote { border-left-color: var(--google-green); color: var(--google-green); }

.roadmap-desc {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.roadmap-features {
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
}

.roadmap-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}

.roadmap-features li::before {
  content: '✓';
  color: var(--google-green);
  font-weight: bold;
}

/* Custom NegocioUp Mock Dashboard Component */
.nup-mock-ui {
  background: rgba(9, 13, 22, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.nup-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.nup-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--google-green);
  border-radius: 50%;
  animation: pulse-green-glow 2s infinite;
}

.nup-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.nup-column {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
}

.nup-column-name {
  font-size: 0.6rem;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.nup-card-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 850;
  color: #ffffff;
}

/* Google Maps Pack Mockup styling */
.nup-search-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.nup-map-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(66, 133, 244, 0.05);
  border: 1px solid rgba(66, 133, 244, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: left;
}

.nup-map-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--google-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.nup-map-info {
  flex: 1;
  min-width: 0;
}

.nup-map-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-verif {
  color: #4285f4;
  font-size: 0.75rem;
}

.nup-map-stars {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.stars-gold {
  color: #ffb700;
  font-size: 0.75rem;
}

.reviews-count {
  font-size: 0.7rem;
  color: #94a3b8;
}

.nup-map-status {
  font-size: 0.7rem;
  color: #34A853;
  margin-top: 0.15rem;
  font-weight: 600;
}

.nup-map-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65rem;
  color: var(--google-blue);
  gap: 0.15rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Meta Ad Preview Mockup styling */
.nup-ad-preview {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: left;
}

.nup-ad-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.nup-ad-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--google-blue), var(--google-red));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nup-ad-username {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

.nup-ad-sponsored {
  font-size: 0.6rem;
  color: #64748b;
}

.nup-ad-body {
  font-size: 0.725rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.nup-ad-image {
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(161, 66, 244, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
}

.nup-ad-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(circle at center, rgba(66, 133, 244, 0.15) 0%, transparent 80%);
}

.ad-metric-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--google-green);
  box-shadow: 0 0 10px rgba(52, 168, 83, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.nup-ad-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem;
  border-radius: 4px;
}

.nup-ad-domain {
  font-size: 0.6rem;
  color: #64748b;
  text-transform: uppercase;
}

.nup-ad-headline {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
}

.nup-ad-btn {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #3b5998;
  border: none;
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

/* Sliders & Calculator System */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .calc-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.calc-panel-left {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.calc-value-badge {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--google-blue);
  background-color: rgba(66, 133, 244, 0.05);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(66, 133, 244, 0.15);
}

.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: hsl(214, 32%, 91%);
  outline: none;
  transition: background 0.3s;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--google-blue);
  cursor: pointer;
  box-shadow: 0 0 0 4px hsla(217, 89%, 61%, 0.15), 0 4px 10px hsla(217, 89%, 61%, 0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s, box-shadow 0.2s;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background-color: hsl(217, 89%, 55%);
  box-shadow: 0 0 0 6px hsla(217, 89%, 61%, 0.25), 0 6px 15px hsla(217, 89%, 61%, 0.4);
}

.slider-input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 8px hsla(217, 89%, 61%, 0.3);
}

.calc-panel-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.calc-metric-box.danger-box {
  border-color: rgba(234, 67, 53, 0.2);
  background: rgba(234, 67, 53, 0.02);
}

.calc-metric-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.calc-metric-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 850;
}

.calc-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-comp-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}

.calc-comp-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.calc-comp-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

/* Elegant Form Settings */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-input {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--google-blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

body.portal-theme .form-input {
  background-color: rgba(9, 13, 22, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

body.portal-theme .form-input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(66, 133, 244, 0.25);
}

/* Multicolor progress bar simulator */
.multicolor-progress-bar {
  background: rgba(0, 0, 0, 0.05);
  height: 10px;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  width: 100%;
}

body.portal-theme .multicolor-progress-bar {
  background: rgba(255, 255, 255, 0.05);
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--google-blue), var(--google-red), var(--google-yellow), var(--google-green));
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

/* Google Cloud Style Pricing Tables */
.pricing-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.gc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.gc-table th {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.gc-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
}

body.portal-theme .gc-table td {
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.gc-table tr:hover {
  background: rgba(66, 133, 244, 0.02);
}

.gc-table th.table-highlight-col,
.gc-table td.table-highlight-col {
  background-color: rgba(66, 133, 244, 0.02);
  border-left: 1px solid rgba(66, 133, 244, 0.1);
  border-right: 1px solid rgba(66, 133, 244, 0.1);
}

/* Modal overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(32, 33, 36, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
}

.modal-success-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(52, 168, 83, 0.08);
  color: var(--google-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.modal-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  background-color: #f8fafc;
  font-size: 0.875rem;
  color: var(--text-muted);
}

body.portal-theme footer {
  background-color: #05080e;
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* --- WhatsApp Floating CTA --- */
.whatsapp-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--google-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
  transition: all var(--transition-fast);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.4);
}

.whatsapp-tooltip {
  background-color: #ffffff;
  color: #202124;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(12px);
  transition: all var(--transition-normal);
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-tooltip.active {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Animations */
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(52, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

@keyframes pulse-green-glow {
  0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(52, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

@keyframes pulse-blue-glow {
  0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(66, 133, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}

@keyframes pulse-purple-glow {
  0% { box-shadow: 0 0 0 0 rgba(161, 66, 244, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(161, 66, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(161, 66, 244, 0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================================================
   FUTURISTIC SPACE EFFECTS (PORTAL PORTAL ONLY)
======================================================================== */

.portal-theme .space-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(66, 133, 244, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(161, 66, 244, 0.05) 0%, transparent 40%);
}

/* Particle simulation using multiple box-shadows */
.portal-theme .space-particles {
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 
    100px 300px #fff, 200px 400px rgba(255,255,255,0.5), 350px 150px #fff,
    500px 600px #fff, 650px 250px rgba(255,255,255,0.7), 800px 500px #fff,
    950px 100px rgba(255,255,255,0.3), 1100px 700px #fff, 1250px 300px #fff,
    1400px 450px rgba(255,255,255,0.6), 1550px 200px #fff, 1700px 650px #fff,
    200px 800px #fff, 450px 950px rgba(255,255,255,0.4), 850px 900px #fff,
    1300px 850px rgba(255,255,255,0.5), 1600px 980px #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  animation: space-drift 60s linear infinite;
}

@keyframes space-drift {
  from { transform: translateY(0px); }
  to { transform: translateY(-300px); }
}

/* Glassmorphism overrides with glowing borders */
.portal-theme .glowing-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.portal-theme .glowing-panel-green {
  border-color: rgba(52, 168, 83, 0.25);
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 20px rgba(52, 168, 83, 0.1);
}

.portal-theme .glowing-panel-blue {
  border-color: rgba(66, 133, 244, 0.25);
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 20px rgba(66, 133, 244, 0.1);
}

.portal-theme .glowing-panel-purple {
  border-color: rgba(161, 66, 244, 0.25);
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 20px rgba(161, 66, 244, 0.1);
}

/* Neon Text Accents */
.portal-theme .neon-text-green {
  color: #34A853;
  text-shadow: 0 0 8px rgba(52, 168, 83, 0.5);
}

.portal-theme .neon-text-blue {
  color: #4285F4;
  text-shadow: 0 0 8px rgba(66, 133, 244, 0.5);
}

.portal-theme .neon-text-purple {
  color: #A142F4;
  text-shadow: 0 0 8px rgba(161, 66, 244, 0.5);
}

/* Stepper state widget */
.roadmap-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
}

.roadmap-stepper::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.06);
  z-index: 1;
}

/* SVG Chart Resplendance */
.svg-chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-chart 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

.chart-point {
  transform: scale(0);
  transform-origin: center;
  animation: show-point 0.5s 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes show-point {
  to { transform: scale(1); }
}

/* Google Cloud Pricing Table overrides for landing page */
.propuesta-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem;
}

.propuesta-card {
  border-radius: 24px !important;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.propuesta-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
}

.propuesta-table th {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--google-blue) !important;
  padding: 1rem 1.5rem !important;
  background-color: rgba(66, 133, 244, 0.02);
}

.propuesta-table td {
  padding: 1rem 1.5rem !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.propuesta-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.01);
}

.propuesta-row-highlight {
  background-color: rgba(52, 168, 83, 0.04) !important;
  border-left: 3px solid var(--google-green);
}

.propuesta-phase-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.propuesta-icon-f0 { background-color: rgba(66, 133, 244, 0.15); color: var(--google-blue); }
.propuesta-icon-f1 { background-color: rgba(251, 188, 5, 0.15); color: var(--google-yellow); }
.propuesta-icon-f2 { background-color: rgba(52, 168, 83, 0.15); color: var(--google-green); }

/* ==========================================================================
   PORTAL-THEME SPECIFIC LANDING PAGE OVERRIDES (DARK GLOW THEME)
   ========================================================================== */
body.portal-theme {
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
}
body.portal-theme .roadmap-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
}
body.portal-theme .roadmap-card.card-f0.active-phase {
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.04) 0%, rgba(15, 23, 42, 0.35) 100%);
  border-color: hsla(217, 89%, 61%, 0.3);
}
body.portal-theme .roadmap-card.card-f1.active-phase {
  background: linear-gradient(to bottom, rgba(245, 158, 11, 0.04) 0%, rgba(15, 23, 42, 0.35) 100%);
  border-color: hsla(38, 92%, 50%, 0.3);
}
body.portal-theme .roadmap-card.card-f2.active-phase {
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.04) 0%, rgba(15, 23, 42, 0.35) 100%);
  border-color: hsla(162, 76%, 41%, 0.3);
}
body.portal-theme .nup-mock-ui {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.06);
}
body.portal-theme .nup-search-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}
body.portal-theme .nup-map-item.active {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}
body.portal-theme .nup-ad-preview {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}
body.portal-theme .nup-ad-footer {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}
body.portal-theme .whatsapp-tooltip {
  background-color: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
body.portal-theme .propuesta-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.01);
}
body.portal-theme .slider-input {
  background: rgba(255, 255, 255, 0.08);
}
body.portal-theme .slider-input::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.08);
}
body.portal-theme .calc-value-badge {
  background-color: rgba(66, 133, 244, 0.1);
}

body.portal-theme .gc-table th.table-highlight-col,
body.portal-theme .gc-table td.table-highlight-col {
  background-color: rgba(66, 133, 244, 0.06) !important;
  border-left: 1px solid rgba(66, 133, 244, 0.25) !important;
  border-right: 1px solid rgba(66, 133, 244, 0.25) !important;
}

/* ==========================================================================
   VIDEO EMBED ON-DEMAND & PHONE EMULATOR STYLES
   ========================================================================== */

/* Play Video Link / Badge */
.play-video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
  cursor: pointer;
}

.play-video-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.play-icon-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

/* Specific glows for each phase */
.play-video-link[data-video*="fase0"] .play-icon-glow {
  background: var(--google-blue);
}
.play-video-link[data-video*="fase0"]:hover {
  border-color: rgba(66, 133, 244, 0.35);
  background: rgba(66, 133, 244, 0.06);
  color: var(--google-blue);
}
.play-video-link[data-video*="fase0"]:hover .play-icon-glow {
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--google-blue);
}

.play-video-link[data-video*="fase1"] .play-icon-glow {
  background: var(--google-yellow);
  color: #000;
}
.play-video-link[data-video*="fase1"]:hover {
  border-color: rgba(251, 188, 5, 0.35);
  background: rgba(251, 188, 5, 0.06);
  color: var(--google-yellow);
}
.play-video-link[data-video*="fase1"]:hover .play-icon-glow {
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--google-yellow);
}

.play-video-link[data-video*="fase2"] .play-icon-glow {
  background: var(--google-green);
}
.play-video-link[data-video*="fase2"]:hover {
  border-color: rgba(52, 168, 83, 0.35);
  background: rgba(52, 168, 83, 0.06);
  color: var(--google-green);
}
.play-video-link[data-video*="fase2"]:hover .play-icon-glow {
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--google-green);
}

.play-link-text {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.play-video-link:hover .play-link-text {
  border-bottom-color: currentColor;
}

/* Phone Video Modal Overlay */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1rem;
}

.video-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Close Button */
.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  outline: none;
  z-index: 10000;
  transition: all 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* Phone Emulator Container */
.phone-emulator {
  width: 320px;
  height: 640px;
  max-width: 90vw;
  max-height: 85vh;
  background: #000;
  border: 12px solid #1e293b;
  border-radius: 40px;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 12px 12px 12px;
  box-sizing: border-box;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active .phone-emulator {
  transform: scale(1);
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  padding: 4px 12px 0 12px;
  flex-shrink: 0;
  z-index: 5;
  pointer-events: none;
}

.phone-status-bar span {
  font-weight: 600;
}

.phone-video-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080c14;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 15px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.phone-home-bar {
  width: 100px;
  height: 4px;
  background: #64748b;
  border-radius: 2px;
  align-self: center;
  flex-shrink: 0;
  margin-bottom: 2px;
}

