:root {
  --bg-top: #16324A;
  --bg-mid: #122A3F;
  --bg-bottom: #0C1E2E;

  --surface: rgba(255, 255, 255, 0.11);
  --surface-hover: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.20);
  --border-hover: rgba(255, 255, 255, 0.36);
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.46);

  --blue-light: #BFE0FF;
  --blue-glow: rgba(191, 224, 255, 0.35);

  --whatsapp: #25D366;
  --whatsapp-dark: #128C4A;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  --radius-lg: 20px;
  --radius-md: 16px;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-mid);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 560px at 18% -6%, rgba(74, 127, 168, 0.35), transparent 60%),
    radial-gradient(ellipse 620px 500px at 100% 100%, rgba(37, 211, 102, 0.06), transparent 65%),
    linear-gradient(160deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.glow-1 {
  width: 460px;
  height: 460px;
  background: rgba(191, 224, 255, 0.22);
  top: -180px;
  left: -160px;
}

.glow-2 {
  width: 380px;
  height: 380px;
  background: rgba(37, 211, 102, 0.14);
  bottom: -160px;
  right: -140px;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  padding: 60px 22px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Profile */

.profile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.logo-glow {
  position: absolute;
  top: 0px;
  width: 300px;
  height: 170px;
  background: radial-gradient(ellipse, var(--blue-glow), transparent 70%);
  filter: blur(45px);
  z-index: -1;
  opacity: 0.8;
}

.logo {
  width: 220px;
  max-width: 60vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.35));
  margin-bottom: 18px;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(9, 26, 39, 0.25);
}

/* WhatsApp hero CTA */

.whatsapp-cta {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1E9E56 0%, #1C8A4C 55%, #14713C 100%);
  text-decoration: none;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 14px 34px -10px rgba(18, 140, 74, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.55s ease forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.whatsapp-cta:hover::before {
  transform: translateX(120%);
}

.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 18px 40px -8px rgba(18, 140, 74, 0.65);
}

.whatsapp-cta:active {
  transform: translateY(-1px);
}

.cta-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon svg {
  width: 24px;
  height: 24px;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cta-title {
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.2px;
}

.cta-desc {
  display: flex;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.cta-arrow {
  flex-shrink: 0;
  display: flex;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s ease;
}

.cta-arrow svg {
  width: 19px;
  height: 19px;
}

.whatsapp-cta:hover .cta-arrow {
  transform: translateX(3px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  margin-right: 5px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Link rows */

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.5s ease forwards;
}

.link-row:nth-child(1) { animation-delay: 0.12s; }
.link-row:nth-child(2) { animation-delay: 0.2s; }
.link-row:nth-child(3) { animation-delay: 0.28s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.link-row:hover,
.link-row:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.link-row:active {
  transform: translateY(0);
}

.link-row .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.link-row .icon svg {
  width: 20px;
  height: 20px;
}

.link-row:hover .icon {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.row-title {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.1px;
}

.row-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-row .chevron {
  flex-shrink: 0;
  color: var(--text-faint);
  display: flex;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-row .chevron svg {
  width: 17px;
  height: 17px;
}

.link-row:hover .chevron {
  transform: translateX(3px);
  color: #fff;
}

/* Footer */

.footer {
  margin-top: auto;
  padding-top: 42px;
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .page {
    padding-top: 44px;
  }
  .logo {
    width: 190px;
  }
}
