/* ============================================
   Proceso de Integracion - Styles
   Modern, serene, minimal design
   ============================================ */

:root {
  /* Colors - Warm whites and neutrals for peace & tranquility */
  --bg: #faf8f5;
  --bg-soft: #f5f2ed;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-muted: #8a8a8a;
  --border: #e8e4dc;
  --border-light: #f0ebe3;
  --accent: #1a1a1a;
  --accent-soft: rgba(26, 26, 26, 0.08);
  --primary-blue: #6366f1;
  --primary-blue-soft: rgba(99, 102, 241, 0.08);
  --primary-blue-border: rgba(99, 102, 241, 0.4);
  
  /* Typography */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  
  /* Spacing & Layout */
  --max-width: 1100px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 60px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-secondary);
}

.nav-cta {
  padding: 10px 20px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-cta:hover {
  background-color: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  margin-bottom: 60px;
}

.hero-content {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 16px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 800px;
  text-wrap: balance;
}

.hero-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--bg-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
}

.badge svg {
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  background-color: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.hero-note svg {
  flex-shrink: 0;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-note strong {
  color: var(--text);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: #333;
  border-color: #333;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--bg-soft);
  border-color: var(--text-secondary);
}

.btn-full {
  width: 100%;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-soft);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--text);
}

.feature-card h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-list li strong {
  color: var(--text);
}

.list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-top: 2px;
}

.feature-list.topics .list-icon {
  color: var(--text-muted);
}

.feature-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.feature-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
  margin-bottom: 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.price-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.price-header {
  margin-bottom: 20px;
}

.plan-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 8px 0 16px;
  letter-spacing: -0.01em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.plan-price .price-amount {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.plan-price .price-currency {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.plan-duration {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ============================================
   Card Currency Selector (Inside each plan)
   ============================================ */
.card-currency-selector {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.card-currency-selector .currency-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-align: center;
}

.currency-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.currency-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 110px;
  justify-content: center;
}

.currency-btn:hover {
  border-color: var(--text-secondary);
  background-color: var(--bg-soft);
}

.currency-btn.active {
  border-color: var(--primary-blue);
  background-color: var(--primary-blue-soft);
  color: var(--primary-blue);
}

.currency-flag {
  font-size: 16px;
  line-height: 1;
}

.exchange-rate-info {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  min-height: 16px;
}

/* Hide local currency button by default (shown via JS if different currency) */
.local-btn {
  display: none;
}

.local-btn.show {
  display: flex;
}

/* ============================================
   Plan Description & Features
   ============================================ */
.plan-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--border);
  border-radius: 50%;
}

.price-card.featured .plan-features li::before {
  background-color: var(--accent);
}

.plan-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

.pricing-note {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pricing-note svg {
  flex-shrink: 0;
  color: var(--text-secondary);
  margin-top: 2px;
}

.pricing-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-note strong {
  color: var(--text);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  margin-bottom: 60px;
}

.faq-container {
  max-width: 700px;
  margin: 0 auto 32px;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background-color: var(--bg-soft);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
  margin-bottom: 24px;
}

.faq-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .price-card.featured {
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    padding: 20px 16px 48px;
  }
  
  .navbar {
    margin-bottom: 32px;
  }
  
  .brand-text {
    display: none;
  }
  
  .hero-content {
    padding: 32px 24px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-description {
    font-size: 15px;
  }
  
  .hero-badges {
    gap: 8px;
  }
  
  .badge {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    padding: 16px 24px;
  }
  
  .hero-note {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }
  
  .feature-card {
    padding: 28px 24px;
  }
  
  .feature-card h2 {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .price-card {
    padding: 28px 24px;
  }
  
  .plan-price .price-amount {
    font-size: 36px;
  }
  
  .currency-buttons {
    flex-direction: column;
  }
  
  .currency-btn {
    width: 100%;
  }
  
  .faq-item summary {
    padding: 16px 20px;
    font-size: 14px;
  }
  
  .faq-item p {
    padding: 0 20px 16px;
  }
}

/* ============================================
   Animations & Interactions
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .price-card,
  .faq-item {
    transition: transform var(--transition), box-shadow var(--transition);
  }
  
  .feature-card:hover,
  .price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  }
}

/* Scroll anchor offset */
[id] {
  scroll-margin-top: 24px;
}

/* Selection */
::selection {
  background-color: var(--accent);
  color: var(--bg);
}
