/* ========================================
   Hero Premium Design - Blue Sky Theme
   ======================================== */

:root {
  --hero-font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --hero-font-body: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --hero-blue-main: #0b63c8;
  --hero-blue-deep: #041633;
  --hero-blue-soft: #e7f1ff;
  --hero-gold: #c2a360;
  --hero-gold-light: #e4cf97;
  --hero-text: #f7f9fc;
  --hero-text-muted: #9fb3d1;
}

/* WebGL Canvas Background */
#gl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hero Section Wrapper */
.hero-premium-section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: hidden;
}

/* Hero Main Content */
.hero-premium-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(40px, 8vh, 100px) clamp(20px, 6vw, 96px) clamp(24px, 5vh, 40px);
}

.hero-shell {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
}

.hero-content {
  max-width: 1200px;
}

.hero-left {
  flex: 0 0 100%;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-label-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.hero-eyebrow {
  font-family: var(--hero-font-display);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--hero-blue-soft);
  opacity: 0;
  transform: translateY(18px);
  text-shadow: 0 0 16px rgba(0,0,0,0.45);
}

.hero-flight-tag {
  font-family: var(--hero-font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(120deg, rgba(11,99,200,0.82), rgba(4,35,90,0.95));
  color: #fdfefe;
  opacity: 0;
  transform: translateY(18px);
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

.hero-title {
  font-family: var(--hero-font-display);
  font-size: clamp(60px, 13vw, 170px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.86;
  margin-bottom: clamp(6px, 1.3vh, 12px);
  color: var(--hero-text);
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
}

.hero-title .accent {
  color: var(--hero-blue-soft);
}

.hero-subtitle {
  font-family: var(--hero-font-display);
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.11em;
  color: var(--hero-gold-light);
  opacity: 0;
  transform: translateY(18px);
}

.hero-tagline {
  font-family: var(--hero-font-body);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 200;
  letter-spacing: 0.32em;
  color: var(--hero-text-muted);
  margin-top: clamp(18px, 3vh, 26px);
  opacity: 0;
  transform: translateY(18px);
}

.hero-metrics {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(20px, 3.5vh, 32px);
  opacity: 0;
  transform: translateY(18px);
}

.hero-metric {
  min-width: 120px;
}

.hero-metric-label {
  display: block;
  font-family: var(--hero-font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  margin-bottom: 6px;
}

.hero-metric-value {
  display: block;
  font-family: var(--hero-font-display);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--hero-text);
}

.hero-metric-note {
  font-size: 11px;
  color: rgba(159,179,209,0.9);
  margin-top: 4px;
}

/* Service Classes */
.service-classes {
  margin-top: clamp(26px, 4vh, 40px);
  display: flex;
  gap: clamp(24px, 3.5vw, 40px);
  opacity: 0;
  transform: translateY(18px);
}

.service-class {
  position: relative;
  cursor: pointer;
  padding: 10px 0;
}

.service-class::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hero-text-muted);
  opacity: 0.2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.service-class:hover::before {
  transform: scaleX(1);
  opacity: 0.4;
}

.service-class.active::before {
  transform: scaleX(1);
  background: var(--hero-blue-main);
  opacity: 1;
}

.service-class-name {
  font-family: var(--hero-font-display);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  transition: color 0.4s ease;
}

.service-class:hover .service-class-name {
  color: var(--hero-text);
}

.service-class.active .service-class-name {
  color: var(--hero-blue-soft);
}

/* Hero Footer */
.hero-premium-footer {
  position: relative;
  z-index: 10;
  padding: clamp(20px, 3.5vh, 32px) clamp(20px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-blue-main);
  transform: translateX(-100%);
  animation: scrollPulse 3s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.scroll-text {
  font-family: var(--hero-font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
}

.hero-contact-info {
  text-align: right;
  opacity: 0;
}

.hero-contact-label {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  margin-bottom: 6px;
}

.hero-contact-tel {
  font-family: var(--hero-font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--hero-text);
}

/* Corner Frames */
.hero-premium-section .corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 20;
  opacity: 0;
}

.hero-premium-section .corner svg { width: 100%; height: 100%; }
.hero-premium-section .corner--tl { top: clamp(20px, 3vh, 32px); left: clamp(20px, 5vw, 80px); }
.hero-premium-section .corner--tr { top: clamp(20px, 3vh, 32px); right: clamp(20px, 5vw, 80px); }
.hero-premium-section .corner--bl { bottom: clamp(20px, 3vh, 32px); left: clamp(20px, 5vw, 80px); }
.hero-premium-section .corner--br { bottom: clamp(20px, 3vh, 32px); right: clamp(20px, 5vw, 80px); }

/* Responsive Design */
@media (max-width: 960px) {
  .hero-shell {
    gap: 32px;
  }
  .hero-right {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-premium-main {
    align-items: flex-start;
    padding: clamp(16px, 4vh, 28px) 20px clamp(32px, 5vh, 40px);
  }

  .hero-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .hero-left {
    flex: none;
  }

  .hero-right {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    flex-wrap: wrap;
  }

  .service-classes {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero-flight-tag {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-premium-footer {
    padding-inline: 16px;
  }

  .corner--tl, .corner--bl {
    left: 16px;
  }

  .corner--tr, .corner--br {
    right: 16px;
  }

  .hero-title {
    font-size: clamp(46px, 14vw, 80px);
  }

  .hero-tagline {
    letter-spacing: 0.24em;
  }
}
