/* ===================================
   Engagement Calculator - InstaBooster 2025
   Diseño Premium, Moderno y Funcional
   =================================== */

:root {
  --primary-color: #e61c72;
  --primary-dark: #c41861;
  --primary-light: #ff4d94;
  --accent-color: #ff4d94;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --text-dark: #1a202c;
  --text-gray: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-light-pink: #fef7f0;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(230, 28, 114, 0.1);
  --transition: all 0.3s ease;
  --border-radius-sm: 10px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

.engagement-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

.engagement-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   Hero Section
   =================================== */
.engagement-hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%);
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.4"><circle cx="30" cy="30" r="3"/></g></svg>') repeat;
}

.floating-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: -50px;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0;
  font-weight: 400;
}

/* ===================================
   Calculator Section
   =================================== */
.calculator-section {
  padding: 80px 0;
  position: relative;
  margin-top: -40px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* ===================================
   Calculator Card
   =================================== */
.calculator-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.calculator-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--bg-light);
}

.header-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.header-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-dark);
}

.header-text p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

/* ===================================
   Platform Selector
   =================================== */
.platform-selector {
  margin-bottom: 32px;
}

/* When platform-selector contains buttons directly (price/growth calculators) */
.platform-selector:has(.platform-btn) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.selector-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.platform-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
}

.platform-tab:hover {
  background: var(--bg-light-pink);
  border-color: var(--primary-light);
}

.platform-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-color: var(--primary-color);
  color: white;
}

.platform-tab svg {
  width: 24px;
  height: 24px;
}

/* Platform buttons for price/growth calculators (alias for platform-tab) */
.platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
}

.platform-btn:hover {
  background: var(--bg-light-pink);
  border-color: var(--primary-light);
}

.platform-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-color: var(--primary-color);
  color: white;
}

.platform-icon {
  font-size: 20px;
}

/* ===================================
   Form
   =================================== */
.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-label svg {
  color: var(--primary-color);
}

.form-input {
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 16px;
  transition: var(--transition);
  background: var(--bg-white);
  color: var(--text-dark);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 28, 114, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.input-hint,
.form-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: -4px;
}

.form-hint a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.form-hint a:hover {
  text-decoration: underline;
}

/* ===================================
   Calculate Button
   =================================== */
.calc-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(230, 28, 114, 0.3);
  margin-top: 8px;
}

.calc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 28, 114, 0.4);
}

.calc-button:active {
  transform: translateY(0);
}

/* Calculate button alias for price/growth calculators */
.calculate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(230, 28, 114, 0.3);
  margin-top: 8px;
  width: 100%;
}

.calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 28, 114, 0.4);
}

.calculate-btn:active {
  transform: translateY(0);
}

.calculate-btn svg {
  width: 20px;
  height: 20px;
}

/* ===================================
   Results Card
   =================================== */
.results-card {
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(230, 28, 114, 0.05), rgba(255, 77, 148, 0.05));
  border-radius: var(--border-radius-md);
  border: 2px solid var(--primary-light);
  animation: slideIn 0.5s ease;
}

.results-card.hidden {
  display: none;
}

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

.results-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.results-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--success-color), #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.results-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.result-main {
  text-align: center;
  margin-bottom: 24px;
}

.result-percentage {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.result-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-quality {
  margin-bottom: 24px;
}

.quality-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.quality-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 6px;
  transition: width 0.8s ease;
}

.quality-text {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius-sm);
  margin-bottom: 24px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-label {
  font-size: 14px;
  color: var(--text-gray);
}

.detail-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.result-insights {
  padding: 20px;
  background: white;
  border-radius: var(--border-radius-sm);
}

.result-insights h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text-dark);
}

.result-insights p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.6;
}

/* ===================================
   Info Sidebar
   =================================== */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light-pink);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text-dark);
}

.info-card p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.6;
}

.benchmarks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.benchmark-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--border-radius-sm);
}

.benchmark-item strong {
  font-size: 13px;
  color: var(--text-dark);
}

.benchmark-item span {
  font-size: 12px;
  color: var(--text-gray);
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.cta-card .cta-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
}

.cta-card h3 {
  color: white;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-button-sidebar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: var(--primary-color);
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  margin-top: 16px;
}

.cta-button-sidebar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--primary-color);
}

/* ===================================
   Formula Section
   =================================== */
.formula-section {
  padding: 80px 0;
  background: white;
}

.formula-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.formula-header {
  text-align: center;
  margin-bottom: 48px;
}

.formula-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: var(--text-dark);
}

.formula-header p {
  font-size: 16px;
  color: var(--text-gray);
  margin: 0;
}

.formula-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.formula-visual {
  display: flex;
  justify-content: center;
}

.formula-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.formula-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.formula-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
}

.formula-equals {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
}

.formula-fraction {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formula-numerator,
.formula-denominator {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: 6px;
}

.formula-divider {
  height: 2px;
  background: var(--primary-color);
  margin: 4px 0;
}

.formula-multiply {
  display: flex;
  align-items: center;
  gap: 8px;
}

.formula-times {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
}

.formula-hundred {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.formula-explanation {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.explanation-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.explanation-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.explanation-text strong {
  display: block;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.explanation-text p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

/* ===================================
   Tips Section
   =================================== */
.tips-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.tips-header {
  text-align: center;
  margin-bottom: 48px;
}

.tips-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: var(--text-dark);
}

.tips-header p {
  font-size: 16px;
  color: var(--text-gray);
  margin: 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tip-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.tip-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 800;
  color: var(--bg-light);
  line-height: 1;
}

.tip-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light-pink);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.tip-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text-dark);
}

.tip-card p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.6;
}

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="20" cy="20" r="2"/></g></svg>') repeat;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 16px 0;
}

.cta-content > p {
  font-size: 18px;
  opacity: 0.95;
  margin: 0 0 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.cta-btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: var(--primary-color);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  text-decoration: none;
  color: white;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .info-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .formula-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .engagement-hero {
    padding: 80px 0 60px;
  }

  .calculator-section,
  .formula-section,
  .tips-section {
    padding: 60px 0;
  }

  .calculator-card {
    padding: 28px;
  }

  .formula-card {
    padding: 32px 24px;
  }

  .info-sidebar {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .formula-header h2,
  .tips-header h2 {
    font-size: 28px;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .final-cta {
    padding: 80px 0;
  }

  .platform-selector:has(.platform-btn) {
    grid-template-columns: 1fr;
  }

  .platform-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .platform-tabs {
    grid-template-columns: 1fr;
  }

  .calculator-card,
  .info-card {
    padding: 20px;
  }

  .result-percentage {
    font-size: 42px;
  }

  .formula-box {
    flex-direction: column;
    padding: 24px;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================
   PRICE CALCULATOR - Estilos Específicos
   =================================== */

.price-ranges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.price-card {
  padding: 30px 24px;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  text-align: center;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.price-min {
  border-color: #94a3b8;
}

.price-avg {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #fef7f0 0%, #fff 100%);
  position: relative;
}

.price-avg::before {
  content: '⭐ Recomendado';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.price-max {
  border-color: #f59e0b;
}

.price-label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.price-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.4;
}

.price-breakdown {
  margin: 30px 0;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
}

.price-breakdown h4 {
  color: var(--text-dark);
  margin-bottom: 16px;
  font-size: 18px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.breakdown-label {
  color: var(--text-gray);
  font-weight: 500;
}

.breakdown-value {
  color: var(--text-dark);
  font-weight: 600;
}

/* ===================================
   GROWTH CALCULATOR - Estilos Específicos
   =================================== */

.quick-goals {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.quick-goals-label {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
  font-weight: 500;
}

.quick-goal-btn {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-gray);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}

.quick-goal-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.growth-main-result {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.growth-stat {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  border-radius: var(--border-radius-md);
  border: 2px solid #f9a8d4;
  transition: var(--transition);
}

.growth-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.2);
}

.stat-label {
  font-size: 13px;
  color: #831843;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 6px;
  line-height: 1.1;
}

.stat-sublabel {
  font-size: 13px;
  color: #9f1239;
  font-weight: 500;
}

.progress-container {
  margin: 35px 0;
  padding: 28px;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-color);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
}

.progress-bar {
  height: 14px;
  background: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(230, 28, 114, 0.4);
}

.progress-percentage {
  text-align: center;
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
  margin-top: 4px;
}

.comparison-section {
  margin: 35px 0;
  padding: 28px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: var(--border-radius-md);
  border: 2px solid #86efac;
}

.comparison-section h4 {
  color: #166534;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.comparison-intro {
  color: #15803d;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.comparison-card {
  text-align: center;
  padding: 24px 20px;
  background: var(--bg-white);
  border-radius: 12px;
  border: 2px solid #d1d5db;
  transition: var(--transition);
}

.comparison-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.comparison-highlighted {
  border-color: #22c55e;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  position: relative;
}

.comparison-highlighted::before {
  content: '🚀';
  position: absolute;
  top: -14px;
  right: 12px;
  font-size: 24px;
}

.comparison-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.comparison-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.comparison-highlighted .comparison-value {
  color: #16a34a;
}

.comparison-rate {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

/* ===================================
   Responsive - Mobile Optimizations
   =================================== */

@media (max-width: 768px) {
  .price-ranges {
    grid-template-columns: 1fr;
  }

  .price-value {
    font-size: 36px;
  }

  .growth-main-result {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 32px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .quick-goals {
    justify-content: center;
  }

  .quick-goal-btn {
    flex: 1;
    min-width: 70px;
  }

  .progress-container {
    padding: 20px;
  }

  .comparison-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .price-card {
    padding: 24px 18px;
  }

  .price-value {
    font-size: 32px;
  }

  .stat-value {
    font-size: 28px;
  }

  .comparison-value {
    font-size: 22px;
  }
}

/* ===================================
   SHARED COMPONENTS - Results, Tips, CTA, Sections
   =================================== */

.calculator-results {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.5s ease;
}

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

.result-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.result-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.result-platform {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
  margin: 0;
}

.result-tips {
  margin: 30px 0;
  padding: 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--border-radius-md);
  border: 2px solid #93c5fd;
}

.result-tips h4 {
  color: #1e40af;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.result-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-tips li {
  color: #1e3a8a;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
  font-size: 14px;
}

.result-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: 900;
  font-size: 16px;
}

.result-tips li strong {
  color: #1e40af;
  font-weight: 700;
}

.cta-box {
  margin: 35px 0 0 0;
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: var(--border-radius-md);
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(230, 28, 114, 0.3);
}

.cta-box h4 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: white;
}

.cta-box p {
  font-size: 15px;
  margin: 0 0 24px 0;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: white;
  color: var(--primary-color);
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background: #f8f9fa;
}

/* Info Section */
.info-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.info-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 48px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-item {
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.7;
}

/* Mobile Responsive for Shared Components */
@media (max-width: 768px) {
  .calculator-results {
    padding: 24px 20px;
  }

  .result-header h3 {
    font-size: 20px;
  }

  .result-tips {
    padding: 20px;
  }

  .cta-box {
    padding: 24px 20px;
  }

  .cta-box h4 {
    font-size: 20px;
  }

  .info-section,
  .faq-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .info-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
