/* Bondie Official Site — purple/magenta brand theme */

:root {
  --purple-900: #1a0a2e;
  --purple-800: #2d1454;
  --purple-700: #4a2080;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --magenta-500: #d946ef;
  --magenta-400: #e879f9;
  --pink-400: #f472b6;
  --text: #f1f0f5;
  --text-muted: #b8b0c8;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --gradient-brand: linear-gradient(135deg, #7c3aed 0%, #c026d3 50%, #ec4899 100%);
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--purple-900);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 10px;
}

.logo--sm img {
  height: 32px;
}

.contact-logo {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(217, 70, 239, 0.45);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-hover);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(26, 10, 46, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(26, 10, 46, 0.97);
  backdrop-filter: blur(16px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  z-index: 99;
}

.mobile-menu:not([hidden]) {
  display: flex;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.mobile-menu a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Shared mesh light-diffusion background */
.mesh-diffusion-bg {
  background: var(--purple-900);
  overflow: hidden;
  pointer-events: none;
}

.mesh-diffusion-bg::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 52% 48% at 8% 12%, rgba(124, 58, 237, 0.95) 0%, transparent 58%),
    radial-gradient(ellipse 46% 42% at 38% 22%, rgba(139, 92, 246, 0.8) 0%, transparent 55%),
    radial-gradient(ellipse 50% 46% at 62% 38%, rgba(167, 139, 250, 0.45) 0%, transparent 52%),
    radial-gradient(ellipse 55% 50% at 92% 78%, rgba(192, 38, 211, 0.92) 0%, transparent 58%),
    radial-gradient(ellipse 42% 38% at 78% 52%, rgba(217, 70, 239, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse 38% 34% at 18% 72%, rgba(236, 72, 153, 0.42) 0%, transparent 48%);
  filter: blur(72px);
  transform: translateZ(0);
}

.mesh-diffusion-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(26, 10, 46, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 95% 5%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, transparent 40%, rgba(192, 38, 211, 0.1) 100%);
}

/* Bottom screen: even vertical diffusion across CTA → contact → footer */
.mesh-diffusion-bg--bottom::before {
  background:
    radial-gradient(ellipse 50% 55% at 18% 15%, rgba(124, 58, 237, 0.85) 0%, transparent 58%),
    radial-gradient(ellipse 48% 50% at 82% 20%, rgba(192, 38, 211, 0.8) 0%, transparent 55%),
    radial-gradient(ellipse 55% 58% at 48% 42%, rgba(139, 92, 246, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 50% 52% at 72% 62%, rgba(217, 70, 239, 0.65) 0%, transparent 55%),
    radial-gradient(ellipse 48% 48% at 22% 72%, rgba(167, 139, 250, 0.45) 0%, transparent 52%),
    radial-gradient(ellipse 44% 42% at 88% 85%, rgba(236, 72, 153, 0.38) 0%, transparent 50%);
}

.mesh-diffusion-bg--bottom::after {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(192, 38, 211, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, transparent 40%, rgba(192, 38, 211, 0.06) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem 6rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--magenta-400);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(217, 70, 239, 0.12);
  border: 1px solid rgba(217, 70, 239, 0.25);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(241, 240, 245, 0.85);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(320px, 80vw);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 70, 239, 0.4), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Sections */
.section {
  padding-block: 6rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-400);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About / Stats */
.about {
  background: linear-gradient(180deg, var(--purple-900) 0%, var(--purple-800) 100%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
}

.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.stat:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Features */
.features {
  background: var(--purple-900);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--reverse .feature-media {
  order: 2;
}

.feature-row--reverse .feature-text {
  order: 1;
}

.feature-media img {
  width: min(340px, 100%);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-media:hover img {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 28px 80px rgba(139, 92, 246, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.feature-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--magenta-400);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.feature-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.feature-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.feature-text p:last-child {
  margin-bottom: 0;
}

.feature-list {
  margin-top: 1.25rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

/* CTA Banner */
.cta-banner {
  position: relative;
  z-index: 1;
  padding-block: 4.5rem 2rem;
  background: transparent;
  text-align: center;
}

.cta-banner-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-banner-inner p {
  font-size: 1.05rem;
  color: rgba(241, 240, 245, 0.88);
  margin-bottom: 0;
  max-width: 480px;
  margin-inline: auto;
}

/* Page bottom (CTA + contact + footer) */
.page-bottom {
  position: relative;
  overflow: hidden;
}

.page-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(180deg, var(--purple-900) 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.page-bottom-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-bottom .cta-banner,
.page-bottom .contact,
.page-bottom .site-footer {
  position: relative;
  z-index: 1;
}

/* Contact */
.contact {
  background: transparent;
  padding-block: 2rem 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}

.contact-email:hover {
  border-color: var(--purple-500);
  background: var(--surface-hover);
}

.contact-email svg {
  flex-shrink: 0;
  color: var(--magenta-400);
}

.contact-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-card ul li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.contact-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--purple-400);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: transparent;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.15s;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 3rem 5rem;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(260px, 70vw);
  }

  .hero-scroll {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .feature-row--reverse .feature-media,
  .feature-row--reverse .feature-text {
    order: unset;
  }

  .feature-list {
    display: inline-block;
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll {
    animation: none;
  }

  .btn:hover,
  .stat:hover,
  .feature-media:hover img {
    transform: none;
  }
}
