/* ─────────────────────────────────────────────
   NegoSync Landing Page — style.css
   Colors: #001426 · #0a1e30 · #97B002 · #326736 · #FFFFFF
   Font: Belanosima (Google Fonts)
───────────────────────────────────────────── */

/* ── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #001426;
  --navy-mid:  #0a1e30;
  --navy-light:#0e2840;
  --lime:      #97B002;
  --green:     #326736;
  --white:     #FFFFFF;
  --muted:     rgba(255,255,255,0.6);
  --border:    rgba(255,255,255,0.08);

  --font: 'Belanosima', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;

  --transition: 0.22s ease;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.accent { color: var(--lime); }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  padding: 10px 22px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--lime);
  color: var(--navy);
  border-color: var(--lime);
  box-shadow: 0 4px 20px rgba(151,176,2,0.35);
}
.btn--primary:hover { box-shadow: 0 6px 28px rgba(151,176,2,0.55); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: var(--lime); color: var(--lime); }

.btn--lg { font-size: 1.05rem; padding: 14px 28px; }

/* ── NAV ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(0,20,38,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }

.nav__cta { margin-left: 8px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 0;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(151,176,2,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,176,2,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
  padding-bottom: 80px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(151,176,2,0.12);
  border: 1px solid rgba(151,176,2,0.25);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__cta { margin-bottom: 14px; }

.hero__note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ── Hero phone mockup ─────────────────────── */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(151,176,2,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__phone {
  position: relative;
  z-index: 1;
  width: 280px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 20px 18px 28px;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(151,176,2,0.08);
}

.hero__phone::before {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  margin: 0 auto 20px;
}

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

.transfer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.transfer-card--done { opacity: 0.55; }

.transfer-card__provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--muted);
}

.provider-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.provider-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.transfer-card__arrow { flex-shrink: 0; }

.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--green), var(--lime));
  border-radius: 4px;
  animation: progress 2.5s ease-in-out infinite alternate;
}

@keyframes progress {
  from { width: 30%; }
  to { width: 85%; }
}

.transfer-status {
  font-size: 0.7rem;
  color: var(--lime);
  text-align: center;
}

.done-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--lime);
}

/* ── Hero wave ─────────────────────────────── */
.hero__wave {
  width: 100%;
  line-height: 0;
  margin-top: auto;
}
.hero__wave svg { width: 100%; height: 60px; display: block; }

/* ── PROVIDERS ──────────────────────────────── */
.providers {
  background: var(--navy-mid);
  padding: 40px 0;
}

.providers__label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}

.providers__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.provider-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.provider-badge:hover { border-color: rgba(151,176,2,0.4); }

.provider-badge--soon {
  opacity: 0.45;
}
.provider-badge--soon em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--lime);
  background: rgba(151,176,2,0.12);
  border-radius: 20px;
  padding: 1px 7px;
  margin-left: 4px;
}

/* ── SECTION SHARED ─────────────────────────── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 56px;
}

/* ── FEATURES ───────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--navy);
}

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

.feature-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(151,176,2,0.3);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(151,176,2,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── HOW IT WORKS ───────────────────────────── */
.how {
  padding: 100px 0;
  background: var(--navy-mid);
}

.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin-inline: auto;
  margin-top: 56px;
}

.how__step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.how__step-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--lime);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.how__step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.how__step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.how__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  margin-top: 22px;
  border-radius: 2px;
  opacity: 0.4;
}

/* ── DEVELOPER ──────────────────────────────── */
.developer {
  padding: 100px 0;
  background: var(--navy);
}

.developer__inner {
  display: flex;
  align-items: center;
  gap: 52px;
  max-width: 780px;
}

.developer__avatar {
  flex-shrink: 0;
  position: relative;
  width: 120px;
  height: 120px;
}

.developer__avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--lime), var(--green), var(--lime));
  opacity: 0.6;
}

.developer__initials {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 3px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 2px;
}

.developer__content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.developer__content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── CTA BANNER ─────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner__inner {
  text-align: center;
  max-width: 640px;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__logo img { height: 30px; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}
.footer__copy a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer__copy a:hover { color: var(--lime); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero__subtitle { margin-inline: auto; }
  .hero__cta { margin-inline: auto; }
  .hero__note { text-align: center; }

  .developer__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .how__steps {
    flex-direction: column;
    gap: 36px;
    align-items: center;
  }

  .how__connector {
    width: 2px;
    height: 30px;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .nav__links,
  .nav__cta {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(0,20,38,0.97);
    backdrop-filter: blur(12px);
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
  }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
  }

  .nav__cta--open {
    display: inline-flex;
    position: static;
    margin: 0 28px 20px;
    backdrop-filter: none;
    border-radius: 50px;
  }

  /* When both open, link drawer contains the CTA via DOM order */
  .nav__links--open + .nav__cta--open {
    position: fixed;
    top: auto;
    bottom: auto;
  }

  .nav__links a {
    font-size: 1.1rem;
  }

  .nav__burger { display: flex; }

  .hero { padding-top: 100px; }

  .hero__phone { width: 240px; }

  .providers__list { gap: 8px; }
  .provider-badge { padding: 7px 14px; font-size: 0.82rem; }

  .section-subtitle { margin-bottom: 40px; }

  .features { padding: 70px 0; }
  .how { padding: 70px 0; }
  .developer { padding: 70px 0; }
  .cta-banner { padding: 70px 0; }
}

/* ── LOGO FALLBACK (when SVG not present yet) ─ */
.nav__logo img[src$=".svg"],
.footer__logo img[src$=".svg"] {
  filter: brightness(0) invert(1);
}
