﻿:root {
  --black: #060608;
  --dark: #0c0c10;
  --card: #11111a;
  --border: rgba(255, 255, 255, 0.07);
  --white: #f2f2f5;
  --muted: rgba(242, 242, 245, 0.52);

  /* Brand palette — extracted from hex logo gradient */
  --brand-red: #d62c2c;
  --brand-orange: #e8600a;
  --brand-purple: #7b35c9;

  /* accent per company */
  --red: #d62c2c;
  --orange: #e8600a;
  --cyan: #00cec9;
  --purple: #8b5cf6;

  --blue: #3b9eff;

  --font: "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 4px;
}

/* noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 10%;
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-link img {
  height: 85px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--brand-orange);
}
.nav-cta {
  background: var(--brand-orange) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  box-shadow: 0 4px 18px rgba(214, 44, 44, 0.3);
  transition: all 0.25s !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(214, 44, 44, 0.45) !important;
}

/* ── HERO ── */
.hero {
  min-height: clamp(600px, 100vh, 860px);
  display: flex;
  align-items: center;
  padding: 110px 10% 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 55% at 75% 50%,
      rgba(214, 44, 44, 0.09) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 50% at 15% 75%,
      rgba(123, 53, 201, 0.06) 0%,
      transparent 60%
    );
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 85% 85% at 50% 50%,
    black 30%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214, 44, 44, 0.1);
  border: 1px solid rgba(214, 44, 44, 0.28);
  color: var(--brand-red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 8px var(--brand-red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.6s 0.12s ease both;
}
.hero h1 .accent {
  color: var(--brand-red);
}
.hero h1 .dim {
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    rgba(242, 242, 245, 0.65) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeUp 0.6s 0.24s ease both;
}
.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.36s ease both;
}
.btn-primary {
  background: var(--brand-orange);
  color: var(--white);
  padding: 0.85rem 1.9rem;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(214, 44, 44, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(214, 44, 44, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 1.9rem;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.48s ease both;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--brand-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}

/* floating cards */
.hero-visual {
  max-width: 580px;
  width: 100%;
  animation: fadeIn 1s 0.3s ease both;
}
.floating-cards {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}
.fc {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  backdrop-filter: blur(20px);
}
.fc-1 {
  width: 62%;
  top: 4%;
  right: 0;
  border-top-color: rgba(214, 44, 44, 0.45);
  animation: float1 6s ease-in-out infinite;
}
.fc-2 {
  width: 56%;
  bottom: 38%;
  left: 0;
  border-top-color: rgba(232, 96, 10, 0.45);
  animation: float2 7s ease-in-out infinite;
}
.fc-3 {
  width: 50%;
  bottom: 2%;
  right: 4%;
  border-top-color: rgba(139, 92, 246, 0.45);
  animation: float3 5.5s ease-in-out infinite;
}
@keyframes float1 {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-13px) rotate(1deg);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translateY(0) rotate(1.5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}
@keyframes float3 {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}
@keyframes float4 {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-11px) rotate(-1.5deg);
  }
}
@keyframes float5 {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-9px) rotate(0.5deg);
  }
}
.fc-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.fc-title {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}
.fc-sub {
  font-size: 0.74rem;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── SECTIONS ── */
section {
  padding: 96px 10%;
  scroll-margin-top: 110px;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.78;
  font-weight: 300;
}

/* ── OVERVIEW ── */
.overview {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.overview-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}
.overview-companies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.company-pill {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  transition: all 0.3s;
  cursor: default;
}
.company-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
}
.company-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-bottom: 0.7rem;
}
.company-pill-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.company-pill-tag {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── COMPANY BLOCKS ── */
.company-block {
  padding: 56px 10%;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
}
.company-block:nth-child(even) {
  background: var(--dark);
}
.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.company-inner.reverse {
  direction: rtl;
}
.company-inner.reverse > * {
  direction: ltr;
}

.company-name-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 1.4rem;
}
.company-name-badge .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.company-name-badge .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.75;
}
.company-headline {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.company-desc {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.service-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s;
}
.service-item:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.11);
}
.service-item .icon {
  font-size: 1.05rem;
  flex-shrink: 0;
}
.service-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 1px;
  color: var(--white);
}
.service-item span {
  color: var(--muted);
  font-size: 0.7rem;
}

.metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}
.metric-row {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.metric-num {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.metric-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 3px;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 11px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── SAIBA MAIS BUTTON ── */
.btn-saiba {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
  margin-bottom: 1.75rem;
  color: #fff;
}
.btn-saiba:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
#bitsafe .btn-saiba {
  background: var(--brand-red);
}
#bitsac .btn-saiba {
  background: var(--cyan);
  color: #060608;
}
#bitphone .btn-saiba {
  background: var(--blue);
}
#bitapps .btn-saiba {
  background: var(--brand-orange);
}
#bitconnect .btn-saiba {
  background: var(--brand-purple);
}

/* ── BITSAFE 4-col cards ── */
#bitsafe .company-inner {
  display: block;
}
#bitsafe .services-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}
#bitsafe .metric-card {
  text-align: center;
  padding: 2.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
#bitsafe .metric-row {
  justify-content: center;
  gap: 2.5rem;
}
#bitsafe .tech-tags {
  justify-content: center;
}

/* ── BITSAC same layout ── */
#bitsac .company-inner {
  display: block;
}
#bitsac .services-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}
#bitsac .metric-card {
  text-align: center;
  padding: 2.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
#bitsac .metric-row {
  justify-content: center;
  gap: 2.5rem;
}

/* ── BITPHONE same layout ── */
#bitphone .company-inner {
  display: block;
}
#bitphone .services-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}
#bitphone .metric-card {
  text-align: center;
  padding: 2.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
#bitphone .tech-tags {
  justify-content: center;
}

/* ── BITAPPS same layout ── */
#bitapps .company-inner {
  display: block;
}
#bitapps .services-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}
#bitapps .metric-card {
  text-align: center;
  padding: 2.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* ── BITCONNECT same layout ── */
#bitconnect .company-inner {
  display: block;
}
#bitconnect .services-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}
#bitconnect .metric-card {
  text-align: center;
  padding: 2.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
#bitconnect .metric-row {
  justify-content: center;
  gap: 2.5rem;
}
#bitconnect .tech-tags {
  justify-content: center;
}

/* ── WHY ── */
.why {
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.why-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.11);
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--c, var(--brand-red)),
    transparent
  );
}
.why-icon {
  font-size: 1.9rem;
  margin-bottom: 1.1rem;
}
.why-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}
.why-text {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.72;
}

/* ── CTA ── */
.cta-section {
  padding: 110px 10%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 55% at 50% 50%,
    rgba(214, 44, 44, 0.07) 0%,
    transparent 70%
  );
}
.cta-section .section-title {
  max-width: 660px;
  margin: 0 auto 1.25rem;
}
.cta-section .section-desc {
  max-width: 480px;
  margin: 0 auto 2.25rem;
}
.cta-buttons {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CTA FORM ── */
.cta-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.cta-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.cta-form .form-full {
  grid-column: 1 / -1;
}
.cta-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.cta-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input::placeholder {
  color: rgba(242, 242, 245, 0.3);
}
.cta-form input:focus {
  border-color: rgba(214, 44, 44, 0.6);
}
.cta-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.cta-form select:focus {
  border-color: rgba(214, 44, 44, 0.6);
}
.cta-form select option {
  background: #1a1a2e;
  color: var(--white);
}
.form-required {
  color: var(--brand-red);
  margin-left: 2px;
}
.form-error {
  display: none;
  background: rgba(214, 44, 44, 0.12);
  border: 1px solid rgba(214, 44, 44, 0.4);
  color: #f87171;
  font-size: 0.82rem;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}
.form-success {
  display: none;
  background: rgba(0, 206, 201, 0.12);
  border: 1px solid rgba(0, 206, 201, 0.38);
  color: #67e8f9;
  font-size: 0.82rem;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}
.cta-form .btn-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.grecaptcha-badge {
  visibility: hidden !important;
}
.cta-form .btn-submit {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem;
  border: none;
  border-radius: 8px;
  background: var(--brand-orange);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.cta-form .btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}
.recaptcha-notice {
  color: rgba(242, 242, 245, 0.42);
  font-size: 0.72rem;
  line-height: 1.6;
  max-width: 720px;
}
.recaptcha-notice a {
  color: var(--brand-orange);
  text-decoration: none;
}
.recaptcha-notice a:hover {
  text-decoration: underline;
}
.cta-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 100px;
}
.cta-form textarea::placeholder {
  color: rgba(242, 242, 245, 0.3);
}
.cta-form textarea:focus {
  border-color: rgba(214, 44, 44, 0.6);
}
.cta-card {
  max-width: 620px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(214, 44, 44, 0.65);
  border-radius: 20px;
  padding: 2.5rem 2.75rem;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cta-card .cta-form {
  max-width: 100%;
  margin: 0;
}

/* ── FOOTER ── */
footer {
  padding: 36px 10%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p {
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}
.footer-logo img {
  height: 80px;
  width: auto;
}
.footer-companies {
  display: flex;
  gap: 1.25rem;
}
.footer-companies span {
  font-size: 0.78rem;
  font-weight: 600;
}

.fc-icon i {
  font-size: 1.4rem;
}
.service-item .icon i {
  font-size: 1rem;
}
.why-icon i {
  font-size: 1.9rem;
}

.icon svg,
.fc-icon svg,
.why-icon svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.diff-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.diff-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.fc-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}
.service-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-item .icon svg {
  width: 1rem;
  height: 1rem;
}
.why-icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
  margin-bottom: 0.1rem;
}

.btn-primary svg,
.btn-ghost svg {
  width: 0.95rem;
  height: 0.95rem;
  display: inline;
  vertical-align: -0.1em;
  margin-right: 0.35rem;
}

/* Icon colors per section */
#bitsafe .service-item .icon svg {
  fill: var(--brand-red);
}
#bitsac .service-item .icon svg {
  fill: var(--cyan);
}
#bitphone .service-item .icon svg {
  fill: var(--blue);
}
#bitapps .service-item .icon svg {
  fill: var(--brand-orange);
}
#bitconnect .service-item .icon svg {
  fill: var(--brand-purple);
}

/* Floating card icons */
.fc-1 .fc-icon svg {
  fill: var(--brand-red);
}
.fc-2 .fc-icon svg {
  fill: var(--brand-orange);
}
.fc-3 .fc-icon svg {
  fill: var(--brand-purple);
}

/* Why section card icons */
.why-card:nth-child(1) .why-icon svg {
  fill: var(--brand-red);
}
.why-card:nth-child(2) .why-icon svg {
  fill: var(--brand-orange);
}
.why-card:nth-child(3) .why-icon svg {
  fill: var(--brand-purple);
}

/* BitApps differentials */
#bitapps .diff-icon svg {
  fill: var(--brand-orange);
}

/* ── TO TOP ── */
#to-top {
  position: fixed;
  left: 1.5rem;
  bottom: 1.75rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.2s,
    border-color 0.2s;
  backdrop-filter: blur(12px);
}
#to-top svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}
#to-top:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}
#to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HAMBURGER (sempre no DOM, oculto no desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* NAV */
  nav { padding: 10px 5%; }
  .nav-hamburger { display: flex; }
  .nav-logo-link img { height: 70px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 95px;
    left: 0;
    right: 0;
    background: rgba(6, 6, 8, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 5% 1.5rem;
    gap: 0;
    z-index: 98;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
  }
  .nav-links .nav-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
  }

  /* SECTIONS */
  section { padding: 60px 5%; }
  .hero { padding: 125px 5% 60px; }
  footer { padding: 24px 5%; flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-companies { flex-wrap: wrap; justify-content: center; }

  /* GRIDS */
  .hero-visual { display: none; }
  .hero-inner,
  .overview-inner,
  .company-inner,
  .why-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .company-inner.reverse { direction: ltr; }
  .overview-companies { grid-template-columns: 1fr; }
  .company-pill--full { grid-column: span 1; }

  /* FORM */
  .cta-form .form-grid { grid-template-columns: 1fr; }

  /* MISC */
  .hero-stats { gap: 1.5rem; }
  .diff-row { flex-direction: column; gap: 1rem; }
  #bitsafe .services-grid,
  #bitsac .services-grid,
  #bitphone .services-grid,
  #bitapps .services-grid,
  #bitconnect .services-grid,
  .why-inner {
    grid-template-columns: 1fr;
  }
  .metric-card,
  #bitsafe .metric-card,
  #bitsac .metric-card,
  #bitphone .metric-card,
  #bitapps .metric-card,
  #bitconnect .metric-card,
  .cta-card {
    padding: 1.5rem;
  }
  .metric-row {
    gap: 1.25rem;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  #bitsafe .services-grid,
  #bitsac .services-grid,
  #bitphone .services-grid,
  #bitapps .services-grid,
  #bitconnect .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 105px;
  }
  section,
  .company-block {
    scroll-margin-top: 105px;
  }
  .hero h1 {
    font-size: 2.35rem;
  }
  .hero h1 .accent {
    display: block;
  }
  .hero h1 br {
    display: none;
  }
  .hero-actions a {
    width: 100%;
    text-align: center;
  }
  .hero-stats {
    flex-direction: column;
  }
  .company-logo-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  #to-top {
    left: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── NAV ── */
nav > a {
  text-decoration: none;
}
nav > a img {
  height: 150px;
  width: auto;
  display: block;
}

/* ── UTILITIES ── */
.c-white {
  color: var(--white);
}
.c-purple-light {
  color: #a78bfa;
}
.bg-blue {
  background: var(--blue);
}
.section-desc--sm {
  font-size: 0.92rem;
}
.company-desc--sm {
  font-size: 0.88rem;
}
.company-pill--full {
  grid-column: span 2;
}
.saiba-mais-wrap {
  text-align: center;
  padding: 2rem 0 0.5rem;
}
.cta-inner {
  position: relative;
  z-index: 1;
}

/* ── COMPANY GLOW BLOBS ── */
.company-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}
.company-glow--red {
  background: var(--brand-red);
  opacity: 0.06;
  top: -80px;
  left: -80px;
}
.company-glow--cyan {
  background: var(--cyan);
  opacity: 0.05;
  top: -40px;
  right: -80px;
}
.company-glow--orange {
  background: var(--brand-orange);
  opacity: 0.05;
  bottom: -80px;
  left: -80px;
}
.company-glow--purple {
  background: var(--brand-purple);
  opacity: 0.06;
  top: -80px;
  right: -80px;
}

/* ── COMPANY LOGOS ── */
.company-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
}
.company-logo--lg {
  height: 60px;
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
}
.company-logo-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.company-logo-row img {
  height: 44px;
  width: auto;
}

/* ── METRIC CARDS PER SECTION ── */
#bitsafe .metric-card {
  border-top: 2px solid var(--brand-red);
}
#bitsac .metric-card {
  border-top: 2px solid var(--cyan);
}
#bitphone .metric-card {
  border-top: 2px solid var(--blue);
}
#bitapps .metric-card {
  border-top: 2px solid var(--brand-orange);
}
#bitconnect .metric-card {
  border-top: 2px solid var(--brand-purple);
}

/* ── METRIC NUM GRADIENT PER SECTION ── */
#bitsac .metric-num {
  background: linear-gradient(90deg, var(--cyan), #00a8a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#bitphone .metric-num {
  background: linear-gradient(90deg, var(--blue), #7ec8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#bitapps .metric-num {
  background: linear-gradient(90deg, var(--brand-orange), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#bitconnect .metric-num {
  background: linear-gradient(90deg, var(--brand-purple), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── PARTNERS LABEL (bitsafe) ── */
.partners-label {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
  background: none;
  -webkit-text-fill-color: unset;
  font-size: 1.1rem;
}

/* ── COMPANY DESC NOTE ── */
.company-desc-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.75;
}

/* ── BITAPPS DIFFERENTIALS ── */
.diff-row {
  margin-top: 1.25rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.diff-item-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}
.diff-item-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
  display: block;
}

/* ── TECH TAGS VARIANTS ── */
.tech-tags--center {
  justify-content: center;
}
.tech-tag--purple {
  border-color: rgba(139, 92, 246, 0.5);
  color: #a78bfa;
}
.tech-tag strong {
  color: var(--white);
}

/* ── WHY SECTION ── */
.why-container {
  max-width: 1180px;
  margin: 0 auto;
}
.why-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.why .section-label {
  text-align: center;
}
.why .section-desc {
  margin: 0 auto;
}
.why-card:nth-child(1) {
  --c: var(--brand-red);
}
.why-card:nth-child(2) {
  --c: var(--brand-orange);
}
.why-card:nth-child(3) {
  --c: var(--brand-purple);
}

/* ── CTA ── */
.cta-section .section-label {
  text-align: center;
}

/* ── FOOTER ── */
.footer-logo-img {
  height: 80px;
  width: auto;
}

/* Brand colors */
.c-red {
  color: var(--brand-red);
}
.c-orange {
  color: var(--brand-orange);
}
.c-purple {
  color: var(--brand-purple);
}
.c-cyan {
  color: var(--cyan);
}
.c-blue {
  color: var(--blue);
}
.bg-red {
  background: var(--brand-red);
}
.bg-orange {
  background: var(--brand-orange);
}
.bg-purple {
  background: var(--brand-purple);
}
.bg-cyan {
  background: var(--cyan);
}
