/* ===========================================================
   bcindad landing — styles
   Hand-written. No framework. Mobile-first.
=========================================================== */

:root {
  --primary:        #1E3438;
  --primary-light:  #34484B;
  --primary-dark:   #061E22;
  --accent:         #E8FC87;
  --accent-deep:    #c8e065;

  --bg:             #E8EBF0;
  --bg-dark:        #000c13;
  --bg-secondary:   rgba(166, 188, 208, 0.4);

  --surface:        #FFFFFF;
  --surface-soft:   #F4F6F9;

  --text-primary:    #001826;
  --text-secondary:  #42515a;
  --text-tertiary:   #748A9D;
  --text-on-dark:    #eaf7ff;
  --text-on-primary: #FFFFFF;

  --border:          rgba(0, 24, 38, 0.08);
  --border-strong:   rgba(0, 24, 38, 0.16);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 40px rgba(6, 30, 34, 0.18), 0 8px 16px rgba(6, 30, 34, 0.10);

  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --container:   1200px;
  --container-narrow: 760px;
  --gutter:      24px;

  --t-fast:    150ms cubic-bezier(.2,.8,.2,1);
  --t-base:    280ms cubic-bezier(.2,.8,.2,1);
  --t-slow:    600ms cubic-bezier(.2,.8,.2,1);

  --font-display: 'Comfortaa', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

button { font: inherit; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

em { font-style: normal; color: var(--accent-deep); font-weight: 600; }

::selection { background: var(--accent); color: var(--primary-dark); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary-dark);
  color: var(--text-on-dark);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }
.text-center { text-align: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: padding var(--t-base);
}

.site-header-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  transition: background var(--t-base), backdrop-filter var(--t-base),
              -webkit-backdrop-filter var(--t-base), box-shadow var(--t-base);
}

.site-header.is-scrolled {
  padding: 10px 0;
}

.site-header.is-scrolled .site-header-bg {
  background: rgba(232, 235, 240, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  transition: color var(--t-base);
  line-height: 1;
}
.is-scrolled .wordmark { color: var(--primary-dark); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-dark);
  transition: color var(--t-fast), opacity var(--t-fast);
  opacity: 0.85;
}

.primary-nav a:hover { opacity: 1; color: var(--accent); }

.is-scrolled .primary-nav a { color: var(--text-secondary); }
.is-scrolled .primary-nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 1 !important;
  font-weight: 600 !important;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(232, 252, 135, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 1px;
  transition: transform var(--t-base), opacity var(--t-base), background var(--t-base);
}
.is-scrolled .nav-toggle span { background: var(--primary-dark); }

.nav-toggle[aria-expanded="true"] span,
.is-scrolled .nav-toggle[aria-expanded="true"] span { background: var(--text-on-dark); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232, 252, 135, 0.08), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(30, 52, 56, 0.6), transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 247, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 247, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatOrb 18s ease-in-out infinite;
}
.hero-orb--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  top: -120px; right: -140px;
}
.hero-orb--b {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  bottom: -140px; left: -120px;
  opacity: 0.18;
  animation-delay: -9s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 14vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: var(--text-on-dark);
  margin: 0 0 12px;
  text-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: 28px;
  opacity: 0.95;
}
.hero-tagline em { color: var(--accent); font-weight: 700; }

.hero-sub {
  max-width: 580px;
  margin: 0 auto 44px;
  font-size: 17px;
  color: rgba(234, 247, 255, 0.75);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-on-dark);
  cursor: not-allowed;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.store-badge:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(232, 252, 135, 0.3);
}
.store-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-badge-small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.store-badge-big {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(234, 247, 255, 0.5);
  animation: bounceY 2.4s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
  position: relative;
}

.section--users {
  background: var(--bg);
}

.section--business {
  background: var(--primary-dark);
  color: var(--text-on-dark);
}
.section--business h2 { color: var(--text-on-dark); }

.section--how {
  background: var(--surface);
}

.section--faq {
  background: var(--bg);
}

.section--cta {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-on-dark);
}
.section--cta h2 {
  color: var(--text-on-dark);
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}
.section--cta .lede { color: rgba(234, 247, 255, 0.8); margin-bottom: 36px; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(30, 52, 56, 0.08);
  margin-bottom: 20px;
}
.kicker--accent {
  background: var(--accent);
  color: var(--primary-dark);
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.lede {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.section--business .lede { color: rgba(234, 247, 255, 0.78); }
.section--business .lede strong { color: var(--accent); font-weight: 600; }

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.feature-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--text-on-dark);
}
.feature-card--dark h3 { color: var(--text-on-dark); }
.feature-card--dark p { color: rgba(234, 247, 255, 0.72); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 28px; height: 28px; }

.feature-icon--accent {
  background: var(--accent);
  color: var(--primary-dark);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(232, 252, 135, 0.08) 100%);
  pointer-events: none;
}

.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 18px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(30, 52, 56, 0.08);
  border-radius: 999px;
}

.step h3 {
  font-size: 26px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ---------- FAQ ---------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  position: relative;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-base);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary);
  border-radius: 1px;
  transition: transform var(--t-base);
}
.faq-icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon { background: var(--primary); transform: rotate(45deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--accent); }

.faq-body {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast);
}
.btn--primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(232, 252, 135, 0.32);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(234, 247, 255, 0.25);
  color: var(--text-on-dark);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin-top: 12px;
  color: rgba(234, 247, 255, 0.6);
  font-size: 15px;
}
.footer-brand em { color: var(--accent); font-weight: 700; font-style: normal; }

.wordmark--footer {
  font-size: 32px;
  color: var(--text-on-dark);
  display: inline-block;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(234, 247, 255, 0.7);
  font-size: 15px;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--text-on-dark); }

.footer-bottom {
  border-top: 1px solid rgba(234, 247, 255, 0.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(234, 247, 255, 0.5);
  font-size: 13px;
}

/* ---------- Scroll-reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .section { padding: 112px 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .section { padding: 128px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-inner {
    grid-template-columns: 1fr 2fr;
    gap: 80px;
  }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile nav */
@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 88vw);
    background: var(--primary-dark);
    transform: translateX(100%);
    transition: transform var(--t-base);
    padding: 96px 32px 32px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .primary-nav a {
    color: var(--text-on-dark);
    font-size: 20px;
    padding: 12px 0;
    display: block;
    width: 100%;
    opacity: 1;
  }
  .primary-nav .nav-cta {
    margin-top: 16px;
    color: var(--primary-dark) !important;
  }
  body.nav-open { overflow: hidden; }

  .is-scrolled .primary-nav a { color: var(--text-on-dark); }
}
