/* extras.css — draft v2 additions */

/* HERO */
.v2-hero {
  background: linear-gradient(135deg, #0f2b46 0%, #1d4978 100%);
  color: white;
  padding: 90px 0 70px;
  text-align: center;
}
.v2-hero h1 { font-size: 3rem; margin-bottom: 14px; line-height: 1.15; }
.v2-hero .v2-lede { font-size: 1.35rem; max-width: 820px; margin: 0 auto 28px; line-height: 1.55; opacity: 0.95; }
.v2-hero .v2-tagline { font-size: 1.05rem; color: #87ceeb; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; font-weight: 700; }
.v2-hero .v2-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* STORY / NARRATIVE SECTIONS */
.v2-story { background: #fff; padding: 70px 0; }
.v2-story-inner { max-width: 820px; margin: 0 auto; }
.v2-story h2 { font-size: 2.1rem; margin-bottom: 24px; color: #0f2b46; line-height: 1.25; }
.v2-story h3 { font-size: 1.4rem; margin: 32px 0 14px; color: #0f2b46; }
.v2-story p { font-size: 1.08rem; line-height: 1.7; color: #333; margin-bottom: 18px; }
.v2-story p.v2-intro { font-size: 1.25rem; line-height: 1.6; color: #1d4978; font-weight: 500; }
.v2-story .v2-metaphor {
  background: #f0f7ff;
  border-left: 4px solid #2196f3;
  padding: 22px 26px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
  font-size: 1.12rem;
  font-style: italic;
  color: #1d4978;
  line-height: 1.55;
}
.v2-story .v2-callout {
  background: #fff8e1;
  border-left: 4px solid #ff9800;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
  color: #5d4037;
  font-size: 1.02rem;
}
.v2-story ul { font-size: 1.05rem; line-height: 1.75; color: #333; margin: 16px 0 18px 0; padding-left: 28px; }
.v2-story ul li { margin-bottom: 10px; }
.v2-story strong { color: #0f2b46; }

/* PROBLEMS TODAY */
.v2-problems { padding: 70px 0; background: #f8fafb; }
.v2-problems h2 { text-align: center; font-size: 2rem; color: #0f2b46; margin-bottom: 14px; }
.v2-problems .v2-subtitle { text-align: center; color: #666; font-size: 1.12rem; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.v2-problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.v2-problem-card { background: #fff; padding: 28px; border-radius: 8px; border-top: 4px solid #e65100; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.v2-problem-card h3 { color: #0f2b46; font-size: 1.2rem; margin-bottom: 10px; }
.v2-problem-card p { color: #444; font-size: 0.98rem; line-height: 1.58; }
.v2-problem-card .v2-cost {
  color: #c62828;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 14px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

/* TOMORROW / HORIZON */
.v2-tomorrow { padding: 70px 0; background: #fff; }
.v2-tomorrow .v2-future {
  background: #1d4978;
  color: white;
  padding: 46px 36px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.v2-tomorrow .v2-future h2 { font-size: 1.8rem; margin-bottom: 16px; color: white; }
.v2-tomorrow .v2-future .v2-section-label {
  color: #87ceeb;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 8px;
}
.v2-future-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.v2-future-item:last-child { border-bottom: none; }
.v2-future-item .v2-icon { font-size: 2.1rem; flex-shrink: 0; }
.v2-future-item h4 { color: white; font-size: 1.15rem; margin-bottom: 8px; }
.v2-future-item p { color: rgba(255,255,255,0.88); line-height: 1.58; margin: 0; font-size: 0.98rem; }

/* BENEFITS */
.v2-benefits { padding: 70px 0; background: #f0f7ff; }
.v2-benefits h2 { text-align: center; font-size: 2rem; color: #0f2b46; margin-bottom: 40px; }
.v2-benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.v2-benefit-card { background: white; padding: 26px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.v2-benefit-card .v2-check { color: #2e7d32; font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.v2-benefit-card h3 { color: #0f2b46; font-size: 1.15rem; margin-bottom: 10px; }
.v2-benefit-card p { color: #444; font-size: 0.95rem; line-height: 1.58; }

/* DIFFERENTIATOR */
.v2-differentiator { padding: 70px 0; background: #0f2b46; color: white; }
.v2-differentiator h2 { color: white; font-size: 2rem; margin-bottom: 28px; text-align: center; }
.v2-differentiator .v2-diff-list { max-width: 820px; margin: 0 auto; }
.v2-differentiator .v2-diff-item { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 1.05rem; line-height: 1.6; }
.v2-differentiator .v2-diff-item:before { content: "→ "; color: #87ceeb; font-weight: 700; }
.v2-differentiator strong { color: #ffab40; }

/* ARCHITECTURE DIAGRAMS */
.v2-arch { padding: 70px 0; background: #fff; }
.v2-arch h2 { color: #0f2b46; font-size: 2rem; text-align: center; margin-bottom: 14px; }
.v2-arch .v2-subtitle { text-align: center; color: #666; font-size: 1.12rem; margin-bottom: 44px; max-width: 700px; margin-left: auto; margin-right: auto; }
.v2-arch-block { max-width: 900px; margin: 0 auto 48px; }
.v2-arch-block h3 { color: #0f2b46; font-size: 1.5rem; margin-bottom: 14px; }
.v2-arch-block p { color: #333; font-size: 1.05rem; line-height: 1.68; margin-bottom: 18px; }
.v2-diagram { background: #f8fafb; border: 2px solid #d0dce8; border-radius: 8px; padding: 32px; margin: 24px 0; text-align: center; }
.v2-diagram svg { max-width: 100%; height: auto; }
.v2-diagram .v2-diagram-caption { font-size: 0.9rem; color: #666; margin-top: 16px; font-style: italic; }

/* LAYERED / STACKED VISUAL BLOCKS */
.v2-layers { max-width: 760px; margin: 30px auto; }
.v2-layer {
  background: white;
  border: 2px solid #d0dce8;
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.v2-layer-num {
  background: #1d4978;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.v2-layer-body h4 { color: #0f2b46; font-size: 1.05rem; margin-bottom: 4px; }
.v2-layer-body p { color: #555; font-size: 0.92rem; line-height: 1.5; margin: 0; }

/* COMPARISON TABLE */
.v2-compare { padding: 60px 0; background: #f8fafb; }
.v2-compare h2 { text-align: center; color: #0f2b46; font-size: 2rem; margin-bottom: 32px; }
.v2-compare-table { max-width: 900px; margin: 0 auto; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.v2-compare-table table { width: 100%; border-collapse: collapse; }
.v2-compare-table th, .v2-compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #eef2f6; }
.v2-compare-table th { background: #0f2b46; color: white; font-weight: 700; }
.v2-compare-table td:first-child { background: #f0f7ff; font-weight: 600; color: #0f2b46; }
.v2-compare-table td.v2-yes { color: #2e7d32; font-weight: 700; }
.v2-compare-table td.v2-no { color: #c62828; }
.v2-compare-table td.v2-partial { color: #e65100; }

/* USE CASE BLOCKS */
.v2-usecase { padding: 70px 0; background: #fff; }
.v2-usecase h2 { text-align: center; color: #0f2b46; font-size: 2rem; margin-bottom: 40px; }
.v2-usecase-block { max-width: 900px; margin: 0 auto 44px; background: #f8fafb; padding: 34px; border-radius: 10px; border-left: 6px solid #2196f3; }
.v2-usecase-block .v2-persona { color: #1d4978; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 6px; }
.v2-usecase-block h3 { color: #0f2b46; font-size: 1.4rem; margin-bottom: 12px; }
.v2-usecase-block p { color: #333; font-size: 1.05rem; line-height: 1.68; margin-bottom: 14px; }
.v2-usecase-block .v2-outcome { background: #e8f5e9; padding: 14px 18px; border-radius: 6px; color: #1b5e20; font-size: 0.98rem; margin-top: 16px; }
.v2-usecase-block .v2-outcome strong { color: #1b5e20; }

/* CLOSING */
.v2-closing { padding: 80px 0; background: linear-gradient(135deg, #1d4978 0%, #0f2b46 100%); color: white; text-align: center; }
.v2-closing h2 { color: white; font-size: 2.2rem; margin-bottom: 16px; }
.v2-closing p { font-size: 1.2rem; margin-bottom: 28px; opacity: 0.95; max-width: 700px; margin-left: auto; margin-right: auto; }

/* DRAFT BANNER */
.v2-draft-banner { background: #ff9800; color: #0f2b46; text-align: center; padding: 10px; font-weight: 700; font-size: 0.9rem; position: sticky; top: 0; z-index: 1000; }

/* PRODUCT NAV (sub-nav for product pages) */
.v2-subnav { background: #f0f7ff; border-bottom: 1px solid #d0dce8; padding: 14px 0; }
.v2-subnav .container { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.v2-subnav .v2-subnav-name { color: #0f2b46; font-weight: 700; font-size: 1.1rem; margin-right: 12px; }
.v2-subnav a { color: #1d4978; text-decoration: none; font-size: 0.95rem; padding: 6px 14px; border-radius: 4px; }
.v2-subnav a:hover { background: white; }
.v2-subnav a.active { background: #1d4978; color: white; }

/* RESPONSIVE */
@media (max-width: 700px) {
  .v2-hero h1 { font-size: 2.2rem; }
  .v2-hero .v2-lede { font-size: 1.1rem; }
  .v2-story h2 { font-size: 1.7rem; }
  .v2-arch h2 { font-size: 1.7rem; }
}

/* ============================================================
   v3 — CTO-targeted "sticker" cards (2026-04-20)
   Tight bullet lists, flex column so CTAs align at bottom
   ============================================================ */
.product-card { display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 4px; }
.product-card h3 .acronym { color: #0f2b46; font-weight: 900; }
.product-card h3 .expansion { color: #446; font-weight: 600; font-size: 0.85em; display: block; margin-top: 2px; }
.product-card .tagline { font-size: 0.85rem; color: #5a7a9c; font-style: italic; margin-bottom: 14px; font-weight: 500; }
.product-card .sticker-list { list-style: none; padding: 0; margin: 0 0 18px 0; }
.product-card .sticker-list li { color: #374151; font-size: 0.88rem; margin-bottom: 9px; line-height: 1.45; padding-left: 16px; position: relative; }
.product-card .sticker-list li::before { content: "▸"; position: absolute; left: 0; color: #446d9c; font-weight: 700; }
.product-card .sticker-list li strong { color: #0f2b46; font-weight: 700; }
.product-card .card-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.product-card .card-ctas .btn { font-size: 0.82rem; padding: 7px 14px; }

/* At-a-glance table on product pages */
.at-a-glance { background: #f8fafb; border-left: 4px solid #446d9c; border-radius: 6px; padding: 20px 24px; margin: 24px 0; }
.at-a-glance dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.at-a-glance dt { font-weight: 700; color: #0f2b46; font-size: 0.92rem; }
.at-a-glance dd { color: #374151; font-size: 0.92rem; margin: 0; line-height: 1.55; }
.at-a-glance .product-category { font-size: 1rem; color: #446d9c; font-weight: 600; margin-bottom: 14px; }

/* Editions comparison table */
.editions-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.06); border-radius: 8px; overflow: hidden; }
.editions-table th, .editions-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e5e7eb; font-size: 0.88rem; vertical-align: top; }
.editions-table thead th { background: #0f2b46; color: #fff; font-weight: 700; font-size: 0.85rem; text-align: center; }
.editions-table thead th:first-child { text-align: left; }
.editions-table tbody tr:nth-child(even) { background: #f8fafb; }
.editions-table td:first-child { font-weight: 600; color: #0f2b46; }
.editions-table td:not(:first-child) { text-align: center; }
.editions-table .price-row td { font-weight: 700; color: #0f2b46; background: #e9f1fb; }
.editions-table .check { color: #22c55e; font-weight: 700; font-size: 1.05em; }
.editions-table .dash { color: #9ca3af; }

/* ============================================================
   v3 — Products nav dropdown (2026-04-21)
   ============================================================ */
nav ul li.nav-dropdown { position: relative; }
nav ul li.nav-dropdown > a::after { content: " ▾"; font-size: 0.8em; opacity: 0.7; }
nav ul li.nav-dropdown .nav-submenu {
  display: none; position: absolute; top: 100%; left: -12px;
  background: #0f2b46; min-width: 260px; border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18); padding: 8px 0; z-index: 100;
  list-style: none; margin: 0;
}
nav ul li.nav-dropdown:hover .nav-submenu,
nav ul li.nav-dropdown:focus-within .nav-submenu { display: block; }
nav ul li.nav-dropdown .nav-submenu li { display: block; margin: 0; padding: 0; }
nav ul li.nav-dropdown .nav-submenu li a {
  display: block; padding: 9px 18px; color: #fff; text-decoration: none;
  font-size: 0.88rem; font-weight: 500; border-left: 3px solid transparent;
}
nav ul li.nav-dropdown .nav-submenu li a:hover {
  background: rgba(135,206,235,0.12); border-left-color: #87ceeb;
}
nav ul li.nav-dropdown .nav-submenu li.submenu-divider {
  padding: 8px 18px 4px; color: #87ceeb; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 6px;
}
nav ul li.nav-dropdown .nav-submenu li.submenu-divider:first-child {
  border-top: none; margin-top: 0;
}

/* Plugins page — plugin card grid */
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
.plugin-card { background: #fff; border-radius: 8px; padding: 20px; border-left: 4px solid #446d9c; box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: transform 0.15s, box-shadow 0.15s; }
.plugin-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.plugin-card .badge-sku { display: inline-block; background: #e9f1fb; color: #0f2b46; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.plugin-card .badge-sku.premium { background: #fff3cd; color: #7c5800; }
.plugin-card .badge-sku.community { background: #d1e7dd; color: #0f5132; }
.plugin-card h4 { color: #0f2b46; font-size: 1rem; margin: 0 0 4px; font-weight: 700; }
.plugin-card .subtitle { color: #5a7a9c; font-size: 0.85rem; margin-bottom: 10px; font-style: italic; }
.plugin-card p { color: #374151; font-size: 0.88rem; margin-bottom: 10px; line-height: 1.5; }
.plugin-card .plugin-meta { color: #888; font-size: 0.78rem; }

/* Nav CTA group — Start Free + Buy Now together on the right */
.nav-cta-group { display: flex; gap: 10px; align-items: center; }
.nav-cta-free { background: #87ceeb !important; color: #0f2b46 !important; }
.nav-cta-free:hover { background: #a8d8ed !important; }

/* Homepage product-name strip — sits between nav and hero */
.product-strip { background: #1d4978; border-bottom: 1px solid rgba(135,206,235,0.25); padding: 12px 0; text-align: center; }
.product-strip .container { display: flex !important; align-items: center; justify-content: center !important; gap: 20px; flex-wrap: wrap; }
/* Scroll anchor offset so clicking a strip badge doesn't land under the sticky nav+strip */
#product-openutm, #product-ivmia, #product-nivmia, #product-vaultsync { scroll-margin-top: 180px; }
html { scroll-behavior: smooth; }
.product-strip-label { color: #87ceeb; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.product-strip-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.product-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(135,206,235,0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.product-strip-badge:hover { background: rgba(135,206,235,0.2); border-color: #87ceeb; transform: translateY(-1px); text-decoration: none; }
.product-strip-badge .icon { font-size: 1.05rem; }
.product-strip-badge .name { letter-spacing: 0.02em; }
@media (max-width: 700px) {
  .product-strip-badge { font-size: 0.82rem; padding: 6px 10px; }
  .product-strip-label { width: 100%; text-align: center; margin-bottom: 4px; }
}

/* Homepage core-four 2x2 layout — two rows of two wide cards */
.product-grid.product-grid-2x2 { grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 820px) { .product-grid.product-grid-2x2 { grid-template-columns: 1fr; } }

/* Homepage core-four product carousel — Amazon/Netflix-style horizontal snap scroller */
.product-carousel { position: relative; max-width: 1200px; margin: 0 auto; }
.product-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}
.product-carousel-track::-webkit-scrollbar { display: none; }
.product-carousel-track > .product-card {
  flex: 0 0 min(88%, 780px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.product-carousel-track > .product-card .sticker-list li { font-size: 0.95rem; line-height: 1.55; margin-bottom: 10px; }
.product-carousel-track > .product-card .tagline { font-size: 0.95rem; }
.product-carousel-track > .product-card h3 { font-size: 1.4rem; }
.product-carousel-track > .product-card .icon { font-size: 2.8rem; margin-bottom: 14px; }

/* Nav buttons */
.product-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #0f2b46;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.product-carousel-btn:hover { background: #1d4978; transform: translateY(-50%) scale(1.08); }
.product-carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.product-carousel-btn.prev { left: -8px; }
.product-carousel-btn.next { right: -8px; }

/* Dots / position indicator */
.product-carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.product-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.product-carousel-dot.active { background: #0f2b46; transform: scale(1.3); }

/* Position label */
.product-carousel-label {
  text-align: center;
  color: #5a7a9c;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .product-carousel-btn { width: 42px; height: 42px; font-size: 1.1rem; }
  .product-carousel-track > .product-card { flex-basis: 92%; }
}
