:root {
  --blue: #01245A;
  --blue-deep: #001738;
  --blue-soft: #173B79;
  --black: #000000;
  --white: #FFFFFF;
  --soft-white: rgba(255, 255, 255, 0.82);
  --muted-white: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.20);
  --line-strong: rgba(255, 255, 255, 0.30);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.13);
  --shadow: rgba(0, 0, 0, 0.38);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.10), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(145deg, #00112e, #01245A 55%, #000814 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.card-wrapper {
  width: 100%;
  max-width: 460px;
}

.virtual-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: calc(100vh - 44px);
  padding: 34px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(1, 36, 90, 0.95), rgba(0, 0, 0, 0.92)),
    var(--blue);
  box-shadow:
    0 22px 60px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

/* Camada principal de brilho/aurora */
.virtual-card::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.15), transparent 20%),
    radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.11), transparent 18%),
    radial-gradient(circle at 78% 76%, rgba(255, 255, 255, 0.09), transparent 22%),
    radial-gradient(circle at 20% 84%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.06), transparent 16%);
  filter: blur(14px);
  opacity: 0.95;
  animation: ambientGlow 12s ease-in-out infinite alternate;
}

/* Feixe de luz elegante, mais perceptível */
.virtual-card::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.03) 41%,
      rgba(255, 255, 255, 0.10) 48%,
      rgba(255, 255, 255, 0.03) 55%,
      transparent 63%,
      transparent 100%
    );
  transform: translateX(-140%);
  animation: lightSweep 8.5s ease-in-out infinite;
}

.background-detail {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(4px);
}

/* Luz superior direita mais viva */
.detail-one {
  width: 240px;
  height: 240px;
  top: -80px;
  right: -85px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 72%);
  opacity: 0.9;
  animation: floatOne 7s ease-in-out infinite;
}

/* Luz inferior esquerda para equilibrar */
.detail-two {
  width: 210px;
  height: 210px;
  bottom: 72px;
  left: -90px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 45%, transparent 72%);
  opacity: 0.8;
  animation: floatTwo 9s ease-in-out infinite;
}

.profile-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo-box {
  width: 178px;
  height: 178px;
  border-radius: 30px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.eyebrow {
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft-white);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(1.95rem, 7vw, 2.85rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.headline {
  max-width: 365px;
  font-size: 1.02rem;
  line-height: 1.42;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.description {
  max-width: 380px;
  font-size: 0.92rem;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.actions {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  position: relative;
  z-index: 2;
}

.action-button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

.action-button::after {
  content: "›";
  font-size: 1.7rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.66);
}

.action-button:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.40);
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.action-button:active {
  transform: translateY(0) scale(0.99);
}

.action-button.primary {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.10));
  border-color: rgba(255, 255, 255, 0.34);
}

.button-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-icon svg {
  fill: currentColor;
  stroke: none;
}

.footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 2;
}

.footer p {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.footer strong {
  color: var(--white);
  font-weight: 700;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--white);
  opacity: 0.92;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  padding: 22px;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-backdrop.active {
  display: flex;
}

.email-modal {
  position: relative;
  width: 100%;
  max-width: 370px;
  padding: 28px 22px 22px;
  border-radius: 24px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(1, 36, 90, 0.98), rgba(0, 0, 0, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.email-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.email-address {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  word-break: break-word;
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-actions {
  display: grid;
  gap: 10px;
}

.modal-button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.modal-button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.copy-feedback {
  min-height: 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Animações */

@keyframes floatOne {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.72;
  }

  50% {
    transform: translate(-16px, 16px) scale(1.08);
    opacity: 0.98;
  }
}

@keyframes floatTwo {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translate(18px, -12px) scale(1.10);
    opacity: 0.82;
  }
}

@keyframes ambientGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 0.82;
  }

  50% {
    transform: translate3d(14px, -10px, 0) scale(1.05) rotate(2deg);
    opacity: 0.96;
  }

  100% {
    transform: translate3d(-12px, 14px, 0) scale(1.10) rotate(-2deg);
    opacity: 0.88;
  }
}

@keyframes lightSweep {
  0% {
    transform: translateX(-140%);
    opacity: 0;
  }

  15% {
    opacity: 0.18;
  }

  35% {
    opacity: 0.34;
  }

  55% {
    opacity: 0.18;
  }

  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

@media (max-width: 420px) {
  body {
    padding: 12px;
  }

  .virtual-card {
    min-height: calc(100vh - 24px);
    padding: 28px 16px 18px;
    border-radius: 26px;
  }

  .logo-box {
    width: 158px;
    height: 158px;
    border-radius: 26px;
  }

  .company-logo {
    border-radius: 20px;
  }

  .description {
    font-size: 0.88rem;
  }

  .action-button {
    min-height: 56px;
    border-radius: 16px;
    grid-template-columns: 42px 1fr 38px;
  }

  .virtual-card::before {
    inset: -30%;
  }
}