@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Satoshi",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: #09244b;
}

#hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  max-width: 100vw;
  height: 100vh;

  gap: clamp(24px, 4vw, 48px);
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: clamp(48px, 10vh, 96px);

  background-image:
    linear-gradient(
      to top,
      rgba(9, 36, 75, 1) 0%,
      rgba(9, 36, 75, 0.96) 8%,
      rgba(9, 36, 75, 0.88) 14%,
      rgba(9, 36, 75, 0.72) 20%,
      rgba(9, 36, 75, 0.48) 26%,
      rgba(9, 36, 75, 0.28) 32%,
      rgba(9, 36, 75, 0.12) 38%,
      rgba(9, 36, 75, 0) 45%
    ),
    url("https://storage.googleapis.com/ppctoda_website/ppctoda_assets/todapalbg.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero-logo {
  width: clamp(96px, 18vw, 160px);
  height: auto;

  /* Soft separation glow */
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.55));

  /* UX safety */
  user-select: none;
  -webkit-user-drag: none;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  padding: 12px 24px;
  border-radius: 999px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  background: rgba(255, 255, 255, 0.08);

  max-width: 90%;
}

.welcome-badge .text {
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff;
  white-space: nowrap;
}

#headline {
  width: 100%;
  max-width: 1100px;

  font-size: clamp(38px, 8vw, 92px);
  font-weight: 450;

  line-height: 1.15; /* Satoshi sweet spot */
  letter-spacing: -0.015em;

  color: #fff;
  overflow-wrap: break-word;
}

#subtext {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 720px;

  font-size: clamp(14px, 2.8vw, 20px);
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

.gradient-text {
  display: inline-block;
  width: fit-content;
  padding: 0 1.5px 0 0;
  color: transparent;
  background: linear-gradient(
    120deg,
    #fff 0%,
    #fff 45%,
    #007bff 50%,
    #fff 55%,
    #fff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 600% 100%;
  animation: slashOnce 10s linear infinite;
}

@keyframes slashOnce {
  0% {
    background-position: 200% 0;
  }

  98% {
    background-position: 0 0;
  }

  99% {
    background-position: -200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.contactbuttonmargin {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  user-select: none;
  width: 100%;
  margin-top: 2px;
}

.liquid-glass-shell {
  position: relative;
  display: inline-flex;
  width: auto;
  max-width: 94vw;
  padding: 0;
  border-radius: 999px;
  overflow: visible;
  box-sizing: content-box;
  transform-origin: center;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: none;
  cursor: pointer;
}

.liquid-glass-shell:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.cta-sizer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 650;
  letter-spacing: 0.06px;
  line-height: 1.02;
  white-space: nowrap;
  min-height: 46px;
  padding: 10px clamp(16px, 2.4vw, 22px);
  visibility: hidden;
  pointer-events: none;
}

#contactbutton,
.cta-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 650;
  letter-spacing: 0.06px;
  line-height: 1.02;
  white-space: nowrap;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 24px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-shadow: 0 1px 8px rgba(0, 8, 28, 0.35);
}

.cta-content {
  color: #ffffff;
  text-decoration: none;
}

.cta-action:active {
  transform: scale(0.98);
}

#contactbutton:focus-visible,
.cta-action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}
