/* ============================================================
   PostNow Group — Home Page Stylesheet
   Imports Outfit (display) + Inter (body) from Google Fonts
   ============================================================ */

:root {
  /* Core palette */
  --bg-dark:      #070f1a;
  --bg-dark-2:    #0b1828;
  --bg-mid:       #0f2035;
  --teal:         #14b8a6;
  --teal-dim:     #0d9488;
  --teal-glow:    rgba(20,184,166,0.18);
  --teal-glow-lg: rgba(20,184,166,0.08);
  --gold:         #f59e0b;
  --gold-dim:     #d97706;
  --white:        #ffffff;
  --off-white:    #f1f5f9;
  --text-main:    #e2e8f0;
  --text-muted:   #94a3b8;
  --text-navy:    #0f172a;
  --border:       rgba(255,255,255,0.07);
  --border-card:  rgba(255,255,255,0.09);
  --surface-card: rgba(255,255,255,0.04);
  --surface-lift: rgba(255,255,255,0.07);
  --shadow-card:  0 4px 32px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.2);
  --shadow-glow:  0 0 40px rgba(20,184,166,0.22);
  /* Light surface (sections on white bg) */
  --lbg:          #f8fafc;
  --lbg-2:        #f1f5f9;
  --ltext:        #0f172a;
  --ltext-2:      #475569;
  --lborder:      #e2e8f0;
  /* Fonts */
  --font-d: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-b: 'Inter', ui-sans-serif, system-ui, sans-serif;
  /* Easing */
  --ease: cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-b);
  background: var(--bg-dark);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-d); margin: 0; line-height: 1.1; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  gap: 24px;
  transition: background 300ms var(--ease), backdrop-filter 300ms var(--ease), box-shadow 300ms var(--ease);
}
.nav.scrolled {
  background: rgba(7,15,26,0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.3px;
  display: flex;
  align-items: baseline;
  gap: 0;
}
.nav-logo span { color: var(--teal); }
.nav-logo em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-left: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 150ms;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  border: 1.5px solid var(--teal-dim);
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 150ms, color 150ms;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--teal); color: #fff; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: 200ms; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}

/* Dot-grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Ambient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20,184,166,0.22), transparent 70%);
  top: -120px; left: -180px;
  animation: drift1 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%);
  bottom: -80px; right: -100px;
  animation: drift2 22s ease-in-out infinite alternate;
}
.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(20,184,166,0.1), transparent 70%);
  top: 40%; left: 55%;
  animation: drift1 14s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,60px) scale(1.1); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-30px,-50px) scale(1.08); } }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(20,184,166,0.1);
  border: 1px solid rgba(20,184,166,0.25);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 24px;
  line-height: 1.0;
}
.hero-title span {
  background: linear-gradient(90deg, var(--teal) 0%, #34d399 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-hero-primary {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  background: var(--teal);
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  transition: background 150ms, box-shadow 150ms, transform 150ms;
}
.btn-hero-primary:hover {
  background: var(--teal-dim);
  box-shadow: 0 0 24px rgba(20,184,166,0.45);
  transform: translateY(-2px);
}
.btn-hero-ghost {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  border: 1.5px solid var(--border-card);
  padding: 15px 32px;
  border-radius: 10px;
  transition: border-color 150ms, color 150ms, transform 150ms;
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  gap: 3px;
}
.stat strong {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}
.stat span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== PLATFORMS SECTION ===== */
.platforms-section {
  background: var(--lbg);
  padding: 96px 48px;
  text-align: center;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label.light { color: rgba(20,184,166,0.7); }
.section-title {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ltext);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.section-title.light { color: var(--white); }
.section-title.left { text-align: left; }
.section-sub {
  font-size: 17px;
  color: var(--ltext-2);
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-sub.light { color: rgba(226,232,240,0.65); }

/* BENTO GRID */
.bento {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--white);
  border: 1px solid var(--lborder);
  border-radius: 20px;
  padding: 36px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 16px rgba(15,23,42,0.07);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms;
  border-radius: 20px;
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(15,23,42,0.13);
}
/* E2 — spans 2 rows */
.bento-e2 { grid-column: 1; grid-row: 1 / 3; }
.bento-e2::before { background: linear-gradient(135deg, rgba(20,184,166,0.07), transparent); }
.bento-e2:hover::before { opacity: 1; }

.bento-express { grid-column: 2; grid-row: 1; }
.bento-globeme { grid-column: 1; grid-row: 3; }
.bento-midl    { grid-column: 2; grid-row: 2; }

.bento-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bento-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.bento-e2 .bento-icon { font-size: 48px; }

.bento-card h3 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 24px;
  color: var(--ltext);
  margin-bottom: 12px;
}
.bento-e2 h3 { font-size: 32px; }
.bento-card p {
  font-size: 15px;
  color: var(--ltext-2);
  line-height: 1.65;
  margin: 0 0 24px;
  flex-grow: 1;
}
.bento-e2 p { font-size: 16px; }

.bento-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.bento-btn-primary {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  background: var(--teal);
  color: #fff;
  padding: 12px 22px;
  border-radius: 9px;
  transition: background 150ms, box-shadow 150ms;
}
.bento-btn-primary:hover { background: var(--teal-dim); box-shadow: 0 0 16px rgba(20,184,166,0.35); }
.bento-btn-ghost {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  color: var(--ltext-2);
  border: 1.5px solid var(--lborder);
  padding: 11px 18px;
  border-radius: 9px;
  transition: border-color 150ms, color 150ms;
}
.bento-btn-ghost:hover { border-color: var(--teal); color: var(--teal-dim); }

.bento-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento-badge-list span {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dim);
  background: rgba(20,184,166,0.08);
  border: 1px solid rgba(20,184,166,0.18);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ===== PILLARS ===== */
.pillars-section {
  background: var(--bg-mid);
  padding: 96px 48px;
  text-align: center;
}
.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pillar {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  transition: background 200ms, transform 200ms;
}
.pillar:hover {
  background: var(--surface-lift);
  transform: translateY(-4px);
}
.pillar-icon { font-size: 30px; margin-bottom: 14px; }
.pillar-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}
.pillar-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== MARKETS ===== */
.markets-section {
  background: var(--lbg);
  padding: 96px 48px;
  text-align: center;
}
.markets-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 48px auto 0;
  align-items: start;
  text-align: left;
}
.market-div {
  width: 1px;
  background: var(--lborder);
  align-self: stretch;
}
.market-col-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  color: var(--ltext);
  margin-bottom: 20px;
}
.market-col-title span {
  font-weight: 500;
  font-size: 13px;
  color: var(--ltext-2);
  display: block;
  margin-top: 2px;
}
.chip-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ltext);
  background: var(--white);
  border: 1px solid var(--lborder);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(15,23,42,0.05);
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--bg-dark);
  padding: 96px 48px;
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-label { color: var(--teal); margin-bottom: 10px; }
.about-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 18px;
}
.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  color: var(--teal);
  border: 1.5px solid rgba(20,184,166,0.35);
  padding: 13px 26px;
  border-radius: 10px;
  margin-top: 8px;
  transition: background 150ms, border-color 150ms;
}
.btn-about:hover { background: rgba(20,184,166,0.1); border-color: var(--teal); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 200ms;
}
.about-card:hover { transform: translateY(-4px); }
.about-card.dark {
  background: var(--teal);
  border-color: var(--teal);
}
.about-card-num {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 40px;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.about-card-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.about-card.dark .about-card-label { color: rgba(255,255,255,0.8); }

/* ===== FAQ ===== */
.faq-section {
  background: var(--lbg-2);
  padding: 96px 48px;
  text-align: center;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 48px auto 0;
  text-align: left;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--lborder);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(15,23,42,0.06);
  transition: box-shadow 200ms;
}
.faq-item[open] { box-shadow: 0 4px 20px rgba(15,23,42,0.1); }
.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  color: var(--ltext);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 150ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--teal-dim);
  flex-shrink: 0;
  transition: transform 200ms;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--teal-dim); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--ltext-2);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid var(--lborder);
  padding-top: 16px;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark-2));
  border-top: 1px solid var(--border);
  padding: 64px 48px;
}
.cta-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 6px;
}
.cta-strip p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}
.cta-strip-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-btn-primary {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  background: var(--teal);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background 150ms, box-shadow 150ms;
  white-space: nowrap;
}
.cta-btn-primary:hover { background: var(--teal-dim); box-shadow: 0 0 20px rgba(20,184,166,0.4); }
.cta-btn-ghost {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  border: 1.5px solid var(--border-card);
  padding: 13px 22px;
  border-radius: 10px;
  white-space: nowrap;
  transition: border-color 150ms, color 150ms;
}
.cta-btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 56px 48px 28px;
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 12px 0 0;
  line-height: 1.6;
  max-width: 260px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 150ms;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-e2 { grid-column: 1; grid-row: auto; }
  .bento-express { grid-column: 1; grid-row: auto; }
  .bento-globeme { grid-column: 1; grid-row: auto; }
  .bento-midl { grid-column: 1; grid-row: auto; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 70px 0 0 0; background: rgba(7,15,26,0.97); backdrop-filter: blur(20px); padding: 32px 24px; gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text-main); }
  .nav-hamburger { display: flex; }
  .hero { padding: 120px 24px 64px; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 0 16px; }
  .hero-title { letter-spacing: -1.5px; }
  .platforms-section, .pillars-section, .markets-section, .about-section, .faq-section { padding: 64px 24px; }
  .bento { gap: 14px; }
  .bento-card { padding: 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .markets-cols { grid-template-columns: 1fr; gap: 32px; }
  .market-div { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 48px 24px; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .footer { padding: 40px 24px 24px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-div { width: 40px; height: 1px; }
  .footer-cols { grid-template-columns: 1fr; }
}
