/* ==========================================================================
   Bolex Estate — High-End Modern B2B SaaS Design System
   ========================================================================== */

:root {
  --bg-dark: #0B0F19;
  --bg-primary: #FFFFFF;
  --bg-alt: #F8FAFC;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;

  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;

  --border: #E2E8F0;
  --border-dark: #1E293B;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

section[id] { scroll-margin-top: 90px; }

h1, h2, h3 {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-blue { color: var(--primary); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Top Bar */
.top-bar {
  background: var(--bg-dark);
  color: #94A3B8;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-dark);
}
.top-bar strong { color: #FFFFFF; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 16px 0;
}

.headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #FFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 90px;
  width: auto;
  max-width: 255px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin-top: -12px;
  margin-bottom: -12px;
}

.nav-links { display: flex; gap: 24px; }

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-primary { background: var(--primary); color: #FFFFFF; }
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-main);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-alt); transform: translateY(-2px); }

.btn-white { background: #FFFFFF; color: var(--text-main); }
.btn-white:hover { background: var(--bg-alt); transform: translateY(-2px); }

.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 80px 0;
  background: radial-gradient(100% 50% at 50% 0%, #EFF6FF 0%, #FFFFFF 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--primary);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}

.hero h1 { font-size: 50px; line-height: 1.15; margin-bottom: 20px; }
.highlight { color: var(--primary); }
.hero-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }
.hero-sub strong { color: var(--text-main); font-weight: 800; }

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Trust badges */
.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* Dashboard */
.hero-dashboard {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  color: #FFF;
}

.dashboard-header {
  padding: 14px 20px;
  background: #161E2E;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
  gap: 12px;
}

.window-dots { display: flex; gap: 6px; flex-shrink: 0; }
.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.dashboard-search {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #94A3B8;
  background: #0B0F19;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-pill {
  font-size: 12px;
  color: #4ADE80;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.dashboard-body { padding: 20px; }

.dash-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #161E2E;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}

.dash-meta small {
  display: block;
  color: #64748B;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Enhanced table scroll */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #334155 #0B0F19;
  position: relative;
}

.table-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to left, rgba(11, 15, 25, 0.9), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

@media (max-width: 900px) {
  .table-container::after { opacity: 1; }
}

.table-container::-webkit-scrollbar { height: 8px; }
.table-container::-webkit-scrollbar-track {
  background: #0B0F19;
  border-radius: 10px;
}
.table-container::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
}
.table-container::-webkit-scrollbar-thumb:hover { background: #475569; }

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  min-width: 500px;
}

.dash-table th {
  padding: 10px;
  color: #64748B;
  font-size: 10px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-dark);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dash-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #1E293B;
  white-space: nowrap;
}

.dash-table td strong { display: block; color: #F8FAFC; }
.dash-table td small { color: #94A3B8; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-high { background: rgba(34, 197, 94, 0.15); color: #4ADE80; }
.badge-mod  { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }

.score-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 11px;
}
.score-pill.high { background: #22C55E; color: #000; }
.score-pill.mod  { background: #3B82F6; color: #FFF; }

/* Metrics */
.metrics-bar {
  background: var(--bg-dark);
  color: #FFF;
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-item h3 { color: var(--primary); font-size: 32px; margin-bottom: 4px; }
.metric-item p  { color: #94A3B8; font-size: 14px; }

/* Sections */
.section-padded { padding: 96px 0; }
.bg-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-kicker {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.section-head h2 { font-size: 36px; margin-top: 8px; }
.section-sub {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 16px;
}

/* Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comp-card {
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #FFF;
}

.comp-tag {
  font-size: 11px;
  font-weight: 800;
  color: #EF4444;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.brand-tag { color: var(--primary); }

.comp-card h3 { font-size: 22px; margin-bottom: 24px; }
.comp-card ul { list-style: none; padding: 0; margin: 0; }
.comp-card li {
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.new-way {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.step-card h3 { font-size: 20px; margin-bottom: 10px; }
.step-card p  { color: var(--text-muted); font-size: 15px; }
.step-card p strong { color: var(--text-main); font-weight: 800; }

/* Sample Table */
.sample-card {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-dark);
}

.sample-header {
  padding: 14px 20px;
  background: #161E2E;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-dark);
}

.sample-file {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #94A3B8;
}

.sample-table td { color: #E2E8F0; font-size: 12px; }
.sample-table th { font-size: 9px; }

.sample-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Sample data disclaimer */
.sample-disclaimer {
  margin: 0;
  padding: 12px 20px 16px;
  text-align: center;
  font-size: 12px;
  color: #64748B;
  background: #161E2E;
  border-top: 1px solid var(--border-dark);
}

/* Beta Program */
.beta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.beta-card {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.beta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.beta-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beta-card h3 {
  font-size: 18px;
  margin: 0;
}

.beta-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.beta-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadmap-stage {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.roadmap-stage-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 30px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.roadmap-now .roadmap-stage-tag {
  background: #DCFCE7;
  color: #15803D;
}

.roadmap-q4 .roadmap-stage-tag {
  background: #FEF3C7;
  color: #B45309;
}

.roadmap-2027 .roadmap-stage-tag {
  background: #E0E7FF;
  color: #4338CA;
}

.roadmap-now { border-top: 4px solid #22C55E; }
.roadmap-q4  { border-top: 4px solid #F59E0B; }
.roadmap-2027 { border-top: 4px solid #6366F1; }

.roadmap-stage h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roadmap-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.roadmap-list li:last-child { border-bottom: none; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
}

/* Pricing */
.pricing-card-wrapper { display: flex; justify-content: center; }

.pricing-card {
  background: #FFF;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.pricing-popular {
  position: absolute;
  top: -14px;
  right: 32px;
  background: var(--primary);
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
}

/* Spots counter badge */
.spots-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #92400E;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 30px;
  margin: 16px 0;
  border: 1px solid #FCD34D;
  animation: spotsGlow 2.5s ease-in-out infinite;
}

@keyframes spotsGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
}

.spots-badge .pulse-dot {
  background: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
  animation: none;
}

.pricing-header h3 { font-size: 22px; margin-bottom: 6px; }
.pricing-header p  { color: var(--text-muted); font-size: 14px; }

.price-display {
  margin: 24px 0 8px;
  display: flex;
  align-items: baseline;
}

.price-display .currency { font-size: 24px; font-weight: 800; }
.price-display .amount   { font-size: 56px; font-weight: 800; line-height: 1; }
.price-display .period   { color: var(--text-muted); margin-left: 8px; }

.price-note {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 8px 12px;
  background: #F1F5F9;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.pricing-features { list-style: none; padding: 0; margin: 0 0 32px; }

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-features li svg { flex-shrink: 0; margin-top: 3px; }
.pricing-features li strong { color: var(--text-main); font-weight: 700; }

.pricing-guarantee {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--text-light);
  font-size: 12px;
}

/* Pricing section disclaimer */
.pricing-disclaimer {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner { padding: 0 0 96px; }

.cta-box {
  background: var(--bg-dark);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
}

.cta-box h2 { color: #FFF; font-size: 36px; margin-bottom: 16px; }
.cta-box p  { color: #94A3B8; max-width: 540px; margin: 0 auto 32px; }

/* Trial Form */
.trial-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #CBD5E1;
  letter-spacing: 0.01em;
}

.trial-form input[type="text"],
.trial-form input[type="email"],
.trial-form input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #161E2E;
  color: #FFF;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.trial-form input::placeholder { color: #64748B; }

.trial-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* Form Validation States */
.trial-form input.valid {
  border-color: #22C55E;
  background: rgba(34, 197, 94, 0.05);
}

.trial-form input.invalid {
  border-color: #EF4444;
  background: rgba(239, 68, 68, 0.05);
}

.trial-form input.valid:focus {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.trial-form input.invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.trial-form button {
  margin-top: 8px;
  cursor: pointer;
}

.trial-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-result {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s;
}

.form-result:empty { padding: 0; min-height: 0; }

.form-result.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-result.error {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-note {
  display: block;
  text-align: center;
  color: #64748B;
  font-size: 12px;
  margin-top: 4px;
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.foot-flex { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

.foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.foot-links a:hover { color: var(--primary); }

/* ==========================================================================
   Founder Section
   ========================================================================== */

.founder-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.founder-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.founder-photo-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  box-shadow: 0 20px 50px -20px rgba(37, 99, 235, 0.35);
  border: 4px solid #FFF;
  position: relative;
}

.founder-photo-frame::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 30px;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.12), transparent 60%);
  z-index: -1;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.founder-photo-frame:hover .founder-photo {
  transform: scale(1.04);
}

.founder-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  letter-spacing: 0.01em;
}

.founder-info { max-width: 560px; }

.founder-info h2 {
  font-size: 36px;
  margin: 12px 0 16px;
}

.founder-lead {
  font-size: 18px;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.5;
}

.founder-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-stat { display: flex; flex-direction: column; gap: 2px; }

.founder-stat strong {
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.founder-stat small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

.founder-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.2s;
}

.founder-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.1);
}

.founder-link svg { flex-shrink: 0; }

/* ==========================================================================
   Legal Pages (Terms & Privacy)
   ========================================================================== */

.legal-page {
  padding: 80px 0 96px;
  background: #FFF;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--primary); }
.back-link svg { flex-shrink: 0; }

.legal-page h1 {
  font-size: 44px;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.legal-updated {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 48px;
}

.legal-content { max-width: 760px; }

.legal-content h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  color: var(--text-main);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content strong { color: var(--text-main); font-weight: 700; }

.legal-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { color: var(--primary-hover); }

/* ==========================================================================
   Responsive — Tablet (900px & below)
   ========================================================================== */

@media (max-width: 900px) {
  .hero-grid,
  .comparison-grid,
  .metrics-grid,
  .steps-grid,
  .beta-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder-photo-frame { max-width: 300px; margin: 0 auto; }
  .founder-info { max-width: 100%; }
  .founder-info h2 { font-size: 28px; }
  .founder-lead { font-size: 16px; }
  .founder-stats { grid-template-columns: repeat(3, 1fr); }

  .nav-toggle-label { display: flex; }
  .nav-actions .btn  { display: none; }

  .nav-links {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    right: 0;
    background: #FFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    gap: 0;
    padding: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s;
  }

  .nav-toggle:checked ~ .nav-links {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 12px;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
  }
  .nav-links a:hover { background: var(--primary-light); }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero { padding: 56px 0; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }

  .section-padded { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 28px; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 26px; }

  .pricing-card { padding: 32px 24px; }
  .comp-card { padding: 28px 24px; }
  .step-card, .beta-card, .roadmap-stage { padding: 24px; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ==========================================================================
   Responsive — Mobile (600px & below)
   ========================================================================== */

@media (max-width: 600px) {
  .container { padding: 0 16px; }

  .hero { padding: 40px 0; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero-sub { font-size: 15px; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn { width: 100%; }

  .kicker-badge { font-size: 12px; padding: 5px 12px; }

  .trust-row { gap: 12px; }
  .trust-item { font-size: 12px; }

  .dashboard-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dashboard-search { order: 3; width: 100%; text-align: center; }

  .dash-meta {
    flex-direction: column;
    gap: 10px;
  }

  .price-display .amount { font-size: 44px; }
  .metric-item h3 { font-size: 26px; }

  .section-head h2 { font-size: 24px; }
  .section-sub { font-size: 15px; }

  .comp-card h3 { font-size: 19px; }
  .step-card h3 { font-size: 18px; }

  .cta-box { padding: 32px 20px; }
  .cta-box h2 { font-size: 22px; }
  .cta-box p { font-size: 14px; }

  .pricing-card { padding: 28px 20px; }
  .pricing-popular { right: 16px; font-size: 11px; }

  .faq-item { padding: 16px 18px; }
  .faq-item summary { font-size: 15px; }

  .founder-stats { gap: 16px; grid-template-columns: repeat(3, 1fr); }
  .founder-stat strong { font-size: 20px; }
  .founder-link { flex: 1; justify-content: center; }

  .brand-logo-img {
    height: 60px;
    max-width: 200px;
    margin-top: -8px;
    margin-bottom: -8px;
  }

  .legal-page { padding: 48px 0 64px; }
  .legal-page h1 { font-size: 32px; }
  .legal-content h2 { font-size: 19px; margin-top: 32px; }
  .legal-content p, .legal-content li { font-size: 14px; }

  .foot-flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .foot-flex > div { width: 100%; }
  .foot-links { justify-content: center; gap: 16px; }

  .dash-table { min-width: 560px; }
  .sample-table { min-width: 700px; }
  .dash-table td, .dash-table th { padding: 14px 10px; }
}

/* ==========================================================================
   Responsive — Extra Small (400px & below)
   ========================================================================== */

@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .price-display .amount { font-size: 38px; }
  .dash-table { min-width: 420px; font-size: 12px; }
  .trial-form input { padding: 12px 14px; font-size: 14px; }
  .brand-logo-img { height: 50px; max-width: 170px; margin-top: -6px; margin-bottom: -6px; }
  .founder-stats { grid-template-columns: 1fr; }
}

/* Update sample table min-width for 9 columns */
.sample-table { min-width: 1100px; }
