/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Pop Aqua Palette */
  --bg: #f0f9ff;
  --bg-alt: #e0f2fe;
  --bg-dark: #0c4a6e;
  --surface: #ffffff;
  --surface-alt: #e0f2fe;
  --border: #bae6fd;
  --border-light: #e0f2fe;
  --text: #0c4a6e;
  --text-body: #1e6091;
  --text-muted: #3b7aaa;         /* WCAG AA on --bg */
  --accent: #0ea5e9;
  --accent-light: #38bdf8;
  --accent-vivid: #0284c7;
  --accent-subtle: rgba(14, 165, 233, 0.10);
  --pink: #f472b6;
  --pink-text: #db2777;
  --font-body: 'Nunito', 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  --font-display: 'Nunito', 'Inter', 'Noto Sans JP', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --section-pad: 120px;
  --focus-ring: 0 0 0 3px rgba(14, 165, 233, 0.4);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== SKIP LINK (accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ===== FOCUS STYLES (accessibility) ===== */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ===== LANGUAGE BAR ===== */
.lang-bar {
  position: fixed;
  top: 20px;
  right: 32px;
  z-index: 1001;
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.08);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}
.lang-btn:hover { color: var(--accent-vivid); background: var(--surface-alt); }
.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 249, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: #fff;
}
.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  padding: 4px 0;
  border-radius: 3px;
}
.nav-links a:hover { color: var(--accent-vivid); }
.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.2s !important;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.25);
}
.nav-cta:hover {
  background: var(--accent-vivid) !important;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 100px;
  background: linear-gradient(180deg, #e0f2fe 0%, var(--bg) 60%, var(--surface) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--surface), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}
.hero-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-text);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #38bdf8, var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.85;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 72px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--surface);
  color: var(--accent-vivid);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--surface-alt);
}
.btn-full { width: 100%; justify-content: center; }

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding-top: 44px;
  border-top: 2px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-vivid), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}

/* ===== SECTIONS ===== */
.section { padding: var(--section-pad) 0; }
.section-dark {
  background: linear-gradient(135deg, #0c4a6e, #0e7490);
  color: #e0f2fe;
}
.section-dark .lead,
.section-dark .section-body p { color: rgba(224, 242, 254, 0.75); }
.section-dark .section-label h2 { color: #fff; }
.section-dark .label-tag { color: var(--pink); }

.section-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.section-label { position: relative; }
.label-tag {
  font-size: 12px;
  color: var(--pink-text);
  letter-spacing: 3px;
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.section-label h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  position: sticky;
  top: 100px;
  line-height: 1.35;
}
.lead {
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 24px;
  color: var(--text);
  font-weight: 400;
}
.section-body p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}

/* ===== DIVIDER ===== */
.section + .section { border-top: 2px solid var(--border); }
.section-dark + .section,
.section + .section-dark { border-top: none; }

/* Value Cards */
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.vcard {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s;
}
.vcard:hover {
  border-color: var(--accent-light);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.10);
  transform: translateY(-3px);
}
.vcard-icon {
  display: none;
}
.vcard h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-vivid);
}
.vcard p {
  font-size: 14px !important;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Framework */
.fw-block {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.fw-block:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
}
.fw-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.fw-badge {
  background: linear-gradient(135deg, var(--pink), #f9a8d4);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 2px;
}
.fw-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.fw-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.fw-features span {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 18px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: rgba(224, 242, 254, 0.7);
  letter-spacing: 0.3px;
}

/* Sectors */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.sector-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s;
}
.sector-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.10);
  transform: translateY(-3px);
}
.sector-icon {
  display: none;
}
.sector-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}
.sector-card-more {
  background: var(--surface-alt);
  border-style: dashed;
  border-color: var(--accent-light);
}
.sector-card-more .sector-icon {
  display: none;
}
.sector-card-more h3 {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}

/* Global Reach */
.region-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.region {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.region:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
}
.region h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.region p {
  font-size: 14px !important;
  color: rgba(224, 242, 254, 0.6) !important;
}
.global-cta {
  margin-top: 36px;
  padding: 32px;
  background: rgba(244, 114, 182, 0.08);
  border: 2px solid rgba(244, 114, 182, 0.15);
  border-radius: var(--radius);
  text-align: center;
}
.global-cta p {
  font-family: var(--font-display);
  font-size: 17px !important;
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-style: normal;
}

/* Contact */
.contact-form {
  margin-top: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-vivid);
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
  outline: none;
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
  outline: none;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230ea5e9' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.contact-info {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}
.contact-info p {
  font-size: 14px !important;
  margin-bottom: 8px !important;
  color: var(--text-muted) !important;
}
.contact-info strong { color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0c4a6e, #0e7490);
  border-top: none;
  padding: 52px 0;
  color: rgba(224, 242, 254, 0.7);
}
.footer-inner { text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.footer .logo-mark {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.footer .logo-text {
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  letter-spacing: 3px;
}
.footer-tagline {
  color: rgba(224, 242, 254, 0.6);
  font-size: 12px;
  margin-bottom: 24px;
  font-weight: 500;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(224, 242, 254, 0.65);
  transition: color 0.2s;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.95);
  text-decoration-color: rgba(255,255,255,0.4);
}
.footer-links a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
.footer-external {
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.55);  /* WCAG: 6.15:1 */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section-label h2 { position: static; }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  :root { --section-pad: 90px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 40px 32px;
    gap: 24px;
    z-index: 999;
    border-top: 2px solid var(--border);
  }
  .nav-links.open a {
    font-size: 18px;
    color: var(--text);
    font-weight: 500;
  }
  .nav-toggle { display: flex; }
  .lang-bar {
    top: auto;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
  .hero { min-height: auto; padding: 140px 24px 72px; }
  .hero-title { font-size: clamp(28px, 8vw, 48px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 36px; flex-wrap: wrap; }
  .value-cards { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .region-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fw-block { padding: 24px; }
  :root { --section-pad: 72px; }
  .container { padding: 0 20px; }
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
