@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --dark: #0f172a;
  --dark2: #1e293b;
  --dark3: #334155;
  --mid: #64748b;
  --light: #e2e8f0;
  --lighter: #f1f5f9;
  --white: #ffffff;
  --gold: #f59e0b;
  --red: #ef4444;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 900;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark3);
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--lighter);
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,64,175,0.35); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--lighter); }
.btn-green {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
}
.btn-green:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(34,197,94,0.35); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn-xl { padding: 16px 36px; font-size: 17px; border-radius: 12px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  color: white;
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: #86efac; }
.hero p {
  font-size: 18px;
  color: #93c5fd;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 17px;
  color: var(--mid);
  margin-bottom: 48px;
  max-width: 560px;
}
.section-header { margin-bottom: 48px; }
.section-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.bg-light { background: var(--lighter); }
.bg-dark { background: var(--dark); color: white; }
.bg-dark .section-title { color: white; }
.bg-dark .section-sub { color: #94a3b8; }

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.stat-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--mid); font-weight: 500; }

/* CARDS GRID */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* TRADELINE TABLE */
.tl-table { width: 100%; border-collapse: collapse; }
.tl-table th {
  background: var(--dark);
  color: white;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: left;
}
.tl-table th:first-child { border-radius: 12px 0 0 0; }
.tl-table th:last-child { border-radius: 0 12px 0 0; }
.tl-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.tl-table tr:hover td { background: #f8fafc; }
.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.price { font-weight: 700; color: var(--primary); font-size: 15px; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 24px 16px; }
.step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: white;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--mid); }

/* FAQ */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}
.faq-q:hover { background: var(--lighter); }
.faq-a {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.8;
}

/* FORM */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark2); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  transition: border-color 0.15s;
  background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* DASHBOARD */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; min-height: calc(100vh - 68px); }
.dash-sidebar {
  background: var(--dark);
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.dash-sidebar .role-badge {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 2px;
  cursor: pointer;
  transition: all 0.15s;
}
.dash-nav-item:hover, .dash-nav-item.active {
  background: rgba(255,255,255,0.08);
  color: white;
}
.dash-main { background: var(--lighter); padding: 32px; }
.dash-stat { background: white; border-radius: 14px; padding: 22px 24px; border: 1px solid #e2e8f0; }
.dash-stat-num { font-size: 30px; font-weight: 900; color: var(--primary); }
.dash-stat-label { font-size: 12px; color: var(--mid); font-weight: 500; margin-top: 2px; }

/* FOOTER */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-links h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: #64748b; transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #475569;
}

/* PRICING DISCOUNT BOX */
.discount-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.discount-row {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
}
.discount-row:last-child { border-bottom: none; }
.discount-qty { font-size: 15px; font-weight: 600; flex: 1; }
.discount-pct {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-dark);
}
.discount-pill {
  background: #dcfce7;
  color: #166534;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: white;
  padding: 52px 24px;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header .eyebrow { color: #86efac; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.page-header h1 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.page-header p { color: #94a3b8; font-size: 16px; }

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 72px 24px;
  text-align: center;
}
.cta-section h2 { font-size: 34px; font-weight: 900; margin-bottom: 12px; }
.cta-section p { font-size: 17px; color: #bfdbfe; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
