/* The six generated marketing pages (features, pricing, tire-shop-pos, tire-inventory-management,
   customer-vehicle-management, tire-shop-software-philippines). Load after home.css and devices.css:
   the header, hero, buttons, FAQ and footer come from home.css, the device frames from devices.css.
   Only what these pages add is here. The tabs are a radio group, so they work without JavaScript. */

.stage-sub { padding-bottom: 0; }
.hero-sub { padding-bottom: 36px; }
.hero-sub h1 { font-size: 52px; line-height: 1.08; }
.hero-sub .lede { max-width: 500px; }
.chips-dark { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips-dark li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(10, 132, 255, 0.16); border: 1px solid rgba(90, 176, 255, 0.4); color: #CFE4FF; font-size: 13px; font-weight: 600; }

/* showcase: tabs (or three cards when a page has no screen to show) */
.showcase { max-width: 1160px; margin: 0 auto; padding: 36px 32px 120px; }
.tabs { margin-top: 28px; position: relative; }
.tab-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tab-row label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #C9D5E6; font-size: 15px; font-weight: 600; cursor: pointer; }
.tab-row label b { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
#t1:checked ~ .tab-row label[for="t1"], #t2:checked ~ .tab-row label[for="t2"], #t3:checked ~ .tab-row label[for="t3"], #t4:checked ~ .tab-row label[for="t4"], #t5:checked ~ .tab-row label[for="t5"], #t6:checked ~ .tab-row label[for="t6"] { background: var(--blue-d); border-color: rgba(255, 255, 255, 0.22); color: #fff; font-weight: 700; box-shadow: 0 10px 28px rgba(10, 132, 255, 0.45); }
#t1:checked ~ .tab-row label[for="t1"] b, #t2:checked ~ .tab-row label[for="t2"] b, #t3:checked ~ .tab-row label[for="t3"] b, #t4:checked ~ .tab-row label[for="t4"] b, #t5:checked ~ .tab-row label[for="t5"] b, #t6:checked ~ .tab-row label[for="t6"] b { background: rgba(255, 255, 255, 0.22); }
#t1:focus-visible ~ .tab-row label[for="t1"], #t2:focus-visible ~ .tab-row label[for="t2"], #t3:focus-visible ~ .tab-row label[for="t3"], #t4:focus-visible ~ .tab-row label[for="t4"], #t5:focus-visible ~ .tab-row label[for="t5"], #t6:focus-visible ~ .tab-row label[for="t6"] { outline: 3px solid var(--blue-xl); outline-offset: 3px; }
.tab-panel { display: none; grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; align-items: center; margin-top: 34px; }
#t1:checked ~ .tab-panels .p1, #t2:checked ~ .tab-panels .p2, #t3:checked ~ .tab-panels .p3, #t4:checked ~ .tab-panels .p4, #t5:checked ~ .tab-panels .p5, #t6:checked ~ .tab-panels .p6 { display: grid; }
.tab-dev { position: relative; display: flex; align-items: center; justify-content: center; min-height: 560px; }
.tab-dev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 132, 255, 0.34) 0%, rgba(10, 132, 255, 0) 66%); pointer-events: none; }
.tab-dev > * { position: relative; }
.tab-dev > .ipad { --w: 620px; }
.tab-dev > .iphone { --w: 240px; }
.tab-dev .devs { justify-self: auto; }
.cap { padding: 30px 32px; border-radius: 24px; border: 1px solid rgba(90, 176, 255, 0.45); background: linear-gradient(160deg, rgba(10, 132, 255, 0.2) 0%, rgba(10, 132, 255, 0.06) 100%); box-shadow: 0 24px 60px -24px rgba(10, 132, 255, 0.5); }
.cap .kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-xl); }
.cap h3 { margin-top: 10px; font-family: var(--f-head); font-weight: 600; font-size: 28px; line-height: 1.2; color: #fff; }
.cap p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: #C2CEDF; }
.cap-actions { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.cap-actions .btn { min-height: 50px; padding: 0 28px; font-size: 16px; }
.cap-actions .note { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7D8DA3; }

.cards-dark { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-dark article { padding: 26px; border-radius: 22px; border: 1px solid rgba(90, 176, 255, 0.4); background: linear-gradient(160deg, rgba(10, 132, 255, 0.18) 0%, rgba(10, 132, 255, 0.05) 100%); }
.cards-dark b { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-d); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.cards-dark h3 { margin-top: 16px; font-family: var(--f-head); font-weight: 600; font-size: 21px; line-height: 1.25; color: #fff; }
.cards-dark p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: #C2CEDF; }

/* light part: how it fits together, price strip, FAQ */
.body-sub .section { padding-top: 96px; }
.body-sub .section:first-child { padding-top: 96px; }
.body-sub .h2 { font-size: 40px; }
.flow4 { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.flow-card { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px -20px rgba(11, 17, 24, 0.16); }
.flow-card b { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-d); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.flow-card h3 { margin-top: 14px; font-family: var(--f-head); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); }
.flow-card p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.more { margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); }
.more summary { min-height: 24px; font-size: 16px; font-weight: 600; color: var(--blue-d); cursor: pointer; }
.more .steps { margin-top: 16px; display: grid; gap: 8px; counter-reset: step; }
.more .steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink); }
.more .steps li::before { content: counter(step); flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-d); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 12px; }
.detail-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 36px; }
.detail { padding-left: 16px; border-left: 3px solid #B9D2F5; }
.detail h3 { font-family: var(--f-head); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); }
.detail p { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--muted); }

.price-slim .price-band { padding: 36px 44px; }
.price-slim .price-text img { width: 36px; }
.price-slim .price-text h2 { margin-top: 0; font-size: 30px; }
.price-slim .price-head { display: flex; align-items: center; gap: 16px; }
.price-slim .price-text p { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.price-slim .price-text a { display: inline; min-height: 0; margin: 0; font-size: 14px; }
.price-slim .price-cta { display: flex; align-items: center; gap: 22px; }
.price-slim .price-cta .amount { font-size: 52px; }
.price-slim .price-cta .btn { margin-top: 0; min-height: 54px; padding: 0 32px; font-size: 16px; }
.faq-sub { margin-top: 30px; }
.foot-sub { margin-top: 96px; }

@media (max-width: 960px) {
  .tab-panel { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tab-dev { min-height: 0; padding: 18px 0; }
  .tab-dev > .ipad { --w: 480px; }
  .cards-dark { grid-template-columns: minmax(0, 1fr); }
  .flow4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero-sub { padding-bottom: 20px; }
  .hero-sub h1 { font-size: 34px; }
  .showcase { padding: 20px 20px 96px; }
  .tabs { margin-top: 22px; }
  .tab-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 8px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .tab-row label { padding-right: 16px; font-size: 14px; scroll-snap-align: start; }
  .tab-panel { margin-top: 26px; }
  .tab-dev::before { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .tab-dev > .ipad { --w: 330px; }
  .tab-dev > .iphone { --w: 212px; }
  .cap { padding: 22px 20px; border-radius: 22px; }
  .cap h3 { font-size: 22px; }
  .cap p { font-size: 15px; }
  .cap-actions .btn { flex: 1; min-height: 48px; padding: 0 24px; }
  .cards-dark article { padding: 22px 20px; }
  .body-sub .section, .body-sub .section:first-child { padding-top: 72px; }
  .body-sub .h2 { font-size: 29px; }
  .flow4 { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 26px; }
  .flow-card { padding: 16px; display: flex; gap: 14px; align-items: flex-start; }
  .flow-card b { flex: 0 0 auto; }
  .flow-card h3 { margin-top: 0; font-size: 16px; }
  .price-slim .price-band { padding: 26px 22px; }
  .price-slim .price-text h2 { font-size: 24px; }
  .price-slim .price-cta { width: 100%; }
  .price-slim .price-cta .amount { font-size: 44px; }
  .price-slim .price-cta .btn { flex: 1; }
  .foot-sub { margin-top: 72px; }
}

/* Plain tables and definition lists that search and AI crawlers can quote (features table, launch pricing). */
.page-table { overflow-x: auto; margin-top: 24px; }
.page-table table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border: 1px solid #e2e8f0; }
.page-table caption { text-align: left; font-size: 14px; color: #475569; padding-bottom: 8px; }
.page-table th, .page-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #e2e8f0; line-height: 1.5; }
.page-table thead th { background: #f1f5f9; font-weight: 700; }
.page-table tbody th { font-weight: 700; white-space: nowrap; }
.page-dl { display: grid; gap: 12px; margin: 24px 0 0; }
.page-dl > div { border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; background: #fff; }
.page-dl dt { font-weight: 700; margin-bottom: 4px; }
.page-dl dd { margin: 0; line-height: 1.5; }
@media (max-width: 640px) {
  .page-table table, .page-table tbody, .page-table tr, .page-table th, .page-table td { display: block; width: 100%; }
  .page-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .page-table caption { display: block; padding: 8px 14px; }
  .page-table tr { border-bottom: 1px solid #e2e8f0; padding: 6px 0; }
  .page-table tbody th, .page-table td { border: 0; padding: 4px 14px; white-space: normal; }
  .page-table td:nth-of-type(1)::before { content: "What TireNexus does: "; font-weight: 600; }
  .page-table td:nth-of-type(2)::before { content: "What it does not do: "; font-weight: 600; }
}
