/* ============================================================
   FlowBiz Landing — stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #09090f;
  --bg-2:      #0f0f1a;
  --bg-card:   #13131f;
  --bg-card-h: #18182a;
  --border:    rgba(255,255,255,0.08);
  --border-h:  rgba(255,255,255,0.15);
  --text:      #e8e8f0;
  --text-2:    #9999bb;
  --text-3:    #5a5a7a;
  --primary:   #6366f1;
  --primary-h: #7577f5;
  --primary-glow: rgba(99,102,241,0.3);
  --gold:      #c9a84c;
  --green:     #22c55e;
  --purple:    #8b5cf6;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --font:      'Inter', sans-serif;
  --font-head: 'Raleway', sans-serif;
  --nav-h:     72px;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Typography ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  white-space: nowrap;
}

.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13px; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 24px var(--primary-glow);
}
.btn--primary:hover {
  background: var(--primary-h);
  transform: translateY(-1px);
  box-shadow: 0 0 36px var(--primary-glow);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover {
  background: rgba(99,102,241,0.1);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-h);
  color: var(--text);
  transform: translateY(-1px);
}

.btn--disabled {
  background: var(--bg-card);
  color: var(--text-3);
  border: 1.5px solid var(--border);
  cursor: default;
  pointer-events: none;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(9,9,15,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-right: auto;
}

.nav__logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .15s;
}
.nav__links a:hover { color: #fff; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all .2s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}
.nav__mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: rgba(99,102,241,0.15);
  top: -100px; left: -100px;
}
.hero__glow--2 {
  width: 500px; height: 500px;
  background: rgba(201,168,76,0.08);
  bottom: 0; right: -100px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #a5b4fc;
}

.badge__dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  max-width: 800px;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff; }
.stat__label { font-size: 12px; color: var(--text-3); }
.stat__sep { width: 1px; height: 36px; background: var(--border); }

.hero__scroll {
  position: absolute;
  bottom: 32px; right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-rl;
}
.scroll__line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

/* ---------- BAND ---------- */
.band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}
.band__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.band__inner span { font-size: 13px; font-weight: 500; color: var(--text-3); }
.band__dot { color: var(--text-3) !important; opacity: 0.4; }

/* ---------- APPS ---------- */
.apps {
  padding: 100px 0;
  background: var(--bg);
}

.apps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.app-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.app-card--featured {
  border-color: rgba(201,168,76,0.25);
  background: linear-gradient(160deg, #16140a 0%, var(--bg-card) 60%);
}
.app-card--featured:hover { border-color: rgba(201,168,76,0.5); }

.app-card--soon { opacity: 0.75; }

.app-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.app-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.app-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.app-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .04em;
}
.app-tag--live { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.app-tag--soon { background: rgba(139,92,246,0.12); color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }
.app-tag--platform { background: rgba(255,255,255,0.05); color: var(--text-3); border: 1px solid var(--border); }

.app-card__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.app-card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  flex-grow: 1;
}

.app-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-card__features li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.app-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.app-card--featured .app-card__features li::before { background: var(--gold); }

.app-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.store-links { display: flex; gap: 8px; }
.app-card__store-links { display: flex; gap: 8px; margin-left: auto; }

.store-link {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-3);
  transition: all .15s;
}
.store-link:hover {
  border-color: var(--border-h);
  color: var(--text);
  background: var(--bg-card-h);
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__title { margin-bottom: 20px; }

.about__text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.value__icon {
  width: 40px; height: 40px;
  background: rgba(99,102,241,0.1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}
.value strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.value span { font-size: 12px; color: var(--text-3); }

/* About visual */
.about__visual {
  position: relative;
  height: 380px;
}

.about__bg-shape {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.visual-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  min-width: 200px;
  animation: float 6s ease-in-out infinite;
}
.visual-card--1 { top: 10%; left: 5%; animation-delay: 0s; }
.visual-card--2 { top: 45%; right: 0%; animation-delay: 2s; }
.visual-card--3 { bottom: 5%; left: 20%; animation-delay: 4s; }

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

.visual-card__icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.visual-card__val {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.visual-card__label { font-size: 12px; color: var(--text-3); }

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta__glow {
  position: absolute;
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta__sub { font-size: 17px; color: var(--text-2); margin-bottom: 36px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- CONTACT ---------- */
.contact {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact__inner .section-header { margin-bottom: 40px; }

.contact__grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  min-width: 200px;
}
.contact-item__icon {
  width: 44px; height: 44px;
  background: rgba(99,102,241,0.1);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.contact-item a { font-size: 14px; color: var(--primary); }
.contact-item span { font-size: 14px; color: var(--text-2); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer__brand .nav__logo { margin-bottom: 16px; }
.footer__brand p { font-size: 14px; color: var(--text-3); line-height: 1.7; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--text-3);
  transition: color .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__col a:hover { color: var(--text); }

.coming {
  font-size: 10px;
  font-weight: 600;
  background: rgba(139,92,246,0.15);
  color: #a78bfa;
  padding: 2px 7px;
  border-radius: 50px;
  border: 1px solid rgba(139,92,246,0.2);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { height: 280px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav__links, .nav > .btn--outline { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { align-items: center; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__sub { text-align: center; }
  .hero__badge { align-self: center; }
  .hero__scroll { display: none; }
  .about__values { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .apps__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .apps, .about, .cta, .contact { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }
}
