/* ============================================
   Easiverse Japan - Main Stylesheet
   White & Clean Design
============================================ */

/* ---- CSS Variables ---- */
:root {
  --col-bg:        #ffffff;
  --col-bg2:       #f5f8ff;
  --col-bg3:       #eef3ff;
  --col-blue:      #1a6fff;
  --col-blue-dark: #0d4fa8;
  --col-blue-glow: #2b8fff;
  --col-blue-lt:   #e8f0ff;
  --col-cyan:      #00b4d8;
  --col-cyan-lt:   #e0f7fc;
  --col-accent:    #6c63ff;
  --col-gold:      #f5a623;
  --col-white:     #ffffff;
  --col-black:     #111827;
  --col-gray-dk:   #374151;
  --col-gray:      #6b7280;
  --col-gray-lt:   #9ca3af;
  --col-border:    #e5e9f2;
  --col-border2:   rgba(26,111,255,0.18);
  --col-card:      #ffffff;
  --font-ja:       'Noto Sans JP', sans-serif;
  --font-serif:    'Noto Serif JP', serif;
  --font-en:       'Inter', sans-serif;
  --shadow-sm:     0 2px 8px rgba(26,111,255,0.08);
  --shadow-md:     0 8px 32px rgba(26,111,255,0.12);
  --shadow-lg:     0 16px 56px rgba(26,111,255,0.16);
  --shadow-blue:   0 8px 32px rgba(26,111,255,0.22);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--col-bg);
  color: var(--col-black);
  font-family: var(--font-ja);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Particle Canvas (hidden on white bg) ---- */
#particle-canvas {
  display: none;
}

/* ---- Container ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============================================
   SECTION SHARED STYLES
============================================ */
.section-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--col-blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--col-blue), var(--col-cyan));
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--col-black);
  line-height: 1.3;
}
.section-desc {
  color: var(--col-gray);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 680px;
}

/* ============================================
   HERO SECTION (legacy - used in old form page)
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 80px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f5f8ff 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(26,111,255,0.08) 0%, transparent 70%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

/* ---- Vortex Ring ---- */
.hero-vortex-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,111,255,0.12);
  animation: vortex-spin linear infinite;
  z-index: 1;
}
.ring1 { width: 600px; height: 600px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 22s; }
.ring2 { width: 800px; height: 800px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 33s; animation-direction: reverse; border-color: rgba(0,180,216,0.08); }
.ring3 { width: 1000px; height: 1000px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 48s; border-color: rgba(26,111,255,0.05); }
@keyframes vortex-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ---- TOP NAV ---- */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--col-border);
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.brand-logo { width: 48px; height: 48px; flex-shrink: 0; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; gap: 1px; }
.brand-main {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--col-black);
}
.brand-sub {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--col-blue);
}
.top-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.top-nav-links a {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--col-gray-dk);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}
.top-nav-links a:hover { color: var(--col-blue); }
.nav-entry-btn {
  padding: 8px 20px !important;
  background: linear-gradient(135deg, #1a6fff, #00b4d8) !important;
  border-radius: 100px !important;
  color: #fff !important;
  font-size: 0.78rem !important;
  box-shadow: 0 4px 14px rgba(26,111,255,0.3) !important;
  transition: box-shadow 0.3s, transform 0.2s !important;
}
.nav-entry-btn:hover {
  box-shadow: 0 6px 22px rgba(26,111,255,0.45) !important;
  transform: scale(1.04) !important;
  color: #fff !important;
}

/* ---- SVG Logo ---- */
.svg-logo {
  width: 48px; height: 48px;
  flex-shrink: 0;
}
.svg-logo svg { width: 100%; height: 100%; }
.form-logo-svg { width: 38px !important; height: 38px !important; }

/* ---- BADGES ---- */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--col-blue-lt);
  border: 1px solid rgba(26,111,255,0.25);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--col-blue);
}
.badge i { color: var(--col-cyan); }
.badge.large { font-size: 0.9rem; padding: 8px 20px; }

/* ---- CTA BUTTON ---- */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #1a6fff 0%, #00b4d8 100%);
  border-radius: 100px;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(26,111,255,0.3);
}
.cta-btn:hover .cta-inner {
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(26,111,255,0.45);
}
.cta-glow { display: none; }
.cta-btn.large .cta-inner { padding: 20px 52px; font-size: 1.15rem; }
.cta-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--col-gray-lt);
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  opacity: 0.4;
}
.scroll-indicator span {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--col-blue);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--col-blue), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: #fff;
}
.section-bg-glow { display: none; }

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--col-bg2);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--col-blue), var(--col-cyan));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--col-blue-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  color: var(--col-blue);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--col-black);
}
.feature-card p {
  font-size: 0.86rem;
  color: var(--col-gray);
  line-height: 1.8;
}

/* ============================================
   FLOW SECTION
============================================ */
.flow-section {
  padding: 100px 0;
  position: relative;
  background: var(--col-bg2);
}
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 16px;
  flex-wrap: wrap;
}
.flow-step {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--col-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.flow-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--col-blue), var(--col-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.flow-step:hover::after { transform: scaleX(1); }
.flow-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.flow-step-num {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--col-blue);
  margin-bottom: 10px;
}
.flow-step-icon {
  font-size: 1.7rem;
  color: var(--col-blue);
  margin-bottom: 12px;
}
.flow-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--col-black);
}
.flow-step p {
  font-size: 0.82rem;
  color: var(--col-gray);
  line-height: 1.8;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--col-blue);
  font-size: 1rem;
  flex-shrink: 0;
  align-self: center;
  opacity: 0.5;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--col-border);
  position: relative;
  z-index: 2;
  background: #fff;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--col-gray-lt);
  text-align: center;
  margin-bottom: 6px;
}
.footer-note {
  font-size: 0.72rem;
  color: var(--col-gray-lt);
  text-align: center;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
  .top-nav-links a:not(.nav-entry-btn) { display: none; }
}
@media (max-width: 768px) {
  .top-nav { padding: 12px 16px; }
  .hero { padding: 90px 16px 60px; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 8px 0; align-self: center; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 16px 32px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .hero-badges { flex-direction: column; align-items: center; }
  .badge { width: 100%; justify-content: center; }
}
