/* ============================================================
   Red Planet Software — Main Stylesheet
   Fonts: Space Grotesk (headings), IBM Plex Sans (body)
   Brand: #660000 (planet-red)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- Tokens --- */
:root {
  --planet-red: #660000;
  --ember: #8c1f1f;
  --deep-red: #4a0000;
  --graphite: #201f22;
  --steel: #6b7178;
  --bg: #f6f4f2;
  --bg-alt: #eae7e3;
  --white: #ffffff;
  --teal: #2e6e72;
  --teal-light: #e8f4f5;
  --steel-light: #d6d9dc;
  --steel-pale: #eef0f1;
  --cut-1: #1c3f7a;
  --cut-2: #e8b800;
  --cut-3: #2f8f3e;
  --cut-4: #2ba8c4;
  --text: #2d2b2e;
  --text-light: #5a575d;
  --border: #d5d1cc;
  --shadow: rgba(32,31,34,.08);
  --radius: 3px;
  --max-w: 1140px;
  --head-font: 'Space Grotesk', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--planet-red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ember); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--head-font); font-weight: 600; line-height: 1.2; color: var(--graphite); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* --- Layout --- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-dark { background: var(--graphite); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.8); }
.section-alt { background: var(--bg-alt); }
.section-red { background: var(--planet-red); color: var(--white); }
.section-red h2, .section-red h3 { color: var(--white); }
.section-red p { color: rgba(255,255,255,.85); }

.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head .label { font-family: var(--head-font); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--planet-red); margin-bottom: 8px; }
.section-dark .section-head .label { color: #f09090; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 1.1rem; color: var(--text-light); }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* --- Cut-Pattern Bar Motif --- */
.bar-motif { display: flex; gap: 3px; margin-bottom: 32px; }
.bar-motif span { height: 4px; border-radius: 2px; background: var(--planet-red); }
.bar-motif span:nth-child(1) { width: 40px; }
.bar-motif span:nth-child(2) { width: 24px; }
.bar-motif span:nth-child(3) { width: 16px; opacity: .5; }
.section-dark .bar-motif span { background: #f09090; }
.section-red .bar-motif span { background: rgba(255,255,255,.6); }

/* --- Header --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--steel-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text .name {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--planet-red);
  line-height: 1.2;
}
.brand-text .tagline {
  font-size: 0.72rem;
  color: var(--steel);
  line-height: 1.3;
}

/* --- Cut-bar divider --- */
.cut-bar {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.cut-bar .seg {
  display: block;
  border-right: 3px solid var(--bg);
}
.cut-bar .seg:last-child { border-right: none; }
.cut-divider {
  height: 10px;
  margin: 0;
}

/* --- Nav --- */
.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--graphite);
  font-size: .9rem;
  font-weight: 500;
  border-radius: 3px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.main-nav a:hover { color: var(--planet-red); }
.main-nav a.active { color: var(--planet-red); font-weight: 600; }
.nav-toggle { display: none; background: none; border: none; color: var(--graphite); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--graphite) 0%, #2a2830 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,0,0,.3), transparent 70%);
}
.hero h1 { margin-bottom: 16px; color: #fff; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.75); max-width: 56ch; }
.hero .bar-motif { margin-bottom: 24px; }
.hero .bar-motif span { background: rgba(255,255,255,.4); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--head-font);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--planet-red); color: #fff; }
.btn-primary:hover { background: var(--ember); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--planet-red); color: var(--planet-red); }
.btn-outline:hover { background: var(--planet-red); color: #fff; }
.btn-white { background: #fff; color: var(--planet-red); }
.btn-white:hover { background: var(--bg); color: var(--planet-red); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(32,31,34,.12); }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--text-light); font-size: .95rem; }

/* --- Product Cards Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 16px;
}
.product-card .card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.product-card .card-img img {
  max-height: 100%;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.product-card .price { font-family: var(--head-font); font-weight: 700; color: var(--planet-red); font-size: 1.1rem; margin-top: 8px; }
.product-card .card-actions { padding: 0 24px 24px; display: flex; gap: 8px; }

/* --- Product Page --- */
.product-hero {
  background: linear-gradient(135deg, var(--graphite) 0%, #2a2830 100%);
  color: var(--white);
  padding: 80px 0 60px;
}
.product-hero h1 { color: #fff; margin-bottom: 12px; }
.product-hero p { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 56ch; }
.product-hero .hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.product-hero .hero-img {
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

/* Feature walkthrough sections */
.feature-section {
  padding: 80px 0;
}
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-layout.reverse { direction: rtl; }
.feature-layout.reverse > * { direction: ltr; }
.feature-text h3 { margin-bottom: 12px; }
.feature-text p { color: var(--text-light); }
.feature-text ul { margin: 12px 0; padding-left: 20px; }
.feature-text ul li { margin-bottom: 6px; color: var(--text-light); }
.feature-text ul li strong { color: var(--text); }
.feature-img img {
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

/* Screenshot gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.screenshot-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
}
.screenshot-item img { width: 100%; }
.screenshot-item .caption {
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--text-light);
  text-align: center;
}

/* PDF gallery */
.pdf-gallery {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.pdf-sample { text-align: center; }
.pdf-sample img {
  border-radius: 4px;
  box-shadow: 0 2px 12px var(--shadow);
}
.pdf-label {
  margin-top: 8px;
  font-size: .8rem;
  color: var(--text-light);
}

/* --- Stats Strip --- */
.stats-strip { padding: 48px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-cell .value {
  font-family: var(--head-font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
}
.stat-cell .label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

/* --- Versatility Strip --- */
.versatility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.versatility-card {
  text-align: center;
}
.versatility-card img {
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--shadow);
  margin-bottom: 16px;
}
.versatility-card h4 { margin-bottom: 6px; }
.versatility-card p { font-size: .9rem; color: var(--text-light); }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(32,31,34,.12); }
.pricing-card .seats {
  font-family: var(--head-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--graphite);
}
.pricing-card .seats-label { font-size: .85rem; color: var(--steel); margin-bottom: 12px; }
.pricing-card .price-val {
  font-family: var(--head-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--planet-red);
  margin-bottom: 4px;
}
.pricing-card .price-period { font-size: .8rem; color: var(--steel); margin-bottom: 16px; }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card.poa { border: 2px dashed var(--border); }
.pricing-card.poa .price-val { font-size: 1.2rem; color: var(--steel); }

/* Pricing product tabs */
.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}
.pricing-tab {
  padding: 10px 20px;
  font-family: var(--head-font);
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  transition: all .2s;
}
.pricing-tab:hover { border-color: var(--planet-red); color: var(--planet-red); }
.pricing-tab.active { background: var(--planet-red); color: #fff; border-color: var(--planet-red); }
.pricing-panel { display: none; }
.pricing-panel.active { display: block; }

/* --- CTA --- */
.cta {
  text-align: center;
  padding: 80px 0;
}
.cta h2 { margin-bottom: 12px; }
.cta p { margin-bottom: 24px; max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--graphite);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--body-font);
  font-size: .95rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--planet-red);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Downloads --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.download-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 32px 28px;
  text-align: center;
  transition: transform .2s;
}
.download-card:hover { transform: translateY(-2px); }
.download-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.download-card h3 { margin-bottom: 8px; }
.download-card > p { color: var(--text-light); font-size: .9rem; margin-bottom: 20px; min-height: 3.6em; }
.download-meta {
  display: flex; justify-content: center; gap: 16px;
  font-size: .8rem; color: var(--steel); margin-bottom: 20px;
}
.btn-block { display: block; width: 100%; text-align: center; }
.download-links {
  display: flex; justify-content: center; gap: 20px;
  margin-top: 14px; font-size: .85rem;
}
.download-links a { color: var(--teal); text-decoration: none; }
.download-links a:hover { text-decoration: underline; }

/* --- Footer --- */
.site-footer {
  background: var(--graphite);
  color: rgba(255,255,255,.6);
  padding: 40px 0 24px;
  font-size: .85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand p { margin-top: 12px; max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid var(--steel-light);
    box-shadow: 0 8px 24px var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }

  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: 2rem; }

  .product-hero .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .feature-layout { grid-template-columns: 1fr; gap: 24px; }
  .feature-layout.reverse { direction: ltr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .versatility-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .products-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }

  .screenshot-gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 540px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .pdf-gallery { flex-direction: column; align-items: center; }
}

/* ============================================================
   Products page — page-hero, card-grid, tags, ghost buttons
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--graphite) 0%, #2a2830 100%);
  color: var(--white);
  padding: 64px 0 48px;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 58ch; }
.page-hero + section { padding-top: 48px; }
.eyebrow {
  display: block;
  font-family: var(--head-font);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card-grid .card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
}
.card-grid .card h3 { margin-bottom: 8px; }
.card-grid .card p { color: var(--text-light); font-size: .95rem; flex: 1; }
.tag {
  display: inline-block;
  font-family: var(--head-font);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-family: var(--head-font);
  font-size: .9rem;
  font-weight: 600;
  color: var(--planet-red);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
  text-decoration: none;
  margin-top: 12px;
}
.btn-ghost:hover { color: var(--ember); }

.cta-band {
  background: var(--planet-red);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--planet-red);
}
.cta-band .btn-primary:hover {
  background: var(--bg);
  color: var(--planet-red);
}

/* ============================================================
   Pricing page — product sections with images and Buy buttons
   ============================================================ */
.pricing-product {
  margin-top: 48px;
  padding-top: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}
.pricing-product:first-of-type { margin-top: 24px; }
.pricing-product:last-of-type { border-bottom: none; }

.pricing-product-title {
  font-size: 1.7rem;
  color: var(--planet-red);
  margin-bottom: 16px;
}
.pricing-product-title a {
  color: var(--planet-red);
  text-decoration: none;
}
.pricing-product-title a:hover {
  color: var(--ember);
}

.pricing-product-image {
  max-width: 520px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 24px;
}

/* Bundle composite — two images side by side with red plus */
.pricing-bundle-images {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pricing-bundle-images img {
  max-width: 240px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}
.pricing-bundle-plus {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--planet-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Red Buy button */
.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  font-family: var(--head-font);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-decoration: none;
  background: #cc0000;
  color: #fff;
}
.btn-buy:hover {
  background: #a30000;
  color: #fff;
}
.btn-buy:active { transform: scale(.97); }

/* Brand button (used on thank-you page) */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--head-font);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-decoration: none;
  background: var(--planet-red);
  color: #fff;
}
.btn-brand:hover { background: var(--ember); color: #fff; }
.btn-brand.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ============================================================
   Thank-you page
   ============================================================ */
.thankyou-tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2f8f3e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.thankyou-steps { padding: 0 0 0 4px; }
.thankyou-list {
  list-style: none;
  counter-reset: steps;
  padding: 0;
}
.thankyou-list li {
  counter-increment: steps;
  padding: 10px 0 10px 48px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.5;
}
.thankyou-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--planet-red);
  color: #fff;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thankyou-note {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* Alt section (thank-you CTA area) */
section.alt {
  background: var(--bg-alt);
}

/* ============================================================
   Responsive additions for new components
   ============================================================ */
@media (max-width: 880px) {
  .card-grid { grid-template-columns: 1fr; }
  .pricing-bundle-images img { max-width: 180px; }
}

@media (max-width: 540px) {
  .pricing-bundle-images { flex-direction: column; align-items: flex-start; }
  .pricing-bundle-images img { max-width: 100%; }
}

/* ============================================================
   Image Lightbox
   ============================================================ */
.lightbox-trigger { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
  transform: scale(.92);
  transition: transform .25s ease;
}
.lightbox-overlay.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  pointer-events: none;
}
