@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;
}

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; /* mobile-safe viewport height */

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

  /* Background */
  background-image: url("https://storage.googleapis.com/ppctoda_website/ppctoda_assets/todapalbg.jpg");
  background-size: cover;        /* fills screen */
  background-position: center;   /* keeps subject centered */
  background-repeat: no-repeat;
}

.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;
    /* start hidden (right) */
  }

  98% {
    background-position: 0 0;
    /* smooth slash across */
  }

  99% {
    background-position: -200% 0;
    /* instantly jump out of view */
  }

  100% {
    background-position: -200% 0;
    /* stay hidden until next cycle */
  }
}

.contactbuttonmargin {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(40px, 8vw, 60px);
  user-select: none;
  cursor: pointer;
}

#contactbutton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 14px;

  font-size: clamp(16px, 2.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.2px;

  color: #ffffff;
  text-decoration: none;
  user-select: none;
  cursor: pointer;

  /* Apple glass surface */
  background: rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);

  border: 1px solid rgba(255, 255, 255, 0.28);

  /* Stable base elevation */
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  /* Light breathing pulse */
  animation: glassPulse 3.4s ease-in-out infinite;

  will-change: box-shadow;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;

  -webkit-tap-highlight-color: transparent;
}

/* Hover — stops pulse, slight lift */
#contactbutton:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  animation: none;
}

/* Pressed */
#contactbutton:active {
  transform: translateY(0);
  animation: none;
}

/* Focus (keyboard accessibility) */
#contactbutton:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.22);
}

/* ===== Ultra-soft white pulse ===== */
@keyframes glassPulse {
  0% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.22),
      0 0 0 rgba(255, 255, 255, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }

  50% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.22),
      0 0 16px rgba(255, 255, 255, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }

  100% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.22),
      0 0 0 rgba(255, 255, 255, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}
