/* ===== FLIPMARKET DESIGN SYSTEM ===== */
/* Modern resale/thrift energy — approachable, fresh, urban */

:root {
  --bg: #F8F7F4;
  --bg-dark: #0F2428;
  --fg: #0F2428;
  --fg-muted: #6B7B7F;
  --accent: #2D8C7C;
  --accent-bright: #3DB89E;
  --accent-pop: #F4A23C;
  --border: #E0DDD6;
  --card-bg: #FFFFFF;
  --font-display: 'Syne', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== NAV ===== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-link {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
}
.nav-cta:hover { background: #247a68; }
.nav-user { font-size: 0.875rem; color: var(--fg-muted); }
.nav-logout {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.875rem; color: var(--fg-muted); padding: 0;
}
.nav-logout:hover { color: var(--fg); }

/* ===== HERO ===== */
.hero {
  padding: 5rem 2rem;
  background: var(--bg-dark);
  color: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(61,184,158,0.15);
  color: var(--accent-bright);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(61,184,158,0.3);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-headline .accent { color: var(--accent-bright); }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 40ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: #247a68; }
.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.hero-search {
  display: flex;
  max-width: 440px;
  margin-top: 1.5rem;
}
.hero-search input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 6px 0 0 6px;
  outline: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.4); }
.hero-search input:focus { border-color: var(--accent-bright); }
.hero-search button {
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
}
.hero-search button:hover { background: #247a68; }

/* Hero visual: category grid */
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.viz-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background 0.15s, border-color 0.15s;
}
.viz-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.viz-card:nth-child(2) { grid-column: span 2; }
.viz-label { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); font-weight: 600; }
.viz-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; }
.viz-title.lg { font-size: 1.4rem; }
.viz-count { font-size: 0.72rem; color: rgba(255,255,255,0.38); }

/* ===== INCENTIVE BANNERS ===== */
.incentives {
  background: var(--accent);
  color: #fff;
  padding: 4rem 2rem;
}
.incentives-inner { max-width: 1100px; margin: 0 auto; }
.incentives-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  font-weight: 500;
}
.incentives-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.incentives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.incentive-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 2rem 1.75rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.incentive-badge {
  display: inline-block;
  background: var(--accent-pop);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  align-self: flex-start;
  font-weight: 700;
}
.incentive-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; }
.incentive-card p { font-size: 0.875rem; color: rgba(255,255,255,0.72); line-height: 1.65; flex: 1; }
.incentive-cta { font-size: 0.8rem; font-weight: 600; color: var(--accent-pop); text-decoration: none; transition: color 0.15s; margin-top: 0.25rem; }
.incentive-cta:hover { color: #e8891a; }
@media (max-width: 680px) { .incentives-grid { grid-template-columns: 1fr; } }

/* ===== PROBLEM/SOLUTION ===== */
.stores {
  background: var(--card-bg);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.stores-inner { max-width: 1100px; margin: 0 auto; }
.stores-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 600; }
.stores-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 3rem;
  max-width: 24ch;
  letter-spacing: -0.02em;
}
.stores-split { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 0; align-items: start; }
.stores-divider { width: 1px; background: var(--border); align-self: stretch; margin: 0 2rem; }
.col-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1.25rem; font-weight: 600; }
.pain-list, .gain-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.pain-list li, .gain-list li { font-size: 0.9rem; line-height: 1.5; padding-left: 1rem; position: relative; }
.pain-list li { color: var(--fg-muted); }
.gain-list li { color: var(--fg); }
.pain-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: #c4b8ad; }
.gain-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 768px) { .stores-split { grid-template-columns: 1fr; } .stores-divider { display: none; } }

/* ===== CURATORS ===== */
.curators { background: var(--bg); padding: 5rem 2rem; }
.curators-inner { max-width: 1100px; margin: 0 auto; }
.curators-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 600; }
.curators-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 3rem;
  max-width: 28ch;
  letter-spacing: -0.02em;
}
.curators-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.curator-card { background: var(--card-bg); border: 1px solid var(--border); padding: 2rem 1.75rem; border-radius: 12px; }
.curator-icon { color: var(--accent); margin-bottom: 1.25rem; }
.curator-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.curator-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }
@media (max-width: 900px) { .curators-grid { grid-template-columns: 1fr; } }

/* ===== CLOSING ===== */
.closing { background: var(--fg); color: var(--bg); padding: 6rem 2rem; }
.closing-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}
.closing-body { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 52ch; margin: 0 auto 2.5rem; }
.closing-brand { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.closing-brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.closing-brand-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }

/* ===== FOOTER ===== */
.site-footer { background: var(--fg); color: var(--bg); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.03em; }
.footer-desc { font-size: 0.75rem; color: rgba(255,255,255,0.38); }
.footer-nav { display: flex; gap: 1.25rem; align-items: center; }
.footer-link { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: rgba(255,255,255,0.8); }
.footer-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.38); }
.footer-social { color: rgba(255,255,255,0.4); font-size: 1rem; transition: color 0.15s; }
.footer-social:hover { color: rgba(255,255,255,0.8); }
@media (max-width: 640px) { .footer-nav { display: none; } .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 3rem; } .hero-visual { display: none; } .hero-sub { max-width: none; } }
@media (max-width: 480px) { .hero { padding: 4rem 1.5rem 3rem; } .stores, .curators { padding: 4rem 1.5rem; } .closing { padding: 5rem 1.5rem; } .incentives { padding: 4rem 1.5rem; } }