:root {
  --color-primary: #0b1f3a;
  --color-secondary: #123c69;
  --color-accent: #1fa971;
  --color-ice: #f5f7fa;
  --color-muted: #7b8794;
  --color-text: #1c2733;
  --color-surface: rgba(255, 255, 255, 0.78);
  --color-surface-strong: #ffffff;
  --color-border: rgba(18, 60, 105, 0.12);
  --color-shadow: 0 20px 60px rgba(11, 31, 58, 0.12);
  --gradient-main: linear-gradient(135deg, #0b1f3a 0%, #123c69 55%, #1fa971 100%);
  --gradient-soft: linear-gradient(180deg, rgba(18, 60, 105, 0.08), rgba(31, 169, 113, 0.06));
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --transition: all 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(31, 169, 113, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(18, 60, 105, 0.12), transparent 20%),
    var(--color-ice);
  transition: var(--transition);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: "Poppins", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

section,
footer {
  position: relative;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(123, 135, 148, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 135, 148, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section-padding {
  padding: 96px 0;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  color: var(--color-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.section-subtitle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(31, 169, 113, 0.14);
}

.section-title {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.section-lead {
  max-width: 720px;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.glass-card,
.feature-card,
.service-card,
.risk-card,
.faq-item,
.testimonial-card,
.legal-card,
.contact-card,
.timeline-card,
.step-card,
.benefit-card,
.metric-card,
.dashboard-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(22px);
  box-shadow: var(--color-shadow);
  transition: var(--transition);
}

.glass-card:hover,
.feature-card:hover,
.service-card:hover,
.risk-card:hover,
.testimonial-card:hover,
.timeline-card:hover,
.step-card:hover,
.benefit-card:hover,
.dashboard-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 169, 113, 0.28);
}

.icon-badge {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 60, 105, 0.14), rgba(31, 169, 113, 0.18));
  color: var(--color-secondary);
  font-size: 1.5rem;
}

.navbar-custom {
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar-custom.scrolled {
  padding: 10px 0;
  background: rgba(11, 31, 58, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  color: #fff;
}

.navbar-custom .nav-link {
  white-space: nowrap;
  font-size: 0.95rem;
}

.navbar-custom .navbar-nav {
  flex-wrap: nowrap;
}

.navbar-custom .btn-primary-custom {
  white-space: nowrap;
  padding: 12px 20px;
}

.navbar-custom.scrolled .nav-link,
.navbar-custom.scrolled .navbar-brand {
  color: #fff;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 169, 113, 0.25), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(31, 169, 113, 0.25), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(130deg, rgba(4, 14, 29, 0.92), rgba(11, 31, 58, 0.9), rgba(18, 60, 105, 0.84));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.particle-layer,
.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  animation: pulse-float 8s ease-in-out infinite;
}

.hero-orbit span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-orbit span:nth-child(1) {
  width: 320px;
  height: 320px;
  right: 12%;
  top: 18%;
}

.hero-orbit span:nth-child(2) {
  width: 420px;
  height: 420px;
  right: 6%;
  top: 9%;
}

.hero-orbit span:nth-child(3) {
  width: 520px;
  height: 520px;
  right: -2%;
  top: 1%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  font-weight: 600;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 1.05;
  margin: 22px 0 18px;
}

.hero-text {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
}

.hero-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  font-weight: 500;
}

.hero-pill i {
  color: #35d69a;
}

.btn-primary-custom,
.btn-outline-custom,
.btn-light-custom {
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary-custom {
  color: #fff;
  background: linear-gradient(135deg, #1fa971, #1bc38e);
  border: none;
  box-shadow: 0 18px 36px rgba(31, 169, 113, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  color: #fff;
}

.btn-outline-custom {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-custom:hover {
  color: #fff;
  transform: translateY(-3px);
}

.btn-light-custom {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.metric-card {
  padding: 22px;
}

.metric-value {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
  color: var(--color-muted);
}

.check-list i {
  color: var(--color-accent);
}

.service-card,
.feature-card,
.risk-card,
.timeline-card,
.step-card,
.benefit-card,
.testimonial-card,
.legal-card,
.contact-card {
  height: 100%;
  padding: 28px;
}

.service-card ul,
.legal-card ul,
.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.service-card li,
.legal-card li,
.contact-card li {
  margin-bottom: 10px;
  color: var(--color-muted);
}

.service-card li::before,
.legal-card li::before,
.contact-card li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  margin-right: 10px;
  color: var(--color-accent);
}

.risk-card p,
.feature-card p,
.benefit-card p,
.timeline-card p,
.step-card p,
.testimonial-card p {
  color: var(--color-muted);
}

.timeline-wrapper {
  position: relative;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(31, 169, 113, 0.2), rgba(18, 60, 105, 0.34));
  transform: translateX(-50%);
}

.timeline-card {
  position: relative;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 34px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(31, 169, 113, 0.15);
}

.timeline-card.left::before {
  right: -44px;
}

.timeline-card.right::before {
  left: -44px;
}

.checklist-box {
  padding: 30px;
}

.checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.checklist-item:last-child {
  border-bottom: 0;
}

.progress-custom {
  height: 12px;
  background: rgba(18, 60, 105, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-custom .progress-bar {
  background: linear-gradient(135deg, #123c69, #1fa971);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.faq-item .accordion-button {
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
  color: var(--color-secondary);
  background: transparent;
}

.faq-item .accordion-body {
  color: var(--color-muted);
}

.testimonial-company {
  color: var(--color-accent);
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(31, 169, 113, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(31, 169, 113, 0.12);
}

.form-status {
  min-height: 24px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.form-status.success {
  color: var(--color-accent);
}

.form-status.error {
  color: #dc3545;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 1080;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  color: #fff;
  box-shadow: var(--color-shadow);
}

.floating-whatsapp {
  bottom: 24px;
  background: linear-gradient(135deg, #20c05c, #0da34b);
}

.back-to-top {
  bottom: 90px;
  background: linear-gradient(135deg, #123c69, #0b1f3a);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.page-hero {
  padding: 180px 0 110px;
  color: #fff;
  background: var(--gradient-main);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-strip {
  padding: 42px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--color-shadow);
}

.scope-note,
.plan-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(22px);
  box-shadow: var(--color-shadow);
}

.scope-note {
  padding: 32px;
}

.scope-note p {
  color: var(--color-muted);
}

.plan-card {
  position: relative;
  height: 100%;
  padding: 30px;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 169, 113, 0.28);
}

.plan-card-featured {
  background: linear-gradient(180deg, rgba(18, 60, 105, 0.12), rgba(31, 169, 113, 0.08));
  border-color: rgba(31, 169, 113, 0.25);
}

.plan-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18, 60, 105, 0.1);
  color: var(--color-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-hours {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.1;
}

.plan-description,
.plan-note {
  color: var(--color-muted);
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.plan-card li {
  margin-bottom: 12px;
  color: var(--color-muted);
}

.plan-card li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  margin-right: 10px;
  color: var(--color-accent);
}

.plan-price {
  margin-top: auto;
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.plan-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.plan-actions .btn {
  justify-content: center;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(18, 60, 105, 0.1);
  color: var(--color-secondary);
  font-size: 0.92rem;
  font-weight: 700;
}

.comparison-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(22px);
  box-shadow: var(--color-shadow);
  overflow: hidden;
}

.comparison-table {
  margin: 0;
  color: var(--color-text);
}

.comparison-table thead th {
  padding: 20px 18px;
  background: rgba(18, 60, 105, 0.08);
  border-bottom: 1px solid var(--color-border);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.comparison-table tbody th,
.comparison-table tbody td {
  padding: 18px;
  background: transparent;
  border-color: var(--color-border);
  vertical-align: middle;
}

.comparison-table tbody th {
  min-width: 240px;
  font-weight: 600;
}

.comparison-table tbody td i {
  margin-right: 8px;
  color: var(--color-accent);
}

.contact-sidebar {
  display: grid;
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card-footer {
  display: grid;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.contact-card-footer p {
  color: var(--color-muted);
}

.contact-card-footer .btn {
  width: 100%;
  justify-content: center;
}

.footer-main {
  padding: 80px 0 30px;
  background: #08111e;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main h5,
.footer-main h6,
.footer-main a:hover {
  color: #fff;
}

.footer-main .social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal-premium .modal-content {
  border-radius: 28px;
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  box-shadow: var(--color-shadow);
}

.toast-cookie {
  position: fixed;
  left: 18px;
  bottom: 20px;
  z-index: 1080;
  max-width: 360px;
}

.text-gradient {
  background: linear-gradient(135deg, #1fa971, #7af0c1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes pulse-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.34;
  }
  50% {
    transform: translateY(-18px) scale(1.1);
    opacity: 0.68;
  }
}

@media (max-width: 991.98px) {
  .navbar-custom .navbar-nav {
    flex-wrap: wrap;
  }

  .navbar-custom .nav-link,
  .navbar-custom .btn-primary-custom {
    white-space: normal;
  }

  .timeline-wrapper::before {
    display: none;
  }

  .timeline-card::before {
    display: none;
  }

  .process-line,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 74px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-pill-group {
    gap: 10px;
  }

  .hero-pill {
    width: 100%;
    justify-content: center;
  }

  .service-card,
  .feature-card,
  .risk-card,
  .timeline-card,
  .benefit-card,
  .step-card,
  .testimonial-card,
  .checklist-box,
  .legal-card,
  .contact-card {
    padding: 22px;
  }

  .page-hero {
    padding: 150px 0 90px;
  }

  .floating-whatsapp,
  .back-to-top {
    right: 14px;
  }
}
