/* ==========================================================================
   DESKFY — LANDING PAGE PREMIUM DESIGN SYSTEM
   Modern, High-Agency Dark Aesthetic with Rich Depth and Dynamic Interactions
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #060911;
  --bg-surface: #0b1120;
  --bg-surface-elevated: #111a2e;
  --bg-glass: rgba(15, 23, 42, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.3);
  --border-glow: rgba(79, 70, 229, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --primary: #0284c7;
  --primary-light: #38bdf8;
  --indigo: #6366f1;
  --indigo-dark: #4338ca;
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  --grad-text: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.22) 0%, rgba(6, 9, 17, 0) 70%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(2, 132, 199, 0.25);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(2, 132, 199, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.15;
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1280px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 28px;
  flex-shrink: 0;
}

.logo-symbol {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.logo-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
}

.logo-brand span {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin-right: auto;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-pdf {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  height: 38px;
  line-height: 1;
  flex-shrink: 0;
}

.btn-header-pdf:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-nav-cta {
  padding: 8px 16px;
  font-size: 0.88rem;
  height: 38px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeIn 0.8s ease-out;
}

.hero-title {
  font-size: 3.6rem;
  max-width: 950px;
  margin: 0 auto 24px;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-hero-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Key Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition-smooth);
}

.metric-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ==========================================================================
   VIDEO TOUR SHOWCASE
   ========================================================================== */
.video-section {
  padding: 80px 0;
  position: relative;
}

.video-frame-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 30px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

.browser-header {
  background: #0a0f1d;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-lights {
  display: flex;
  gap: 6px;
}

.light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.light-red { background: #ef4444; }
.light-yellow { background: #f59e0b; }
.light-green { background: #10b981; }

.browser-address {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: monospace;
  flex: 1;
  max-width: 320px;
}

.browser-status {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

.video-element-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-element-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   INTERACTIVE PORTALS SHOWCASE (TABS)
   ========================================================================== */
.portals-section {
  padding: 90px 0;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 12px 24px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.tab-btn.active {
  background: var(--bg-surface-elevated);
  border-color: var(--primary-light);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
}

.portal-info h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: #ffffff;
}

.portal-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-checklist {
  list-style: none;
  margin-bottom: 30px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.portal-screen-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: #000;
}

/* ==========================================================================
   PROBLEM VS SOLUTION COMPARISON
   ========================================================================== */
.comparison-section {
  padding: 90px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.comp-col {
  border-radius: 20px;
  padding: 36px;
}

.col-pain {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.col-pain h3 {
  color: #fb7185;
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.col-solution {
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-glow);
}

.col-solution h3 {
  color: #38bdf8;
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.comp-list li {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
}

.billing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

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

.switch-toggle {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.switch-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.switch-toggle.active {
  background: var(--indigo-dark);
}

.switch-toggle.active::before {
  transform: translateX(26px);
  background: #fff;
}

.discount-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #111a33 0%, #0d1527 100%);
  border: 1.5px solid var(--primary-light);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.25);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.featured-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  margin-bottom: 24px;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

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

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.btn-plan {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-plan-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
}

.btn-plan-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   DOWNLOADS / DOCUMENTATION HUB
   ========================================================================== */
.docs-section {
  padding: 90px 0;
  background: rgba(11, 17, 32, 0.4);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.doc-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.doc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 14px;
}

.badge-comercial { background: rgba(2, 132, 199, 0.15); color: var(--primary-light); }
.badge-admin { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.badge-agente { background: rgba(245, 158, 11, 0.15); color: #fde68a; }
.badge-cliente { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }

.doc-card h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.btn-download-pdf:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Video Pills Banner Callout */
.video-pills-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.video-pills-info {
  max-width: 680px;
}

.video-pills-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.video-pills-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.video-pills-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-video-pills {
  background: var(--grad-primary);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-video-pills:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5);
}

@media (max-width: 768px) {
  .video-pills-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .btn-video-pills {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 90px 0;
}

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--text-dim);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open {
  border-color: var(--border-hover);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ==========================================================================
   FINAL CTA FOOTER
   ========================================================================== */
.final-cta {
  padding: 80px 0 100px;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 28px;
  padding: 60px 40px;
  box-shadow: var(--shadow-glow);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-box p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .portal-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-links, .btn-header-pdf { display: none; }
  .nav-actions .btn-primary { display: none; }
  .mobile-toggle { display: block; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .hero { padding-top: 100px; }
  .docs-grid { grid-template-columns: 1fr; }
  .metrics-strip { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .portal-grid { padding: 24px 18px; }
  .pricing-card { padding: 28px 20px; }
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 1.8rem; }
}

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