/* ════════════════════════════════════════
   synergeee Corporate Site — Shared Styles
   ════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --purple:      #6C5CE7;
  --purple-dark: #4338CA;
  --purple-light:#A29BFE;
  --purple-bg:   #F5F3FF;
  --purple-bg2:  #EDE9FE;
  --cyan:        #06B6D4;
  --green:       #10B981;
  --gray-50:     #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-600:    #4B5563;
  --gray-700:    #374151;
  --gray-800:    #1F2937;
  --gray-900:    #111827;
  --white:       #FFFFFF;

  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow:    0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --max-w:     1200px;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── Layout ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 800; color: var(--purple);
  text-decoration: none; letter-spacing: -0.3px;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: var(--purple); }
.nav-cta {
  background: var(--purple); color: var(--white) !important;
  padding: 8px 20px; border-radius: 10px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--purple-dark) !important; transform: translateY(-1px); }

/* ─── Hamburger (mobile) ─── */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 16px 24px 24px;
  gap: 16px;
}
.nav-mobile a {
  font-size: 15px; font-weight: 500; color: var(--gray-700);
  text-decoration: none;
}
.nav-mobile a.nav-cta {
  text-align: center; border-radius: var(--radius-sm);
  padding: 12px; color: var(--white) !important;
}

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(108,92,231,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  background: var(--purple-bg); color: var(--purple);
  font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
  text-transform: uppercase; margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900; letter-spacing: -1px;
  line-height: 1.25; color: var(--gray-900);
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 17px; color: var(--gray-500);
  margin-top: 16px; max-width: 560px;
  margin-left: auto; margin-right: auto; line-height: 1.8;
}

/* ─── Section Label / Title ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--purple-bg); color: var(--purple);
}
.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.5px;
  line-height: 1.3; margin-top: 12px;
  color: var(--gray-900);
}
.section-sub {
  font-size: 16px; color: var(--gray-500);
  margin-top: 10px; max-width: 600px; line-height: 1.7;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--purple); color: var(--white);
  box-shadow: 0 4px 16px rgba(108,92,231,0.25);
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(108,92,231,0.3); }
.btn-secondary {
  background: var(--white); color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover { border-color: var(--purple-light); color: var(--purple); transform: translateY(-2px); }

/* ─── Footer ─── */
.footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 800; color: var(--white);
  text-decoration: none; margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px; color: var(--gray-500); margin-bottom: 24px;
}
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 28px;
}
.footer-links a {
  font-size: 13px; color: var(--gray-400); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: var(--gray-600); }

/* ─── Fade-up animation ─── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: flex; }
  section { padding: 72px 0; }
  .page-hero { padding: 110px 0 64px; }
}
