@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --primary: #0136d8;
  --primary-dark: #0128a4;
  --primary-soft: rgba(1, 54, 216, 0.08);
  --text: #0b1220;
  --muted: #4b5563;
  --bg: #f5f7fb;
  --bg-alt: #eef2f9;
  --surface: #ffffff;
  --border: #e3e7ef;
  --shadow: 0 20px 45px rgba(11, 18, 32, 0.08);
  --radius: 18px;
  --max-width: 1120px;
  --font-sans: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  animation: page-fade 0.35s ease both;
}

@keyframes page-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.solutions-flow {
  color-scheme: light;
  --primary: #0136d8;
  --primary-dark: #012bb0;
  --primary-soft: rgba(1, 54, 216, 0.12);
  --text: #0b1220;
  --muted: #5a6474;
  --bg: #ffffff;
  --bg-alt: rgba(240, 245, 255, 0.9);
  --surface: rgba(255, 255, 255, 0.82);
  --border: rgba(1, 54, 216, 0.12);
  --shadow: 0 20px 45px rgba(1, 54, 216, 0.08);
  background: radial-gradient(1200px 600px at 15% 10%, rgba(1, 54, 216, 0.08), transparent 70%),
    radial-gradient(900px 520px at 90% 0%, rgba(1, 54, 216, 0.06), transparent 72%),
    radial-gradient(900px 520px at 80% 80%, rgba(1, 54, 216, 0.05), transparent 72%),
    #ffffff;
  overflow-x: hidden;
}

/* 共通パーティクルキャンバス */
.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* ホームページ以外ではより薄く */
.solutions-flow .particle-canvas {
  opacity: 0.5;
}

.flow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: normal;
  filter: saturate(120%);
}

.solutions-flow > header,
.solutions-flow > main,
.solutions-flow > footer {
  position: relative;
  z-index: 1;
}

/* コンテンツセクションの背景を半透明にして可読性確保 */
.solutions-flow .section {
  background: rgba(255, 255, 255, 0.9);
}

.solutions-flow .section.alt {
  background: rgba(245, 248, 255, 0.92);
}

.solutions-flow .hero {
  background: rgba(255, 255, 255, 0.88);
}

.solutions-flow .site-footer {
  background: rgba(255, 255, 255, 0.95);
}

.solutions-flow .site-header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(1, 54, 216, 0.08);
  backdrop-filter: blur(14px) saturate(160%);
}

.solutions-flow .site-nav a {
  color: var(--text);
}

.solutions-flow .site-nav a[aria-current="page"] {
  color: #0031c2;
}

.solutions-flow .hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.9));
  border-bottom: 1px solid rgba(1, 54, 216, 0.08);
}

.solutions-flow .hero::before,
.solutions-flow .hero::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  opacity: 0.7;
  pointer-events: none;
}

.solutions-flow .hero::before {
  background: radial-gradient(60% 40% at 20% 30%, rgba(1, 54, 216, 0.18), transparent 65%);
  animation: flow-halo 18s ease-in-out infinite;
}

.solutions-flow .hero::after {
  background: radial-gradient(60% 40% at 80% 70%, rgba(1, 54, 216, 0.14), transparent 70%);
  animation: flow-halo 20s ease-in-out infinite reverse;
}

.solutions-flow .hero-title {
  color: #0b1220;
}

.solutions-flow .hero-badge {
  border: 1px solid rgba(1, 54, 216, 0.25);
}

.solutions-flow .card,
.solutions-flow .panel,
.solutions-flow .feature-card,
.solutions-flow .spec-card,
.solutions-flow .gallery figure,
.solutions-flow .form-card,
.home-page .card,
.home-page .feature-card,
.home-page .news-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(1, 54, 216, 0.1);
  box-shadow: 0 20px 45px rgba(1, 54, 216, 0.08);
  backdrop-filter: blur(16px) saturate(140%);
}

.solutions-flow .card,
.home-page .card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.solutions-flow .card:hover,
.home-page .card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 54, 216, 0.35);
  box-shadow: 0 26px 60px rgba(1, 54, 216, 0.16);
}

.solutions-flow .tag,
.solutions-flow .pill-list li {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(1, 54, 216, 0.12);
  color: #0a36c8;
}

.solutions-flow .cta {
  background: linear-gradient(120deg, rgba(1, 54, 216, 0.95), rgba(52, 96, 235, 0.92));
  box-shadow: 0 24px 55px rgba(1, 54, 216, 0.2);
}

.solutions-flow .btn.primary {
  background: linear-gradient(120deg, #0136d8, #1948e0);
  border-color: rgba(1, 54, 216, 0.35);
  box-shadow: 0 12px 26px rgba(1, 54, 216, 0.24);
}

.solutions-flow .btn.primary:hover {
  background: linear-gradient(120deg, #0132c8, #1640cc);
}

.solutions-flow .btn.light {
  background: rgba(255, 255, 255, 0.96);
  color: #0136d8;
}

.solutions-flow .section.alt {
  background: rgba(245, 248, 255, 0.9);
}

@keyframes flow-halo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(24px, -12px, 0) scale(1.08);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.6;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid rgba(1, 54, 216, 0.35);
  outline-offset: 2px;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}

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

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 120px;
  height: auto;
  border-radius: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--text);
  font-size: 1.1rem;
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn.light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn.light:hover {
  background: #e7eeff;
  text-decoration: none;
}

.btn.small {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #eef4ff 0%, #f7f9fc 100%);
  border-bottom: 1px solid var(--border);
}

.hero-slim {
  padding: 2.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 3.1rem);
  margin: 0.6rem 0 0.8rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.hero-media {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-media img {
  border-radius: 0;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.section {
  padding: 3rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards.columns-4 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.card img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  width: 100%;
  background: #f5f7fa;
  border-radius: 0;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ===== SOLUTION COLOR TAGS ===== */
.tag.tag-sol-spectrum  { background: #ecfdf5; border-color: #6ee7b7; color: #059669; }
.tag.tag-sol-anomaly   { background: #eff6ff; border-color: #93c5fd; color: #2563eb; }
.tag.tag-sol-report    { background: #eef2ff; border-color: #a5b4fc; color: #4338ca; }
.tag.tag-sol-algorithm { background: #f5f3ff; border-color: #c4b5fd; color: #7c3aed; }

/* ===== SOLUTION COLOR ACCENT ON SOLUTION CARDS ===== */
.card.sol-spectrum  { border-top: 3px solid #059669; }
.card.sol-anomaly   { border-top: 3px solid #2563eb; }
.card.sol-report    { border-top: 3px solid #4338ca; }
.card.sol-algorithm { border-top: 3px solid #7c3aed; }

.card.sol-spectrum:hover  { border-color: rgba(5,150,105,0.45);  border-top-color: #059669; box-shadow: 0 26px 60px rgba(5,150,105,0.14); }
.card.sol-anomaly:hover   { border-color: rgba(37,99,235,0.45);  border-top-color: #2563eb; box-shadow: 0 26px 60px rgba(37,99,235,0.14); }
.card.sol-report:hover    { border-color: rgba(67,56,202,0.45);  border-top-color: #4338ca; box-shadow: 0 26px 60px rgba(67,56,202,0.14); }
.card.sol-algorithm:hover { border-color: rgba(124,58,237,0.45); border-top-color: #7c3aed; box-shadow: 0 26px 60px rgba(124,58,237,0.14); }

.card.sol-spectrum  .card-link { color: #059669; }
.card.sol-anomaly   .card-link { color: #2563eb; }
.card.sol-report    .card-link { color: #4338ca; }
.card.sol-algorithm .card-link { color: #7c3aed; }

/* ===== SOLUTION COLOR ACCENT ON CASE STUDY CARDS ===== */
.card:has(.tag-sol-spectrum)  { border-top: 3px solid #059669; }
.card:has(.tag-sol-anomaly)   { border-top: 3px solid #2563eb; }
.card:has(.tag-sol-report)    { border-top: 3px solid #4338ca; }
.card:has(.tag-sol-algorithm) { border-top: 3px solid #7c3aed; }

.card:has(.tag-sol-spectrum):hover  { border-color: rgba(5,150,105,0.45);  border-top-color: #059669; box-shadow: 0 26px 60px rgba(5,150,105,0.14); }
.card:has(.tag-sol-anomaly):hover   { border-color: rgba(37,99,235,0.45);  border-top-color: #2563eb; box-shadow: 0 26px 60px rgba(37,99,235,0.14); }
.card:has(.tag-sol-report):hover    { border-color: rgba(67,56,202,0.45);  border-top-color: #4338ca; box-shadow: 0 26px 60px rgba(67,56,202,0.14); }
.card:has(.tag-sol-algorithm):hover { border-color: rgba(124,58,237,0.45); border-top-color: #7c3aed; box-shadow: 0 26px 60px rgba(124,58,237,0.14); }

.card:has(.tag-sol-spectrum)  .card-link { color: #059669; }
.card:has(.tag-sol-anomaly)   .card-link { color: #2563eb; }
.card:has(.tag-sol-report)    .card-link { color: #4338ca; }
.card:has(.tag-sol-algorithm) .card-link { color: #7c3aed; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 0.4rem;
  color: #c3c8d4;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--muted);
}

.overview-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
}

.before-after {
  display: grid;
  gap: 1rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.panel h3 {
  margin-top: 0;
}

.panel.highlight {
  border-color: rgba(1, 54, 216, 0.3);
  background: #f1f5ff;
}

.feature-grid,
.spec-grid,
.gallery,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.feature-card,
.spec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.feature-card h3,
.spec-card h3 {
  margin-top: 0;
}

.gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

.members-group {
  margin-top: 2rem;
}

.members-group:first-of-type {
  margin-top: 0;
}

.group-title {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.group-note {
  margin: 0 0 0.2rem;
  font-weight: 600;
  color: var(--muted);
}

.member-grid,
.company-grid {
  display: grid;
  gap: 1.5rem;
}

.member-card,
.company-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.5rem;
}

.member-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px dashed rgba(1, 54, 216, 0.2);
  overflow: hidden;
}
.member-photo.has-photo {
  border: none;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.member-role {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.member-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.member-roman {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.member-bio {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.company-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.company-card p {
  margin: 0;
  color: var(--muted);
}

.company-title {
  font-weight: 700;
  color: var(--text);
}

.gallery figure img {
  border-radius: 0;
}

.gallery figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.cta {
  background: var(--primary);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.cta ul {
  margin: 0;
  padding-left: 1.2rem;
}

.cta .btn {
  background: #fff;
  color: var(--primary);
}

.cta .btn:hover {
  background: #e7eeff;
  text-decoration: none;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.35rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1, 54, 216, 0.15);
}

.form-row {
  display: grid;
  gap: 1rem;
}

.help {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.center {
  text-align: center;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer img {
  border-radius: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-title {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 800px) {
  .feature-grid,
  .spec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta {
    grid-template-columns: 1fr auto;
  }

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

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .overview-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .cards.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 1rem;
    font-size: 0.85rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .site-nav a {
    font-size: 0.85rem;
  }

  .header-inner > .btn {
    display: none;
  }
}

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #0b1220;
  border-radius: 2px;
  margin: 4px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 600px) {
  .home-page .site-header-home {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav {
    display: none !important;
  }

  .site-nav.is-open {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: fixed;
    inset: 0;
    padding: 80px 1rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 9999;
  }

  .nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
  }

  .nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #0b1220;
    border-radius: 1px;
  }

  .nav-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-close span:nth-child(2) {
    display: none;
  }

  .nav-close span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .site-nav a {
    font-size: 1rem !important;
  }

  .header-inner > .btn {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
    animation: none;
  }
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body {
    animation: none;
  }
}

/* ===== HOME PAGE STYLES ===== */
body.home-page {
  background: #ffffff;
  overflow-x: hidden;
}

.home-hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.home-page .site-header-home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid rgba(1, 54, 216, 0.08);
  z-index: 100;
}

.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1rem 3rem;
  z-index: 1;
}

.hero-fullscreen-content {
  max-width: 800px;
  text-align: center;
}

.hero-fullscreen-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero-logo {
  width: 140px;
  height: auto;
  margin-bottom: 0.5rem;
  border-radius: 0;
}

.hero-fullscreen-title {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin: 0;
  color: #0b1220;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8);
}

.hero-line {
  display: block;
}

.hero-fullscreen-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin: 0;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
}

.hero-fullscreen-description {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0.5rem 0 0;
  line-height: 1.8;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.6);
}

.hero-fullscreen-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-arrow {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.link-arrow {
  font-weight: 600;
  color: var(--primary);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.6);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Home page sections need background for readability */
.home-page .section-business,
.home-page .section-solutions,
.home-page .section-pickup,
.home-page .section-news,
.home-page .section-cta-full {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
}

.home-page .section-pickup {
  background: rgba(245, 248, 255, 0.94);
}

.home-page .site-footer {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
}

/* Client logos grid */
.client-logos-wrapper {
  overflow: hidden;
  margin-top: 1.5rem;
}

.client-logos {
  display: flex;
  gap: 2rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.client-logos:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}

.client-logo:hover {
  box-shadow: var(--shadow);
}

.client-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 900px) {
  
  .hero-logo {
    width: 180px;
  }
}

/* ===== SOLUTIONS-FLOW TEXT READABILITY ===== */
.solutions-flow > header,
.solutions-flow > main,
.solutions-flow > footer {
  position: relative;
  z-index: 1;
}

.solutions-flow .hero-title,
.solutions-flow .section-title,
.solutions-flow h1,
.solutions-flow h2,
.solutions-flow h3 {
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
}

.solutions-flow .hero {
  background: transparent;
}

.solutions-flow .hero::before,
.solutions-flow .hero::after {
  display: none;
}

.solutions-flow .card {
  background: rgba(255, 255, 255, 0.92);
}

/* ===== COMPANY TABLE STYLES ===== */
.company-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.company-table th {
  background: rgba(1, 54, 216, 0.04);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  width: 160px;
}

.company-table td {
  color: var(--muted);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* ===== NEWS GRID STYLES ===== */
.news-grid {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(1, 54, 216, 0.12);
}

.news-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border-radius: 10px;
  border: 1px dashed rgba(1, 54, 216, 0.2);
  overflow: hidden;
}

.news-image.has-image,
.news-image.has-default {
  border: 1px solid var(--border);
  background: #fff;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  padding: 0.25rem;
}

.article-hero-image {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.news-summary {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.news-title a {
  text-decoration: none;
  color: inherit;
}

.news-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.news-title a:hover {
  text-decoration: none;
}

.news-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.2rem;
}

.news-category.cat-news {
  background: rgba(1, 54, 216, 0.08);
  color: var(--primary);
}

.news-category.cat-press-release {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.news-category.cat-media {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.news-category.cat-seminar {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}

/* Article detail page */
.article-header {
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

.article-content {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  line-height: 1.9;
  color: var(--text);
}

.article-content p {
  margin: 0 0 1.2rem;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1rem 0;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.6rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.pagination-btn:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.pagination-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  cursor: default;
}

.pagination-btn.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 600px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-image {
    aspect-ratio: 16 / 9;
  }

  .article-content {
    padding: 1.25rem;
  }

  .company-table th {
    width: auto;
    display: block;
    border-bottom: none;
    padding-bottom: 0.25rem;
  }

  .company-table td {
    display: block;
    padding-top: 0.25rem;
  }

  .company-table tr {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  .company-table tr:last-child {
    border-bottom: none;
  }
}
