:root {
  --bg-base: #070a0e;
  --bg-surface: #0e141c;
  --bg-card: #141c26;
  --bg-card-hover: #1a2533;
  --border-subtle: #223042;
  --border-focus: #10b981;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 45%);
}

/* Modo Claro (Light Theme) */
body.theme-light {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #f1f5f9;
  --bg-card-hover: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #059669;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
}

body.theme-light header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e2e8f0;
}

body.theme-light .gradient-text {
  background: linear-gradient(135deg, #0f172a 35%, #0284c7 75%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-light .breakdown-box {
  background: rgba(0, 0, 0, 0.04);
}

body.theme-light .cookie-banner {
  background: rgba(255, 255, 255, 0.96);
  border-color: #cbd5e1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

body.theme-light .cookie-modal {
  background: #ffffff;
}

body.theme-light .privacy-badge-trigger {
  background: rgba(255, 255, 255, 0.9);
  border-color: #cbd5e1;
  color: #475569;
}

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

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 14, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  color: #04100c;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Header Controls (Language Picker & Theme Toggle) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px 6px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease;
  overflow: hidden;
}

.lang-btn img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
}

.lang-btn:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

.lang-btn.active {
  opacity: 1;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald-glow);
  transform: scale(1.12);
}

.btn-theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.btn-theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: rotate(15deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-emerald);
  color: #04140e;
  box-shadow: 0 4px 18px var(--accent-emerald-glow);
}

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-emerald-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.uptime-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 80%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Telemetry Bar */
.telemetry-banner {
  margin-top: 55px;
  padding: 16px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.telemetry-item span.label {
  color: var(--text-dim);
}

.telemetry-item span.value {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* Section Common */
section {
  padding: 90px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: var(--accent-emerald);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.pillar-card:nth-child(2) .pillar-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.pillar-card:nth-child(3) .pillar-icon {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
}

.pillar-card:nth-child(4) .pillar-icon {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.25);
  color: var(--accent-rose);
}

.pillar-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.pillar-specs {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Calculator Section */
.calculator-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-group label span.val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
}

.slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-subtle);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-emerald);
}

.calc-results {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cost-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-rose);
  line-height: 1;
}

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

.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  text-align: left;
  font-size: 0.85rem;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.breakdown-box {
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.breakdown-box .b-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-top: 4px;
}

/* Comparison Table Wrapper (Mobile Safe) */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.comparison-table {
  width: 100%;
  min-width: 580px; /* Garante que as colunas não se espremam no mobile e rolem horizontalmente */
  border-collapse: collapse;
  background: var(--bg-surface);
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  text-align: left;
}

.comparison-table th {
  background: var(--bg-card);
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

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

.check-yes {
  color: var(--accent-emerald);
  font-weight: 700;
}

.check-no {
  color: var(--text-dim);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--accent-emerald);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.15);
  transform: scale(1.03);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-emerald);
  color: #04140e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 999px;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.plan-price {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
}

.plan-price .currency {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
}

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

.plan-setup {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.plan-features li strong {
  color: var(--text-main);
}

.plan-features li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 900;
  flex-shrink: 0;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

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

/* Add-ons & Vault Section */
.addons-wrapper {
  margin-top: 60px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.addon-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.addon-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

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

.addon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.addon-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.addon-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.addon-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin: 16px 0 8px;
}

.addon-price span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.addon-features {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.addon-features li::before {
  content: "🛡️";
  margin-right: 8px;
  font-size: 0.85rem;
}

/* Footer & Compliance Links */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 35px;
  color: var(--text-dim);
  font-size: 0.9rem;
  background: var(--bg-surface);
}

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

.footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: var(--accent-emerald);
}

.legal-notice {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* ==========================================================================
   Tech Ecosystem & Partners Marquee
   ========================================================================== */
.tech-marquee-section {
  padding: 30px 0 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 20, 28, 0.4);
}

body.theme-light .tech-marquee-section {
  background: rgba(241, 245, 249, 0.6);
}

.tech-marquee-title {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
}

.tech-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: marqueeScroll 40s linear infinite;
}

.tech-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: all 0.25s ease;
  user-select: none;
}

.tech-chip:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.tech-chip .tech-icon {
  font-size: 1.1rem;
}

.tech-chip strong {
  color: var(--text-main);
  font-weight: 700;
}

.tech-chip span {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item[open] {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 16px;
}

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

.faq-arrow {
  color: var(--accent-emerald);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.theme-light .faq-answer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-answer p {
  margin-top: 14px;
}

/* ==========================================================================
   Diagnosis & B2B Contact Form (Cloudflare Turnstile Ready)
   ========================================================================== */
.diagnosis-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.diagnosis-info {
  display: flex;
  flex-direction: column;
}

.diagnosis-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0 16px;
  letter-spacing: -0.6px;
}

.diagnosis-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.diagnosis-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.d-highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.d-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.d-highlight-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.d-highlight-item p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0;
  line-height: 1.5;
}

.diagnosis-whatsapp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 8px;
}

.diagnosis-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

body.theme-light .diagnosis-form-card {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.diagnosis-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.diagnosis-form-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-turnstile-wrapper {
  margin: 16px 0;
  min-height: 65px;
  display: flex;
  justify-content: center;
}

.btn-submit-form {
  width: 100%;
  padding: 15px 24px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-form:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-feedback.error {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
}

.form-privacy-note {
  font-size: 0.78rem !important;
  color: var(--text-dim) !important;
  text-align: center;
  margin: 14px 0 0 !important;
}

/* Responsive & Mobile Optimization */
@media (max-width: 1150px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.86rem; }
  #btn-header-cta { padding: 8px 14px; font-size: 0.86rem; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
}

@media (max-width: 992px) {
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
  .calculator-wrapper { grid-template-columns: 1fr; padding: 32px; gap: 36px; }
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .pricing-card.featured { transform: none; }
  .diagnosis-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  header { padding: 12px 0; }
  .nav-links { display: none; }
  
  .logo { font-size: 1.15rem; gap: 8px; }
  .logo img { width: 32px; height: 32px; }
  #btn-header-cta { padding: 8px 14px; font-size: 0.82rem; }

  .header-controls { gap: 8px; }
  .lang-picker { padding: 3px 5px; gap: 4px; }
  .lang-btn { width: 26px; height: 26px; }
  .lang-btn img { width: 20px; height: 20px; }
  .btn-theme-toggle { width: 32px; height: 32px; font-size: 0.95rem; }

  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: clamp(1.85rem, 6.5vw, 2.4rem); letter-spacing: -0.8px; margin-bottom: 18px; }
  .hero p { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
  .hero-actions .btn { width: 100%; }

  .uptime-pill { font-size: 0.75rem; padding: 5px 12px; }

  .telemetry-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-top: 36px;
  }
  .telemetry-item {
    width: 100%;
    justify-content: space-between;
    font-size: 0.82rem;
  }

  section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 1.8rem; letter-spacing: -0.5px; }
  .section-desc { font-size: 0.98rem; }

  .calculator-wrapper { padding: 20px 16px; gap: 28px; }
  .calc-results { padding: 22px 16px; }
  .cost-display { font-size: 2.3rem; }
  .calc-breakdown { grid-template-columns: 1fr; gap: 10px; }

  .addons-wrapper { padding: 24px 16px; margin-top: 40px; }
  .addon-header-box { flex-direction: column; align-items: flex-start; gap: 14px; }
  .addons-grid { grid-template-columns: 1fr; gap: 18px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .diagnosis-form-card { padding: 26px 20px; }
  .diagnosis-info h2 { font-size: 1.8rem; }

  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 1.8rem; }
  .cta-box p { font-size: 1rem; margin-bottom: 24px; }
  #btn-whatsapp-direct { width: 100%; padding: 14px 20px; font-size: 1rem; }

  .footer-content { flex-direction: column; text-align: center; gap: 20px; }
  .footer-nav { justify-content: center; gap: 14px; }
}

@media (max-width: 540px) {
  #btn-header-cta { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.55rem; }
  .cost-display { font-size: 2rem; }
  .plan-price .amount { font-size: 2.3rem; }
  .pricing-card { padding: 30px 18px; }
  .addon-card { padding: 22px 16px; }
  .pillar-card { padding: 24px 18px; }
}

