/* VendStar — Blue-only marketplace design */

:root {
  --blue-950: #1e3a8a;
  --blue-900: #1d4ed8;
  --blue-800: #2563eb;
  --blue-700: #3b82f6;
  --blue-600: #60a5fa;
  --blue-500: #93c5fd;
  --blue-400: #bfdbfe;
  --blue-300: #dbeafe;
  --blue-200: #e0f2fe;
  --blue-100: #eff6ff;
  --blue-50:  #f0f9ff;
  --white:    #ffffff;

  --font: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(29, 78, 216, 0.12);
  --shadow-lg: 0 8px 40px rgba(29, 78, 216, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--blue-950);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; color: var(--blue-950); }
p { color: var(--blue-900); }
a { text-decoration: none; color: inherit; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.75rem;
}

.section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease; border: none; white-space: nowrap;
}
.btn-primary { background: var(--blue-900); color: var(--white); }
.btn-primary:hover { background: var(--blue-950); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--white); color: var(--blue-900); border: 2px solid var(--blue-700); }
.btn-secondary:hover { background: var(--blue-100); border-color: var(--blue-800); }
.btn-white { background: var(--white); color: var(--blue-900); border: 2px solid var(--white); }
.btn-white:hover { background: var(--blue-50); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-success { background: #059669 \!important; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30, 58, 138, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; border-radius: 6px; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { color: var(--blue-300); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.header-nav a:hover { color: var(--white); }
.header-nav .btn-sm { padding: 8px 20px; font-size: 0.85rem; border-radius: var(--radius-sm); }
.header-nav .btn-primary { color: var(--blue-950); background: var(--white); }
.header-nav .btn-primary:hover { background: var(--blue-100); }

/* HERO */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(96,165,250,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(147,197,253,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: 100px 24px 60px; max-width: 860px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: var(--blue-400);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.15); margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800;
  color: var(--white); margin-bottom: 1.25rem; line-height: 1.1;
}
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--blue-400); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-buttons .btn-primary { background: var(--white); color: var(--blue-900); font-size: 1.05rem; padding: 16px 32px; }
.hero-buttons .btn-primary:hover { background: var(--blue-50); }
.hero-buttons .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); font-size: 1.05rem; padding: 16px 32px; }
.hero-buttons .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.hero-trust { color: var(--blue-500); font-size: 0.9rem; font-weight: 500; }

/* WHAT IS */
.what-is { background: var(--white); }
.what-is h2 { text-align: center; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--blue-50); border: 1px solid var(--blue-200);
  border-radius: var(--radius); padding: 32px 28px; transition: all 0.2s ease;
}
.feature-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 56px; height: 56px; background: var(--blue-100);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: var(--blue-800); margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--blue-950); }
.feature-card p { font-size: 0.95rem; color: var(--blue-800); }

/* HOW IT WORKS */
.how-it-works { background: var(--blue-100); }
.how-it-works h2 { text-align: center; margin-bottom: 3rem; }
.steps-row { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; max-width: 300px; text-align: center; padding: 0 20px; }
.step-number {
  width: 44px; height: 44px; background: var(--blue-900); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; margin: 0 auto 1.25rem;
}
.step-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--blue-950); }
.step-body p { font-size: 0.95rem; color: var(--blue-800); }
.step-icon {
  width: 64px; height: 64px; background: var(--white); border: 2px solid var(--blue-300);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--blue-700); margin: 0 auto 1rem;
}
.step-connector { width: 60px; height: 2px; background: var(--blue-300); align-self: center; flex-shrink: 0; margin-top: 22px; }

/* FOR BUSINESSES */
.for-businesses { background: var(--white); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-text h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.split-text p { margin-bottom: 1.5rem; font-size: 1rem; }
.buyer-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 2rem; }
.buyer-type { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 500; color: var(--blue-900); }
.buyer-icon { color: var(--blue-700); font-size: 1.1rem; }
.split-graphic { display: flex; flex-direction: column; gap: 16px; }
.graphic-card {
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  border: 1px solid var(--blue-300); border-radius: var(--radius);
  padding: 28px 32px; display: flex; align-items: baseline; gap: 16px;
}
.graphic-stat { font-size: 2.5rem; font-weight: 800; color: var(--blue-900); line-height: 1; }
.graphic-label { font-size: 0.95rem; color: var(--blue-700); font-weight: 500; }

/* FOR VENDORS */
.for-vendors { background: linear-gradient(135deg, var(--blue-950), var(--blue-900)); }
.vendor-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.vendor-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 1rem; }
.vendor-cta h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.vendor-cta p { color: var(--blue-400); font-size: 1rem; margin-bottom: 2rem; }
.pricing-highlight { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 2rem; }
.price { font-size: 4rem; font-weight: 800; color: var(--white); line-height: 1; }
.price-detail { font-size: 1rem; color: var(--blue-400); text-align: left; line-height: 1.4; }
.vendor-benefits { list-style: none; display: inline-block; text-align: left; margin-bottom: 2rem; }
.vendor-benefits li { display: flex; align-items: center; gap: 12px; color: var(--blue-300); font-size: 0.95rem; margin-bottom: 10px; }
.vendor-benefits li svg { color: var(--blue-400); flex-shrink: 0; }

/* FORMS */
.forms-section { background: var(--blue-50); }
.form-block { max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--blue-200); border-radius: 16px; padding: 48px 40px; box-shadow: var(--shadow); }
.vendor-form-section { background: var(--white); }
.form-header { text-align: center; margin-bottom: 2.5rem; }
.form-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.6rem; }
.form-header p { color: var(--blue-700); font-size: 1rem; }
.clean-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--blue-950); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--blue-300); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem; color: var(--blue-950);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--blue-500); }
.form-group textarea { resize: vertical; min-height: 90px; }

/* Toggle row */
.toggle-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.toggle-group label:first-child { font-size: 0.85rem; font-weight: 600; color: var(--blue-950); display: block; margin-bottom: 8px; }
.toggle-options { display: flex; gap: 20px; }
.radio-label { display: flex; align-items: center; gap: 6px; font-size: 0.95rem; font-weight: 500; color: var(--blue-900); cursor: pointer; }
.radio-label input[type="radio"] { accent-color: var(--blue-700); width: 16px; height: 16px; }

/* Form actions */
.form-actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.form-note { font-size: 0.8rem; color: var(--blue-600); text-align: center; }

/* CONTACT FOOTER */
.contact-footer { background: var(--blue-950); padding: 60px 24px 40px; }
.footer-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.footer-logo-img { height: 48px; width: auto; border-radius: 8px; }
.footer-tagline { font-size: 0.95rem; color: var(--blue-400); margin-bottom: 1.75rem; }
.footer-contact { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 1.75rem; }
.footer-link { display: flex; align-items: center; gap: 8px; color: var(--blue-300); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.footer-link:hover { color: var(--white); }
.footer-powered { font-size: 0.85rem; color: var(--blue-600); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-powered strong { color: var(--blue-400); }
.footer-links { display: flex; justify-content: center; gap: 24px; padding: 1rem 0 0; }
.footer-links a { font-size: 0.85rem; color: var(--blue-400); font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* SCROLL REVEAL ANIMATIONS */
/* Elements start hidden; JS adds .revealed when they enter the viewport */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers — applied to individual children */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Respect reduced-motion preference — animate immediately with no movement */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 0;
    transform: none;
    transition: opacity 0.2s ease-out;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-nav a:not(.btn) { display: none; }
  .header-inner { padding: 10px 16px; }
  .logo-img { height: 32px; }
  .hero { min-height: 80vh; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .split-graphic { flex-direction: row; flex-wrap: wrap; }
  .graphic-card { flex: 1; min-width: 140px; }
  .steps-row { flex-direction: column; align-items: center; gap: 32px; }
  .step-connector { width: 2px; height: 32px; margin: 0; }
  .form-row, .toggle-row { grid-template-columns: 1fr; gap: 16px; }
  .buyer-types { grid-template-columns: 1fr; }
  .form-block { padding: 32px 24px; }
  .section { padding: 60px 20px; }
  .footer-contact { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  .graphic-card { flex-direction: column; gap: 4px; }
  .btn-large { padding: 14px 24px; font-size: 0.95rem; }
}
