/* Baakyo Coming Soon — premium fintech landing */

:root {
  --primary: #030b1c;
  --primary-deep: #111827;
  --secondary: #ff7a00;
  --secondary-glow: rgba(255, 122, 0, 0.45);
  --text: #ffffff;
  --muted: #cbd5e1;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ─── Page shell & ambient background ─── */

.page {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #030b1c 0%, var(--primary) 45%, var(--primary-deep) 100%);
}

.page__bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

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

.page__curve--1 {
  width: min(140vw, 900px);
  height: min(140vw, 900px);
  top: -35%;
  left: -25%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 122, 0, 0.08) 55%, transparent 70%);
  border: 1px solid rgba(255, 122, 0, 0.15);
  transform: rotate(-12deg);
  animation: curve-drift 18s ease-in-out infinite alternate;
}

.page__curve--2 {
  width: min(120vw, 780px);
  height: min(120vw, 780px);
  top: 15%;
  right: -35%;
  background: linear-gradient(225deg, transparent 35%, rgba(255, 122, 0, 0.06) 50%, transparent 65%);
  border: 1px solid rgba(255, 122, 0, 0.12);
  transform: rotate(18deg);
  animation: curve-drift 22s ease-in-out infinite alternate-reverse;
}

.page__curve--3 {
  width: min(100vw, 640px);
  height: min(100vw, 640px);
  bottom: -30%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.12) 0%, transparent 65%);
  animation: glow-pulse 6s ease-in-out infinite;
}

.page__glow {
  position: absolute;
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  opacity: 0.5;
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes curve-drift {
  from {
    transform: rotate(-12deg) translate(0, 0);
  }
  to {
    transform: rotate(-8deg) translate(2%, 3%);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* ─── Layout ─── */

.site {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 3.5rem);
}

/* ─── Header / brand ─── */

.brand {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.brand__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  padding: clamp(0.35rem, 1.5vw, 0.65rem) clamp(0.5rem, 2vw, 0.85rem);
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

.brand__logo {
  display: block;
  width: clamp(200px, 78vw, 420px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 465 / 163;
  object-fit: contain;
}

/* ─── Hero copy ─── */

.hero-copy {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.hero-copy__eyebrow {
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero-copy__title {
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.hero-copy__title span {
  color: var(--secondary);
}

.hero-copy__tagline {
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.hero-copy__tagline span {
  color: var(--secondary);
}

.hero-copy__desc {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
  margin-inline: auto;
}

/* ─── Phone mockup ─── */

.phone-stage {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  perspective: 1200px;
}

.phone {
  position: relative;
  width: clamp(270px, 78vw, 310px);
}

.phone__motion {
  animation: phone-float 5s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

.phone__frame {
  position: relative;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(145deg, #3d4f66 0%, #1a2332 40%, #0f1419 100%);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px var(--secondary-glow);
}

.phone__screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: #f3f5f9;
  aspect-ratio: 367 / 813;
  width: 100%;
  line-height: 0;
}

.phone__screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.phone__side-btn {
  position: absolute;
  right: -3px;
  top: 120px;
  width: 4px;
  height: 48px;
  background: #2a3548;
  border-radius: 2px 0 0 2px;
}

.phone__side-btn--vol {
  top: 175px;
  height: 32px;
}

/* ─── Store section ─── */

.stores {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.stores__label {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.stores__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.store-btn {
  flex: 1 1 200px;
  max-width: 240px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 0, 0.45);
  background: rgba(255, 122, 0, 0.06);
  color: var(--text);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.store-btn:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  background: rgba(255, 122, 0, 0.14);
  box-shadow: 0 12px 40px rgba(255, 122, 0, 0.2);
  color: var(--text);
}

.store-btn__icon {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text);
}

.store-btn__text {
  text-align: left;
}

.store-btn__store {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-btn__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.stores__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 0, 0.5);
  background: transparent;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.stores__pill:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* ─── Social footer ─── */

.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social__link:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

.social__link i {
  font-size: 1.25rem;
}

.social__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
  .social__divider {
    display: none;
  }

  .social {
    flex-direction: column;
    gap: 0.85rem;
  }
}

/* ─── Reveal animations (JS toggles .is-visible) ─── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal--delay-1 {
  transition-delay: 0.1s;
}
.reveal--delay-2 {
  transition-delay: 0.2s;
}
.reveal--delay-3 {
  transition-delay: 0.3s;
}
.reveal--delay-4 {
  transition-delay: 0.4s;
}

.fade-in {
  opacity: 0;
  animation: fade-in 1s ease forwards;
}

.fade-in--delay {
  animation-delay: 0.25s;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

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

  .page__curve,
  .page__glow,
  .phone {
    animation: none;
  }

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

  .fade-in {
    opacity: 1;
    animation: none;
  }
}
