/* Gouwei AI — Precision Engineering Studio Redesign Layer */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef3fa;
  --ink: #0b192c;
  --ink-2: #334661;
  --muted: #5a6d87;
  --line: #dce5f1;
  --line-strong: #c5d4e8;
  --brand: #1264e3;
  --brand-hover: #0d52bd;
  --brand-soft: #e8f1ff;
  --cyan: #0891b2;
  --navy-deep: #09172b;
  --navy-card: #102442;
  --shadow-sm: 0 4px 14px -4px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 14px 36px -14px rgba(11, 25, 44, 0.12);
  --shadow-lg: 0 28px 64px -24px rgba(11, 25, 44, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Sticky Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 252, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 25, 44, 0.07);
}

.header-inner {
  height: 76px;
}

.header-inner nav a {
  color: var(--ink-2);
  font-weight: 550;
  transition: color 0.18s ease;
}

.header-inner nav a:hover {
  color: var(--brand);
}

.header-inner nav a:after {
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

/* Unified Buttons */
.button {
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, #1668e8 0%, #0b52c4 100%);
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(18, 100, 227, 0.45);
}

.button.primary:hover {
  background: linear-gradient(135deg, #1d70f0 0%, #0a49b0 100%);
  box-shadow: 0 12px 26px -6px rgba(18, 100, 227, 0.55);
  transform: translateY(-2px);
}

.button.outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button.outline:hover {
  background: #ffffff;
  border-color: var(--brand);
  color: var(--brand);
}

.header-cta {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 9px;
}

/* Hero Section with Subtle Blueprint Dot-Grid */
.hero {
  position: relative;
  padding-top: 52px;
  padding-bottom: 64px;
  gap: 36px;
  min-height: 620px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 -80px;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 60% 55% at 75% 40%, rgba(18, 100, 227, 0.08), transparent 70%),
    radial-gradient(circle, rgba(11, 25, 44, 0.09) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 70%, transparent 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 1.24;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.hero h1 span:nth-child(3),
.hero h1 span:last-child {
  background: linear-gradient(120deg, #0b5bd3 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-top: 22px;
}

.hero-copy > .hero-company {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.hero-copy > .hero-company::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* Precision CAD Viewport Card */
.engineering-hero {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.engineering-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: #fafcff;
  font-size: 12px;
  font-weight: 550;
}

.engineering-head > span:first-child {
  color: var(--ink);
  font-weight: 600;
}

.engineering-head i {
  width: 8px;
  height: 8px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.engineering-scene {
  height: 375px;
  background-color: #f8fbff;
  background-image:
    radial-gradient(ellipse at 60% 45%, rgba(18, 100, 227, 0.06), transparent 65%),
    linear-gradient(to right, rgba(18, 100, 227, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 100, 227, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
}

.engineering-source {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  width: 158px;
  padding: 11px;
}

.engineering-source > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.engineering-source b {
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
}

.engineering-source small {
  font-size: 11px;
  color: var(--brand);
  font-weight: 500;
}

.engineering-activate {
  border: 1px solid rgba(18, 100, 227, 0.25);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.engineering-activate:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

.engineering-hint {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.engineering-caption {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.engineering-caption > div > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.engineering-caption h2 {
  font-size: 19px;
  margin-top: 4px;
}

.engineering-caption > a {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background 0.18s ease;
}

.engineering-caption > a:hover {
  background: #d7e7ff;
}

.engineering-flow {
  background: var(--navy-deep);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  padding: 13px 20px;
  border-top: 0;
}

.engineering-flow i {
  color: #38bdf8;
}

/* Connection Ecosystem Strip */
.connection-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 28px;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.connection-strip strong {
  font-size: 15px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

.connection-strip a {
  margin-left: auto;
  font-weight: 600;
}

/* How It Works — Elevated Step Cards */
.section {
  padding-block: 84px;
}

.section-intro h2 {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.35;
}

.journey-steps {
  gap: 20px;
  margin: 36px 0;
}

.journey-steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.journey-steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  border-top-color: var(--cyan);
}

.journey-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.journey-steps h3 {
  font-size: 18px;
  margin: 16px 0 10px;
}

/* Showcase Section */
.featured-case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.proof-main img {
  background: radial-gradient(circle at center, #ffffff 0%, #eef3fa 100%);
  padding: 16px;
}

.case-copy > span:first-child {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.proof-main .case-copy h3 {
  font-size: 32px;
  line-height: 1.38;
}

.compact-links {
  border-top: 0;
  padding-top: 0;
  margin-top: 22px;
  gap: 20px;
}

.compact-links > a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.compact-links > a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.compact-links img {
  border-radius: 8px;
  background: var(--surface-soft);
}

/* Plan Overview — High-Contrast Dark Banner */
.plan-overview {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #102a4d 100%);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  margin-block: 16px;
  box-shadow: var(--shadow-lg);
}

.plan-overview h2 {
  color: #ffffff;
  font-size: 30px;
}

.plan-overview p {
  color: #cbd5e1;
}

.plan-overview .button.outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.plan-overview .button.outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.plan-overview small {
  color: #94a3b8;
}

/* Guides Section — Clean Card Rows */
.guide-list {
  border-bottom: 0;
  display: grid;
  gap: 16px;
}

.guide-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-row:first-child {
  border-top: 1px solid var(--line);
}

.guide-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.row-number {
  font-weight: 700;
  color: var(--brand);
}

.guide-row img {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.round-arrow {
  background: var(--brand-soft);
  color: var(--brand);
}

.guide-row:hover .round-arrow {
  background: var(--brand);
  color: #ffffff;
}

/* Enterprise Band */
.enterprise-band {
  background: linear-gradient(135deg, #071324 0%, #0f294a 100%);
  position: relative;
  overflow: hidden;
}

.enterprise-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.enterprise-band > .container {
  position: relative;
  z-index: 1;
}

.enterprise-band h2 {
  color: #ffffff;
}

.enterprise-band .button.lime {
  background: #e0f2fe;
  color: #082f49;
}

.enterprise-band .button.lime:hover {
  background: #ffffff;
}

/* Floating Service Button */
.service-float {
  background: linear-gradient(135deg, #1668e8 0%, #0b52c4 100%);
  box-shadow: 0 10px 28px -6px rgba(18, 100, 227, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(18, 100, 227, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 980px) {
  .connection-strip a {
    margin-left: 0;
  }
  .plan-overview {
    padding: 36px 28px;
  }
}

@media (max-width: 650px) {
  .header-inner {
    height: 68px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 36px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .plan-overview {
    padding: 28px 22px;
    border-radius: var(--radius-md);
  }
  .guide-row {
    padding: 18px;
  }
}

/* ==========================================================================
   Secondary Pages Alignment (Features, Cases, Pricing, Downloads, Guides, About, Partners)
   ========================================================================== */

/* Breadcrumbs & Headings */
.breadcrumbs {
  padding: 24px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--brand);
  text-decoration: none;
}

.article-heading {
  padding: 20px 0 44px;
}

.article-heading h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.32;
}

.article-heading > p {
  color: var(--ink-2);
}

.detail-hero {
  padding: 28px 0 56px;
}

.detail-hero h1 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.32;
}

.detail-hero > div > p {
  color: var(--ink-2);
}

.detail-image,
.detail-hero .workflow-media img {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

/* Related Sidebar & Prose */
.related {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  top: 96px;
}

.related a {
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.related a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.prose-section p,
.prose-section li {
  color: var(--ink-2);
}

.article-figure > a {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-figure > a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

/* Collection Lists (Features, Cases, Solutions, Guides) */
.case-categories a {
  border-radius: 999px;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  font-weight: 550;
  transition: all 0.18s ease;
}

.case-categories a:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.collection-row img {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 10px;
}

.client-feature-grid article,
.client-feature-grid li,
.connection-list > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.client-account-note,
.video-reserved {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Pricing Page */
.pricing-status {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-featured {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 42%);
  box-shadow: var(--shadow-lg);
}

.plan h2 .plan-recommend {
  border-radius: 999px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #1668e8 0%, #0ea5e9 100%);
}

/* Downloads Page */
.download-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.download-brand {
  background-color: #eef5ff;
  background-image:
    radial-gradient(ellipse at 30% 30%, rgba(18, 100, 227, 0.08), transparent 65%),
    radial-gradient(circle, rgba(11, 25, 44, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
}

.download-status {
  background: var(--brand-soft);
  border-color: rgba(18, 100, 227, 0.2);
  color: var(--brand);
  font-weight: 600;
}

/* Case Journey Pages */
.journey-snapshot {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.journey-snapshot:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.journey-map a > b {
  background: var(--brand-soft);
  color: var(--brand);
}

.case-stage-facts > div {
  border-left-color: var(--brand);
}

.case-media-link {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.case-media-link:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.case-model {
  border-radius: var(--radius-lg);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

/* About, Contact, Business & Brief Forms */
.brand-showcase {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.contact-page {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.brief-help {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.brief-layout input,
.brief-layout select,
.brief-layout textarea {
  border-radius: 8px;
  border-color: var(--line-strong);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.brief-layout input:focus,
.brief-layout select:focus,
.brief-layout textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18, 100, 227, 0.14);
}
