:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --panel: rgba(255, 255, 255, 0.84);
  --line: rgba(22, 47, 93, 0.12);
  --line-strong: rgba(22, 47, 93, 0.2);
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.7);
  --blue: #2563ff;
  --blue-2: #74a3ff;
  --cyan: #5ed0ff;
  --shadow: 0 24px 64px rgba(14, 43, 96, 0.12);
  --shadow-soft: 0 16px 36px rgba(14, 43, 96, 0.08);
  --shadow-card: 0 1px 3px rgba(14, 43, 96, 0.06), 0 8px 24px rgba(14, 43, 96, 0.06);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --page-max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fbff 26%, #ffffff);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

code,
pre {
  font-family: "Consolas", "SFMono-Regular", "Menlo", monospace;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--page-max), calc(100vw - 32px));
  margin: 0 auto;
}

/* ======== 导航栏 ======== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand-copy span {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: rgba(11, 18, 32, 0.82);
  font-size: 14px;
  transition: color 0.18s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.primary-pill,
.button-primary,
.button-secondary,
.filter-button {
  height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.primary-pill,
.button-primary,
.filter-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 30px rgba(37, 99, 255, 0.26);
}

.button-secondary,
.filter-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-strong);
  backdrop-filter: blur(10px);
}

.primary-pill:hover,
.button-primary:hover,
.button-secondary:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.primary-pill:hover,
.button-primary:hover {
  box-shadow: 0 18px 36px rgba(37, 99, 255, 0.32);
}

.button-secondary:hover {
  box-shadow: 0 12px 28px rgba(14, 43, 96, 0.1);
}

/* ======== Hero ======== */

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 42px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 255, 0.95)),
    radial-gradient(circle at 75% 36%, rgba(37, 99, 255, 0.25), transparent 28%),
    radial-gradient(circle at 22% 20%, rgba(94, 208, 255, 0.14), transparent 24%);
}

.hero-background::before,
.cta-background::before {
  content: "";
  position: absolute;
  inset: -8px;
  background-image:
    linear-gradient(rgba(37, 99, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: skewY(-3deg);
  opacity: 0.56;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
}

.hero-copy h1,
.section-heading h2,
.cta-inner h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.06;
}

.hero-text,
.cta-inner p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.hero-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(11, 18, 32, 0.84);
  line-height: 1.7;
  font-size: 14px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 5px rgba(37, 99, 255, 0.1);
}

.hero-actions,
.cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  color: rgba(11, 18, 32, 0.78);
}

/* Hero stage (decorative) */

.hero-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-wireframe {
  position: absolute;
  inset: 42px 34px;
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 255, 0.16);
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 255, 0.16), transparent 38%),
    radial-gradient(circle at 70% 70%, rgba(94, 208, 255, 0.12), transparent 35%);
  transform: rotateX(58deg) rotate(-18deg);
  box-shadow: 0 26px 42px rgba(14, 43, 96, 0.12);
}

.floating-panel {
  position: absolute;
  border-radius: 20px;
  border: 1px solid rgba(22, 47, 93, 0.12);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel-large {
  left: 20px;
  top: 118px;
  width: 250px;
  height: 162px;
  transform: rotateX(16deg) rotateY(16deg);
  animation: floatLarge 3.8s ease-in-out infinite;
}

.panel-small {
  right: 22px;
  top: 38px;
  width: 180px;
  height: 126px;
  transform: rotateX(18deg) rotateY(-20deg);
  animation: floatSmall 3.8s ease-in-out infinite;
}

.panel-topline {
  height: 10px;
  width: 56px;
  border-radius: 999px;
  margin: 18px 18px 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.panel-label {
  margin: 18px 18px 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(37, 99, 255, 0.92);
  font-size: 42px;
}

.panel-label.alt {
  margin-top: 12px;
  font-size: 34px;
}

.panel-lines {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.panel-lines span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 255, 0.22), rgba(94, 208, 255, 0.1));
}

.panel-lines span:nth-child(1) {
  width: 88%;
  height: 10px;
}

.panel-lines span:nth-child(2) {
  width: 72%;
  height: 10px;
}

.panel-lines span:nth-child(3) {
  width: 56%;
  height: 10px;
}

.mini-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-grid span {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 255, 0.82));
}

.orbit-badge {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 255, 0.14);
  box-shadow: var(--shadow-soft);
  color: rgba(11, 18, 32, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.badge-a {
  left: 42px;
  top: 46px;
}

.badge-b {
  right: 10px;
  bottom: 64px;
}

/* Surface strip */

.surface-strip {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.surface-chip {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 47, 93, 0.1);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 255, 0.82));
}

.surface-chip strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.surface-chip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ======== Sections ======== */

.section,
.section-alt {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 36px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.14;
}

.section-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ======== 核心能力 ======== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 47, 93, 0.1);
  box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -40px 62% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 35% 35%, rgba(37, 99, 255, 0.14), transparent 58%);
  transform: rotate(16deg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.12), rgba(94, 208, 255, 0.1));
  color: var(--blue);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ======== 软件集成 ======== */

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.integration-card {
  position: relative;
  overflow: hidden;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 47, 93, 0.1);
  box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.integration-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 16px;
}

.integration-logo span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.sap2000-logo {
  background: linear-gradient(135deg, #1a73e8, #4285f4);
}

.yjk-logo {
  background: linear-gradient(135deg, #e65100, #ff8f00);
}

.cad-logo {
  background: linear-gradient(135deg, #c62828, #e53935);
}

.rhino-logo {
  background: linear-gradient(135deg, #6a1b9a, #ab47bc);
}

.integration-card h3 {
  margin: 0;
  font-size: 18px;
}

.integration-card > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.integration-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.integration-list li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.7);
  line-height: 1.6;
}

.integration-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue-2);
}

/* ======== 技能库 ======== */

.filter-row {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skill-card {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 47, 93, 0.1);
  box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: auto -40px 60% auto;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 35% 35%, rgba(37, 99, 255, 0.12), transparent 58%);
  transform: rotate(16deg);
}

.skill-card.is-hidden {
  display: none;
}

.skill-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.skill-card h3 {
  margin: 0;
  font-size: 18px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.skill-tag,
.scene-tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  color: rgba(11, 18, 32, 0.78);
}

.skill-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.skill-output {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 255, 0.06);
  border: 1px solid rgba(37, 99, 255, 0.1);
  font-size: 12px;
  color: var(--blue);
  font-weight: 500;
}

/* ======== 工作流模板 ======== */

.template-category {
  margin-bottom: 36px;
}

.template-category:last-child {
  margin-bottom: 0;
}

.template-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.template-cat-icon {
  color: var(--blue);
  font-size: 12px;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.template-card {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(22, 47, 93, 0.1);
  box-shadow: var(--shadow-card);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.template-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.template-card h4 {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.template-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.template-params {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.template-params span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 255, 0.07);
  border: 1px solid rgba(37, 99, 255, 0.1);
  font-size: 11px;
  color: var(--blue);
}

/* ======== 应用场景 ======== */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scenario-card {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 47, 93, 0.1);
  box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scenario-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.scenario-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.16), rgba(94, 208, 255, 0.14));
  border: 1px solid rgba(37, 99, 255, 0.14);
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}

.scenario-card h3 {
  margin: 0;
  font-size: 18px;
}

.scenario-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.scenario-tools {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ======== 演示视频 ======== */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.demo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(22, 47, 93, 0.1);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.demo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(37, 99, 255, 0.06), rgba(94, 208, 255, 0.04)),
    linear-gradient(180deg, #f0f5ff, #e8f0fe);
}

.demo-title {
  margin: 16px 16px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* ======== CTA ======== */

.cta-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.cta-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f8fbff, #e7efff),
    radial-gradient(circle at 85% 48%, rgba(37, 99, 255, 0.28), transparent 28%),
    radial-gradient(circle at 24% 54%, rgba(94, 208, 255, 0.18), transparent 24%);
}

.cta-inner {
  position: relative;
  padding: 64px 0;
  max-width: 760px;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.14;
}

.cta-actions {
  justify-content: center;
}

/* ======== 页脚 ======== */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.66);
}

.footer-left,
.footer-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 20px rgba(37, 99, 255, 0.28);
}

.footer-sep {
  opacity: 0.5;
}

/* ======== Animations ======== */

@keyframes floatLarge {
  0%,
  100% {
    transform: translateY(0) rotateX(16deg) rotateY(16deg);
  }
  50% {
    transform: translateY(-10px) rotateX(18deg) rotateY(18deg);
  }
}

@keyframes floatSmall {
  0%,
  100% {
    transform: translateY(0) rotateX(18deg) rotateY(-20deg);
  }
  50% {
    transform: translateY(10px) rotateX(16deg) rotateY(-18deg);
  }
}

/* ======== Utility ======== */

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(37, 99, 255, 0.2);
}

/* ======== Responsive ======== */

@media (max-width: 1100px) {
  .feature-grid,
  .integration-grid,
  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid,
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .surface-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .feature-grid,
  .integration-grid,
  .skill-grid,
  .scenario-grid,
  .demo-grid,
  .surface-strip,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-stage {
    order: -1;
    min-height: 260px;
  }

  .panel-large {
    width: 210px;
    height: 142px;
    left: 10px;
    top: 102px;
  }

  .panel-small {
    width: 154px;
    height: 112px;
    right: 10px;
  }

  .section,
  .section-alt {
    padding: 48px 0;
  }

  .cta-inner {
    padding: 48px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ======== Download Modal ======== */

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.download-modal.is-visible {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 24px 64px rgba(14, 43, 96, 0.2);
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(11, 18, 32, 0.06);
  border-radius: 8px;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.modal-close:hover {
  background: rgba(11, 18, 32, 0.12);
  color: var(--text);
}

.modal-content h3 {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--text);
}

.modal-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.modal-path {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.06), rgba(94, 208, 255, 0.04));
  border: 1px solid rgba(37, 99, 255, 0.16);
  border-radius: 12px;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 14px;
  color: var(--blue);
  word-break: break-all;
}

.modal-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.8;
}

.download-btn {
  cursor: pointer;
  border: none;
}