/* ============================================================
   PROTEOR AI HUB — components (hero, cards, steps, features, tips)
   ============================================================ */

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(44,107,179,.35), transparent 60%),
    radial-gradient(800px 480px at 8% 110%, rgba(127,177,223,.22), transparent 55%),
    linear-gradient(160deg, #16244c 0%, #1B2A56 48%, #223769 100%);
  color: #fff;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 104px; max-width: 880px; }
.hero h1 {
  color: #fff; font-size: clamp(40px, 6vw, 72px);
  font-weight: 900; letter-spacing: -.025em; line-height: 1.04;
}
.hero h1 .hl { color: var(--blue-300); }
.hero-lede { font-size: clamp(19px, 2.4vw, 23px); color: #C7D5EE; margin: 26px 0 36px; max-width: 660px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #DCE7F8; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 700; margin-bottom: 30px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5AD6A0; box-shadow: 0 0 0 4px rgba(90,214,160,.2); }
.hero-petal {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  font-size: 620px; color: rgba(255,255,255,.04); z-index: 1; pointer-events: none;
}

/* ---------- Tool cards (home) ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tool-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
}
.tool-card .tc-top {
  padding: 30px 28px 26px; color: #fff; position: relative; overflow: hidden;
}
.tool-card .tc-top::after {
  content: ''; position: absolute; right: -40px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.tc-icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; margin-bottom: 20px; position: relative; z-index: 2;
}
.tc-icon svg { width: 30px; height: 30px; color: #fff; }
.tc-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; position: relative; z-index: 2; }
.tc-top h3 { color: #fff; font-size: 25px; margin-top: 4px; position: relative; z-index: 2; }
.tool-card .tc-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.tc-body p { color: var(--muted); font-size: 15.5px; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  background: var(--sky); border-radius: 999px; padding: 5px 12px;
}
.tc-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--accent-ink); font-size: 15.5px;
}
.tc-link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.tool-card:hover .tc-link svg { transform: translateX(4px); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg); color: #fff; padding: 56px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%; background: rgba(127,177,223,.16);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); position: relative; }
.cta-band p { color: #C7D5EE; margin: 10px 0 0; font-size: 18px; position: relative; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- value row (home) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value { text-align: center; padding: 8px; }
.value .vi {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--sky); color: var(--blue);
}
.value .vi svg { width: 30px; height: 30px; }
.value h3 { font-size: 20px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* =====================================================
   TOOL PAGE
   ===================================================== */
.t-hero {
  background:
    radial-gradient(900px 460px at 85% -20%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 60%),
    linear-gradient(155deg, var(--navy-900), var(--navy) 70%);
  color: #fff; position: relative; overflow: hidden;
}
.t-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .45;
}
.t-hero-inner { position: relative; z-index: 2; padding: 64px 0 76px; display: grid; grid-template-columns: 1.4fr .9fr; gap: 50px; align-items: center; }
.crumbs { font-size: 14px; color: #9FB0D2; margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: #9FB0D2; } .crumbs a:hover { color: #fff; }
.t-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 15px 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em;
}
.t-badge .tc-icon-sm { width: 22px; height: 22px; display: grid; place-items: center; }
.t-badge svg { width: 18px; height: 18px; }
.t-hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 60px); font-weight: 900; letter-spacing: -.025em; }
.t-hero-lede { font-size: 20px; color: #C7D5EE; margin: 22px 0 30px; }
.t-hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; }
.t-hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 26px 28px; backdrop-filter: blur(6px);
}
.t-hero-card h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.fact { display: flex; gap: 13px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.fact:first-of-type { border-top: 0; padding-top: 0; }
.fact svg { width: 20px; height: 20px; color: var(--blue-300); flex: none; margin-top: 2px; }
.fact b { color: #fff; display: block; font-size: 14.5px; }
.fact span { color: #A9B8D6; font-size: 13.5px; }

/* section title (left aligned, tool pages) */
.block { padding: 84px 0; }
.block.alt { background: var(--paper); }
.block-head { max-width: 760px; margin-bottom: 44px; }
.block-head .eyebrow { color: var(--accent-ink); }
.block-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.block-head p { font-size: 18.5px; color: var(--muted); margin-top: 16px; }

/* steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
}
.block.alt .step { background: #fff; }
.step .num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 20px; flex: none;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
.step p a { font-weight: 700; }
.step .skey { display: inline-block; font-family: 'Jost',monospace; font-size: 13px; background: var(--sky); color: var(--blue-600); padding: 2px 9px; border-radius: 7px; font-weight: 600; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 18px;
}
.block.alt .feat { background: #fff; }
.feat .fi {
  width: 50px; height: 50px; border-radius: 13px; flex: none;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
}
.feat .fi svg { width: 26px; height: 26px; }
.feat h3 { font-size: 18.5px; margin-bottom: 7px; }
.feat p { color: var(--muted); font-size: 15px; margin: 0; }

/* tips */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; position: relative; box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.tip .quote { font-size: 17px; color: var(--ink); line-height: 1.6; margin: 0 0 20px; font-weight: 500; }
.tip .quote::before { content: '“'; color: var(--accent); font-size: 26px; font-weight: 900; line-height: 0; }
.tip .who { display: flex; align-items: center; gap: 13px; }
.tip .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.tip .who b { display: block; color: var(--navy); font-size: 15px; }
.tip .who span { color: var(--muted); font-size: 13.5px; }
.tip-tagline { display:inline-block; font-size:12.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 16px;}

/* callout / good-to-know */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 22px;
  background: var(--sky); border: 1px solid var(--sky-deep);
  border-radius: var(--radius); padding: 30px 34px;
}
.callout.warn { background: #FFF6EC; border-color: #FBE6CB; }
.callout .ci { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; color: var(--blue); box-shadow: var(--shadow); }
.callout.warn .ci { color: #C77A1B; }
.callout .ci svg { width: 24px; height: 24px; }
.callout h3 { font-size: 19px; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--ink); font-size: 15.5px; }
.callout ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink); font-size: 15.5px; }
.callout li { margin-bottom: 5px; }

/* use-case chips list */
.uses { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.use {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.use .chk { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.use .chk svg { width: 16px; height: 16px; }
.use p { margin: 0; font-size: 15.5px; }
.use b { color: var(--navy); }

/* next-tool nav */
.next-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.next-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; background: #fff;
}
.next-card span { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.next-card b { color: var(--navy); font-size: 20px; display: block; margin-top: 3px; }
.next-card.prev { text-align: left; }
.next-card.next { text-align: right; }

@media (max-width: 920px) {
  .tool-grid, .value-grid, .feat-grid, .tips-grid, .uses { grid-template-columns: 1fr; }
  .t-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 40px 32px; }
  .next-strip { grid-template-columns: 1fr; }
}
