/* ═══════════════════════════════════════════════════
   BENCHVINE — MAIN STYLESHEET
   Professional tools for every new beginning.
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────── */
:root {
  --blue: #2B6CB0;
  --blue-dark: #1e4e8c;
  --blue-light: #EBF4FF;
  --blue-mid: #BEE3F8;
  --green: #38A169;
  --green-light: #F0FFF4;
  --orange: #DD6B20;
  --orange-light: #FFFAF0;
  --dark: #1A202C;
  --dark-2: #2D3748;
  --gray: #718096;
  --gray-light: #A0AEC0;
  --border: #E2E8F0;
  --light: #F7FAFC;
  --white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.05);
  --shadow-blue: 0 8px 24px rgba(43, 108, 176, 0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --max-width: 1160px;
  --nav-height: 72px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ── TYPOGRAPHY ────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--dark);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--dark);
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--dark);
}

h4 {
  font-size: 1.05rem;
  color: var(--dark-2);
}

p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.75;
}

.text-blue {
  color: var(--blue);
}

.text-green {
  color: var(--green);
}

.text-orange {
  color: var(--orange);
}

.text-dark {
  color: var(--dark);
}

.text-gray {
  color: var(--gray);
}

.lead {
  font-size: 1.15rem;
  color: var(--dark-2);
  line-height: 1.8;
}

/* ── LAYOUT UTILITIES ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 36px;
}

.section-sm {
  padding-block: 56px;
}

.section-lg {
  padding-block: 120px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.gap-32 {
  gap: 32px;
}

/* ── SECTION LABELS ────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-label::before {
  display: none;
}

.section-header p {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--gray);
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--light);
  border-color: var(--gray-light);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-green:hover {
  background: #2e8a59;
  border-color: #2e8a59;
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-orange:hover {
  background: #c45f18;
  border-color: #c45f18;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.83rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1rem;
}

/* ── NAVIGATION ────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav .container {
  height: 100%;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 18px;
  height: 18px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.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);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

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

.nav-mobile .nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.nav-mobile .nav-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-direction: column;
}

.nav-mobile .btn {
  width: 100%;
  justify-content: center;
}

/* ── HERO (index page) ─────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-height) + 26px);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(43, 108, 176, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(56, 161, 105, 0.05) 0%, transparent 60%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(var(--dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero .lead {
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 380px;
  height: 420px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-card-main {
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-card-back-1 {
  top: 0;
  left: 20px;
  right: -20px;
  height: 140px;
  z-index: 1;
  background: var(--blue-light);
  border-color: var(--blue-mid);
  transform: rotate(2deg);
}

.hero-card-back-2 {
  top: 20px;
  left: -10px;
  right: 30px;
  height: 140px;
  z-index: 2;
  background: var(--green-light);
  border-color: #c6f6d5;
  transform: rotate(-1.5deg);
}

.hero-card-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-card-text-block {
  flex: 1;
  height: 10px;
  background: var(--border);
  border-radius: 4px;
}

.hero-card-text-block.short {
  max-width: 60%;
}

.hero-card-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.hero-card-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--light);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-meta {
  flex: 1;
}

.hero-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.hero-card-price {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
}

/* ── CALCULATOR HERO ───────────────────────────────── */
.calc-hero {
  padding-top: calc(var(--nav-height) + 44px);
  padding-bottom: 40px;
  background: linear-gradient(135deg, #1A3A5C 0%, var(--blue) 60%, #2E86C1 100%);
  text-align: center;
  color: var(--white);
}

.calc-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.calc-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--white);
}

.calc-hero p {
  font-size: 1rem;
  opacity: 0.88;
  max-width: 500px;
  margin: 0 auto;
  color: var(--white);
}

.calc-hero-free {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 161, 105, 0.25);
  border: 1px solid rgba(56, 161, 105, 0.5);
  color: #9BE6C0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
}

.calc-hero-free::before {
  content: "✓ ";
}

/* ── CALCULATOR LAYOUT ─────────────────────────────── */
.calc-section {
  padding: 40px 24px 64px;
  background: var(--light);
}

.calc-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── CALCULATOR PANELS ─────────────────────────────── */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.panel-icon-blue {
  background: var(--blue-light);
}

.panel-icon-green {
  background: var(--green-light);
}

/* ── FORM FIELDS ───────────────────────────────────── */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--gray);
  display: block;
  margin-top: 4px;
}

/* Tooltip */
.field-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--border);
  color: var(--gray);
  font-size: 9px;
  font-weight: 700;
  cursor: help;
  position: relative;
  flex-shrink: 0;
}

.field-tip[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  width: 200px;
  z-index: 50;
  white-space: normal;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.form-input,
.form-select {
  width: 100%;
  padding: 9px 13px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

/* Select wrapper */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
  font-size: 12px;
}

/* Prefix / suffix input wrappers */
.prefix-wrap,
.suffix-wrap {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
  pointer-events: none;
}

.input-suffix {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
  pointer-events: none;
}

.prefix-wrap .form-input {
  padding-left: 24px;
}

.suffix-wrap .form-input {
  padding-right: 28px;
}

/* Slider */
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-wrap input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.slider-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(43, 108, 176, 0.35);
}

.slider-value {
  min-width: 42px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
}

/* ── RESULTS PANEL ─────────────────────────────────── */
.results-panel {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

.result-hero {
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 18px;
  color: var(--white);
  text-align: center;
  transition: background 0.4s;
}

.result-hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 5px;
}

.result-hero-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.result-hero-sub {
  font-size: 0.78rem;
  opacity: 0.72;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.result-row:last-child {
  border-bottom: none;
}

.result-label {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 500;
  flex-shrink: 0;
}

.result-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.result-value.pos {
  color: var(--green);
}

.result-value.neg {
  color: #E53E3E;
}

.result-value.neu {
  color: var(--blue);
}

.result-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 12px 0 3px;
}

.result-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0 10px;
}

/* Revenue bar chart */
.revenue-bar-wrap {
  margin: 18px 0 4px;
}

.revenue-bar-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 7px;
}

.revenue-bar-track {
  height: 20px;
  border-radius: 5px;
  background: var(--border);
  overflow: hidden;
  display: flex;
}

.revenue-bar-seg {
  height: 100%;
  transition: width 0.35s ease;
}

.revenue-bar-seg.profit {
  background: var(--green);
}

.revenue-bar-seg.fees {
  background: var(--orange);
}

.revenue-bar-seg.expenses {
  background: #805AD5;
}

.revenue-bar-seg.mortgage {
  background: #E53E3E;
}

.revenue-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--gray);
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Break-even grid */
.breakeven-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.breakeven-card {
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.breakeven-card.orange {
  background: var(--orange-light);
}

.breakeven-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--blue);
  line-height: 1.1;
}

.breakeven-card.orange .breakeven-value {
  color: var(--orange);
}

.breakeven-desc {
  font-size: 0.65rem;
  color: var(--gray);
  margin-top: 3px;
  line-height: 1.4;
}

/* Disclaimer & print button */
.calc-disclaimer {
  background: #FFFBEB;
  border: 1px solid #F6E05E;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.72rem;
  color: #744210;
  line-height: 1.5;
  margin-top: 18px;
}

.calc-disclaimer strong {
  color: #92400E;
}

.print-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  width: 100%;
  padding: 10px 18px;
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.print-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── CROSS-SELL (calculator page) ──────────────────── */
.cross-sell {
  padding: 64px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.cross-sell-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cross-sell-header {
  text-align: center;
  margin-bottom: 40px;
}

.cross-sell-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 10px;
}

.cross-sell-header p {
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto;
}

.product-grid-calc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

.product-card-calc {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.product-card-calc:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card-calc-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 9px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
}

.product-card-calc h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-calc p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-calc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-calc-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
}

.product-card-calc-price span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
}

/* Buy button inside calc cross-sell inherits .btn.btn-primary.btn-sm */

/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 20px;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-2);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* ── PRODUCT LINE CARDS ────────────────────────────── */
.line-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.line-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line-color, var(--blue));
  opacity: 0;
  transition: opacity 0.22s;
}

.line-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.line-card:hover::before {
  opacity: 1;
}

.line-card.active {
  border-color: var(--blue);
}

.line-card.active::before {
  opacity: 1;
}

.line-card-coming {
  opacity: 0.65;
  cursor: default;
}

.line-card-coming:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.line-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.line-badge-active {
  background: var(--green-light);
  color: var(--green);
}

.line-badge-soon {
  background: var(--light);
  color: var(--gray);
}

.line-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.line-icon svg {
  width: 26px;
  height: 26px;
}

.line-card h3 {
  margin-bottom: 8px;
}

.line-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.line-products-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
}

.line-products-count strong {
  color: var(--dark);
}

/* ── PRODUCT CARDS ─────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-card-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.product-type-spreadsheet {
  background: #EBF4FF;
  color: var(--blue);
}

.product-type-guide {
  background: #FAF5FF;
  color: #6B46C1;
}

.product-type-templates {
  background: #FFFAF0;
  color: var(--orange);
}

.product-type-planner {
  background: var(--green-light);
  color: var(--green);
}

.product-type-documents {
  background: #FFF5F5;
  color: #C53030;
}

.product-type-course {
  background: #E6FFFA;
  color: #2C7A7B;
}

.product-type-tool {
  background: var(--light);
  color: var(--gray);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-card-body {
  padding: 16px 24px 20px;
  flex: 1;
}

.product-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-body p {
  font-size: 0.87rem;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.6;
}

.product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-feature-tag {
  padding: 3px 10px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--dark-2);
}

.product-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--light);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark);
  line-height: 1;
}

.product-price-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: 3px;
}

.product-card-actions {
  display: flex;
  gap: 8px;
}

/* ── STORE LINKS SECTION ───────────────────────────── */
.store-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: var(--transition);
}

.store-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.store-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.8rem;
}

.store-icon-etsy {
  background: #FFF1ED;
}

.store-icon-gumroad {
  background: #FFF0F5;
}

.store-info {
  flex: 1;
}

.store-info h3 {
  margin-bottom: 6px;
}

.store-info p {
  font-size: 0.9rem;
}

/* ── CTA BANNER ────────────────────────────────────── */
.cta-banner {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner-content h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── ABOUT / FEATURES ──────────────────────────────── */
.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-content {
  flex: 1;
}

.feature-content h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-content p {
  font-size: 0.9rem;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 260px;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

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

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── PAGE HEROES ───────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 64px;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 700px;
}

.page-hero .section-label {
  margin-bottom: 14px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .lead {
  margin-bottom: 28px;
}

/* ── BREADCRUMB ────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--gray-light);
}

/* ── FILTER TABS ───────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ── ABOUT PAGE ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-stat-card {
  background: var(--white);
  border: 1px solid var(--blue-mid);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-stat-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-stat-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.about-stat-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
  line-height: 1;
}

.about-stat-lbl {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ── SCROLL ANIMATIONS ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── BG UTILITIES ──────────────────────────────────── */
.bg-light {
  background: var(--light);
}

.bg-blue {
  background: var(--blue-light);
}

.bg-dark {
  background: var(--dark);
}

/* ── DIVIDER ───────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: 0;
}

/* ── COMING SOON OVERLAY ───────────────────────────── */
.coming-soon-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 12px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .results-panel {
    position: static;
  }

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

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

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .cta-banner {
    flex-direction: column;
    padding: 40px 32px;
  }

  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner-actions .btn {
    justify-content: center;
  }

  .store-card {
    flex-direction: column;
    text-align: center;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .trust-bar-inner {
    gap: 20px;
  }

  .trust-divider {
    display: none;
  }
}

@media (max-width: 580px) {
  .panel {
    padding: 20px 16px;
  }
}

@media (max-width: 540px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .container {
    padding-inline: 16px;
  }

  .section {
    padding-block: 64px;
  }

  .cta-banner {
    padding: 32px 24px;
  }
}

@media print {

  .nav,
  .calc-hero,
  .inputs-panel,
  .cross-sell,
  .footer,
  .print-btn,
  .revenue-bar-wrap {
    display: none !important;
  }

  body {
    background: white;
  }

  .calc-section {
    padding: 0;
  }

  .calc-grid {
    display: block;
  }

  .results-panel {
    position: static;
    box-shadow: none;
  }

  .panel {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}