/* ============================================================
   TechPioneerHub homepage — Automark-style SaaS landing (light).
   Original design inspired by modern SaaS landing patterns.
   Dark variant lives in landing-dark.css (body.landing.dark).
   ============================================================ */
:root {
  --am-bg: #fffdf8;
  --am-bg2: #faf5ec;
  --am-card: #ffffff;
  --am-ink: #101828;
  --am-muted: #5b6b82;
  --am-line: #ece1cf;
  --am-accent: #f9560f;
  --am-accent2: #ff8a3d;
  --am-dark: #0d0d12;
  --am-radius: 22px;
}
body.landing {
  background: var(--am-bg);
  color: var(--am-ink);
}
.am-wrap { overflow: clip; }
.am-wrap h1, .am-wrap h2 { letter-spacing: -0.02em; }
.am-kicker { display: inline-block; color: var(--am-accent); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7rem; }
.am-head { max-width: 720px; margin: 0 auto 2.8rem; text-align: center; }
.am-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: .6rem; }
.am-head p { color: var(--am-muted); font-size: 1.05rem; margin: 0; }
.am-sec { padding: 5rem 0; }
.am-sec.alt { background: var(--am-bg2); border-top: 1px solid var(--am-line); border-bottom: 1px solid var(--am-line); }
/* highlighted words (marker effect) */
.hl, .am-wrap h1 strong, .am-wrap h2 strong { color: var(--am-accent); font-weight: inherit; }
.hl-mark { background: linear-gradient(transparent 60%, rgba(249,86,15,.25) 60%); padding: 0 .1em; }

/* ---------- hero ---------- */
.am-hero { position: relative; text-align: center; padding: 4.5rem 0 0; overflow: hidden; }
.am-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 340px at 50% -60px, rgba(249,86,15,.14), transparent 70%); }
.am-hero-inner { position: relative; z-index: 1; }
.am-pill { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--am-line); color: var(--am-ink); font-weight: 700; font-size: .82rem; padding: .45rem 1.05rem; border-radius: 999px; margin-bottom: 1.3rem; box-shadow: 0 4px 14px rgba(16,24,40,.06); }
.am-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.am-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; max-width: 860px; margin: 0 auto 1.1rem; }
.am-hero .am-sub { color: var(--am-muted); max-width: 640px; margin: 0 auto 2rem; font-size: 1.12rem; }
.am-hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.am-hero .btn-primary { padding: .95rem 2rem; font-size: 1.02rem; border-radius: 14px; }
.am-hero .btn-dark { background: var(--am-dark); color: #fff; padding: .95rem 2rem; font-size: 1.02rem; border-radius: 14px; text-decoration: none; font-weight: 700; display: inline-block; }
.am-hero .btn-dark:hover { transform: translateY(-1px); }

/* browser-frame visual */
.am-visual-wrap { position: relative; max-width: 980px; margin: 0 auto; padding: 0 12px; }
.am-browser { position: relative; z-index: 1; background: #fff; border: 1px solid var(--am-line); border-bottom: none; border-radius: 20px 20px 0 0; box-shadow: 0 -18px 70px rgba(249,86,15,.16); overflow: hidden; text-align: left; }
.am-bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; border-bottom: 1px solid #f0e8d8; background: #fffaf2; }
.am-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e5d9c3; }
.am-bar i:first-child { background: #f9560f; }
.am-bar span { margin-left: .6rem; background: #fff; border: 1px solid #f0e8d8; border-radius: 8px; font-size: .75rem; color: var(--am-muted); padding: .2rem .8rem; }
.am-browser img { width: 100%; display: block; }
.am-float { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--am-line); border-radius: 16px; box-shadow: 0 18px 44px rgba(16,24,40,.16); padding: .75rem 1rem; display: flex; gap: .6rem; align-items: center; font-weight: 800; font-size: .85rem; color: var(--am-ink); animation: amfloat 5s ease-in-out infinite; }
.am-float small { display: block; font-weight: 500; color: var(--am-muted); font-size: .75rem; }
.am-float .fi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; }
.fi-green { background: #dcfce7; } .fi-orange { background: #ffedd5; }
.amf-1 { left: 0; top: 110px; }
.amf-2 { right: 0; top: 50px; animation-delay: 2.5s; }
@keyframes amfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- industries marquee ---------- */
.trusted { background: #fff; border-bottom: 1px solid var(--am-line); padding: 1.6rem 0 1.8rem; text-align: center; overflow: hidden; }
.trusted p { color: var(--am-muted); font-size: .82rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 1rem; }
.trusted-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trusted-track { display: flex; gap: 1rem; width: max-content; padding: .4rem 1rem .6rem; animation: scrollX 38s linear infinite; }
.trusted-marquee:hover .trusted-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
/* drive wheels + road */
.trusted-road { display: flex; align-items: center; max-width: 1240px; margin: 0 auto; padding: 0 10px; }
.trusted-road .trusted-marquee { flex: 1; min-width: 0; }
.wheel { width: 96px; height: 96px; flex-shrink: 0; margin: 0 4px; z-index: 2; filter: drop-shadow(0 10px 18px rgba(13,13,18,.28)); }
.wheel svg { width: 100%; height: 100%; display: block; animation: wheelspin 2.8s linear infinite; }
.trusted-road:hover .wheel svg { animation-play-state: paused; }
@keyframes wheelspin { to { transform: rotate(360deg); } }
.road-line { height: 6px; max-width: 1000px; margin: 1.1rem auto 0; border-radius: 99px; opacity: .5;
  background-image: repeating-linear-gradient(90deg, var(--am-accent) 0 26px, transparent 26px 46px);
  background-size: 46px 100%; animation: roadmove 1.1s linear infinite; }
.trusted-road:hover + .container .road-line, .trusted:hover .road-line { animation-play-state: paused; }
@keyframes roadmove { to { background-position-x: -46px; } }
@media (max-width: 640px) { .wheel { width: 62px; height: 62px; } }
.t-card { display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: .7rem 1.1rem .7rem .8rem; text-decoration: none; box-shadow: 0 4px 14px rgba(16,24,40,.06); white-space: nowrap; transition: transform .15s, border-color .15s; }
.t-card:hover { transform: translateY(-3px); border-color: var(--am-accent); }
.t-ico { font-size: 1.6rem; }
.t-name { font-weight: 800; color: var(--am-ink); font-size: .95rem; }
.t-prod { font-size: .78rem; font-weight: 700; color: var(--am-accent); background: #fff1e6; border-radius: 999px; padding: .2rem .7rem; }

/* ---------- pain cards ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pain-card { background: var(--am-card); border: 1px solid var(--am-line); border-radius: var(--am-radius); padding: 1.7rem 1.5rem; transition: transform .15s, box-shadow .15s; }
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,24,40,.10); }
.pain-card .fi { width: 46px; height: 46px; border-radius: 14px; background: #fee2e2; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; }
.pain-card h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.pain-card p { color: var(--am-muted); font-size: .92rem; margin: 0; }

/* ---------- suites ---------- */
.suite-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.suite-card { background: var(--am-dark); color: #f5f3ee; border-radius: var(--am-radius); padding: 1.8rem 1.5rem; text-decoration: none; transition: transform .15s; position: relative; overflow: hidden; }
.suite-card:hover { transform: translateY(-5px); }
.suite-card::after { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; background: radial-gradient(circle, rgba(249,86,15,.35), transparent 65%); }
.suite-card .fi { width: 46px; height: 46px; border-radius: 14px; background: rgba(249,86,15,.2); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; }
.suite-media { display: block; border-radius: 14px; overflow: hidden; margin: -0.6rem -0.3rem 1rem; border: 1px solid rgba(255,255,255,.12); background: #1a1a22; position: relative; }
.suite-media img { width: 100%; height: 160px; object-fit: cover; display: block; }
.suite-badge { position: absolute; left: 10px; bottom: 10px; font-style: normal; font-size: .72rem; font-weight: 800; background: rgba(0,0,0,.65); color: #fff; padding: .3rem .6rem; border-radius: 999px; backdrop-filter: blur(4px); }
.suite-card ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.suite-card li { color: #b9b9c4; font-size: .86rem; list-style: none; }
.suite-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.suite-card ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.suite-card li { color: #b9b9c4; font-size: .86rem; }
.suite-card li::before { content: '✓ '; color: var(--am-accent2); font-weight: 800; }
.suite-card .go { color: var(--am-accent2); font-weight: 800; font-size: .9rem; }

/* ---------- tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tile { background: var(--am-card); border: 1px solid var(--am-line); border-radius: 18px; padding: 1.3rem 1.2rem; display: flex; gap: .9rem; align-items: flex-start; }
.tile .fi { width: 42px; height: 42px; border-radius: 12px; background: #fff1e6; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.tile h3 { font-size: 1rem; margin-bottom: .2rem; }
.tile p { color: var(--am-muted); font-size: .86rem; margin: 0; }

/* ---------- 5 steps ---------- */
.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step5 { background: var(--am-card); border: 1px solid var(--am-line); border-radius: var(--am-radius); padding: 1.6rem 1.3rem; position: relative; }
.step5 .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--am-accent); line-height: 1; display: block; margin-bottom: .7rem; }
.step5 h3 { font-size: 1rem; margin-bottom: .3rem; }
.step5 p { color: var(--am-muted); font-size: .85rem; margin: 0; }

/* ---------- difficult ---------- */
.hard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.hard-card { background: var(--am-card); border: 1px solid var(--am-line); border-radius: 18px; padding: 1.4rem 1.2rem; text-align: left; }
.hard-card .fi { font-size: 1.7rem; }
.hard-card h3 { font-size: .98rem; margin: .6rem 0 .2rem; }
.hard-card p { color: var(--am-muted); font-size: .83rem; margin: 0 0 .7rem; }
.hard-card .cost { display: inline-block; background: #fee2e2; color: #b91c1c; font-weight: 800; font-size: .82rem; border-radius: 8px; padding: .25rem .7rem; }

/* ---------- stats band ---------- */
.am-stats { background: var(--am-dark); border-radius: 28px; padding: 3rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; position: relative; overflow: hidden; }
.am-stats::before { content: ''; position: absolute; width: 500px; height: 500px; left: 50%; top: -350px; transform: translateX(-50%); background: radial-gradient(circle, rgba(249,86,15,.28), transparent 65%); }
.am-stats > div { position: relative; }
.am-stats strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; color: #fff; }
.am-stats strong em { font-style: normal; color: var(--am-accent2); }
.am-stats span { color: #b9b9c4; font-size: .9rem; }

/* ---------- products ---------- */
.am-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.am-prod { background: var(--am-card); border: 1px solid var(--am-line); border-radius: var(--am-radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s; color: inherit; }
.am-prod:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(16,24,40,.12); }
.am-prod-media { display: block; aspect-ratio: 8/4.4; overflow: hidden; background: #f4ecdd; }
.am-prod-media img { width: 100%; height: 100%; object-fit: cover; }
.am-prod-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.am-prod-cat { color: var(--am-accent); font-size: .76rem; font-weight: 800; letter-spacing: .06em; }
.am-prod-body h3 { margin: 0; font-size: 1.15rem; }
.am-prod-body > p { color: var(--am-muted); font-size: .9rem; flex: 1; margin: 0; }
.am-prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; }
.am-price strong { font-size: 1.3rem; }
.am-price del { color: #a8a29e; font-size: .85rem; margin-right: .35rem; }
.am-link { color: var(--am-accent); font-weight: 800; font-size: .9rem; }
.am-center { text-align: center; margin-top: 2rem; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testi-card { background: var(--am-dark); color: #f5f3ee; border-radius: var(--am-radius); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.testi-card .stars { color: var(--am-accent2); letter-spacing: .15em; }
.testi-card p { color: #d6d6de; font-size: .93rem; margin: 0; flex: 1; }
.testi-who { display: flex; gap: .7rem; align-items: center; }
.testi-who i { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--am-accent), var(--am-accent2)); color: #fff; display: grid; place-items: center; font-weight: 800; font-style: normal; }
.testi-who strong { display: block; color: #fff; font-size: .9rem; }
.testi-who span span { color: #8e8e9b; font-size: .8rem; }

/* ---------- path ---------- */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.path-card { background: var(--am-card); border: 1px solid var(--am-line); border-radius: var(--am-radius); padding: 1.8rem 1.5rem; text-align: center; }
.path-card .pnum { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--am-dark); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; margin-bottom: .9rem; }
.path-card:nth-child(2) .pnum { background: var(--am-accent); }
.path-card h3 { font-size: 1.08rem; }
.path-card p { color: var(--am-muted); font-size: .9rem; margin: 0; }

/* ---------- integrations ---------- */
.int-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.int-chip { display: inline-flex; align-items: center; gap: .55rem; background: var(--am-card); border: 1px solid var(--am-line); border-radius: 14px; padding: .7rem 1.2rem; font-weight: 700; color: var(--am-ink); box-shadow: 0 4px 14px rgba(16,24,40,.05); }
.int-chip i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--am-accent), var(--am-accent2)); color: #fff; display: grid; place-items: center; font-size: .8rem; font-style: normal; }

/* ---------- pricing (dark) ---------- */
.am-pricing { background: var(--am-dark); border-radius: 28px; padding: 3.5rem 2.5rem; position: relative; overflow: hidden; }
.am-pricing::before { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(249,86,15,.22), transparent 65%); }
.am-pricing .am-head h2 { color: #fff; }
.am-pricing .am-head p { color: #b9b9c4; }
.am-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; position: relative; }
.am-price-card { background: #17171f; border: 1px solid #2a2a33; border-radius: 20px; padding: 2rem 1.7rem; position: relative; display: flex; flex-direction: column; }
.am-price-card.hot { border: 2px solid var(--am-accent); }
.am-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--am-accent), var(--am-accent2)); color: #fff; font-size: .75rem; font-weight: 800; padding: .3rem 1rem; border-radius: 999px; white-space: nowrap; }
.am-price-card h3 { color: #fff; }
.am-amount { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: #fff; margin: .3rem 0; }
.am-amount span { font-family: var(--font); font-size: .85rem; font-weight: 600; color: #8e8e9b; }
.am-price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .55rem; flex: 1; }
.am-price-card li { color: #d6d6de; font-size: .9rem; }
.am-price-card li::before { content: '✓ '; color: var(--am-accent2); font-weight: 800; }

/* ---------- faq ---------- */
.am-faq details { background: var(--am-card); border: 1px solid var(--am-line); border-radius: 16px; margin-bottom: .7rem; overflow: hidden; }
.am-faq summary { padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 700; list-style: none; color: var(--am-ink); }
.am-faq summary::marker, .am-faq summary::-webkit-details-marker { display: none; }
.am-faq summary::before { content: '+ '; color: var(--am-accent); font-weight: 900; }
.am-faq details[open] summary::before { content: '− '; }
.am-faq details p { padding: 0 1.3rem 1.2rem; color: var(--am-muted); margin: 0; }

/* ---------- CTA band ---------- */
.am-cta { background: linear-gradient(135deg, #c2410c, var(--am-accent) 55%, var(--am-accent2)); border-radius: 28px; padding: 3.5rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.am-cta::after { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%); }
.am-cta h2 { color: #fff; margin-bottom: .4rem; }
.am-cta p { color: rgba(255,255,255,.9); margin: 0; }
.am-cta .btn-light { background: #fff; color: var(--am-dark); position: relative; z-index: 1; }
.am-cta .btn-ghostlight { border: 1.5px solid rgba(255,255,255,.6); color: #fff; position: relative; z-index: 1; }

/* ---------- inner page head ---------- */
.am-page-head { background: var(--am-bg2); border-bottom: 1px solid var(--am-line); padding: 2.8rem 0 2rem; }
.am-page-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin: .4rem 0 .4rem; }
.am-page-head p { color: var(--am-muted); margin: 0; font-size: 1.02rem; }
.am-crumbs { color: #a8a29e; font-size: .86rem; margin-bottom: .6rem; }
.am-crumbs a { color: var(--am-muted); text-decoration: none; }
.am-crumbs a:hover { color: var(--am-accent); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .suite-grid { grid-template-columns: 1fr 1fr; }
  .steps5 { grid-template-columns: repeat(2, 1fr); }
  .hard-grid { grid-template-columns: 1fr 1fr; }
  .am-prod-grid, .testi-grid, .path-grid, .am-price-grid { grid-template-columns: 1fr; }
  .am-stats { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .am-sec { padding: 3rem 0; }
  .am-head { margin-bottom: 1.8rem; }
  .pain-grid, .suite-grid, .hard-grid, .tile-grid { grid-template-columns: 1fr; }
  .steps5 { grid-template-columns: 1fr; }
  .step5 { padding: 1.2rem 1.1rem; }
  .amf-2 { display: none; }
  .amf-1 { left: 4px; }
  .am-pricing, .am-stats, .am-cta { padding: 2.2rem 1.3rem; border-radius: 20px; }
  .am-prod-media { aspect-ratio: 16/9; }
  .am-prod-body { padding: 1rem 1rem 1.1rem; }
  .am-hero { padding-top: 3rem; }
  .am-hero-cta { margin-bottom: 2rem; }
  .am-hero .btn-primary, .am-hero .btn-dark { padding: .8rem 1.4rem; font-size: .95rem; }
}
