/* =========================================================
   ElSuki Website Stylesheet
   Converted from React + Tailwind (Vite) to plain CSS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* -------------------- Reset / Base -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color: #ffffff;
  background-color: #000000;
  font-family: 'Inter', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #000000;
  font-family: 'Inter', sans-serif;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
}

/* Hide scrollbar utility (mobile pill nav) */
.scrollbar-none {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

/* -------------------- Layout Helpers -------------------- */
.container-xl {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem; /* max-w-7xl */
  width: 100%;
}

.container-md {
  margin-left: auto;
  margin-right: auto;
  max-width: 56rem; /* max-w-4xl */
  width: 100%;
}

/* =========================================================
   HOME PAGE
   ========================================================= */

.page-home {
  position: relative;
  min-height: 100vh;
  background: #000000;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  overflow-x: hidden;
}

/* ---------- Floating / Docking Logo ---------- */
.brand-logo-btn {
  position: fixed;
  z-index: 50;
  top: 23vh;
  left: 50%;
  width: 230px;
  transform: translateX(-50%);
  padding: 6px;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  transition: top 0.35s ease, left 0.35s ease, width 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.brand-logo-btn.is-docked {
  top: 20px;
  left: 16px;
  width: 92px;
  transform: translateX(0);
  cursor: pointer;
  pointer-events: auto;
}

.brand-logo-btn__halo {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(100, 206, 251, 0);
  opacity: 0;
  box-shadow: 0 0 0 0 rgba(100, 206, 251, 0);
  transition: all 0.3s ease;
}

.brand-logo-btn.is-docked:hover .brand-logo-btn__halo,
.brand-logo-btn.is-docked:focus-visible .brand-logo-btn__halo {
  opacity: 1;
  border-color: rgba(100, 206, 251, 0.55);
  box-shadow: 0 0 0 1px rgba(100, 206, 251, 0.28), 0 0 14px rgba(100, 206, 251, 0.22);
}

.brand-logo-btn__badge {
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.brand-logo-btn.is-docked .brand-logo-btn__badge {
  opacity: 1;
}

.brand-logo-btn img {
  position: relative;
  height: auto;
  width: 100%;
  opacity: 0.95;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
}

@media (max-width: 639px) {
  .brand-logo-btn {
    width: 152px;
    top: 92px;
  }
  .brand-logo-btn.is-docked {
    top: 16px;
    left: 12px;
    width: 78px;
  }
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-media {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-overlay-dark {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.hero-overlay-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(100, 206, 251, 0.22), rgba(0, 0, 0, 0.88) 48%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  min-height: 100vh;
  flex-direction: column;
}

/* ---------- Header / Nav ---------- */
.site-header {
  width: 100%;
}

.site-nav {
  margin: 0 auto;
  display: flex;
  width: 100%;
  max-width: 80rem;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .site-nav {
    padding: 1.5rem 2rem;
  }
}
@media (min-width: 640px) {
  .site-nav {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.mobile-pill-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.5rem;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .mobile-pill-nav {
    display: none;
  }
}

.mobile-pill-nav button {
  white-space: nowrap;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: none;
  transition: color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-pill-nav button:hover {
  color: #ffffff;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-tagline {
  margin: 0 auto;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #64cefb;
}

@media (min-width: 640px) {
  .nav-tagline {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .nav-tagline {
    margin: 0;
    text-align: left;
    font-size: 0.875rem;
  }
}

.desktop-pill-nav {
  display: none;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.75rem 1.25rem;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .desktop-pill-nav {
    display: flex;
  }
}

.desktop-pill-nav a {
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}
.desktop-pill-nav a:hover {
  color: #ffffff;
}

/* ---------- Hero Main ---------- */
.hero-main {
  margin: 0 auto;
  display: flex;
  width: 100%;
  max-width: 80rem;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem 1rem 2rem;
}

@media (min-width: 640px) {
  .hero-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-main {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
  }
}

.hero-center {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  display: flex;
  width: 100%;
  min-height: 66vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-stage {
    padding: 1.75rem;
  }
}
@media (min-width: 768px) {
  .hero-stage {
    padding: 2rem;
  }
}

.hero-logo-spacer {
  margin-top: 0.5rem;
  height: 52px;
  width: 130px;
}

@media (min-width: 640px) {
  .hero-logo-spacer {
    margin-top: 1.75rem;
    height: 110px;
    width: 230px;
  }
}

.hero-title {
  margin-top: 2rem;
  font-size: clamp(0.95rem, 4.1vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #ffffff;
}

@media (min-width: 640px) {
  .hero-title {
    margin-top: 4rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    margin-top: 6rem;
  }
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* ---------- Shiny animated text ---------- */
.shiny-text {
  display: inline-block;
  white-space: nowrap;
  background-image: linear-gradient(100deg, #d7f3ff 0%, #d7f3ff 42%, #ffffff 50%, #d7f3ff 58%, #d7f3ff 100%);
  background-size: 220% 100%;
  background-position: -200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}

/* ---------- Download Buttons ---------- */
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .download-buttons {
    flex-direction: row;
  }
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(127, 200, 255, 0.45);
  background: linear-gradient(to bottom, rgba(127, 200, 255, 0.25), rgba(47, 109, 246, 0.2));
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(47, 109, 246, 0.2);
  transition: all 0.3s ease;
  border-style: solid;
}

.download-btn:hover {
  border-color: rgba(159, 216, 255, 0.7);
  background: linear-gradient(to bottom, rgba(159, 216, 255, 0.35), rgba(79, 134, 255, 0.28));
  box-shadow: 0 0 0 1px rgba(159, 216, 255, 0.7), 0 10px 28px rgba(70, 160, 255, 0.32);
}

.download-btn svg {
  height: 1rem;
  width: 1rem;
}

/* ---------- Generic Section Styling ---------- */
.section {
  position: relative;
  overflow: hidden;
  background: rgba(5, 9, 14, 0.8);
  padding: 5rem 0;
  backdrop-filter: blur(7px);
}

.section-inner {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  max-width: 80rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .section-inner {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .section-inner {
    padding: 0 2rem;
  }
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .section-eyebrow {
    font-size: 0.875rem;
  }
}

.section-heading {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem;
  }
}

.section-heading-wrap {
  max-width: 48rem;
}

/* Decorative blurred blobs */
.blob {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
}

.blob--cyan-left   { left: -6rem; top: 2rem; height: 16rem; width: 16rem; background: rgba(100, 206, 251, 0.12); }
.blob--blue-right  { right: -6rem; bottom: 2rem; height: 18rem; width: 18rem; background: rgba(47, 109, 246, 0.16); }
.blob--cyan-left-2 { left: -7rem; top: 2.5rem; height: 18rem; width: 18rem; background: rgba(100, 206, 251, 0.12); }
.blob--blue-bottom { right: -6rem; bottom: 1.5rem; height: 20rem; width: 20rem; background: rgba(47, 109, 246, 0.18); }
.blob--cyan-app    { left: -6rem; top: 2rem; height: 18rem; width: 18rem; background: rgba(100, 206, 251, 0.14); }
.blob--blue-app    { right: -6rem; top: 4rem; height: 20rem; width: 20rem; background: rgba(47, 109, 246, 0.2); }
.blob--cyan-partner{ right: -6rem; top: 2rem; height: 18rem; width: 18rem; background: rgba(100, 206, 251, 0.10); }

.radial-fade {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.radial-fade--about  { background: radial-gradient(circle at 50% 40%, rgba(100, 206, 251, 0.08), rgba(0,0,0,0) 55%); }
.radial-fade--app    { background: radial-gradient(circle at 50% 10%, rgba(100, 206, 251, 0.09), rgba(0,0,0,0) 45%); }

/* Floating about badge (desktop only) */
.floating-badge {
  pointer-events: none;
  position: absolute;
  right: 1.5rem;
  top: 2.5rem;
  z-index: 20;
  display: none;
  border-radius: 1rem;
  border: 1px solid rgba(100, 206, 251, 0.3);
  background: rgba(100, 206, 251, 0.1);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(4px);
  animation: floaty 6s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .floating-badge {
    display: block;
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge p:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b9e9ff;
  margin: 0;
}
.floating-badge p:last-child {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- About Section ---------- */
.about-card {
  margin-top: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .about-card {
    padding: 2rem;
  }
}

.about-card-grid {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .about-card-grid {
    font-size: 1rem;
  }
}

/* ---------- Belief Cards ---------- */
.belief-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .belief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .belief-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.belief-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom right, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.belief-card:hover {
  border-color: rgba(100, 206, 251, 0.4);
  box-shadow: 0 8px 32px rgba(100, 206, 251, 0.1);
  transform: translateY(-4px);
}

.belief-card svg {
  height: 1.25rem;
  width: 1.25rem;
  color: #64cefb;
}

.belief-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #ffffff;
}

.belief-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- App Section ---------- */
.app-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

.app-copy p.lead {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .app-copy p.lead {
    font-size: 1rem;
  }
}

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.feature-card svg {
  height: 1rem;
  width: 1rem;
  color: #64cefb;
}

.feature-card .feature-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
}

.feature-card .feature-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.app-copy .download-buttons {
  margin-top: 2.5rem;
  justify-content: flex-start;
}

@media (max-width: 1023px) {
  .app-copy .download-buttons {
    justify-content: center;
  }
}

/* ---------- App Journey Steps ---------- */
.journey {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .journey {
    padding-right: 0.5rem;
  }
}

.journey-step-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.journey-icon {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: rgba(100, 206, 251, 0.2);
  color: #64cefb;
}

.journey-icon svg {
  height: 0.875rem;
  width: 0.875rem;
}

.journey-step-text h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

.journey-step-text p {
  margin: 0.125rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
}

.journey-detail-card {
  margin-top: 0.5rem;
  margin-left: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom right, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
  padding: 0.5rem;
  backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
  .journey-detail-card {
    margin-left: 2.5rem;
  }
}

.journey-detail-card .label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.journey-detail-card .rows {
  margin-top: 0.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.journey-detail-card .rows p {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
}

.journey-detail-card .rows p.accent {
  color: #64cefb;
}

.journey-detail-card .rows .row-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
}

.journey-detail-card .rows .row-flex span:last-child {
  color: #64cefb;
}

.journey-footnote {
  margin-top: 0.5rem;
  margin-left: 2.25rem;
  font-size: 0.5625rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .journey-footnote {
    margin-left: 2.5rem;
  }
}

.journey-footnote a {
  color: #64cefb;
  text-decoration: underline;
  text-decoration-color: rgba(100, 206, 251, 0.5);
  text-underline-offset: 2px;
}
.journey-footnote a:hover {
  color: #88dcff;
}

.journey-connector {
  position: relative;
  height: 0.75rem;
  margin-left: 0.875rem;
}

.journey-connector-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  border-radius: 9999px;
  transform-origin: top;
}

.journey-connector-bar.c1 { background: linear-gradient(to bottom, #64cefb, rgba(47,109,246,0.5)); }
.journey-connector-bar.c2 { background: linear-gradient(to bottom, rgba(100,206,251,0.6), rgba(47,109,246,0.45)); }
.journey-connector-bar.c3 { background: linear-gradient(to bottom, rgba(47,109,246,0.5), rgba(100,206,251,0.3)); }
.journey-connector-bar.c4 { background: linear-gradient(to bottom, rgba(100,206,251,0.35), rgba(100,206,251,0.2)); }

/* ---------- Partner Section ---------- */
.partner-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

.partner-copy p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .partner-copy p {
    font-size: 1rem;
  }
}

.partner-cta-btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: #64cefb;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #000000;
  border: none;
  transition: all 0.3s ease;
}
.partner-cta-btn:hover {
  background: #88dcff;
  box-shadow: 0 8px 24px rgba(100, 206, 251, 0.2);
  transform: translateY(-2px) scale(1.04);
}
.partner-cta-btn svg {
  height: 1rem;
  width: 1rem;
}

.partner-list {
  display: grid;
  gap: 0.75rem;
}

.partner-list-item {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
}
.partner-list-item:hover {
  border-color: rgba(100, 206, 251, 0.4);
  box-shadow: 0 8px 24px rgba(100, 206, 251, 0.08);
}

.partner-list-item p:first-child {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
}

.partner-list-item p:last-child {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Partner Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
}

.modal-panel {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 42rem;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(to bottom right, rgba(13, 18, 27, 0.95), rgba(9, 11, 16, 0.95));
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 640px) {
  .modal-panel {
    padding: 1.75rem;
  }
}

.modal-blob-1 {
  pointer-events: none;
  position: absolute;
  top: -6rem;
  right: -4.375rem;
  height: 13rem;
  width: 13rem;
  border-radius: 9999px;
  background: rgba(100, 206, 251, 0.18);
  filter: blur(64px);
}
.modal-blob-2 {
  pointer-events: none;
  position: absolute;
  bottom: -5rem;
  left: -4.375rem;
  height: 14rem;
  width: 14rem;
  border-radius: 9999px;
  background: rgba(47, 109, 246, 0.15);
  filter: blur(64px);
}

.modal-content {
  position: relative;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #b7e8ff;
  margin: 0;
}

.modal-title {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
}

@media (min-width: 640px) {
  .modal-title {
    font-size: 1.875rem;
  }
}

.modal-subtext {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.modal-close-btn {
  display: inline-flex;
  flex-shrink: 0;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.3s ease;
}
.modal-close-btn:hover {
  border-color: rgba(100, 206, 251, 0.7);
  color: #ffffff;
}

.partner-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .partner-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

.form-field input {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.form-field input:focus {
  border-color: rgba(100, 206, 251, 0.7);
  box-shadow: 0 0 0 1px rgba(100, 206, 251, 0.35);
}

.form-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .form-actions {
    grid-column: span 2 / span 2;
  }
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: #64cefb;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #000000;
  border: none;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  background: #88dcff;
  box-shadow: 0 8px 24px rgba(100, 206, 251, 0.2);
}
.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  background: #64cefb;
  box-shadow: none;
}
.btn-submit svg {
  height: 1rem;
  width: 1rem;
}

.btn-cancel {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}
.btn-cancel:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.form-error {
  grid-column: span 2 / span 2;
  border-radius: 0.75rem;
  border: 1px solid rgba(252, 165, 165, 0.3);
  background: rgba(239, 68, 68, 0.1);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #fee2e2;
}

.modal-success {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(100, 206, 251, 0.35);
  background: rgba(100, 206, 251, 0.1);
  padding: 1rem;
  font-size: 0.875rem;
  color: #d2f1ff;
}
.modal-success p:first-child {
  margin: 0;
}
.modal-success p.alt {
  margin-top: 0.5rem;
  color: #c4ecff;
}
.modal-success .download-buttons {
  margin-top: 1rem;
  justify-content: flex-start;
}

/* ---------- Legal Section (Home Page) ---------- */
.legal-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: flex-start;
  }
}

.legal-copy p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .legal-copy p {
    font-size: 1rem;
  }
}

.legal-disclaimer {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .legal-disclaimer {
    font-size: 1rem;
  }
}

.legal-links {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .legal-links {
    max-width: 36rem;
  }
}

.legal-link-card {
  display: block;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}
.legal-link-card:hover {
  border-color: rgba(100, 206, 251, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(100, 206, 251, 0.1);
  transform: translateY(-3px);
}

.legal-link-card span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-link-card svg {
  height: 1rem;
  width: 1rem;
  transition: transform 0.3s ease;
}
.legal-link-card:hover svg {
  transform: translateX(4px);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 30;
  background: rgba(5, 9, 14, 0.84);
  padding: 2rem 0;
  backdrop-filter: blur(8px);
}

.footer-top {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copyright p:first-child {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-copyright p:last-child {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-social {
    align-items: flex-end;
  }
}

.footer-social-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-icons a {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  transition: all 0.3s ease;
}
.footer-social-icons a:hover {
  border-color: rgba(100, 206, 251, 0.7);
  background: rgba(100, 206, 251, 0.15);
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links a {
  transition: color 0.3s ease;
}
.footer-legal-links a:hover {
  color: #ffffff;
}

/* ---------- Reveal-on-scroll (replaces framer-motion whileInView) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}
.reveal-grow {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}
.reveal-grow.is-visible {
  transform: scaleY(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-grow {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .shiny-text {
    animation: none;
    background-position: 0 0;
  }
  .floating-badge {
    animation: none;
  }
}

/* =========================================================
   LEGAL PAGES (Privacy / Refund / Terms)
   ========================================================= */

.page-legal {
  min-height: 100vh;
  background: #f8f4ff;
  color: #22173a;
  font-family: 'Inter', sans-serif;
}

.legal-main {
  margin: 0 auto;
  max-width: 56rem;
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .legal-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .legal-main {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #5f4d8a;
  transition: color 0.3s ease;
}
.back-home-link:hover {
  color: #4c1d95;
}
.back-home-link svg {
  height: 1rem;
  width: 1rem;
}

.legal-eyebrow {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7b6d98;
}

@media (min-width: 768px) {
  .legal-eyebrow {
    font-size: 0.875rem;
  }
}

.legal-h1 {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #22173a;
}

@media (min-width: 768px) {
  .legal-h1 {
    font-size: 3.75rem;
  }
}

.legal-panel {
  margin-top: 2rem;
  border-radius: 1.75rem;
  border: 1px solid #e7ddff;
  background: rgba(255, 255, 255, 0.85);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(76, 29, 149, 0.08);
}

@media (min-width: 768px) {
  .legal-panel {
    padding: 2rem;
  }
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-section {
  /* base section, no top border */
}

.legal-section.bordered {
  border-top: 1px solid #eee7ff;
  padding-top: 2rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #22173a;
  margin: 0;
}

.legal-section p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: #4c3f68;
}

@media (min-width: 768px) {
  .legal-section p {
    font-size: 1rem;
  }
}

.legal-bullets {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: #4c3f68;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .legal-bullets {
    font-size: 1rem;
  }
}

.legal-bullets li {
  display: flex;
  gap: 0.75rem;
}

.legal-bullets li::before {
  content: '';
  margin-top: 0.75rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #7c3aed;
}

.legal-subsections {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-subsection {
  border-radius: 1rem;
  background: #fbf9ff;
  padding: 1.25rem;
}

.legal-subsection h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #2f2150;
  margin: 0;
}

@media (min-width: 768px) {
  .legal-subsection h3 {
    font-size: 1.125rem;
  }
}

.legal-subsection p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
  color: #4c3f68;
}

@media (min-width: 768px) {
  .legal-subsection p {
    font-size: 1rem;
  }
}

/* ---------- Terms page: Definitions grid ---------- */
.definitions-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .definitions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.definition-card {
  border-radius: 1rem;
  border: 1px solid #eee7ff;
  background: #fbf9ff;
  padding: 1rem;
}

.definition-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f2150;
  margin: 0;
}

@media (min-width: 768px) {
  .definition-card h3 {
    font-size: 1rem;
  }
}

.definition-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #5d5277;
}
