/*
Theme Name: SyncTank
Theme URI: https://synctank.jp
Author: SyncTank LLC
Author URI: https://synctank.jp
Description: SyncTank合同会社 コーポレートテーマ
Version: 2.0.0
License: Proprietary
Text Domain: synctank
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --st-black: #2D2926;
  --st-orange: #F06A00;
  --st-orange-light: #FF8A33;
  --st-light: #f2f8fc;
  --st-white: #ffffff;
  --st-gray-100: #fafafa;
  --st-gray-200: #f0f0f0;
  --st-gray-300: #e0e0e0;
  --st-gray-400: #999999;
  --st-gray-500: #666666;

  --font-en: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-display: 'Inter', var(--font-ja);

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
  --space-2xl: 200px;

  --container-max: 1280px;
  --container-narrow: 800px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.6s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ja);
  color: var(--st-black);
  background: var(--st-light);
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  transition: background-color 0.05s linear;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection {
  background: var(--st-orange);
  color: var(--st-white);
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.t-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--st-orange);
  display: inline-block;
}

.t-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--st-orange);
  vertical-align: middle;
  margin-right: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(242, 248, 252, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  height: 140px;
  width: auto;
  transition: all 0.5s var(--ease-out);
}

.site-header.is-scrolled .site-logo {
  height: 88px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav a {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--st-black);
  position: relative;
  transition: color 0.3s;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--st-orange);
  transition: width 0.5s var(--ease-out);
}

.site-nav a:hover { color: var(--st-orange); }
.site-nav a:hover::after { width: 100%; }

/* Hero header is white */
.hero-visible .site-header:not(.is-scrolled) .site-nav a { color: rgba(255,255,255,0.7); }
.hero-visible .site-header:not(.is-scrolled) .site-nav a:hover { color: var(--st-orange); }
.hero-visible .site-header:not(.is-scrolled) .site-logo { filter: brightness(0) invert(1); }
.hero-visible .site-header:not(.is-scrolled) .nav-toggle span { background: var(--st-white); }
.nav-toggle.is-active span { background: var(--st-black) !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--st-black);
  position: absolute;
  left: 0;
  transition: all 0.4s var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Nav bulb icon - mobile menu only */
.nav-bulb {
  display: none;
}

/* ============================================================
   HERO - Immersive full-screen
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: transparent;
  color: var(--st-white);
  position: relative;
  overflow: hidden;
}

/* Animated gradient orb */
.hero__orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 106, 0, 0.15) 0%, rgba(240, 106, 0, 0.03) 50%, transparent 70%);
  filter: blur(60px);
  animation: orbFloat 12s ease-in-out infinite;
  pointer-events: none;
}

.hero__orb--1 { top: -20%; right: -10%; animation-delay: 0s; }
.hero__orb--2 { bottom: -30%; left: -15%; width: 500px; height: 500px; animation-delay: -6s; background: radial-gradient(circle, rgba(240, 106, 0, 0.08) 0%, transparent 70%); }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid lines background */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__inner {
  max-width: 1000px;
  position: relative;
  z-index: 2;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--st-orange);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--st-orange);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 40px;
}

/* Character split animation */
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(-40deg);
  animation: charReveal 0.8s var(--ease-out) forwards;
}

@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.hero__title .accent {
  color: var(--st-orange);
}

.hero__subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.4);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 1.6s forwards;
}

/* Hero Bulb "Eureka" animation - actual logo icon */
.hero__bulb {
  position: relative;
  display: inline-block;
  margin-bottom: 48px;
  opacity: 0;
  animation: bulbAppear 1.2s var(--ease-out) 0.1s forwards;
}

.hero__bulb svg {
  width: 120px;
  height: 150px;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.hero__bulb .bulb-shape {
  fill: rgba(255, 255, 255, 0.1);
  transition: fill 1s var(--ease-out), opacity 0.15s linear;
}

.hero__bulb.is-lit .bulb-shape {
  fill: var(--st-orange);
}

/* Reveal: fade up */
.hero__bulb .bulb-reveal {
  opacity: 0;
  transform: translateY(15px);
  animation: bulbReveal 1.5s var(--ease-out) 0.4s forwards;
}

@keyframes bulbReveal {
  to { opacity: 1; transform: translateY(0); }
}

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

/* Glow rays */
.hero__rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.8s var(--ease-out) 0.3s;
}

.hero__bulb.is-lit .hero__rays {
  opacity: 1;
}

.hero__ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 0;
  background: linear-gradient(to top, var(--st-orange), transparent);
  transform-origin: bottom center;
  border-radius: 1px;
  opacity: 0;
}

.hero__bulb.is-lit .hero__ray {
  animation: rayShoot 0.8s var(--ease-out) forwards;
}

.hero__ray:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg); animation-delay: 0.05s; }
.hero__ray:nth-child(2) { transform: translate(-50%, -100%) rotate(45deg); animation-delay: 0.1s; }
.hero__ray:nth-child(3) { transform: translate(-50%, -100%) rotate(90deg); animation-delay: 0.15s; }
.hero__ray:nth-child(4) { transform: translate(-50%, -100%) rotate(135deg); animation-delay: 0.2s; }
.hero__ray:nth-child(5) { transform: translate(-50%, -100%) rotate(180deg); animation-delay: 0.25s; }
.hero__ray:nth-child(6) { transform: translate(-50%, -100%) rotate(225deg); animation-delay: 0.3s; }
.hero__ray:nth-child(7) { transform: translate(-50%, -100%) rotate(270deg); animation-delay: 0.15s; }
.hero__ray:nth-child(8) { transform: translate(-50%, -100%) rotate(315deg); animation-delay: 0.2s; }

.hero__bulb.is-lit .hero__ray:nth-child(1) { animation-delay: 2.3s; }
.hero__bulb.is-lit .hero__ray:nth-child(2) { animation-delay: 2.35s; }
.hero__bulb.is-lit .hero__ray:nth-child(3) { animation-delay: 2.4s; }
.hero__bulb.is-lit .hero__ray:nth-child(4) { animation-delay: 2.45s; }
.hero__bulb.is-lit .hero__ray:nth-child(5) { animation-delay: 2.5s; }
.hero__bulb.is-lit .hero__ray:nth-child(6) { animation-delay: 2.55s; }
.hero__bulb.is-lit .hero__ray:nth-child(7) { animation-delay: 2.4s; }
.hero__bulb.is-lit .hero__ray:nth-child(8) { animation-delay: 2.45s; }

@keyframes rayShoot {
  0% { height: 0; opacity: 0; }
  50% { height: 32px; opacity: 0.8; }
  100% { height: 24px; opacity: 0; }
}

/* Glow - soft radial behind bulb */
.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 106, 0, 0.22) 0%, rgba(240, 106, 0, 0.08) 35%, rgba(240, 106, 0, 0.02) 60%, transparent 80%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.2s var(--ease-out);
  filter: blur(20px);
}

.hero__bulb.is-lit .hero__glow {
  opacity: 1;
  /* Brightness controlled by JS breathing animation */
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 2s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--st-orange), transparent);
  animation: scrollPulse 2s var(--ease-smooth) infinite;
}

@keyframes scrollPulse {
  0% { top: -100%; }
  100% { top: 100%; }
}

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

/* ============================================================
   MARQUEE BAND
   ============================================================ */
.marquee {
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid rgba(45,41,38,0.08);
  border-bottom: 1px solid rgba(45,41,38,0.08);
  background: transparent;
}

.marquee--dark {
  background: var(--st-black);
  border-color: rgba(255,255,255,0.08);
  color: var(--st-white);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__dot {
  width: 6px;
  height: 6px;
  background: var(--st-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(60px, 8vw, 120px);
}

/* White → Dark (Mission → Product) */
.wave-divider--to-dark {
  background: var(--st-white);
}

.wave-divider--to-dark .wave-back {
  fill: rgba(45, 41, 38, 0.5);
}

.wave-divider--to-dark .wave-front {
  fill: var(--st-black);
}

/* Dark → Light (Product → Services) */
.wave-divider--to-light {
  background: var(--st-black);
}

.wave-divider--to-light .wave-back {
  fill: rgba(242, 248, 252, 0.4);
}

.wave-divider--to-light .wave-front {
  fill: var(--st-light);
}

/* Subtle animation */
.wave-divider .wave-back {
  animation: waveShift1 8s ease-in-out infinite alternate;
  transform-origin: center;
}

.wave-divider .wave-front {
  animation: waveShift2 6s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes waveShift1 {
  0%   { d: path("M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60 L1440,120 L0,120Z"); }
  100% { d: path("M0,40 C300,0 540,100 780,40 C1020,0 1260,100 1440,50 L1440,120 L0,120Z"); }
}

@keyframes waveShift2 {
  0%   { d: path("M0,80 C300,20 600,100 900,50 C1100,20 1300,80 1440,40 L1440,120 L0,120Z"); }
  100% { d: path("M0,50 C200,100 500,20 800,70 C1050,100 1300,30 1440,70 L1440,120 L0,120Z"); }
}

/* ============================================================
   MISSION - Large typography + asymmetric
   ============================================================ */
.mission {
  padding: var(--space-2xl) 0;
  background: transparent;
  overflow: hidden;
}

.mission__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.mission__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mission__heading .accent {
  color: var(--st-orange);
  position: relative;
}

.mission__right {
  padding-top: 20px;
}

.mission__text {
  font-size: 15px;
  line-height: 2.3;
  color: var(--st-gray-500);
}

.mission__text p + p {
  margin-top: 1.8em;
}

.mission__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--st-gray-300);
}

.stat__number {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--st-black);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__number .counter-suffix {
  font-size: 20px;
  color: var(--st-orange);
  font-weight: 600;
}

.stat__label {
  font-size: 12px;
  color: var(--st-gray-400);
  letter-spacing: 0.02em;
}

/* ============================================================
   PRODUCT - Immersive showcase
   ============================================================ */
.product {
  padding: var(--space-2xl) 0;
  background: transparent;
  color: var(--st-white);
  position: relative;
  overflow: hidden;
}

.product__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.product__header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.product__name {
  font-family: var(--font-en);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--st-white) 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product__notice {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 20px;
  letter-spacing: 0.03em;
  line-height: 2;
}

.product__notice-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(240, 106, 0, 0.15);
  border: 1px solid rgba(240, 106, 0, 0.4);
  border-radius: 100px;
  color: var(--st-orange);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product__tagline {
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.4);
  max-width: 480px;
  margin: 28px auto 0;
}

.product__showcase {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.product__mockup-wrap {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.product__mockup {
  width: 100%;
  aspect-ratio: 3548 / 2304;
  background: linear-gradient(135deg, #1a1816 0%, #232120 50%, #1a1816 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.product__mockup::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(240,106,0,0.05) 25%, transparent 50%);
  animation: mockupGlow 8s linear infinite;
}

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

/* Video mockup */
/* Mac-style device frame */
.product__mockup--video {
  background: #0a0a0a;
  padding: 32px 32px 40px;
  flex-direction: column;
}

.product__mockup--video::before {
  display: none;
}

/* Notch / camera dot */
.product__mockup--video::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  z-index: 2;
}

.product__mockup--video video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 6px;
  display: block;
  position: relative;
  z-index: 1;
}

/* iframe live demo */
.product__mockup--iframe {
  background: #0a0a0a;
  padding: 20px 20px 24px;
  flex-direction: column;
}

.product__mockup--iframe::before {
  display: none;
}

.product__mockup--iframe::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  z-index: 2;
}

.product__mockup--iframe .iframe-scale {
  width: 100%;
  height: 100%;
}

.product__mockup--iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
  display: block;
  position: relative;
  z-index: 1;
}

/* Demo hint overlay */
.demo-hint {
  position: absolute;
  bottom: 60px;
  right: 52px;
  z-index: 10;
  pointer-events: none;
  animation: hintFloat 3s ease-in-out infinite;
}

.demo-hint.is-hidden {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}

.demo-hint__content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(240, 106, 0, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  color: var(--st-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(240, 106, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.demo-hint__content svg {
  flex-shrink: 0;
  animation: cursorBounce 1.5s ease-in-out infinite;
}

@keyframes cursorBounce {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3px, -3px); }
}

.demo-hint__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 100px;
  background: rgba(240, 106, 0, 0.2);
  animation: hintPulse 2s ease-out infinite;
}

@keyframes hintPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

@keyframes hintFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Feature pills - horizontal scroll */
.product__features {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
}

.feature-pill:hover {
  background: rgba(240, 106, 0, 0.1);
  border-color: rgba(240, 106, 0, 0.3);
  color: var(--st-orange-light);
}

.feature-pill svg {
  width: 16px;
  height: 16px;
  stroke: var(--st-orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES - Bento Grid
   ============================================================ */
.services {
  padding: var(--space-2xl) 0;
  background: transparent;
}

.services__header {
  margin-bottom: 64px;
}

.services__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 16px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}

.bento__item {
  background: var(--st-white);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.bento__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

/* Bento layout */
.bento__item--wide { grid-column: span 7; }
.bento__item--narrow { grid-column: span 5; }
.bento__item--accent {
  background: var(--st-black);
  color: var(--st-white);
}

.bento__number {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--st-gray-200);
  position: absolute;
  top: 24px;
  right: 32px;
}

.bento__item--accent .bento__number {
  color: rgba(255, 255, 255, 0.06);
}

.bento__content {
  position: relative;
  z-index: 1;
}

.bento__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}

.bento__title-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: var(--st-gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.bento__item--accent .bento__title-en {
  color: var(--st-orange);
}

.bento__text {
  font-size: 13px;
  line-height: 2;
  color: var(--st-gray-500);
}

.bento__item--accent .bento__text {
  color: rgba(255, 255, 255, 0.5);
}

.bento__icon {
  width: 56px;
  height: 56px;
  background: var(--st-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento__item--accent .bento__icon {
  background: rgba(240, 106, 0, 0.12);
}

.bento__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--st-orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   COMPANY
   ============================================================ */
.company {
  padding: var(--space-2xl) 0;
  background: transparent;
}

.company__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.company__left {
  position: sticky;
  top: 120px;
}

.company__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 16px;
}

.company__table {
  width: 100%;
}

.company__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--st-gray-200);
  align-items: baseline;
}

.company__row:first-child {
  border-top: 1px solid var(--st-gray-200);
}

.company__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--st-black);
  letter-spacing: 0.02em;
}

.company__value {
  font-size: 14px;
  color: var(--st-gray-500);
  line-height: 1.9;
}

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.cta {
  padding: var(--space-2xl) 0;
  background: transparent;
  color: var(--st-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 106, 0, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 16px;
  margin-bottom: 16px;
}

.cta__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 100px;
  transition: all 0.5s var(--ease-out);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--st-orange);
  color: var(--st-white);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--st-orange-light), var(--st-orange));
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: inherit;
}

.btn--primary:hover::before { opacity: 1; }

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(240, 106, 0, 0.35);
}

.btn span, .btn svg { position: relative; z-index: 1; }

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.4s var(--ease-out);
}

.btn:hover svg { transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: transparent;
  color: rgba(255, 255, 255, 0.3);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

.footer__logo {
  height: 140px;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  margin-bottom: 28px;
  transition: opacity 0.3s;
}

.footer__logo:hover { opacity: 1; }

.footer__desc {
  font-size: 13px;
  line-height: 1.9;
  max-width: 320px;
}

.footer__nav {
  display: flex;
  gap: 48px;
}

.footer__nav-group h4 {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer__nav-group a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer__nav-group a:hover { color: var(--st-white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Text line reveal */
.line-reveal {
  overflow: hidden;
}

.line-reveal__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}

.line-reveal.is-visible .line-reveal__inner {
  transform: translateY(0);
}

/* Scale reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Parallax */
[data-parallax] {
  will-change: transform;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__item--wide,
  .bento__item--narrow {
    grid-column: span 1;
  }

  .company__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .company__left {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 80px;
    --space-2xl: 120px;
  }

  .container { padding: 0 24px; }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--st-light);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right 0.6s var(--ease-out);
  }

  .site-nav.is-open { right: 0; }
  .site-nav a { font-size: 20px; color: var(--st-black) !important; }

  .nav-toggle { display: block; }

  .site-header.is-scrolled .site-logo {
    height: 84px;
  }

  .nav-bulb {
    display: block;
    width: 64px;
    height: auto;
    margin-bottom: 24px;
  }

  /* Nav bulb wrap + rays */
  .nav-bulb-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
  }

  .nav-bulb-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    z-index: 0;
  }

  .nav-bulb-rays.is-active {
    opacity: 1;
  }

  .nav-bulb-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, var(--st-orange), transparent);
    transform-origin: bottom center;
    border-radius: 1px;
    opacity: 0;
  }

  .nav-bulb-ray:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg); }
  .nav-bulb-ray:nth-child(2) { transform: translate(-50%, -100%) rotate(45deg); }
  .nav-bulb-ray:nth-child(3) { transform: translate(-50%, -100%) rotate(90deg); }
  .nav-bulb-ray:nth-child(4) { transform: translate(-50%, -100%) rotate(135deg); }
  .nav-bulb-ray:nth-child(5) { transform: translate(-50%, -100%) rotate(180deg); }
  .nav-bulb-ray:nth-child(6) { transform: translate(-50%, -100%) rotate(225deg); }
  .nav-bulb-ray:nth-child(7) { transform: translate(-50%, -100%) rotate(270deg); }
  .nav-bulb-ray:nth-child(8) { transform: translate(-50%, -100%) rotate(315deg); }

  .nav-bulb-rays.is-active .nav-bulb-ray {
    animation: navRayShoot 1s var(--ease-out) forwards;
  }

  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(1) { animation-delay: 0s; }
  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(2) { animation-delay: 0.05s; }
  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(3) { animation-delay: 0.1s; }
  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(4) { animation-delay: 0.15s; }
  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(5) { animation-delay: 0.2s; }
  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(6) { animation-delay: 0.25s; }
  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(7) { animation-delay: 0.1s; }
  .nav-bulb-rays.is-active .nav-bulb-ray:nth-child(8) { animation-delay: 0.15s; }

  @keyframes navRayShoot {
    0% { height: 0; opacity: 0; }
    40% { height: 24px; opacity: 0.7; }
    100% { height: 16px; opacity: 0; }
  }

  /* Nav bulb glow controlled by JS */

  .mission__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .company__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .product__features {
    flex-direction: column;
    align-items: center;
  }

  .product__mockup-wrap {
    border-radius: 16px;
    padding: 3px;
  }

  .product__mockup {
    border-radius: 14px;
  }

  .product__mockup--iframe {
    padding: 8px 8px 10px;
  }

  .product__mockup--iframe::after {
    top: 3px;
    width: 5px;
    height: 5px;
  }

  .product__mockup--iframe .iframe-scale {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
  }

  .product__mockup--iframe iframe {
    width: 1280px;
    height: 832px;
    transform-origin: top left;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
  }

  .product__showcase {
    margin-left: -24px;
    margin-right: -24px;
  }

  .demo-hint {
    bottom: 24px;
    right: 20px;
  }

  .demo-hint__content {
    font-size: 11px;
    padding: 10px 16px;
  }

  .marquee__item {
    font-size: 13px;
    gap: 24px;
    padding: 0 24px;
  }
}
