/* Titan Config Lab — homepage only */
.config-hero {
  min-height: 820px;
  padding: 9.5rem 0 5rem;
  text-align: left;
  overflow: hidden;
  background:
    linear-gradient(rgba(112,233,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,233,255,0.045) 1px, transparent 1px),
    linear-gradient(125deg, transparent 0 69%, rgba(255,62,138,0.045) 69% 69.4%, transparent 69.4%),
    radial-gradient(circle at 11% 20%, rgba(0,212,255,0.22), transparent 31%),
    radial-gradient(circle at 91% 66%, rgba(255,62,138,0.18), transparent 35%),
    #222b4a;
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
}

/* Light SaaS rhythm below the interactive hero */
.home-config { background: #f2f5fa; }
.home-config .tool-explainer {
  background: #ffffff;
  border-bottom-color: #dfe5ee;
}
.home-config .tool-explainer h2 { color: #15192b; }
.home-config .tool-explainer p { color: #60677a; }
.home-config .cat-bar {
  background: #ffffff;
  border-top: 1px solid #e2e7ef;
  border-bottom-color: #dfe5ee;
}
.home-config .cat-pill {
  color: #4f586c;
  border-color: #dbe2ec;
  background: #f7f9fc;
}
.home-config .cat-pill:hover {
  color: #126c94;
  border-color: rgba(0,151,196,0.45);
  background: rgba(0,151,196,0.07);
}
.home-config .articles-section { background: #f2f5fa; }
.home-config .articles-section {
  position: relative;
  background:
    linear-gradient(rgba(10,126,164,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,126,164,0.035) 1px, transparent 1px),
    radial-gradient(circle at 8% 4%, rgba(0,212,255,0.12), transparent 24%),
    radial-gradient(circle at 94% 88%, rgba(255,62,138,0.09), transparent 24%),
    #f2f5fa;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}
.home-config .article-card {
  position: relative;
  background: #ffffff;
  border-color: #e0e6ef;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 10px 32px rgba(29,39,63,0.055);
}
.home-config .article-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c8f4, #7768ff 62%, #ff4d92);
  opacity: 0.72;
}
.home-config .article-card:hover {
  border-color: rgba(0,153,204,0.34);
  box-shadow: 0 16px 38px rgba(29,39,63,0.1);
}
.home-config .article-card h3 { color: #1c2235; }
.home-config .article-card-cat { color: #087ca7; }

.lab-benefits {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0;
  color: #171b2e;
  background:
    linear-gradient(115deg, transparent 0 74%, rgba(0,185,224,0.04) 74% 74.3%, transparent 74.3%),
    radial-gradient(circle at 100% 0, rgba(0,212,255,0.11), transparent 28%),
    #f5f7fb;
}
.saas-section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.saas-section-heading .eyebrow { margin-bottom: 0.85rem; color: #087da9; }
.saas-section-heading h2,
.steps-copy h2,
.lab-faq h2,
.library-heading h2 {
  font-family: var(--font-display);
  color: #171b2e;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.saas-section-heading p {
  max-width: 660px;
  margin: 1rem auto 0;
  color: #626a7d;
  font-size: 0.95rem;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.benefit-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid #e0e6ef;
  border-radius: 4px;
  background: #fff;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  box-shadow: 0 14px 44px rgba(32,43,68,0.055);
}
.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 3px;
  background: #ff4d92;
  box-shadow: -48px 0 0 #00c8f4;
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.35rem;
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  color: #087da9;
  background: linear-gradient(145deg, #e2faff, #eee9ff);
}
.benefit-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card h3 {
  margin-bottom: 0.65rem;
  color: #191e31;
  font-size: 1rem;
}
.benefit-card p { color: #697185; font-size: 0.83rem; line-height: 1.7; }

.lab-steps {
  position: relative;
  padding: 6rem 0;
  color: #171b2e;
  background: #ffffff;
}
.lab-steps::before {
  content: 'TITAN // CONFIG // LAB';
  position: absolute;
  top: 2.2rem;
  right: 3vw;
  color: rgba(26,42,67,0.055);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.16em;
}
.lab-steps-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.steps-copy .eyebrow,
.lab-faq .eyebrow,
.library-heading .eyebrow { margin-bottom: 0.85rem; color: #087da9; }
.steps-copy p {
  margin-top: 1.15rem;
  color: #687084;
  font-size: 0.9rem;
  line-height: 1.75;
}
.steps-list {
  display: grid;
  gap: 0;
  counter-reset: steps;
}
.steps-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.15rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid #e3e8ef;
}
.steps-list li:last-child { border-bottom: 0; }
.steps-list > li > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #cceef7;
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  color: #087da9;
  background: #effbfe;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
}
.steps-list h3 { margin-bottom: 0.35rem; color: #181d30; font-size: 0.98rem; }
.steps-list p { color: #6a7285; font-size: 0.82rem; }

.pro-offer {
  padding: 2rem 0 6.5rem;
  color: #f0f0f7;
  background: #ffffff;
}
.pro-offer-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px));
  background:
    radial-gradient(circle at 10% 20%, rgba(0,212,255,0.16), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(137,93,255,0.2), transparent 35%),
    linear-gradient(rgba(112,233,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,233,255,0.035) 1px, transparent 1px),
    #29324f;
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  box-shadow: 0 28px 70px rgba(32,43,68,0.16);
}
.pro-chip {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.75rem;
  color: #69e9ff;
  border: 1px solid rgba(105,233,255,0.3);
  border-radius: 999px;
  background: rgba(105,233,255,0.06);
  font-family: var(--font-display);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.pro-offer-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}
.pro-offer-copy > p {
  max-width: 610px;
  margin: 1.15rem 0 1.5rem;
  color: #b5b9ca;
  font-size: 0.92rem;
}
.pro-price { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.35rem; }
.pro-price strong { color: #fff; font-family: var(--font-display); font-size: 1.8rem; }
.pro-price span { color: #8f95aa; font-size: 0.68rem; line-height: 1.45; }
.pro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  color: #111526;
  border-radius: 2px;
  background: linear-gradient(110deg, #5eeaff, #ffffff 62%);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  font-size: 0.78rem;
  font-weight: 800;
}
.pro-offer-copy small { display: block; max-width: 520px; margin-top: 0.8rem; color: #777e94; font-size: 0.61rem; }
.pro-report-card {
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.report-header { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.report-header span { color: #aeb3c6; font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.12em; }
.report-header b { color: #69e9ff; font-family: var(--font-display); font-size: 0.68rem; }
.pro-report-card ul { display: grid; gap: 0.78rem; padding: 1.25rem 0; }
.pro-report-card li { display: flex; gap: 0.65rem; color: #c5c8d7; font-size: 0.75rem; }
.pro-report-card li i { color: #69e9ff; font-style: normal; }
.report-score { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.report-score span { color: #969caf; font-size: 0.7rem; }
.report-score strong { font-family: var(--font-display); font-size: 1.6rem; }
.report-score small { color: #858ba0; font-size: 0.6rem; }

.lab-faq {
  position: relative;
  padding: 6.5rem 0;
  color: #171b2e;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(0,162,205,0.025) 22px 23px),
    #f5f7fb;
}
.lab-faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(3rem, 8vw, 7rem); }
.faq-list details { border-bottom: 1px solid #dce2ea; }
.faq-list summary {
  position: relative;
  padding: 1.2rem 2.5rem 1.2rem 0;
  color: #1b2033;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0.3rem; color: #087da9; font-size: 1.3rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 2.5rem 1.2rem 0; color: #687084; font-size: 0.82rem; line-height: 1.7; }

.library-heading {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #dce2eb;
}
.library-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, #00badf, #7966ff, #ff4d92);
}
.home-config .cat-pill {
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.config-console {
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.config-console::before { border-radius: 4px; }
.config-submit {
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}
.library-heading p { color: #667084; font-size: 0.86rem; line-height: 1.7; }
.config-hero::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  left: -260px;
  bottom: -260px;
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(0,212,255,0.08);
}
.config-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
}
.config-hero-copy { padding-bottom: 2rem; }
.config-hero .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  background: rgba(0,212,255,0.05);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 0 5px rgba(0,255,136,0.08), 0 0 14px rgba(0,255,136,0.6);
}
.config-hero h1 {
  max-width: 610px;
  margin: 0 0 1.5rem;
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.config-hero h1 .highlight {
  color: transparent;
  background: linear-gradient(100deg, #51e5ff 0%, #8f7cff 58%, #ff70a6 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.config-hero .hero-sub {
  max-width: 610px;
  margin: 0 0 1.8rem;
  color: #a6a6bd;
  font-size: 1.05rem;
}
.config-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}
.config-promises span {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.48rem 0.72rem;
  color: #cacadd;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}
.config-promises svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--neon-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.config-intro-note { color: #696982; font-size: 0.78rem; }
.config-console {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(115,124,255,0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(31,31,52,0.96), rgba(19,19,34,0.98));
  box-shadow: 0 36px 90px rgba(0,0,0,0.35), 0 0 55px rgba(124,58,237,0.08);
}
.config-console::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(130deg, rgba(0,212,255,0.4), transparent 28%, transparent 72%, rgba(124,58,237,0.45));
}
.console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.console-kicker,
.result-label,
.eyebrow {
  display: block;
  color: var(--neon-primary);
  font-family: var(--font-display);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.console-topbar h2 {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
}
.console-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  color: #8e8eaa;
  font-size: 0.68rem;
}
.console-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px rgba(0,255,136,0.6);
}
.config-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding-top: 1.25rem;
}
.config-field { min-width: 0; }
.config-field-wide { grid-column: 1 / -1; }
.config-field label {
  display: block;
  margin: 0 0 0.42rem 0.15rem;
  color: #aaaac1;
  font-size: 0.7rem;
  font-weight: 600;
}
.config-field select {
  width: 100%;
  height: 48px;
  padding: 0 2.3rem 0 0.85rem;
  color: #ededf4;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  outline: none;
  background-color: #161627;
  background-image: linear-gradient(45deg, transparent 50%, #74748f 50%), linear-gradient(135deg, #74748f 50%, transparent 50%);
  background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  font: inherit;
  font-size: 0.78rem;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.config-field select:focus {
  border-color: rgba(0,212,255,0.65);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.config-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 51px;
  margin-top: 0.35rem;
  padding: 0.9rem 1.4rem;
  color: #080812;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(110deg, #4de4ff 0%, #8f7cff 62%, #ff70a6 125%);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.config-submit:hover { transform: translateY(-2px); box-shadow: 0 11px 30px rgba(77,228,255,0.18); }
.config-submit:focus-visible { outline: 3px solid rgba(255,255,255,0.8); outline-offset: 3px; }
.config-submit svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.config-method { margin-top: 1rem; color: #606078; font-size: 0.64rem; line-height: 1.55; }
.config-result {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border: 1px solid rgba(0,212,255,0.16);
  border-radius: 14px;
  background: rgba(8,8,18,0.48);
}
.config-result[hidden] { display: none; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.result-heading h3 { margin-top: 0.2rem; font-size: 1rem; line-height: 1.3; }
.result-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(0,255,136,0.38);
  border-radius: 50%;
  color: var(--neon-green);
  background: rgba(0,255,136,0.07);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
}
.config-result.result-medium .result-badge { color: var(--neon-gold); border-color: rgba(251,191,36,0.38); background: rgba(251,191,36,0.07); }
.config-result.result-low .result-badge { color: #ff6b91; border-color: rgba(255,107,145,0.4); background: rgba(255,107,145,0.07); }
.result-summary { margin: 0.75rem 0 1rem; color: #9f9fb7; font-size: 0.73rem; line-height: 1.55; }
.result-bars { display: grid; gap: 0.72rem; }
.result-bar-row { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; font-size: 0.65rem; }
.result-bar-row span { color: #8f8fa8; }
.result-bar-row strong { color: #d9d9e6; font-weight: 600; }
.result-track { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,0.06); }
.result-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00d4ff, #876cf2); transition: width 0.55s ease; }
.result-advice { margin-top: 0.95rem; padding-top: 0.85rem; border-top: 1px solid rgba(255,255,255,0.06); color: #a4a4bb; font-size: 0.69rem; line-height: 1.55; }
.result-advice strong { color: #ececf4; }
.result-advice a { font-weight: 700; }
.tool-explainer { padding: 2.2rem 0; background: #181829; border-bottom: 1px solid rgba(255,255,255,0.055); }
.tool-explainer-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 4rem; }
.tool-explainer .eyebrow { margin-bottom: 0.55rem; }
.tool-explainer h2 { max-width: 510px; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.3; }
.tool-explainer p { color: #9191aa; font-size: 0.86rem; line-height: 1.75; }
@media (max-width: 1040px) {
  .config-hero { min-height: auto; }
  .config-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .config-hero-copy { max-width: 760px; padding-bottom: 0; }
  .config-hero h1 { max-width: 800px; }
  .config-console { max-width: 760px; width: 100%; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .config-hero { padding: 7.8rem 0 3.5rem; }
  .config-hero .container { padding: 0 1rem; }
  .config-hero h1 { font-size: clamp(2.3rem, 12vw, 3.2rem); }
  .config-hero .hero-sub { font-size: 0.95rem; }
  .config-console { padding: 1.15rem; border-radius: 18px; }
  .console-topbar { align-items: center; }
  .console-status { font-size: 0; }
  .config-form { grid-template-columns: 1fr; }
  .config-field-wide,
  .config-submit { grid-column: auto; }
  .tool-explainer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .lab-benefits,
  .lab-steps,
  .lab-faq { padding: 4.5rem 0; }
  .benefit-grid,
  .lab-steps-layout,
  .lab-faq-layout,
  .library-heading,
  .pro-offer-panel { grid-template-columns: 1fr; }
  .benefit-card:last-child { grid-column: auto; }
  .pro-offer { padding-bottom: 4.5rem; }
  .pro-offer-panel { padding: 1.5rem; border-radius: 20px; }
  .library-heading { align-items: start; gap: 1rem; }
}

/* Final HUD geometry overrides */
.home-config .config-console,
.home-config .config-console::before { border-radius: 4px; }
.home-config .config-submit { border-radius: 2px; }
