/* ============================================================
   THE SMB BOSS — Main Stylesheet
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #08111f;
  --bg-surface:  #0d1a2e;
  --bg-card:     #111e33;
  --bg-card-alt: #0f1929;
  --border:      #1e3254;
  --border-light:#253f62;
  --primary:     #1d6ef5;
  --primary-h:   #1557d4;
  --accent:      #10b981;
  --text:        #e8edf5;
  --text-muted:  #6b859e;
  --text-dim:    #4a6280;
  --featured:    #132040;
  --featured-border: #1d6ef5;
  --radius:      12px;
  --radius-sm:   8px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
em { font-style: italic; }

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, opacity 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
}
.btn-primary:hover { background: var(--primary-h); }

.btn-lg {
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius);
}

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 17, 31, 0.92);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(29, 110, 245, 0.14), transparent);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--primary);
}

.hero-sub {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--text-dim);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.proof-icon {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.problem-icon {
  font-size: 32px;
  font-weight: 800;
  color: var(--border-light);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   SOLUTION / TOOLS
   ============================================================ */
.solution {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}

.tool-card-featured {
  background: var(--featured);
  border-color: var(--featured-border);
  box-shadow: 0 0 0 1px rgba(29, 110, 245, 0.15), 0 20px 60px rgba(29, 110, 245, 0.08);
}

.tool-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.tool-card-featured .tool-tier {
  color: var(--primary);
}

.tool-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.tool-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.tool-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-top: 56px;
  position: relative;
}

.step {
  position: relative;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.feature-item {
  border-top: 2px solid var(--border);
  padding-top: 24px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(29, 110, 245, 0.10), transparent);
  border-bottom: 1px solid var(--border);
}

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

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  max-width: 640px;
  line-height: 1.2;
}

.cta-inner p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.cta-note {
  font-size: 14px;
  color: var(--text-dim);
}

.cta-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 0;
  background: var(--bg-surface);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-brand .nav-logo {
  font-size: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 72px 0 56px; }
  .problem, .solution, .how-it-works, .features, .cta-section { padding: 64px 0; }
  .problem-grid, .tools-grid, .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .tool-card, .problem-card { padding: 28px 24px; }
  .hero-proof { flex-direction: column; align-items: center; }
  .footer-links { flex-direction: column; align-items: center; }
}

/* ============================================================
   INTERIOR PAGES (Privacy / Terms)
   ============================================================ */
.interior-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.interior-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.interior-header p {
  font-size: 15px;
  color: var(--text-muted);
}

.interior-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.interior-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.interior-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.interior-content p,
.interior-content li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.interior-content ul,
.interior-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.interior-content li {
  margin-bottom: 8px;
}

.interior-content a {
  color: var(--primary);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.interior-content strong {
  color: var(--text);
}
