﻿/* ================================================
   SJH-75UF Special Page — Shared Styles
   SIGHTRON JAPAN
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Serif+JP:wght@200;300;400;600&family=Inter:wght@200;300;400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --bg-void: #020408;
  --bg-deep: #060c14;
  --bg-card: #0b1520;
  --surface: #0e1c2e;
  --surface-light: #162438;
  --border: rgba(120, 160, 80, 0.15);
  --border-bright: rgba(141, 182, 0, 0.35);
  --accent-cyan: #c8a96e;
  /* Using gold/brown as the primary accent */
  --accent-gold: #c8a96e;
  --accent-blue: #a68446;
  /* darker brown variant */
  --text-primary: #e8f0f8;
  --text-muted: #9a8a7a;
  /* shift muted text slightly warm */
  --text-subtle: #5a4a3a;
  --white: #ffffff;
  --glow-cyan: 0 0 40px rgba(200, 169, 110, 0.2);
  --glow-gold: 0 0 30px rgba(200, 169, 110, 0.2);
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Star particle canvas */
#star-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  opacity: 0.85;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-top: 0.6rem;
}

.section-title em {
  font-style: italic;
  color: var(--accent-gold);
}

/* ── Shared Layout ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  z-index: 1;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(2, 4, 8, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(141, 182, 0, 0.05);
  transition: background 0.4s var(--transition);
}

.nav.scrolled {
  background: rgba(2, 4, 8, 0.97);
  border-bottom-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-brand-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.nav-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  border-left: 1px solid var(--border-bright);
  padding-left: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition);
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--bg-void) !important;
  background: var(--accent-cyan);
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  box-shadow: 0 0 20px rgba(141, 182, 0, 0.4);
}

.nav-cta::after {
  display: none !important;
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--border-bright) 30%, var(--border-bright) 70%, transparent 100%);
  margin: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-void);
}

.btn-primary:hover {
  background: var(--white);
  box-shadow: 0 0 30px rgba(141, 182, 0, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(141, 182, 0, 0.08);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--bg-void);
}

.btn-gold:hover {
  background: #dfc07e;
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s var(--transition);
}

.fade-in.visible {
  opacity: 1;
}

/* ── Footer ── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 4rem 3rem 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
}

.footer-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
}

.footer-links li+li {
  margin-top: 0.7rem;
}

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

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

.footer-bottom {
  max-width: 1240px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-subtle);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}