/* Base */
:root {
  --bg: #0b1324;
  --bg-alt: #0d162a;
  --card: #0f1b31;
  --text: #e6edf6;
  --muted: #aab3c5;
  --brand: #0b7285; /* teal */
  --brand-2: #19c3c8;
  --accent: #e03131; /* red */
  --success: #12b886;
  --shadow: rgba(2, 6, 23, 0.6);
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0a1222 40%, #0b1528 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}
.section.alt {
  background: radial-gradient(1200px 400px at 50% -100px, rgba(25, 195, 200, 0.08), transparent),
              radial-gradient(1000px 600px at 100% 0, rgba(11, 114, 133, 0.08), transparent);
}

h1, h2, h3, h4 {
  margin: 0 0 16px 0;
  line-height: 1.25;
}
h1.display {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.5px;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
}
h3 {
  font-size: 22px;
}
.lead {
  font-size: 18px;
  color: var(--text);
  opacity: 0.95;
}
.sublead {
  color: var(--muted);
  margin-top: 8px;
}
.section-intro {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 9, 20, 0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-text { font-size: 20px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}
.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-list a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}
.nav-list a:hover { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 8px 22px rgba(25, 195, 200, 0.18);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
}
.btn-small { padding: 8px 12px; border-radius: 8px; }

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Hero */
.hero {
  padding-top: 120px;
}
.hero-grid { align-items: center; }
.hero-cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badges li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.hero-visual { text-align: center; }
.logo-caption { color: var(--muted); margin-top: 10px; font-size: 14px; }

/* Cards */
.cards .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px var(--shadow);
}
.cards .card h3 { margin-bottom: 10px; }
.cards .card .list { color: var(--muted); margin: 10px 0 0; padding-left: 18px; }

/* Regions */
.region-grid { align-items: start; }
.region-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
}
.region-flag {
  width: 54px; height: 36px; border-radius: 6px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.1);
}
.region-flag.jp { background: radial-gradient(circle at 50% 50%, var(--accent) 0 40%, #ffffff 41%) #ffffff; }
.region-flag.sea { background: linear-gradient(45deg, var(--brand-2), var(--brand)); }

/* Timeline */
.timeline { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline li {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 16px 16px 48px;
}
.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

/* About */
.about-grid { align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px; text-align: center; }
.stat-value { font-size: 28px; font-weight: 800; }
.stat-label { color: var(--muted); font-size: 13px; }

/* Insights */
.link { color: var(--brand-2); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Contact */
.contact-grid { align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { margin-bottom: 8px; color: var(--muted); }
.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px;
}
.form-row { display: grid; gap: 8px; margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 12px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(25, 195, 200, 0.15);
}
.form-actions { display: flex; gap: 10px; align-items: center; }
.form-note { color: var(--muted); font-size: 12px; margin-top: 8px; }

/* Footer */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #080f1e;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.copyright { color: var(--muted); font-size: 12px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
}
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-list { position: absolute; right: 16px; top: 68px; background: rgba(5,9,20,0.95); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 10px; display: none; flex-direction: column; width: 220px; }
  .nav-list.open { display: flex; }
}

