/* =========================================================
   GESCON Premium Total Consulting - Main Stylesheet
   Color Theme: Dark Navy x Brand Blue x Gold
   ========================================================= */

:root {
  /* Backgrounds */
  --bg-primary: #060812;
  --bg-secondary: #0d111f;
  --bg-tertiary: #141a2e;
  --bg-card: rgba(20, 26, 46, 0.6);

  /* Brand Blues (matched to GESCON logo) */
  --blue-bright: #1a7fc1;
  --blue-mid: #0e5c95;
  --blue-deep: #0a3d73;
  --blue-violet: #4f5882;

  /* Gold (luxury accent) */
  --gold: #c9a961;
  --gold-light: #e6c989;
  --gold-dark: #8a7339;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b8bdd0;
  --text-muted: #6a7088;

  /* Borders */
  --border-gold: rgba(201, 169, 97, 0.3);
  --border-blue: rgba(26, 127, 193, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Gradients */
  --gradient-blue-gold: linear-gradient(135deg, var(--blue-bright) 0%, var(--gold) 100%);
  --gradient-deep: linear-gradient(180deg, var(--bg-primary) 0%, var(--blue-deep) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 300;
}

::selection { background: var(--gold); color: var(--bg-primary); }

img { max-width: 100%; height: auto; display: block; }

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: linear-gradient(180deg, rgba(6,8,18,0.95) 0%, rgba(6,8,18,0.7) 70%, transparent 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  padding: 14px 60px;
  background: rgba(6,8,18,0.98);
  border-bottom-color: var(--border-gold);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(26,127,193,0.4));
  transition: all 0.3s;
}

.site-header.scrolled .site-logo img {
  height: 40px;
}

.site-logo:hover img {
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(201,169,97,0.5));
}

.main-nav {
  display: flex;
  gap: 42px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.lang-switch {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: 'Marcellus', serif;
  font-size: 11px;
  letter-spacing: 2px;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.lang-switch a.active, .lang-switch a:hover {
  color: var(--gold);
}

.lang-switch span {
  color: var(--border-subtle);
}

.cta-btn-header {
  padding: 12px 26px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  margin-left: 20px;
}

.cta-btn-header::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  transition: left 0.4s ease;
  z-index: -1;
}

.cta-btn-header:hover { color: var(--bg-primary); }
.cta-btn-header:hover::before { left: 0; }

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 22px;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  height: 100vh;
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: brightness(0.7) contrast(1.05) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg,
    rgba(6,8,18,0.65) 0%,
    rgba(10,61,115,0.35) 40%,
    rgba(6,8,18,0.95) 100%);
}

.hero-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(201,169,97,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,127,193,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 40px;
  max-width: 1300px;
}

.hero-tagline {
  font-family: 'Marcellus', serif;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 8px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
}

.hero-tagline::before, .hero-tagline::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-tagline::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 6px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.3s forwards;
}

.hero-title .gold { color: var(--gold); font-weight: 400; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.hero-title .blue { color: var(--blue-bright); font-weight: 400; font-family: 'Cormorant Garamond', serif; font-style: italic; }

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text-secondary);
  letter-spacing: 4px;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.6s forwards;
}

.hero-cta {
  display: flex;
  gap: 25px;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.9s forwards;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 18px 45px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  transition: all 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,169,97,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--blue-bright);
  border: 1px solid var(--blue-bright);
}

.btn-secondary:hover {
  background: rgba(26,127,193,0.1);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 3px;
  font-family: 'Marcellus', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.2s forwards;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0% { top: -30px; }
  100% { top: 60px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   PAGE HERO (sub pages)
   ========================================================= */
.page-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.page-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: brightness(0.6);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, var(--bg-primary));
}

.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.page-hero-eyebrow {
  font-family: 'Marcellus', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 25px;
}

.page-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--blue-bright);
  letter-spacing: 4px;
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
.section {
  padding: 140px 60px;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 100px;
}

.section-eyebrow {
  font-family: 'Marcellus', serif;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 6px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.section-title .accent {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}

.section-title .blue-accent {
  color: var(--blue-bright);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 2;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-section {
  background: var(--bg-secondary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
  height: 600px;
}

.about-image {
  position: absolute;
  top: 0; left: 0;
  width: 85%;
  height: 85%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) saturate(1.1);
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,61,115,0.2) 0%, rgba(201,169,97,0.15) 100%);
}

.about-image-frame {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 85%;
  height: 85%;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-image-frame::before {
  content: '';
  position: absolute;
  bottom: -1px; left: -1px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--blue-bright);
  border-left: 2px solid var(--blue-bright);
}

.about-text .section-eyebrow { margin-bottom: 20px; }
.about-text .section-title { text-align: left; margin-bottom: 35px; letter-spacing: 4px; }

.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2.2;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid var(--border-subtle);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-section {
  background: var(--bg-primary);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--gold));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  padding: 50px 40px;
  background: linear-gradient(135deg, rgba(20,26,46,0.8) 0%, rgba(13,17,31,0.8) 100%);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s ease;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  transform: translateX(100%);
  transition: transform 0.8s ease;
}

.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(20,26,46,0.95) 0%, rgba(13,17,31,0.95) 100%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-card:hover::before { transform: translateX(0); }
.service-card:hover::after { transform: translateX(0); }

.service-num {
  font-family: 'Marcellus', serif;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 30px;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 28px;
  margin-bottom: 30px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  transition: all 0.5s;
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--border-blue);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--blue-bright) 100%);
  color: var(--bg-primary);
  transform: rotate(360deg);
}

.service-card:hover .service-icon::before { opacity: 1; }

.service-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.service-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--blue-bright);
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.service-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 2;
  letter-spacing: 1px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  margin-bottom: 25px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: gap 0.3s;
}

.service-link:hover { gap: 18px; }

/* =========================================================
   AI FEATURE
   ========================================================= */
.ai-feature {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  position: relative;
  overflow: hidden;
}

.ai-feature::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26,127,193,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ai-feature::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ai-content .section-eyebrow { display: inline-flex; margin-bottom: 25px; }
.ai-content .section-title { text-align: left; font-size: 40px; letter-spacing: 4px; margin-bottom: 30px; }

.ai-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

.ai-features-list {
  list-style: none;
  margin-top: 35px;
}

.ai-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.ai-features-list li i { color: var(--gold); margin-top: 4px; }

.ai-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-circle {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 40s linear infinite;
}

.ai-circle::before, .ai-circle::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.ai-circle::before {
  width: 80%; height: 80%;
  border: 1px solid var(--border-blue);
  animation: rotate 25s linear infinite reverse;
}

.ai-circle::after {
  width: 60%; height: 60%;
  border: 1px solid var(--border-gold);
  animation: rotate 18s linear infinite;
}

.ai-center {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marcellus', serif;
  font-size: 36px;
  color: var(--bg-primary);
  letter-spacing: 2px;
  box-shadow: 0 0 80px rgba(201,169,97,0.4), 0 0 40px rgba(26,127,193,0.4);
  animation: rotate 40s linear infinite reverse;
}

.ai-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ai-dot:nth-child(1) { background: var(--gold); top: 0; left: 50%; transform: translateX(-50%); box-shadow: 0 0 20px var(--gold); }
.ai-dot:nth-child(2) { background: var(--blue-bright); bottom: 0; left: 50%; transform: translateX(-50%); box-shadow: 0 0 20px var(--blue-bright); }
.ai-dot:nth-child(3) { background: var(--gold); top: 50%; left: 0; transform: translateY(-50%); box-shadow: 0 0 20px var(--gold); }
.ai-dot:nth-child(4) { background: var(--blue-bright); top: 50%; right: 0; transform: translateY(-50%); box-shadow: 0 0 20px var(--blue-bright); }

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =========================================================
   CLIENTS
   ========================================================= */
.clients-section {
  background: var(--bg-primary);
  padding: 120px 60px;
  position: relative;
}

.clients-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  filter: grayscale(0.5);
}

.clients-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.client-item {
  background: var(--bg-secondary);
  padding: 45px 30px;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-secondary);
  transition: all 0.4s;
  position: relative;
}

.client-item:hover {
  background: var(--bg-tertiary);
  color: var(--gold);
}

.client-item::before {
  content: '◆';
  display: block;
  color: var(--blue-bright);
  font-size: 10px;
  margin-bottom: 12px;
  opacity: 0.7;
  transition: color 0.3s;
}

.client-item:hover::before { color: var(--gold); }

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy {
  background: var(--bg-secondary);
  padding: 160px 60px;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '"';
  position: absolute;
  top: 60px;
  left: 60px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 300px;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
}

.philosophy::after {
  content: '"';
  position: absolute;
  bottom: 60px;
  right: 60px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 300px;
  color: var(--blue-bright);
  opacity: 0.08;
  line-height: 1;
}

.philosophy-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.philosophy-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  line-height: 2;
  letter-spacing: 4px;
  margin: 50px 0;
  color: var(--text-primary);
}

.philosophy-quote .gold { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }
.philosophy-quote .blue { color: var(--blue-bright); font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }

.philosophy-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright));
  margin: 40px auto;
}

.philosophy-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  line-height: 1.8;
}

/* =========================================================
   CTA
   ========================================================= */
.cta-section {
  background: var(--bg-primary);
  padding: 140px 60px;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: brightness(0.6);
}

.cta-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10,61,115,0.4) 50%, var(--bg-primary) 100%);
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 6px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.cta-title .gold { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; }
.cta-title .blue { color: var(--blue-bright); font-family: 'Cormorant Garamond', serif; font-style: italic; }

.cta-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 50px;
  line-height: 2;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-contact {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-secondary);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
}

.cta-contact-item i { color: var(--gold); font-size: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #030410;
  padding: 80px 60px 30px;
  border-top: 1px solid var(--border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto 60px;
}

.footer-brand .site-logo { margin-bottom: 25px; }

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2;
  letter-spacing: 1px;
  font-family: 'Noto Sans JP', sans-serif;
  max-width: 360px;
}

.footer-col h4 {
  font-family: 'Marcellus', serif;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-social { display: flex; gap: 15px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 13px;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* =========================================================
   COMPANY / MESSAGE / CONTACT PAGES
   ========================================================= */
.content-section {
  padding: 100px 60px;
  background: var(--bg-primary);
  position: relative;
}

.content-section.alt { background: var(--bg-secondary); }

.content-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Company info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.info-table th, .info-table td {
  padding: 28px 30px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  letter-spacing: 1.5px;
  font-size: 14px;
  vertical-align: top;
}

.info-table th {
  color: var(--gold);
  font-weight: 500;
  width: 30%;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 3px;
  font-size: 14px;
  position: relative;
  padding-left: 40px;
}

.info-table th::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.info-table td { color: var(--text-secondary); }

/* CEO Message */
.message-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.ceo-portrait {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9) saturate(1.1);
}

.ceo-portrait::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  z-index: -1;
}

.ceo-portrait::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--blue-bright);
  border-left: 2px solid var(--blue-bright);
}

.message-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-weight: 300;
}

.message-body p .gold { color: var(--gold); }

.signature {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.signature-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.signature-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.signature-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  color: var(--text-primary);
  letter-spacing: 6px;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 4px;
  margin-bottom: 30px;
  color: var(--gold);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
}

.contact-info-content h4 {
  font-family: 'Marcellus', serif;
  font-size: 11px;
  color: var(--blue-bright);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.contact-info-content p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: 1px;
}

.contact-form {
  background: var(--bg-secondary);
  padding: 50px;
  border: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-label .required {
  color: var(--blue-bright);
  margin-left: 5px;
  font-size: 10px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(6,8,18,0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  transition: border-color 0.3s, background 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(13,17,31,0.8);
}

.form-textarea { min-height: 150px; resize: vertical; }

.form-submit {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
}

.privacy-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.privacy-note a { color: var(--gold); text-decoration: underline; }

/* Vision Cards */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.vision-card {
  padding: 50px 35px;
  background: linear-gradient(135deg, rgba(20,26,46,0.6) 0%, rgba(13,17,31,0.6) 100%);
  border: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  transition: all 0.4s;
}

.vision-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
}

.vision-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 50px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}

.vision-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 15px;
  color: var(--blue-bright);
}

.vision-card p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: 1px;
  font-weight: 300;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .site-header { padding: 18px 30px; }
  .section, .content-section { padding: 100px 30px; }
  .main-nav { display: none; }
  .cta-btn-header { display: none; }
  .mobile-menu-toggle { display: block; }
  .about-grid, .ai-grid, .message-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .services-grid, .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ai-visual { height: 400px; }
  .ai-circle { width: 320px; height: 320px; }
  .about-visual { height: 450px; }
  .ceo-portrait { height: 500px; }
}

@media (max-width: 640px) {
  .site-header { padding: 14px 20px; }
  .section, .content-section { padding: 80px 20px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .services-grid, .vision-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .about-stats { grid-template-columns: 1fr; gap: 20px; }
  .ai-circle { width: 250px; height: 250px; }
  .ai-center { width: 100px; height: 100px; font-size: 24px; }
  .site-logo img { height: 36px; }
  .contact-form { padding: 30px 20px; }
  .info-table th, .info-table td { padding: 18px 15px; font-size: 13px; }
  .info-table th { padding-left: 25px; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================================
   NEWS LIST
   ========================================================= */
.news-item:hover {
  padding-left: 15px !important;
  background: rgba(20, 26, 46, 0.4);
}
.news-item:hover span:nth-child(3) {
  color: var(--gold) !important;
}

/* Pagination */
.navigation.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-family: 'Marcellus', serif;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s;
  padding: 0 14px;
}
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 97, 0.1);
}

/* Form messages */
#form-message.success {
  background: rgba(26, 127, 193, 0.15);
  border: 1px solid var(--blue-bright);
  color: var(--blue-bright);
}
#form-message.error {
  background: rgba(201, 71, 71, 0.15);
  border: 1px solid #c94747;
  color: #ff8a8a;
}
