/* ============================================================
   Ironklad Truck Pro — Shared Stylesheet
   ironkladtruckpro.com
   ============================================================ */

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

/* ── CSS Custom Properties ── */
:root {
  --bg:           #0B1120;
  --card-bg:      #0f1729;
  --border:       #1e293b;
  --green:        #4CBB17;
  --green-hover:  #3da312;
  --white:        #e2e8f0;
  --muted:        #94a3b8;
  --glow:         0 0 40px rgba(76, 187, 23, 0.06);
  --glow-strong:  0 0 60px rgba(76, 187, 23, 0.15);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --radius-2xl:   24px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h:        68px;
  --transition:   0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Typography Scale ── */
h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #4CBB17, #7EE060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
  font-size: 18px;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--green);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(76, 187, 23, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: background-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: rgba(76, 187, 23, 0.08);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: var(--radius-md);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: #0B1120;
  border: 1px solid #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: background-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-white:hover {
  background-color: #e2e8f0;
  transform: translateY(-1px);
}

.pricing-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  border-bottom-color: rgba(76, 187, 23, 0.15);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-logo-icon {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.nav-logo > span {
  display: none;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  /* uses .btn-primary */
}

/* Hamburger */
#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

#nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

#nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h);
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(76, 187, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(76, 187, 23, 0.25);
  border-radius: 99px;
  background: rgba(76, 187, 23, 0.06);
}

.hero-headline {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-fine {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* ── Hero Pills ── */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-pill {
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* ── Founder Section ── */
.founder-section {
  background: #0a1628;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.founder-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.founder-avatar-wrap {
  flex-shrink: 0;
}

.founder-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid rgba(76,187,23,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--green);
}

.founder-quote-icon {
  font-size: 40px;
  color: rgba(76,187,23,0.3);
  line-height: 1;
  margin-bottom: 16px;
}

.founder-quote-text p {
  font-size: 17px;
  color: var(--white);
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.7;
}

.founder-bold {
  font-weight: 700 !important;
  font-size: 20px !important;
  opacity: 1 !important;
  color: var(--white) !important;
}

.founder-sig {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.founder-sig strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.founder-sig span {
  font-size: 15px;
  color: var(--muted);
}

/* ── Screenshots Grid ── */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.browser-frame {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #0a1628;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.browser-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--border);
  border-bottom: 1px solid #2d3a4d;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot-red { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }

.browser-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--card-bg);
  font-size: 10px;
  color: var(--muted);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-viewport {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.browser-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screenshot-label {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-top: 16px;
  text-align: center;
}

.screenshot-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  text-align: center;
}

/* ── Trial CTA Section ── */
.trial-cta-section {
  background: #ffffff;
  padding: 80px 0;
}

.trial-cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.trial-cta-inner h2 {
  font-size: 36px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 16px;
}

.trial-cta-inner p {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.6;
}

.trial-cta-fine {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 16px;
  font-weight: 500;
}

/* ── Pain / Solution Rows ── */
.pain-solution-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pain-solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.pain-side {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pain-icon-wrap, .solution-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 22px;
}

.pain-icon-wrap { background: rgba(239,68,68,0.1); }
.solution-icon-wrap { background: rgba(76,187,23,0.1); }

.pain-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ef4444;
  margin-bottom: 8px;
}

.solution-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 8px;
}

.pain-side h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.solution-side {
  padding: 32px 40px;
  background: rgba(76,187,23,0.04);
  border-left: 1px solid rgba(76,187,23,0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-side p {
  font-size: 17px;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.6;
}

/* ── Pricing addon inline ── */
.pricing-addon-inline {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-left: 24px;
}

/* ── Intake Form ── */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #0a1628;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.intake-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #E5E7EB;
  color: #111111;
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.intake-input::placeholder {
  color: #6B7280;
}

.intake-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(34,197,94,0.2);
}

.intake-input:hover {
  border-color: #D1D5DB;
}

.intake-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.intake-success {
  text-align: center;
  padding: 48px 24px;
}

.intake-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.intake-success h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.intake-success p {
  font-size: 15px;
  color: var(--muted);
}

/* ── Final CTA Buttons ── */
.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 8px;
}

/* ── Footer 4-col ── */
.footer-grid-4 {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

/* ── Stats Bar ── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border);
}

.stat-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.stats-tagline {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.6;
  margin-top: 20px;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--green);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(76, 187, 23, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--green);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-callout {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: rgba(76, 187, 23, 0.08);
  border: 1px solid rgba(76, 187, 23, 0.2);
  border-radius: 99px;
  padding: 4px 12px;
}

/* ── How It Works Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(76, 187, 23, 0.2));
  pointer-events: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 20px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--green);
  box-shadow: var(--glow-strong);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}

.price-currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 8px;
}

.price-period {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
  display: block;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--white);
  padding: 7px 0;
  border-bottom: 1px solid rgba(36, 36, 36, 0.6);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.pricing-addon {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

.pricing-addon strong {
  color: var(--white);
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(76, 187, 23, 0.3);
  transform: translateY(-2px);
}

.stars {
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 16px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--muted);
}

.testimonial-placeholder {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  background: rgba(156, 163, 175, 0.08);
  border: 1px solid rgba(156, 163, 175, 0.15);
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: 8px;
  font-style: normal;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 80px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(76, 187, 23, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ── Features Detail Page ── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.feature-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.feature-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-section-inner.reverse {
  direction: rtl;
}

.feature-section-inner.reverse > * {
  direction: ltr;
}

.feature-section-content {}

.feature-section-icon {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1;
  display: block;
}

.feature-section-content h2 {
  font-size: 32px;
  text-align: left;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.feature-section-content p {
  font-size: 16px;
  margin-bottom: 16px;
}

.feature-callout-box {
  background: rgba(76, 187, 23, 0.06);
  border: 1px solid rgba(76, 187, 23, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-callout-box::before {
  content: '⚡';
  font-size: 20px;
  flex-shrink: 0;
}

.feature-callout-box p {
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}

.feature-section-visual {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.feature-section-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(76, 187, 23, 0.05) 0%, transparent 70%);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-toggle {
  font-size: 22px;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--muted);
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
  font-size: 16px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  margin-top: 12px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo-icon {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.footer-tagline {
  font-size: 14px;
  color: var(--green);
  max-width: 240px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--green);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  margin: 0;
}

.footer-email a {
  font-size: 13px;
  color: var(--green);
  transition: color var(--transition);
}

.footer-email a:hover {
  color: var(--green);
}

/* ── Animations ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.features-grid .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.features-grid .fade-in-up:nth-child(4) { transition-delay: 0.05s; }
.features-grid .fade-in-up:nth-child(5) { transition-delay: 0.15s; }
.features-grid .fade-in-up:nth-child(6) { transition-delay: 0.25s; }

.steps-grid .fade-in-up:nth-child(2) { transition-delay: 0.15s; }
.steps-grid .fade-in-up:nth-child(3) { transition-delay: 0.3s; }

.testimonials-grid .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .fade-in-up:nth-child(3) { transition-delay: 0.2s; }

/* ── Mobile Nav Drawer ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(36, 36, 36, 0.5);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  #nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero-headline {
    font-size: clamp(36px, 9vw, 52px);
    letter-spacing: -1.5px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn-large {
    width: 100%;
    max-width: 320px;
  }

  /* Stats: 2x2 grid on mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 48px 24px;
    border-radius: var(--radius-xl);
  }

  /* Features detail */
  .feature-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-section-inner.reverse {
    direction: ltr;
  }

  .section-title {
    font-size: 28px;
  }

  .section {
    padding: 64px 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Page Hero */
  .page-hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 48px;
  }

  /* Screenshots */
  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Founder card */
  .founder-inner {
    flex-direction: column;
    align-items: center;
  }

  .founder-card {
    padding: 24px;
  }

  /* Pain/Solution */
  .pain-solution-row {
    grid-template-columns: 1fr;
  }

  .solution-side {
    border-left: none;
    border-top: 1px solid rgba(76,187,23,0.2);
  }

  .pain-side, .solution-side {
    padding: 24px;
  }

  /* Final CTA */
  .final-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta-buttons .btn-large {
    width: 100%;
    max-width: none;
  }

  .cta-banner .btn-secondary.btn-large {
    width: 100%;
    max-width: none;
    white-space: normal;
    word-break: break-word;
  }

  /* Intake */
  .intake-row {
    grid-template-columns: 1fr;
  }
}

/* ── Tablet (640–1023px) ── */
@media (min-width: 641px) and (max-width: 1023px) {
  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .section-sub {
    font-size: 16px;
    margin-bottom: 48px;
  }

  /* Nav: keep hamburger on tablet */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(36, 36, 36, 0.5);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  #nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-headline {
    font-size: clamp(40px, 6vw, 56px);
  }

  /* Stats: 2x2 grid on tablet */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  /* Features: 2 columns */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Screenshots: 2 columns */
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Steps: keep 3 col on tablet */

  /* Pricing: side by side on tablet */

  /* Testimonials: 2 columns */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Feature sections (features page) */
  .feature-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-section-inner.reverse {
    direction: ltr;
  }

  .feature-section-visual {
    height: 240px;
  }

  /* Founder card */
  .founder-card {
    padding: 32px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 56px 32px;
  }

  /* Footer: 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  /* Page hero */
  .page-hero {
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 56px;
  }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .pricing-card {
    padding: 28px 20px;
  }

  .price-amount {
    font-size: 44px;
  }

  .cta-banner h2 {
    font-size: 26px;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .hero-pills {
    gap: 8px;
  }

  .hero-pill {
    font-size: 12px;
    padding: 6px 12px;
  }

  .container {
    padding: 0 16px;
  }

  .trial-cta-inner {
    padding: 0 8px;
  }

  .trial-cta-inner h2 {
    font-size: 28px;
  }

  .stat-number {
    font-size: 28px;
  }
}

/* ── Touch target & overflow safety ── */
@media (max-width: 1023px) {
  /* Min touch targets */
  .btn-primary,
  .btn-secondary,
  .btn-white,
  .nav-links a,
  .faq-question,
  .filter-btn {
    min-height: 44px;
  }

  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
  }

  img, video, iframe, svg {
    max-width: 100%;
    height: auto;
  }

  /* Hide nav CTA on tablet/desktop-small where hamburger is shown */
  .nav-cta {
    display: none;
  }
}

/* ── Mobile-specific fixes (≤639px) ── */
@media (max-width: 639px) {
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Comfortable section padding */
  section {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Minimum font size */
  p, li, span {
    font-size: max(15px, 1em);
  }

  /* Minimum tap targets */
  a, button {
    min-height: 44px;
  }

  /* Images never overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Nav: show "Claim Your Spot" on mobile, smaller */
  .nav-cta {
    display: inline-flex;
    font-size: 13px;
    padding: 8px 14px;
    min-height: 36px;
  }

  /* Hero headline: clamp down to 28px minimum on small phones */
  .hero-headline {
    font-size: clamp(28px, 7vw, 48px);
    letter-spacing: -1px;
  }

  /* Hero sub: slightly smaller */
  .hero-sub {
    font-size: 16px;
  }

  /* CTA buttons: stack full-width */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas a,
  .hero-ctas button {
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Feature pills: wrap, each pill full-width on tiny screens */
  .hero-pills {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .hero-pill {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
