/* 
  Setup Antifrágil v2 - Styling
  Estética: SaaS Premium / Tecnologia / CRO Otimizado
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Variables & Design System */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --primary: #4f46e5; /* Indigo */
  --primary-light: #818cf8;
  --primary-dark: #3730a3;
  --accent: #06b6d4; /* Cyan */
  --accent-light: #22d3ee;
  
  --success: #10b981; /* Emerald */
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --success-text: #065f46;
  
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --danger-border: #fca5a5;
  --danger-text: #991b1b;

  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: 'Plus Jakarta Sans', var(--font-sans);
  
  /* Layout */
  --max-width: 1100px;
  --max-width-narrow: 800px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 30px 60px -15px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

section.alt-bg {
  background-color: var(--bg-secondary);
}

/* Typography Styles */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1.25rem;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background-color: var(--bg-tertiary);
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at top center, rgba(79, 70, 229, 0.03) 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  line-height: 1.15;
}

.hero .subheadline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.hero-badge:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.hero-badge svg {
  color: var(--success);
  flex-shrink: 0;
}

/* VSL (Video Section) */
.vsl-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2rem;
  max-width: 720px;
  width: 100%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* Aspect ratio 720x360 is 2:1 -> 50% */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  background-color: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Centered Button Style */
.panda-btn-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  min-height: 50px; /* Pre-allocating height to prevent layout shifts */
}

/* Cards & Grid System */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background-color: var(--primary);
  color: var(--bg-primary);
  border-color: var(--primary);
}

/* Comparison Section */
.comparison-container {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-primary);
  font-family: var(--font-sans);
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.comparison-table th {
  background-color: var(--bg-secondary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .col-agencia {
  width: 45%;
}

.comparison-table .col-setup {
  width: 45%;
  background-color: rgba(79, 70, 229, 0.01);
}

.comparison-table .col-feature {
  width: 10%;
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
}

.item-negativo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.item-negativo svg {
  color: var(--danger);
  flex-shrink: 0;
}

.item-positivo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.item-positivo svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Steps (Como Funciona) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.step-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-number {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background-color: rgba(79, 70, 229, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Grid Entregas (O que você recebe) */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.deliverable-card {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.deliverable-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.deliverable-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(79, 70, 229, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.deliverable-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.deliverable-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Feature Showcase (Bloco IA no Atendimento) */
.showcase-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.showcase-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.showcase-bullets {
  list-style: none;
  margin-top: 1.75rem;
}

.showcase-bullet {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.showcase-bullet svg {
  color: var(--success);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.showcase-bullet-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-visual {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* Mock chat screen style in showcase visual */
.chat-mockup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 80%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.patient {
  align-self: flex-start;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-bubble.ai {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai .ai-tag {
  position: absolute;
  top: -18px;
  right: 5px;
  font-size: 0.65rem;
  background: var(--accent);
  color: var(--text-primary);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Finance Section */
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.finance-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.finance-box.agency {
  border-left: 4px solid var(--danger);
}

.finance-box.setup {
  border: 2px solid var(--primary-light);
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(79, 70, 229, 0.01) 100%);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.finance-box.setup::after {
  content: 'Melhor Escolha';
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.finance-header {
  margin-bottom: 2rem;
}

.finance-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.finance-header .subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.finance-flow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flow-value {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flow-value.danger {
  color: var(--danger-text);
  background-color: var(--danger-bg);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--danger-border);
}

.flow-value.highlight {
  color: var(--primary);
  background-color: rgba(79, 70, 229, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.flow-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.finance-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.finance-footer svg {
  flex-shrink: 0;
}

/* Audience grids (Para quem é / não é) */
.audience-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}

.audience-column h2 {
  text-align: left;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.audience-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.audience-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.audience-card.is-for {
  border-left: 4px solid var(--success);
}

.audience-card.is-not-for {
  border-left: 4px solid var(--danger);
  opacity: 0.85;
}

.audience-card svg {
  flex-shrink: 0;
}

.audience-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: var(--text-primary);
}

/* Authority Section */
.authority-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.authority-sidebar {
  position: sticky;
  top: 2rem;
}

.profile-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.profile-card .authority-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--primary-light), var(--shadow-md);
  margin-bottom: 1.25rem;
}

.profile-meta h3 {
  font-size: 1.25rem;
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.profile-meta p {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.authority-bio-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.authority-bio-content h2 {
  text-align: left;
  margin-bottom: 1.25rem;
}

.authority-subtitle {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.authority-bio-text p {
  margin-bottom: 1.25rem;
}

.authority-bio-text p:last-child {
  margin-bottom: 0;
}

.authority-skills-container {
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  margin-top: 4rem;
}

.skills-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.skills-section-header h3 {
  font-size: 1.75rem;
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.skills-section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.skill-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(79, 70, 229, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.skill-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 700;
}

.skill-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Warranty Section */
.warranty-box {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  border-left: 5px solid var(--success);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.warranty-badge {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
}

.warranty-content h3 {
  color: var(--success-text);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.warranty-content p {
  color: var(--success-text);
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* FAQ (Accordion) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:focus {
  outline: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) cubic-bezier(0, 1, 0, 1), padding var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-answer-content {
  padding-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.faq-answer-content p {
  margin-bottom: 0.75rem;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.faq-answer-content li {
  margin-bottom: 0.25rem;
}

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

/* FAQ Active state */
.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* high enough limit */
  transition: max-height var(--transition-slow) cubic-bezier(1, 0, 1, 0), padding var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

/* Final CTA Section */
.final-cta {
  background: radial-gradient(circle at bottom center, rgba(79, 70, 229, 0.05) 0%, transparent 60%);
  text-align: center;
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Footer style */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .showcase-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .showcase-content h2 {
    text-align: center;
  }
  
  .showcase-bullets {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .showcase-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .authority-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .authority-sidebar {
    position: static;
  }

  .profile-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .authority-bio-content h2 {
    text-align: center;
  }

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

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-badge {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .finance-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .audience-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .warranty-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }

  /* Table responsive styling: scrollable or block format */
  .comparison-container {
    border-radius: var(--radius-sm);
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

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