:root {
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --bg:       #ffffff;
  --bg-alt:   #f8fafc;
  --bg-card:  #ffffff;
  --bg-card2: #f1f5f9;

  --blue:       #00579c;
  --blue-dim:   #004a85;
  --blue-deep:  #003a6e;
  --blue-glow:  rgba(0,87,156,0.22);
  --blue-faint: rgba(0,87,156,0.07);
  --blue-mid:   rgba(0,87,156,0.14);

  --orange:      #e65100;
  --orange-dim:  rgba(230,81,0,0.10);
  --teal:        #00897b;
  --teal-dim:    rgba(0,137,123,0.10);
  --green:       #2e7d32;

  --border:     rgba(148,163,184,0.28);
  --border-hi:  rgba(0,87,156,0.20);

  --t1: #0f172a;
  --t2: #475569;
  --t3: #94a3b8;

  --radius: 14px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.fade { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade.in { opacity: 1; transform: none; }

.sec-hd { margin-bottom: var(--space-module); text-align: center; }
.sec-hd .lbl { margin-bottom: 0; }
.h2 {
  font-size: var(--font-size-page-title);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-title);
  font-family: var(--font-sans);
}
.sec-sub {
  font-size: var(--font-size-body);
  color: var(--color-block-dec);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 860px;
}

/* ══ Core Capabilities ═══════════════════════════════════════ */
.features-section {
  padding: var(--space-section) 0;
  background: var(--bg);
  padding-bottom: 0;
}
.features-section .sec-hd {
  margin-bottom: var(--space-module);
  text-align: center;
}
.features-section .sec-hd .lbl { margin-bottom: 0; }
.features-section .sec-hd .h2 { margin-top: var(--space-card); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-card);
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 100%;
  padding: calc(var(--space-card) * 1.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(104deg, #d2e7ff4d 20%, #d2e7ff1a 84%);
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card .lbl {
  align-self: flex-start;
  margin: 0;
}
.feature-card-title {
  margin: 0;
  font-size: var(--font-size-module-title);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--color-title);
  font-family: var(--font-sans);
  transition: color 0.3s ease;
}
.feature-card-desc {
  margin: 0;
  flex: 1;
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  transition: color 0.3s ease;
}
.feature-card:hover {
  background-color: var(--color-primary);
  background-image:
    url("/static/skin/images/product/zaku/block-3-hover-bg.png"),
    var(--gradient-1);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  border-color: transparent;
  box-shadow: var(--shadow-selected);
}
.feature-card:hover .lbl {
  color: var(--color-text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -7px 12px 0 rgba(255, 255, 255, 0.12);
}
.feature-card:hover .feature-card-title {
  color: var(--color-text-on-dark);
}
.feature-card:hover .feature-card-desc {
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ══ Three Key Scenarios ═════════════════════════════════════ */
.uc-section {
  padding: var(--space-section) 0;
}
.uc-section .sec-hd {
  margin-bottom: var(--space-module);
  text-align: center;
}
.uc-section .sec-hd .lbl { margin-bottom: 0; }
.uc-section .sec-hd .h2 {
  margin-top: var(--space-card);
  color: var(--color-title);
}
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-card);
}
.uc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: calc(var(--space-card) * 1.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--gradient-2);
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.uc-card .lbl { margin: 0; }
.uc-card-title {
  margin: 0;
  font-size: var(--font-size-module-title);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--color-title);
  font-family: var(--font-sans);
  transition: color 0.3s ease;
}
.uc-card-desc {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  transition: color 0.3s ease;
}
.uc-card:hover {
  background-color: var(--color-primary);
  background-image:
    url("/static/skin/images/product/zaku/block-4-hover-bg.png"),
    var(--gradient-1);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  border-color: transparent;
  box-shadow: var(--shadow-selected);
}
.uc-card:hover .lbl {
  color: var(--color-text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -7px 12px 0 rgba(255, 255, 255, 0.12);
}
.uc-card:hover .uc-card-title {
  color: var(--color-text-on-dark);
}
.uc-card:hover .uc-card-desc {
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 960px) {
  .uc-grid { grid-template-columns: 1fr; }
}

/* ══ Customer Stories ════════════════════════════════════════ */
.case-section {
  padding: var(--space-section) 0;
  background: #F8F9FD;
}
.case-section .sec-hd {
  margin-bottom: var(--space-module);
  text-align: center;
}
.case-section .sec-hd .lbl { margin-bottom: 0; }
.case-section .sec-hd .h2 {
  margin-top: var(--space-card);
  color: var(--color-title);
}
.case-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-card);
}
.story-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--bg);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.story-card:hover,
.case-section .story-card.fade.in:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-selected);
  border-color: transparent;
}
.story-side {
  position: relative;
  padding: calc(var(--space-card) * 2);
  background-color: #E8F1FB;
  background-image: url("/static/skin/images/product/zaku/block-6-l-b.png");
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.story-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  display: grid;
  place-items: center;
  font-size: var(--font-size-base);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-sans);
}
.story-name {
  margin: 0;
  font-size: var(--font-size-module-title);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
  font-family: var(--font-sans);
}
.story-main {
  padding: calc(var(--space-card) * 1.6);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
}
.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.story-tags .lbl::after,
.story-tags .lbl::before {
  display: none;
}
.story-desc {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
}
.stories-more {
  text-align: center;
  margin-top: var(--space-module);
}
.stories-more .cta-btn {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .story-card { grid-template-columns: 1fr; }
}

/* ─── Newsletter (legacy block kept) ───────────────────────── */
.newsletter-section {
  padding: 80px 0; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #001d3d 0%, var(--blue-deep) 45%, #005b9f 100%);
}
.newsletter-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 25% 50%, rgba(0,87,156,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 75% 50%, rgba(0,137,123,0.08) 0%, transparent 70%);
}
.newsletter-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
}
.newsletter-text .lbl--white { margin-bottom: 20px; }
.newsletter-text h2 {
  font-size: 36px; font-weight: 500; color: #fff;
  letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px;
}
.newsletter-text p { font-size: 18px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-input {
  flex: 1; padding: 14px 16px; font-size: 14px;
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px; outline: none; font-family: var(--font);
  transition: border-color .2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.45); }
.newsletter-btn {
  padding: 14px 28px; font-size: 18px; font-weight: 600;
  background: var(--blue); color: #fff; border: none;
  border-radius: 10px; cursor: pointer; font-family: var(--font);
  transition: background .2s; white-space: nowrap;
}
.newsletter-btn:hover { background: var(--blue-dim); }

@media (max-width: 1024px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .newsletter-form { flex-direction: column; }
}
