:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --violet: #7c3aed;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --text: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-deep: #eaf1fb;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.04);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(37, 99, 235, 0.1), transparent 28%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 24%, #f8fafc 100%);
  background-size: 40px 40px, 40px 40px, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - clamp(64px, 10vw, 200px)), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: absolute;
  left: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.2);
}

.brand-text {
  font-size: 1.02rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  background: var(--primary-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--surface-alt);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero-section,
.subpage-hero {
  padding: 84px 0 72px;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  left: -180px;
  top: 80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 62%);
  filter: blur(8px);
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.section-with-boundary {
  position: relative;
}

.section-with-boundary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - clamp(64px, 10vw, 200px)), var(--container));
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.42), rgba(148, 163, 184, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(560px, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(48px, 5vw, 92px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(37, 99, 235, 0.14);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h1 {
  margin-top: 16px;
  max-width: 760px;
  font-size: clamp(2rem, 3vw, 3.05rem);
  font-weight: 800;
}

h2 {
  margin-top: 14px;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-weight: 800;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-text {
  max-width: 720px;
  margin-top: 22px;
  font-size: 1.04rem;
}

.hero-actions,
.sidebar-actions,
.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.btn-block {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  max-width: 720px;
}

.hero-metrics article,
.intro-panel,
.value-card,
.step-card,
.contact-card,
.faq-item,
.news-card,
.article-preview,
.sidebar-card,
.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-metrics article {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}

.hero-metrics article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero-metrics strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.hero-metrics span {
  color: var(--muted-light);
  font-size: 0.92rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li,
.keyword-list a {
  padding: 11px 15px;
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.hero-visual {
  display: grid;
  gap: 18px;
  align-content: center;
  justify-items: end;
}

.hero-card {
  border-radius: var(--radius-xl);
}

.hero-qr-card {
  padding: 22px 8px 8px;
  width: min(470px, 100%);
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.hero-qr-card::before {
  content: none;
}

.hero-card-large {
  padding: 24px;
}

.hero-card-info {
  padding: 26px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-card-label {
  color: var(--muted-light);
  font-size: 0.92rem;
}

.panel-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.panel-pill-muted {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

.hero-card-copy {
  max-width: 470px;
  margin: 18px auto 0;
  text-align: center;
}

.hero-card-copy p {
  margin-top: 0;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.config-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  border: 0;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.14);
}

.config-media {
  overflow: visible;
  border-radius: 18px;
}

.hero-qr-direct {
  width: min(320px, 80%);
  margin: 0 auto;
}

.hero-qr-placeholder {
  min-height: 270px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

.hero-qr-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-qr-notes span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.placeholder {
  display: grid;
  place-items: center;
  border-radius: 20px;
  text-align: center;
  color: var(--primary);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px dashed rgba(37, 99, 235, 0.2);
  font-weight: 600;
}

.qr-placeholder {
  min-height: 280px;
  aspect-ratio: 1;
}

.qr-placeholder.large {
  min-height: 300px;
}

.qr-placeholder.small {
  min-height: 220px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.section-surface {
  background:
    radial-gradient(circle at 88% 20%, rgba(6, 182, 212, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
}

.section-soft {
  background:
    linear-gradient(rgba(37, 99, 235, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(237, 244, 255, 0.9) 0%, rgba(255, 255, 255, 0.98) 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.section-dark {
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.96) 0%, rgba(245, 249, 255, 0.98) 100%);
}

.section-dark::before {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(96, 165, 250, 0.35), rgba(148, 163, 184, 0));
}

.section-dark .section-heading h2,
.section-dark .section-heading p,
.section-dark .section-heading .eyebrow,
.section-dark .section-heading strong,
.section-dark .section-heading-left h2,
.section-dark .section-heading-left p,
.section-dark .section-heading-left .eyebrow {
  color: var(--text);
}

.section-dark .section-heading p,
.section-dark .section-heading-left p {
  color: var(--muted);
}

.section-dark .eyebrow {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.section-intro {
  padding-top: 4px;
}

.section-nav-band {
  padding: 0 0 18px;
}

.section-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0 0;
}

.section-quicknav a {
  padding: 11px 16px;
  border-radius: 14px;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.section-quicknav a:hover {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.18);
}

.section-heading {
  max-width: 940px;
  margin: 0 0 40px;
  text-align: left;
  position: relative;
  padding-left: 0;
}

.section-heading::before {
  content: none;
}

.section-heading p,
.section-heading-left p {
  margin-top: 12px;
}

.section-heading-left {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-heading .eyebrow,
.section-heading-left .eyebrow {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.11), transparent 34%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.section-dark .feature-card,
.section-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-md);
}

.section-dark .feature-card h3,
.section-dark .testimonial-card strong {
  color: var(--text);
}

.section-dark .feature-card p,
.section-dark .testimonial-card p,
.section-dark .testimonial-card span {
  color: var(--muted);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.section-dark .feature-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.feature-card h3 {
  margin-top: 18px;
}

.feature-card p {
  margin-top: 10px;
}

.feature-card:nth-child(2) {
  transform: translateY(12px);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  min-height: 216px;
  padding: 26px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.value-card h3::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

.value-card p,
.contact-card p,
.news-card p,
.article-preview p {
  margin-top: 12px;
}

.value-card span {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
}

.value-card-centered {
  grid-column: auto;
}

.tutorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 28px;
  align-items: start;
}

.tutorial-steps,
.tutorial-visuals {
  display: grid;
  gap: 18px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
}

.step-index {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
}

.step-card p + p {
  margin-top: 6px;
}

.tutorial-qr-block {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.tutorial-qr-block .config-media {
  max-width: 320px;
  width: 100%;
}

.tutorial-qr-placeholder,
.tutorial-qr-block .config-media img {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.tutorial-qr-block .tutorial-qr-placeholder {
  min-height: 0;
  aspect-ratio: 1;
  max-width: 320px;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--primary);
}

.tutorial-qr-block .config-media img {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.tutorial-qr-desc {
  margin: 0;
  max-width: 420px;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}

.tutorial-phone-row {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tutorial-step-images .tutorial-step-fig {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface-alt);
}

.tutorial-step-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
}

.contact-card h3 {
  margin-top: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.testimonial-stars {
  font-size: 0.82rem;
  letter-spacing: 2px;
  color: #f59e0b;
  white-space: nowrap;
}

.testimonial-quote {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  position: relative;
  padding-left: 18px;
  border-left: 3px solid rgba(37, 99, 235, 0.18);
}

.testimonial-author {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.testimonial-author strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text);
}

.testimonial-author span {
  display: inline-block;
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 0.85rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.faq-item:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.09);
  transform: translateY(-2px);
}

.faq-q,
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-q {
  margin-bottom: 14px;
}

.faq-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.faq-a .faq-marker {
  background: #10b981;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.faq-q h4 {
  margin: 0;
  padding-top: 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.faq-a p {
  margin: 0;
  padding-top: 4px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.vision-banner {
  padding: 28px 32px;
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-left: 4px solid var(--primary);
  text-align: left;
}

.vision-banner p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(37, 99, 235, 0.12);
}

.about-card-icon {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.about-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.about-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.section-cta {
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.06), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.05), transparent 50%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.cta-banner h2 {
  color: var(--text);
}

.cta-banner p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
}

.cta-banner .eyebrow {
  background: var(--primary-soft);
  color: var(--primary);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 280px;
  justify-content: flex-end;
}

.cta-banner .btn-secondary {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.9);
}

.subpage-hero-news {
  padding-bottom: 42px;
}

.subpage-hero-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.subpage-copy {
  max-width: 760px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.news-main,
.article-preview-list {
  display: grid;
  gap: 20px;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.news-card,
.article-preview,
.sidebar-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.news-card-featured {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.news-date {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 600;
}

.news-card a,
.article-preview a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 700;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.sidebar-card p {
  margin-top: 10px;
}

.sidebar-actions {
  margin-top: 16px;
}

.site-footer {
  padding: 28px 0 36px;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-brand strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.footer-brand span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-info a {
  font-size: 0.82rem;
  color: var(--muted-light);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-info a:hover {
  color: var(--primary);
}

.admin-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fbff 0%, #f6f8fc 100%);
}

.admin-header {
  padding: 24px 0 12px;
}

.admin-shell {
  display: grid;
  gap: 20px;
}

.admin-toolbar,
.admin-card,
.admin-summary {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.admin-toolbar {
  padding: 24px 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.admin-toolbar p {
  margin-top: 10px;
  max-width: 760px;
}

.admin-status {
  min-width: 160px;
  text-align: right;
  color: var(--muted-light);
  font-weight: 600;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.admin-card {
  padding: 18px;
}

.admin-card h3 {
  margin-top: 18px;
}

.admin-preview {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #fff;
}

.admin-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.admin-fields {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  outline: none;
  background: #fff;
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.admin-field textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-card-actions,
.admin-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: #fff;
}

.admin-summary {
  padding: 20px 24px;
}

.admin-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-summary p {
  margin-top: 8px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .tutorial-layout,
  .news-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .industry-grid,
  .contact-grid,
  .about-grid,
  .feature-grid,
  .testimonial-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-list-grid {
    grid-template-columns: 1fr;
  }

  .value-card-centered {
    grid-column: auto;
  }

  .subpage-hero-shell,
  .footer-shell,
  .admin-toolbar,
  .admin-summary-head,
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card:nth-child(2) {
    transform: none;
  }

  .admin-status {
    text-align: left;
  }

  .hero-visual {
    justify-items: center;
  }

  .hero-metrics {
    max-width: none;
  }
}

/* ════════════════════════════════════════
   VISUAL ENHANCEMENT LAYER
   ════════════════════════════════════════ */

/* ── Scroll entrance animations ── */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-anim].is-visible {
  opacity: 1;
  transform: none;
}

[data-anim-delay="1"] { transition-delay: 0.07s; }
[data-anim-delay="2"] { transition-delay: 0.14s; }
[data-anim-delay="3"] { transition-delay: 0.21s; }
[data-anim-delay="4"] { transition-delay: 0.28s; }
[data-anim-delay="5"] { transition-delay: 0.35s; }
[data-anim-delay="6"] { transition-delay: 0.42s; }
[data-anim-delay="7"] { transition-delay: 0.49s; }

/* ── H1 gradient text ── */
h1 {
  background: linear-gradient(135deg, #0f172a 10%, #1d4ed8 65%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero eyebrow badge pulse ── */
@keyframes eyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.22); }
  55%       { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0); }
}

.hero-section .eyebrow {
  animation: eyebrowPulse 3.8s ease-in-out infinite;
}

/* ── Button primary shine ── */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 130%;
}

/* ── Hero floating badges ── */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}

.hero-float-badge {
  position: absolute;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
  animation: floatBadge 4s ease-in-out infinite;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.hero-float-badge:nth-child(3) { animation-delay: 1.1s; }
.hero-float-badge:nth-child(4) { animation-delay: 2.2s; }

.hero-float-badge-green {
  color: #065f46;
  background: rgba(236, 253, 245, 0.97);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.hero-float-badge-blue {
  color: #1e40af;
  background: rgba(239, 246, 255, 0.97);
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.hero-float-badge-purple {
  color: #5b21b6;
  background: rgba(245, 243, 255, 0.97);
  border: 1px solid rgba(124, 58, 237, 0.22);
}

/* ── Feature cards ── */
.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.feature-icon {
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card {
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease;
}

.feature-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 36px 80px rgba(37, 99, 235, 0.14);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-4deg);
}

/* ── Value (industry) cards ── */
.value-card {
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease;
  cursor: default;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(37, 99, 235, 0.13);
}

.value-card-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.value-card:nth-child(2)::before { background: linear-gradient(90deg, #10b981, #34d399); }
.value-card:nth-child(3)::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.value-card:nth-child(4)::before { background: linear-gradient(90deg, #f97316, #fb923c); }
.value-card:nth-child(5)::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
.value-card:nth-child(6)::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.value-card:nth-child(7)::before { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }
.value-card:nth-child(8)::before { background: linear-gradient(90deg, #64748b, #94a3b8); }

.value-card-more {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  border-style: dashed;
  border-color: rgba(100, 116, 139, 0.22);
}

/* ── Step cards ── */
.step-card {
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease;
}

.step-card:hover {
  transform: translateX(8px);
  box-shadow: 0 24px 56px rgba(37, 99, 235, 0.12);
}

/* ── Testimonial cards ── */
.testimonial-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: 14px;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover::before {
  opacity: 0.1;
  transform: scale(1.08);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(37, 99, 235, 0.13);
}

.testimonial-card:hover .testimonial-quote {
  border-left-color: rgba(37, 99, 235, 0.4);
}

.testimonial-quote {
  transition: border-color 0.24s ease;
}

/* Review card stagger entrance */
@keyframes reviewRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card.is-visible {
  animation: reviewRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.testimonial-card.is-visible:nth-child(2) { animation-delay: 0.1s; }
.testimonial-card.is-visible:nth-child(3) { animation-delay: 0.2s; }
.testimonial-card.is-visible:nth-child(4) { animation-delay: 0.15s; }
.testimonial-card.is-visible:nth-child(5) { animation-delay: 0.25s; }
.testimonial-card.is-visible:nth-child(6) { animation-delay: 0.3s; }

.testimonial-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.12);
  margin-bottom: 14px;
}

/* ── Contact cards ── */
.contact-card {
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(37, 99, 235, 0.13);
}

/* ── FAQ accordion ── */

/* ── Hero metrics hover ── */
.hero-metrics article {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-metrics article:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.11);
}

/* ── Hero second decoration blob ── */
.hero-section::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 62%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

/* ── News card hover ── */
.news-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(37, 99, 235, 0.12);
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .brand {
    position: static;
  }

  .nav-shell {
    justify-content: space-between;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-section,
  .subpage-hero,
  .section {
    padding: 42px 0;
  }

  .hero-metrics,
  .industry-grid,
  .contact-grid,
  .about-grid,
  .phone-gallery,
  .feature-grid,
  .testimonial-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .subpage-actions,
  .cta-actions {
    width: 100%;
  }

  .section-quicknav {
    padding-top: 10px;
  }

  .btn {
    width: 100%;
  }

  .step-card {
    flex-direction: column;
  }

  h1 {
    font-size: clamp(1.9rem, 7vw, 2.45rem);
  }

  h2 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }

  .qr-placeholder {
    min-height: 200px;
  }

  .admin-card,
  .admin-toolbar,
  .admin-summary {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ════════════════════════════════════════════
   NEWS PAGE REDESIGN
   ════════════════════════════════════════════ */

/* ── News grid (article cards) ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(37, 99, 235, 0.12);
}

.news-card-featured {
  padding: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
}

/* ── Override old link styles inside new cards ── */
.news-card .news-card-cover {
  display: block;
  margin-top: 0;
}

.news-card .news-card-title a {
  display: inline;
  margin-top: 0;
  color: var(--text);
  font-weight: 700;
}

.news-card .news-card-link {
  display: inline-flex;
  margin-top: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.84rem;
}

/* ── Cover image ── */
.news-card-cover {
  display: block;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.06), transparent);
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-cover img {
  transform: scale(1.04);
}

.news-card-featured .news-card-cover img {
  aspect-ratio: auto;
  min-height: 280px;
}

.no-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  font-size: 2.5rem;
}

.news-card-featured .no-cover {
  min-height: 280px;
}

/* ── Card body ── */
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  flex: 1;
}

.news-card-featured .news-card-body {
  padding: 28px 30px;
  justify-content: center;
}

/* ── Tags ── */
.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  white-space: nowrap;
}

/* ── Title ── */
.news-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.news-card-title a {
  color: var(--text);
  transition: color 0.2s ease;
}

.news-card-title a:hover {
  color: var(--primary);
}

.news-card-featured .news-card-title {
  font-size: 1.45rem;
}

/* ── Summary ── */
.news-card .news-card-summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card.news-card-featured .news-card-summary {
  -webkit-line-clamp: 3;
}

/* ── Footer (date + link) ── */
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

.news-card-date {
  font-size: 0.82rem;
  color: var(--muted-light);
  font-weight: 500;
}

.news-card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  transition: opacity 0.2s ease;
}

.news-card-link:hover {
  opacity: 0.75;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.page-btn:hover:not(:disabled):not(.is-active) {
  border-color: rgba(37, 99, 235, 0.25);
  background: var(--primary-soft);
}

.page-btn.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  cursor: default;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--muted-light);
}

/* ── Tag cloud in sidebar ── */
.tag-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: background 0.18s ease, transform 0.18s ease;
}

.tag-link:hover {
  background: rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.tag-count {
  font-size: 0.72rem;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.7);
  padding: 1px 6px;
  border-radius: 999px;
}

/* ════════════════════════════════════════════
   ARTICLE DETAIL PAGE
   ════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.breadcrumb a {
  color: #64748b;
  font-weight: 500;
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: #cbd5e1;
}

/* ── Two-column layout ── */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding: 24px 0 72px;
}

/* ── Main article area ── */
.article-main {
  min-width: 0;
  padding: 32px 36px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ── Top back button ── */
.article-back-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  transition: color 0.18s, background 0.18s, transform 0.18s;
}

.article-back-top:hover {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: rgba(37, 99, 235, 0.15);
  transform: translateX(-3px);
}

/* ── Title ── */
.article-h1 {
  margin: 0 0 28px;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text);
  background: linear-gradient(135deg, #0f172a 10%, #1d4ed8 65%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Meta info bar ── */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  margin-bottom: 24px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--muted);
}

.article-meta-bar .article-tag {
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  font-weight: 600;
}

.article-meta-sep {
  color: #cbd5e1;
}

/* ── Cover image ── */
.article-cover {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Article body ── */
.article-body {
  font-size: 0.98rem;
  line-height: 1.88;
  color: var(--text);
}

.article-body h1,
.article-body h2,
.article-body h3 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
  margin: 40px 0 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.article-body h2 {
  font-size: 1.22rem;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(37, 99, 235, 0.12);
}

.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.article-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.article-body strong {
  font-weight: 700;
  color: var(--text);
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--muted);
}

.article-body li {
  margin-bottom: 8px;
}

.article-body li p {
  margin: 4px 0;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 24px auto;
  display: block;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--primary-dark);
}

.article-body code {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-alt);
  font-size: 0.9em;
  color: var(--text);
  border: 1px solid var(--line);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-body table td,
.article-body table th {
  padding: 10px 16px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body table th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--text);
}

/* ── Article footer ── */
.article-footer-actions {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: background 0.18s, transform 0.18s;
}

.article-back-link:hover {
  background: rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

/* ── Sidebar ── */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.article-sidebar .sidebar-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.article-sidebar .sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.article-sidebar .sidebar-card h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

/* ── Sidebar article list ── */
.sidebar-article-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-article-item {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
  align-items: flex-start;
}

.sidebar-article-item:hover {
  background: var(--primary-soft);
}

.sidebar-article-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.sidebar-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-article-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.sidebar-article-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.sidebar-article-item:hover .sidebar-article-title {
  color: var(--primary);
}

.sidebar-article-date {
  font-size: 0.72rem;
  color: var(--muted-light);
  white-space: nowrap;
}

/* ── Sidebar keyword list ── */
.article-sidebar .keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ── Empty/loading ── */
.loading-text {
  text-align: center;
  padding: 40px;
  color: var(--muted-light);
  grid-column: 1 / -1;
}

.error-text {
  text-align: center;
  padding: 40px;
  color: #dc2626;
  grid-column: 1 / -1;
}

/* ════════════════════════════════════════════
   RESPONSIVE: NEWS & ARTICLE
   ════════════════════════════════════════════ */

@media (max-width: 1040px) {
  .news-card-featured {
    grid-template-columns: 1fr;
  }

  .news-card-featured .news-card-cover img,
  .news-card-featured .no-cover {
    min-height: 200px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-featured {
    grid-column: auto;
  }

  .news-card-body {
    padding: 16px 18px;
  }

  .news-card-featured .news-card-body {
    padding: 20px;
  }

  .news-card-featured .news-card-title {
    font-size: 1.15rem;
  }

  .pagination {
    gap: 4px;
  }

  .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .breadcrumb {
    padding: 16px 0 8px;
    font-size: 0.79rem;
  }

  .article-main {
    padding: 20px 18px;
  }

  .article-h1 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .article-meta-bar {
    gap: 10px;
    padding: 12px 14px;
  }

  .article-body {
    font-size: 0.92rem;
    line-height: 1.78;
  }

  .article-body h2 {
    font-size: 1.08rem;
  }
}

