/* legal/toolvario/layout.css
 * Layout components for Toolvario — toolv-prefixed classes.
 * Loaded alongside base.css and brand.css on every page. */

/* ─── Hero (index page) ─── */
.toolvHero {
  background: #07201d;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.toolvHeroBand {
  display: flex;
  align-items: stretch;
  min-height: 480px;
}
.toolvHeroText {
  flex: 1 1 480px;
  padding: 4rem 3rem 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.toolvEyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2dd4bf;
  margin-bottom: 1rem;
  display: block;
}
.toolvHeroText h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.toolvHeroSub {
  font-size: 1.05rem;
  color: #99f6e4;
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 420px;
}
.toolvPricePill {
  display: inline-block;
  align-self: flex-start;
  background: #0d9488;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.toolvHeroCtas { display: flex; gap: 1rem; flex-wrap: wrap; }
.toolvBtnPrimary {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  padding: 0.7rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.toolvBtnPrimary:hover { background: #0f766e; }
.toolvBtnGhost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.25);
  color: #99f6e4;
  padding: 0.7rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.toolvBtnGhost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* Geometric panel (right side of hero) */
.toolvHeroPanel {
  flex: 0 0 400px;
  background: #0d9488;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3rem 3rem 5rem;
}
.toolvPhoneMock {
  width: 160px;
  height: 280px;
  background: #07201d;
  border-radius: 22px;
  border: 3px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.toolvPhoneNotch {
  width: 60px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin: 12px auto 0;
}
.toolvPhoneScreen {
  margin: 12px 10px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.toolvPlayCircle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toolvPlayCircle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.toolvPhoneBars {
  width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.toolvPhoneBar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.toolvPhoneBar:nth-child(1) { width: 80%; }
.toolvPhoneBar:nth-child(2) { width: 60%; }

/* ─── Trust bar ─── */
.toolvTrustBar {
  background: #fff;
  border-bottom: 1px solid #99f6e4;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.toolvTrustItem {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  border-right: 1px solid #d1faf4;
}
.toolvTrustItem:last-child { border-right: none; }
.toolvTrustItem .toolvTrustIcon { font-size: 1.1rem; }

/* ─── Feature rows ─── */
.toolvFeatureSection {
  padding: 4rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.toolvFeatureSection > h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #07201d;
  margin: 0 0 3rem;
  text-align: center;
}
.toolvFeatureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.toolvFeatureCard {
  background: #fff;
  border: 1px solid #d1faf4;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.toolvFeatureCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13,148,136,0.12);
}
.toolvFeatIconWrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f0fdfa;
  border: 2px solid #99f6e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 1.1rem;
}
.toolvFeatureCard h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #07201d;
  margin: 0 0 0.55rem;
}
.toolvFeatureCard p {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

/* ─── How it works — vertical steps ─── */
.toolvStepsSection {
  background: #fff;
  padding: 4rem 2.5rem;
  border-top: 1px solid #d1faf4;
  border-bottom: 1px solid #d1faf4;
}
.toolvStepsInner {
  max-width: 760px;
  margin: 0 auto;
}
.toolvStepsInner > h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #07201d;
  margin: 0 0 3rem;
  text-align: center;
}
.toolvStepsList {
  position: relative;
  padding-left: 2rem;
}
.toolvStepsList::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #d1faf4;
}
.toolvStepItem {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.toolvStepItem:last-child { margin-bottom: 0; }
.toolvStepMarker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.toolvStepContent { padding-top: 0.5rem; }
.toolvStepContent h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #07201d;
  margin: 0 0 0.35rem;
}
.toolvStepContent p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ─── Pricing block ─── */
.toolvPricingSection {
  padding: 4rem 2.5rem;
  background: #f0fdfa;
  text-align: center;
}
.toolvPricingBlock {
  display: inline-block;
  background: #fff;
  border: 2px solid #99f6e4;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(13,148,136,0.08);
}
.toolvPricingBlock h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
}
.toolvPriceAmount {
  font-size: 4rem;
  font-weight: 900;
  color: #07201d;
  line-height: 1;
  margin: 0 0 0.25rem;
}
.toolvPriceSub {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0 0 2rem;
}
.toolvPriceChecks {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  text-align: left;
}
.toolvPriceChecks li {
  font-size: 0.925rem;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #d1faf4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.toolvPriceChecks li:last-child { border-bottom: none; }
.toolvPriceChecks li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d9488;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9 L7.5 12.5 L14 6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ─── Page hero (inner pages) ─── */
.toolvPageHero {
  background: linear-gradient(135deg, #07201d 0%, #115e59 100%);
  color: #fff;
  padding: 3rem 2.5rem 2.5rem;
}
.toolvPageHero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  max-width: 1100px;
}
.toolvPageHero p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0.6rem 0 0;
  max-width: 560px;
  line-height: 1.6;
  color: #99f6e4;
}

/* ─── Inline anchor nav (legal pages) ─── */
.toolvAnchorNav {
  background: #fff;
  border-bottom: 1px solid #d1faf4;
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.toolvAnchorNav span {
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}
.toolvAnchorNav a {
  color: #6b7280;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.toolvAnchorNav a:hover { border-color: #0d9488; color: #0d9488; }

/* ─── Legal content ─── */
.toolvLegalContent {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.toolvLegalContent h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #07201d;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #d1faf4;
}
.toolvLegalContent h2:first-child { margin-top: 0; border-top: none; }
.toolvLegalContent p, .toolvLegalContent li {
  font-size: 0.925rem;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 0.85rem;
}
.toolvLegalContent ul, .toolvLegalContent ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}
.toolvLegalContent a { color: #0d9488; }

/* ─── General content area ─── */
.toolvContent {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.toolvContent h1 { font-size: 1.8rem; font-weight: 800; color: #07201d; margin: 0 0 1rem; }
.toolvContent h2 { font-size: 1.2rem; font-weight: 700; color: #07201d; margin: 2rem 0 0.6rem; }
.toolvContent p, .toolvContent li { font-size: 0.925rem; color: #374151; line-height: 1.8; margin: 0 0 0.85rem; }
.toolvContent ul, .toolvContent ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.toolvContent a { color: #0d9488; }

/* ─── Highlight cards (about, contact) ─── */
.toolvHighlightCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.toolvHighlightCard {
  background: #fff;
  border: 1px solid #99f6e4;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.toolvHighlightCard .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.toolvHighlightCard h3 { font-size: 1rem; font-weight: 700; color: #07201d; margin: 0 0 0.35rem; }
.toolvHighlightCard p { font-size: 0.85rem; color: #6b7280; margin: 0; }

/* ─── Footer (3-column) ─── */
.toolvSiteFooter {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 3rem 2.5rem 1.5rem;
}
.toolvFooterGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.toolvFooterBrand .toolvFooterLogo {
  display: block;
  width: 48px;
  height: 48px;
  background-image: var(--logo-url);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 0.75rem;
}
.toolvFooterBrand .toolvBrandTitle {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.toolvFooterBrand .toolvTagline {
  font-size: 0.82rem;
  color: #5eead4;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.toolvFooterBrand .toolvDisclosure {
  font-size: 0.78rem;
  color: #2dd4bf;
  line-height: 1.6;
  border-left: 3px solid #0d9488;
  padding-left: 0.75rem;
}
.toolvFooterCol h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 1rem;
}
.toolvFooterCol ul { list-style: none; margin: 0; padding: 0; }
.toolvFooterCol ul li { margin-bottom: 0.55rem; }
.toolvFooterCol ul li a {
  color: #5eead4;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.toolvFooterCol ul li a:hover { color: #99f6e4; }
.toolvFooterContact p {
  font-size: 0.875rem;
  color: #5eead4;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.toolvFooterContact a { color: #2dd4bf; text-decoration: none; }
.toolvFooterContact a:hover { text-decoration: underline; }
.toolvFooterBottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.toolvFooterBottom p { font-size: 0.78rem; color: #6b7280; margin: 0 0 0.3rem; }
.toolvFooterBottom a { color: #5eead4; text-decoration: none; }
.toolvFooterBottom a:hover { color: #99f6e4; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .toolvHeroBand { flex-direction: column; }
  .toolvHeroPanel {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    flex: 0 0 260px;
    padding: 2rem;
    justify-content: center;
  }
  .toolvHeroText { padding: 2.5rem 1.5rem 2rem; }
  .toolvHeroText h1 { font-size: 2rem; }
  .toolvFeatureGrid { grid-template-columns: 1fr 1fr; }
  .toolvFooterGrid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .toolvFeatureGrid { grid-template-columns: 1fr; }
  .toolvTrustBar { flex-direction: column; align-items: flex-start; }
  .toolvTrustItem { border-right: none; border-bottom: 1px solid #d1faf4; width: 100%; }
  .toolvTrustItem:last-child { border-bottom: none; }
  .toolvHeroText h1 { font-size: 1.7rem; }
  .toolvFooterGrid { grid-template-columns: 1fr; gap: 1.75rem; }
  .toolvSiteFooter { padding: 2.5rem 1.25rem 1.25rem; }
  .toolvPricingBlock { padding: 2rem 1.5rem; }
  .toolvFeatureSection { padding: 2.5rem 1.25rem; }
  .toolvStepsSection { padding: 2.5rem 1.25rem; }
  .toolvAnchorNav { padding: 0.85rem 1.25rem; }
}
