/* ═══════════════════════════════════════════════════════════════════
   TEAM TECHPRO — 2026 UI SYSTEM / PAGE LAYOUTS
   Index sections, about, services, projects, contact, quote form.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Index: intro ──────────────────────────────────────────────── */
.v2-home-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 540px at 100% 0%, rgba(139, 123, 255, 0.06), transparent 62%),
    radial-gradient(700px 500px at 0% 40%, rgba(13, 255, 176, 0.045), transparent 64%);
}

.v2-home-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  align-items: stretch;
}

.v2-home-intro__panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(13, 255, 176, 0.18);
  border-radius: var(--v2-r-lg);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(13, 255, 176, 0.11), transparent 62%),
    radial-gradient(420px 320px at 0% 100%, rgba(139, 123, 255, 0.1), transparent 64%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  box-shadow: 0 40px 100px -56px #000;
  isolation: isolate;
}

.v2-home-intro__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 76%);
}

.v2-home-intro__panel::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -24%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(13, 255, 176, 0.18);
  border-radius: 50%;
  transform: rotateX(66deg);
  pointer-events: none;
}

.v2-home-intro__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.v2-home-intro__statement {
  margin: clamp(1.8rem, 4vw, 3.2rem) 0 0;
  font-family: var(--v2-font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.v2-home-intro__statement em {
  font-family: var(--v2-font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--v2-mint);
}

.v2-home-intro__statement .v2-violet {
  font-family: var(--v2-font-serif);
  font-style: italic;
  color: var(--v2-violet);
}

.v2-home-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.6rem;
}

.v2-home-intro__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.6rem;
}

.v2-home-intro__stat {
  padding-top: 0.9rem;
  border-top: 1px solid var(--v2-line);
}

.v2-home-intro__stat b {
  display: block;
  font-family: var(--v2-font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.v2-home-intro__stat b span { color: var(--v2-mint); }

.v2-home-intro__stat small {
  display: block;
  margin-top: 4px;
  font-family: var(--v2-font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v2-dim);
}

.v2-home-intro__values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.1rem);
}

.v2-home-intro__values .v2-value {
  min-height: 0;
  height: 100%;
}

.v2-home-intro__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--v2-line);
}

.v2-home-intro__code {
  font-family: var(--v2-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--v2-dim);
}

.v2-home-intro__code span { color: var(--v2-mint); }

/* ── Index: services bento ─────────────────────────────────────── */
.v2-index-services { grid-auto-rows: minmax(0, 1fr); }

.v2-index-services .v2-service--featured {
  grid-column: span 1;
  grid-row: span 2;
}

.v2-index-services__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

/* ── Index: stats band ─────────────────────────────────────────── */
.v2-index-stats {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.4rem, 5vw, 4rem);
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(13, 255, 176, 0.06), transparent 66%),
    radial-gradient(700px 400px at 85% 40%, rgba(139, 123, 255, 0.07), transparent 66%),
    var(--v2-ink-2);
  border-block: 1px solid var(--v2-line);
}

.v2-index-stats__inner { position: relative; z-index: 2; }

.v2-index-stats__orb {
  position: absolute;
  top: 50%;
  right: clamp(-300px, -16vw, -140px);
  z-index: 1;
  width: min(520px, 46vw);
  opacity: 0.3;
  transform: translateY(-50%);
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 74%);
}

.v2-index-stats__orb::before { filter: blur(52px); }

.v2-index-stats__orb .v2-orb__core {
  inset: 36%;
  opacity: 0.8;
}

.v2-index-stats__orb .v2-orb__ring {
  border-color: rgba(139, 123, 255, 0.2);
  animation-duration: 26s;
}

/* ── Index: process strip ──────────────────────────────────────── */
.v2-index-process {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--v2-ink-2);
  border-block: 1px solid var(--v2-line);
}

.v2-index-process__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.v2-index-process__head .v2-label { margin: 0; }

/* ── Index: why us ─────────────────────────────────────────────── */
.v2-index-why {
  position: relative;
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(139, 123, 255, 0.055), transparent 64%),
    radial-gradient(700px 400px at 6% 60%, rgba(13, 255, 176, 0.04), transparent 62%);
}

/* ── Index: FAQ ────────────────────────────────────────────────── */
.v2-index-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.v2-index-faq__aside {
  position: sticky;
  top: 110px;
}

.v2-index-faq__aside .v2-callout { margin-top: 1.6rem; }

.v2-index-faq .v2-accordion { margin-top: 0.3rem; }

/* ── Index: contact ────────────────────────────────────────────── */
.v2-index-contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(13, 255, 176, 0.07), transparent 62%),
    radial-gradient(700px 500px at 100% 100%, rgba(139, 123, 255, 0.08), transparent 62%),
    var(--v2-ink-2);
  border-top: 1px solid var(--v2-line);
}

.v2-index-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.v2-index-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.v2-index-contact .v2-title { font-size: clamp(2rem, 3.8vw, 3.4rem); }

/* ── About page ────────────────────────────────────────────────── */
.v2-about-stats {
  background: var(--v2-ink-2);
  border-bottom: 1px solid var(--v2-line);
}

.v2-about-stats .v2-stats { border-block: 0; }

.v2-about-story { position: relative; }

.v2-about-story .v2-lead + .v2-lead { margin-top: 1rem; }

.v2-about-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.8rem;
}

.v2-about-story__sign {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--v2-line);
}

.v2-about-story__sign b {
  display: block;
  font-family: var(--v2-font-serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--v2-mint);
}

.v2-about-story__sign span {
  font-family: var(--v2-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v2-dim);
}

.v2-about-story .v2-cofounder {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-r-lg);
  background:
    radial-gradient(460px 280px at 0% 0%, rgba(139, 123, 255, 0.12), transparent 66%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  box-shadow: var(--v2-shadow-card);
}

.v2-cofounder__photo {
  position: relative;
  overflow: hidden;
  height: clamp(180px, 20vw, 230px);
  border-radius: var(--v2-r-md);
  background:
    radial-gradient(260px 190px at 50% 20%, rgba(139, 123, 255, 0.2), transparent 68%),
    linear-gradient(180deg, rgba(8, 13, 21, 0.35), rgba(8, 13, 21, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 40px);
}

.v2-cofounder__photo img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5));
}

.v2-cofounder__body { min-width: 0; }

.v2-cofounder__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(139, 123, 255, 0.4);
  border-radius: 999px;
  background: rgba(139, 123, 255, 0.1);
  font-family: var(--v2-font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v2-violet);
}

.v2-cofounder__name {
  font-family: var(--v2-font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--v2-text);
}

.v2-cofounder__role {
  margin-top: 3px;
  font-family: var(--v2-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v2-dim);
}

.v2-cofounder__quote {
  max-width: 64ch;
  margin: 0.8rem 0 0;
  font-family: var(--v2-font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.v2-cofounder .v2-kv { margin-top: 0.9rem; }

.v2-about-values {
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(139, 123, 255, 0.05), transparent 64%);
}

.v2-about-team {
  background: var(--v2-ink-2);
  border-block: 1px solid var(--v2-line);
}

.v2-about-timeline {
  position: relative;
  background:
    radial-gradient(760px 500px at 10% 20%, rgba(13, 255, 176, 0.05), transparent 64%);
}

.v2-about-timeline__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.v2-about-timeline__aside { position: sticky; top: 110px; }

.v2-about-cta { padding-bottom: var(--v2-section); }

/* ── Services page ─────────────────────────────────────────────── */
.v2-services-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.v2-services-detail { margin-top: 0; }

.v2-services-detail .v2-service { min-height: 330px; }

.v2-services-process {
  background: var(--v2-ink-2);
  border-block: 1px solid var(--v2-line);
}

.v2-services-tech {
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(13, 255, 176, 0.045), transparent 64%);
}

.v2-services-tech .v2-tech { margin-top: clamp(1.8rem, 4vw, 3rem); }

.v2-services-pricing {
  background:
    radial-gradient(900px 540px at 100% 20%, rgba(139, 123, 255, 0.055), transparent 64%);
}

.v2-services-cta { padding-bottom: var(--v2-section); }

/* ── Projects page ─────────────────────────────────────────────── */
.v2-projects-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.v2-projects-feature { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.v2-projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  padding-top: 0.2rem;
}

.v2-projects-toolbar .v2-filters { margin-bottom: 0; }

.v2-projects-count {
  font-family: var(--v2-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v2-dim);
}

.v2-projects-count b { color: var(--v2-mint); font-weight: 500; }

.v2-projects-grid { row-gap: clamp(0.9rem, 1.6vw, 1.25rem); }

.v2-projects-grid .v2-project__media { aspect-ratio: 16 / 9; }

.v2-projects-cta { padding-bottom: var(--v2-section); }

/* ── Contact page ──────────────────────────────────────────────── */
.v2-contact-page { position: relative; }

.v2-contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.v2-contact-page__aside .v2-title {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.v2-contact-page__aside .v2-lead { margin-top: 1rem; }

.v2-contact-page .form-card { position: relative; }

.v2-contact-page .v2-form-card > h3 { margin-bottom: 0.15rem; }

.v2-contact-map {
  background: var(--v2-ink-2);
  border-block: 1px solid var(--v2-line);
}

.v2-contact-faq {
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(139, 123, 255, 0.05), transparent 64%);
}

.v2-contact-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.v2-contact-faq__aside { position: sticky; top: 110px; }

.v2-contact-cta { padding-bottom: var(--v2-section); }

/* ── Quote form page ───────────────────────────────────────────── */
.v2-quote-page {
  position: relative;
  overflow: clip;
  padding: clamp(8rem, 13vw, 10.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(900px 560px at 12% 10%, rgba(13, 255, 176, 0.08), transparent 62%),
    radial-gradient(800px 560px at 92% 30%, rgba(139, 123, 255, 0.1), transparent 62%),
    var(--v2-ink);
}

.v2-quote__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.v2-quote__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.v2-quote__side {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.v2-quote__side .v2-form-side__title { margin-top: 0; }

.v2-quote__card { width: 100%; }

.v2-quote__card .v2-form-card > h2 { margin-bottom: 0; }

.v2-quote__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.v2-quote__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(13, 255, 176, 0.22);
  border-radius: 999px;
  background: rgba(13, 255, 176, 0.05);
  font-family: var(--v2-font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v2-mint);
  white-space: nowrap;
}

.v2-quote__card-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v2-mint);
  box-shadow: 0 0 0 3px rgba(13, 255, 176, 0.12);
}

.v2-quote__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.v2-quote__footer .v2-submit {
  width: auto;
  min-width: 200px;
  margin-left: auto;
}

.v2-quote__footer .privacy-note {
  max-width: 30ch;
  font-family: var(--v2-font-mono);
  font-size: 0.56rem;
  line-height: 1.55;
  color: var(--v2-dim);
}

.v2-quote__footer .privacy-note a { color: var(--v2-mint); }

.v2-quote__aside-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--v2-dim);
}

.v2-quote__aside-note::before {
  content: "↳";
  color: var(--v2-mint);
}

.v2-quote__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--v2-line);
}

.v2-quote__stat b {
  display: block;
  font-family: var(--v2-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.v2-quote__stat span {
  font-family: var(--v2-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v2-dim);
}

/* Success area on contact/quote */
.v2-contact-page #fOk,
.v2-quote-page #fOk {
  margin-top: 0;
  padding: 1.5rem;
}

.v2-contact-page #fOk .ok-icon,
.v2-quote-page #fOk .success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border: 1px solid rgba(13, 255, 176, 0.32);
  border-radius: 50%;
  background: rgba(13, 255, 176, 0.1);
  font-size: 1.25rem;
}

.v2-contact-page #fOk .ok-title,
.v2-quote-page #fOk .success-title {
  font-family: var(--v2-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.v2-contact-page #fOk .ok-sub,
.v2-quote-page #fOk .success-sub {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--v2-muted);
}

.v2-contact-page #fOk a,
.v2-quote-page #fOk a { color: var(--v2-mint); text-decoration: underline; text-underline-offset: 3px; }

/* ── Generic page section backgrounds ──────────────────────────── */
.v2-section--ink2 {
  background: var(--v2-ink-2);
  border-block: 1px solid var(--v2-line);
}

.v2-section--gradient {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(139, 123, 255, 0.06), transparent 62%),
    radial-gradient(700px 460px at 0% 60%, rgba(13, 255, 176, 0.05), transparent 62%);
}

.v2-hero--compact {
  padding: clamp(7.2rem, 11vw, 9rem) 0 clamp(2.8rem, 5vw, 4rem);
}

.v2-hero--compact .v2-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); }

.v2-hero--compact .v2-orb { width: min(340px, 74%); }

.v2-hero--compact .v2-hero__visual { min-height: 320px; }

/* ── Utility page rhythm ───────────────────────────────────────── */
.v2-page-top { padding-top: clamp(2.5rem, 5vw, 4rem); }

.v2-page-cta { padding-block: var(--v2-section); }

.v2-page-section { padding-block: var(--v2-section); }

.v2-page-section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.v2-center { text-align: center; }

.v2-center .v2-lead { margin-inline: auto; }

/* Ensure inner anchors clear the floating nav */
body.v2 [id] { scroll-margin-top: 96px; }
