/* ============================================
   ADEQUAÇÃO DIGITAL — Landing Page Styles
   ============================================ */

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

:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --surface: rgba(15, 23, 42, 0.04);
  --surface-hover: rgba(15, 23, 42, 0.08);
  --border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(15, 23, 42, 0.15);
  --border-review: rgba(139, 92, 246, 0.2);
  --header-bg: rgba(248, 250, 252, 0.85);
  --text: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.12);
  --accent: #d97706;
  --accent-glow: rgba(217, 119, 6, 0.12);
  --danger: #dc2626;
  --danger-glow: rgba(220, 38, 38, 0.1);
  --success: #10b981;
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-accent: linear-gradient(135deg, #f59e0b, #f97316);
  --gradient-danger: linear-gradient(135deg, #ef4444, #f97316);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.05);
  --font: 'Work Sans', -apple-system, sans-serif;
  --font-display: 'Manrope', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Premium Dark Mode Theme --- */
body.dark-theme {
  --bg: #0a0e1a;
  --bg-elevated: #111827;
  --bg-card: #1a2035;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-review: rgba(139, 92, 246, 0.3);
  --header-bg: rgba(10, 14, 26, 0.85);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.25);
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.2);
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.2);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

strong {
  font-weight: 600;
  color: var(--text);
}

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

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header__nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.header__logo-icon {
  font-size: 1.4rem;
}

/* --- Buttons --- */

/* Registered CSS properties for ShinyButton conic animation */
@property --shiny-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --shiny-angle-offset {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --shiny-percent {
  syntax: '<percentage>';
  initial-value: 5%;
  inherits: false;
}
@property --shiny-shine {
  syntax: '<color>';
  initial-value: white;
  inherits: false;
}
@keyframes shiny-rotate { to { --shiny-angle: 360deg; } }
@keyframes shiny-shimmer { to { rotate: 360deg; } }
@keyframes shiny-breathe {
  from, to { scale: 1; }
  50% { scale: 1.2; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
}

.btn--outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ── ShinyButton (primary) ── */
.btn--primary {
  --shiny-bg: #0f172a;
  --shiny-highlight: #3b82f6;
  --shiny-highlight-subtle: #8b5cf6;
  --shiny-duration: 3s;

  isolation: isolate;
  border-radius: 360px;
  color: #fff;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--shiny-bg), var(--shiny-bg)) padding-box,
    conic-gradient(
      from calc(var(--shiny-angle) - var(--shiny-angle-offset)),
      transparent,
      var(--shiny-highlight) var(--shiny-percent),
      var(--shiny-shine) calc(var(--shiny-percent) * 2),
      var(--shiny-highlight) calc(var(--shiny-percent) * 3),
      transparent calc(var(--shiny-percent) * 4)
    ) border-box;
  box-shadow: 0 0 10px 1px rgba(59, 130, 246, 0.15);
  animation:
    shiny-rotate var(--shiny-duration) linear infinite paused,
    shiny-rotate calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
  animation-composition: add;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    --shiny-angle-offset 0.8s ease,
    --shiny-percent 0.8s ease,
    --shiny-shine 0.8s ease;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  --shiny-percent: 20%;
  --shiny-angle-offset: 95deg;
  --shiny-shine: var(--shiny-highlight-subtle);
  transform: translateY(-2px);
  box-shadow: 0 0 20px 3px rgba(59, 130, 246, 0.3);
}
.btn--primary:hover,
.btn--primary:hover::before,
.btn--primary:hover::after,
.btn--primary:focus-visible,
.btn--primary:focus-visible::before,
.btn--primary:focus-visible::after {
  animation-play-state: running;
}
.btn--primary:active { translate: 0 1px; }

@media (max-width: 480px) {
  .btn--primary { border-radius: 14px; }
}

.btn__arrow { transition: transform 0.3s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__gradient-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  margin-bottom: 48px;
}

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

.hero__badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__badge-icon {
  font-size: 1rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 2px;
  height: 40px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--primary);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(300%);
  }
}

/* ============================================
   REVIEWS MARQUEE
   ============================================ */
.reviews {
  padding: 40px 0 60px;
  overflow: hidden;
}

.reviews__marquee-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 10px 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews__marquee-wrapper::-webkit-scrollbar {
  display: none;
}

.reviews__marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 0 5vw;
}

/* ── Card ── */
.reviews__card {
  flex-shrink: 0;
  width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border-review);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  user-select: none;
  box-shadow: var(--shadow);
}

.reviews__card-spotlight {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(139, 92, 246, 0.18), transparent 70%);
  z-index: 1;
}

.reviews__card:hover .reviews__card-spotlight {
  opacity: 1;
}

.reviews__card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Profile row ── */
.reviews__profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.reviews__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.reviews__profile-info {
  flex: 1;
}

.reviews__profile-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.reviews__profile-time {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ── Review text ── */
.reviews__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

/* ── Bottom row ── */
.reviews__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.reviews__stars {
  display: flex;
  gap: 2px;
}

.reviews__star {
  font-size: 20px;
  color: #FFC107;
  line-height: 1;
}

.reviews__star--empty {
  font-size: 20px;
  color: rgba(255, 193, 7, 0.3);
  line-height: 1;
}

@media (max-width: 768px) {
  .reviews__card {
    width: 300px;
    padding: 20px;
  }

  .reviews__marquee-track {
    gap: 16px;
  }
}

/* ============================================
   SECTION SHARED
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.text-danger {
  color: var(--danger);
}

/* ============================================
   RISK SECTION
   ============================================ */
.risk {
  padding: 100px 0;
  background: var(--bg);
}

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

.risk__card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

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

.risk__card--coimas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-danger);
}

.risk__card--punicao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.risk__card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.risk__card-icon {
  font-size: 1.6rem;
}

.risk__card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--danger);
  margin-bottom: 12px;
}

.risk__card--punicao .risk__card-label {
  color: var(--accent);
}

.risk__card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.risk__card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.risk__card-amount {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--danger);
  padding: 16px;
  border-radius: var(--radius);
  background: var(--danger-glow);
  text-align: center;
}

.risk__card-timeline {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.risk__timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  flex: 1;
}

.risk__timeline-item--before {
  background: rgba(16, 185, 129, 0.1);
}

.risk__timeline-item--after {
  background: var(--danger-glow);
}

.risk__timeline-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.risk__timeline-value {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
}

.risk__timeline-item--before .risk__timeline-value {
  color: var(--success);
}

.risk__timeline-item--after .risk__timeline-value {
  color: var(--danger);
}

.risk__timeline-arrow {
  font-size: 1.2rem;
  color: var(--text-dim);
  font-weight: 700;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
}

.solution__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.solution__card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.solution__card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.solution__card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  transition: var(--transition);
}

.solution__card:hover .solution__card-icon-wrap {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

/* SVG icon styling */
.risk__card-svg {
  color: currentColor;
}

.hero__badge-svg {
  flex-shrink: 0;
}

.contact__info-svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.footer__logo-svg {
  flex-shrink: 0;
}

.solution__card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.solution__card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg);
}

.pricing__card {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.pricing__card-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-primary);
  opacity: 0.5;
  filter: blur(20px);
  z-index: 0;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

.pricing__card-inner {
  position: relative;
  z-index: 1;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(59, 130, 246, 0.3);
  text-align: center;
}

.pricing__ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--gradient-accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 8px;
}

.pricing__amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing__currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
}

.pricing__value {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing__note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.pricing__divider {
  height: 1px;
  background: var(--border);
  margin: 0 -8px 24px;
}

.pricing__features {
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing__feature-check {
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  flex-shrink: 0;
}

/* ============================================
   CONTACT / FORM SECTION
   ============================================ */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact__info-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.contact__info-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact__info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Form Styles */
.contact__form {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-required {
  color: var(--danger);
}

.form-optional {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

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

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input-group {
  display: flex;
  align-items: stretch;
}

.form-input-prefix {
  padding: 14px 14px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(59, 130, 246, 0.1);
  border: 1.5px solid var(--border);
  border-right: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.form-input--prefix {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.form-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-radio {
  cursor: pointer;
}

.form-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-radio__box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-radio input:checked+.form-radio__box {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.form-radio__box:hover {
  border-color: var(--border-hover);
}

.form-disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

/* Formspree feedback */
.form-success-msg:not(:empty) {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.form-error-msg:not(:empty) {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--danger-glow);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.form-field-error:not(:empty) {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--danger);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px var(--danger-glow) !important;
}

button[data-fs-submit-btn][disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer__logo-icon {
  font-size: 1.3rem;
}

.footer__text {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.6;
}

.footer__credit {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.6;
}

.footer__credit-link {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.7;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__credit-link:hover {
  color: var(--text-muted);
  opacity: 1;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal--active {
  opacity: 1;
  pointer-events: all;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  z-index: 1;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  max-width: 420px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal--active .modal__content {
  transform: scale(1);
}

.modal__icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
  }

  .risk__grid,
  .solution__grid {
    grid-template-columns: 1fr;
  }

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

  .contact__info-card {
    position: static;
  }

  .pricing__card-inner {
    padding: 40px 24px;
  }

  .pricing__value {
    font-size: 4rem;
  }

  .contact__form {
    padding: 28px 20px;
  }

  .risk,
  .solution,
  .pricing,
  .contact {
    padding: 70px 0;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .form-radio-group {
    grid-template-columns: 1fr;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}

/* Dark theme button background override */
body.dark-theme .btn--primary {
  --shiny-bg: #060a18;
}

/* Header Theme Toggle */
.header__theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.header__theme-toggle:hover {
  background: var(--surface);
  color: var(--text);
}

.header__theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header__theme-toggle .sun-icon {
  display: none;
}

.header__theme-toggle .moon-icon {
  display: block;
}

body.dark-theme .header__theme-toggle .sun-icon {
  display: block;
}

body.dark-theme .header__theme-toggle .moon-icon {
  display: none;
}

/* ── WhatsApp Widget ── */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: var(--font);
}

.wa-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.wa-button:hover {
  transform: scale(1.1) translateY(-2px);
  background: #20ba59;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.wa-icon {
  width: 28px;
  height: 28px;
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #25D366;
}

/* Chat Box */
.wa-chat-box {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
}

body.dark-theme .wa-chat-box {
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
}

.wa-chat-box.wa-chat-box--active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.wa-chat-header {
  background: #075E54;
  padding: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.wa-chat-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
}

.wa-chat-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #128C7E, #25d366);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.wa-chat-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #075E54;
}

.wa-chat-header-info {
  flex: 1;
}

.wa-chat-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.wa-chat-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.wa-chat-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0 4px;
}

.wa-chat-close:hover {
  opacity: 1;
}

.wa-chat-body {
  background: #e5ddd5;
  padding: 16px;
  max-height: 200px;
  overflow-y: auto;
  position: relative;
}

body.dark-theme .wa-chat-body {
  background: #0b141a;
}

.wa-chat-body::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
}

.wa-chat-msg-bubble {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 0 12px 12px 12px;
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

body.dark-theme .wa-chat-msg-bubble {
  background: #1f2c34;
  color: #f1f5f9;
}

.wa-chat-msg-text {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.4;
}

.wa-chat-msg-time {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.wa-chat-footer {
  padding: 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.88rem;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  transition: border-color 0.2s;
}

.wa-chat-input:focus {
  border-color: #128C7E;
}

.wa-chat-send {
  background: #128C7E;
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.wa-chat-send:hover {
  background: #075E54;
}

.wa-chat-send svg {
  width: 16px;
  height: 16px;
}