/* ========================================
   株式会社Kurokawa Web Services - Corporate Page
   Theme: Pop Space ✨🚀
======================================== */

/* ----------------------------------------
   CSS Variables - Space Theme (Blue + Orange)
---------------------------------------- */
:root {
  /* Space Colors - Deep Blue */
  --space-dark: #020617;
  --space-deep: #0a1628;
  --space-blue: #0c1e3a;
  --space-mid: #0f2847;
  --space-light: #1a365d;
  
  /* Accent Colors - Blue + Orange */
  --neon-cyan: #00d4ff;
  --neon-blue: #3b82f6;
  --neon-sky: #0ea5e9;
  --neon-orange: #f97316;
  --neon-amber: #fbbf24;
  --neon-white: #f0f9ff;
  
  /* Legacy support (keep for existing code) */
  --neon-pink: var(--neon-orange);
  --neon-purple: var(--neon-blue);
  --neon-yellow: var(--neon-amber);
  
  /* Gradients - Blue focused */
  --gradient-space: linear-gradient(135deg, #020617 0%, #0a1628 30%, #0c1e3a 70%, #020617 100%);
  --gradient-neon: linear-gradient(135deg, #00d4ff 0%, #3b82f6 50%, #0ea5e9 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  --gradient-mixed: linear-gradient(135deg, #00d4ff 0%, #3b82f6 70%, #f97316 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  
  /* Shadows & Glows */
  --glow-cyan: 0 0 30px rgba(0, 212, 255, 0.5);
  --glow-blue: 0 0 30px rgba(59, 130, 246, 0.5);
  --glow-orange: 0 0 30px rgba(249, 115, 22, 0.5);
  --glow-pink: var(--glow-orange);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Outfit", sans-serif;
  line-height: 1.8;
  color: var(--text-primary);
  /* Space to Earth gradient - descending from cosmos */
  background: 
    linear-gradient(180deg, 
      #020617 0%,           /* Deep space - cosmic black */
      #0a1628 8%,           /* Dark nebula */
      #0c1e3a 15%,          /* Space blue */
      #0f2847 25%,          /* Deep atmosphere */
      #1a365d 40%,          /* Upper atmosphere */
      #1e3a5f 55%,          /* Stratosphere */
      #1e4976 70%,          /* Blue sky hint */
      #1a3d5c 85%,          /* Lower atmosphere */
      #0f2847 100%          /* Earth horizon */
    );
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Stars Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.9), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(0,212,255,0.8), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 200px 50px, rgba(255,0,255,0.6), transparent),
    radial-gradient(1px 1px at 250px 160px, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 300px 90px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 350px 200px, rgba(0,212,255,0.7), transparent),
    radial-gradient(2px 2px at 400px 130px, rgba(255,255,255,0.6), transparent);
  background-size: 450px 250px;
  animation: twinkle 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes twinkle {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

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

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   Typography
---------------------------------------- */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p, li, td, th {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* Section Title */
.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section-title h2 {
  margin: 0;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ----------------------------------------
   Animations
---------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(3deg); }
  75% { transform: translateY(-8px) rotate(-3deg); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6); }
}

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

@keyframes shooting-star {
  0% { transform: translateX(0) translateY(0); opacity: 1; }
  100% { transform: translateX(300px) translateY(300px); opacity: 0; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------
   Enhanced Scroll Animations
---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s var(--ease-out-expo);
}

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

/* Different reveal directions */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 1s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 1s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s var(--ease-out-expo);
}

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

.reveal-rotate {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: all 1s var(--ease-out-expo);
}

.reveal-rotate.visible {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Stagger items with enhanced animation */
.stagger-item {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s var(--ease-out-expo);
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Glow effect on reveal */
.reveal-glow {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out-expo);
}

.reveal-glow.visible {
  opacity: 1;
  transform: translateY(0);
  animation: glow-in 1.5s ease-out forwards;
}

@keyframes glow-in {
  0% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 30px var(--neon-cyan)); }
  100% { filter: drop-shadow(0 0 0 transparent); }
}

/* Smooth section transitions */
main > section {
  position: relative;
  overflow: hidden;
}

main > section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.3;
}

/* ----------------------------------------
   Page Loader - Tech Style
---------------------------------------- */
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--space-dark);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loading.loaded {
  opacity: 0;
  visibility: hidden;
}

/* 3D Orb Animation */
.loader-orb {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader-orb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, 
    rgba(255,255,255,0.8) 0%, 
    var(--neon-cyan) 20%, 
    var(--neon-blue) 60%, 
    transparent 70%);
  border-radius: 50%;
  box-shadow: 
    0 0 60px var(--neon-cyan),
    0 0 100px var(--neon-blue),
    inset 0 0 30px rgba(255,255,255,0.3);
  animation: pulse-orb 2s ease-in-out infinite;
}

/* Rotating Ring */
.loader-orb::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%) rotateX(70deg);
  border: 2px solid transparent;
  border-top-color: var(--neon-cyan);
  border-bottom-color: var(--neon-orange);
  border-radius: 50%;
  animation: rotate 2s linear infinite;
  box-shadow: 0 0 20px var(--neon-cyan);
}

@keyframes pulse-orb {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 60px var(--neon-cyan), 0 0 100px var(--neon-blue);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 80px var(--neon-cyan), 0 0 140px var(--neon-blue);
  }
}

/* Progress Counter */
.loader-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-percent {
  font-family: "Outfit", monospace;
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

.loader-percent span {
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}

.loader-text {
  font-family: "Outfit", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Progress Bar */
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-neon);
  border-radius: 1px;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* Grid Background for Loader */
.page-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

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

/* ----------------------------------------
   Header
---------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

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

.logo {
  height: 44px;
  width: auto;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.logo:hover {
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* ----------------------------------------
   Hero Section
---------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-space);
}

/* Digital Particle Canvas */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.6;
  pointer-events: none;
}

/* Hero Background Logo - Large subtle watermark */
.hero-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vmin;
  height: 70vmin;
  max-width: 550px;
  max-height: 550px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: logoFadeIn 2s ease-out 0.8s forwards;
}

.hero-logo-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.07;
  filter: brightness(1.3) saturate(0.7);
  animation: logoPulse 10s ease-in-out infinite;
}

@keyframes logoFadeIn {
  0% { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0.85);
  }
  100% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes logoPulse {
  0%, 100% { 
    opacity: 0.07;
    transform: scale(1);
  }
  50% { 
    opacity: 0.12;
    transform: scale(1.02);
  }
}

/* Animated Space Background */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
  animation: rotate 60s linear infinite;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ----------------------------------------
   3D Glossy Objects - Tech Style
---------------------------------------- */

/* Large Glossy Sphere - Top Right (Blue) */
.hero-shape-1 {
  position: absolute;
  width: 320px;
  height: 320px;
  top: 5%;
  right: 8%;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 50%, var(--neon-sky) 100%);
  box-shadow: 
    inset -20px -20px 60px rgba(0,0,0,0.4),
    inset 10px 10px 40px rgba(255,255,255,0.15),
    0 0 80px rgba(0, 212, 255, 0.4),
    0 0 120px rgba(59, 130, 246, 0.2);
  animation: float 10s ease-in-out infinite;
  opacity: 0.85;
}

/* Medium Glossy Sphere - Bottom Left (Blue-Orange accent) */
.hero-shape-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: 15%;
  left: 8%;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.5) 0%, transparent 35%),
    radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--neon-sky) 0%, var(--neon-blue) 100%);
  box-shadow: 
    inset -15px -15px 40px rgba(0,0,0,0.4),
    inset 8px 8px 30px rgba(255,255,255,0.15),
    0 0 60px rgba(59, 130, 246, 0.4);
  animation: floatSlow 12s ease-in-out infinite;
  opacity: 0.7;
}


/* Ring/Torus Shape - CSS Only (Blue-Orange gradient) */
.hero-shape-3 {
  position: absolute;
  width: 140px;
  height: 140px;
  top: 28%;
  left: 12%;
  border: 6px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--space-dark), var(--space-dark)) padding-box,
              linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-orange)) border-box;
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.3),
    inset 0 0 30px rgba(0, 212, 255, 0.1);
  animation: float 8s ease-in-out infinite, rotate 25s linear infinite;
  transform: rotateX(60deg);
}

/* Small Glossy Sphere - Orange */
.hero-shape-4 {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 55%;
  right: 25%;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6) 0%, transparent 40%),
    linear-gradient(135deg, var(--neon-orange) 0%, var(--neon-yellow) 100%);
  box-shadow: 
    inset -6px -6px 15px rgba(0,0,0,0.3),
    0 0 30px rgba(255, 107, 53, 0.5);
  animation: floatSlow 6s ease-in-out infinite;
}

/* Tiny Glowing Dots */
.hero-shape-5 {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 18%;
  left: 35%;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-shape-6 {
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 35%;
  right: 40%;
  border-radius: 50%;
  background: var(--neon-orange);
  box-shadow: 0 0 15px var(--neon-orange), 0 0 30px var(--neon-orange);
  animation: pulse-glow 2.5s ease-in-out infinite 0.5s;
}

.hero-shape-7 {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 40%;
  left: 25%;
  border-radius: 50%;
  background: var(--neon-yellow);
  box-shadow: 0 0 12px var(--neon-yellow), 0 0 24px var(--neon-yellow);
  animation: pulse-glow 2s ease-in-out infinite 1s;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-title {
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
  margin-bottom: 16px;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

.hero-label {
  font-family: "Outfit", sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease-out-expo) 0.3s forwards;
  text-shadow: var(--glow-cyan);
  margin-bottom: 8px;
}

.hero-subtitle {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--neon-cyan);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s forwards;
  text-shadow: var(--glow-cyan);
}

/* Hero Mission Statement */
.hero-mission {
  margin-top: 40px;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.8s forwards;
}

.mission-text {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: transparent;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue), var(--neon-orange), var(--neon-cyan));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: missionGradient 4s ease infinite;
  position: relative;
  padding: 16px 32px;
}

.mission-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
}

.mission-text::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--gradient-neon);
  animation: missionUnderline 1.5s var(--ease-out-expo) 1.2s forwards;
}

@keyframes missionGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes missionUnderline {
  0% { left: 50%; right: 50%; }
  100% { left: 0; right: 0; }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 1s forwards;
}

.scroll-indicator::after {
  content: '';
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ----------------------------------------
   Glass Card Style
---------------------------------------- */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow-cyan);
  transform: translateY(-5px);
}

/* ----------------------------------------
   Main Sections
---------------------------------------- */
main {
  position: relative;
  z-index: 1;
}

main > section {
  padding: 100px 0;
  position: relative;
}

/* Section backgrounds with gradient overlays - Blue Theme */
.overview {
  background: linear-gradient(180deg, var(--space-dark) 0%, var(--space-deep) 100%);
}

.executives {
  background: linear-gradient(180deg, var(--space-deep) 0%, var(--space-blue) 100%);
}

.services {
  background: linear-gradient(180deg, var(--space-blue) 0%, var(--space-mid) 100%);
}

.partners {
  background: linear-gradient(180deg, var(--space-mid) 0%, var(--space-blue) 100%);
}

.history {
  background: linear-gradient(180deg, var(--space-blue) 0%, var(--space-dark) 100%);
}

/* ----------------------------------------
   Overview Table
---------------------------------------- */
.overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-table th,
.overview-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-table th {
  width: 180px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--neon-cyan);
  font-weight: 600;
}

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

.overview-table td small.text-muted {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
  margin-top: 4px;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: none;
}

.overview-table tr {
  transition: background 0.3s ease;
}

.overview-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 16px 24px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--radius-md);
  color: var(--neon-orange);
  font-size: 0.9rem;
}

/* ----------------------------------------
   Executives
---------------------------------------- */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.exec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.exec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-neon);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out-expo);
}

.exec-card:hover::before {
  transform: scaleX(1);
}

.exec-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-cyan);
  border-color: rgba(0, 212, 255, 0.3);
}

.exec-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background: linear-gradient(var(--space-dark), var(--space-dark)) padding-box,
              var(--gradient-neon) border-box;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  transition: all 0.5s var(--ease-out-expo);
}

.exec-card:hover .exec-photo {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.exec-card h3 {
  margin-top: 24px;
  font-size: 1.5rem;
}

.position {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient-neon);
  color: var(--space-dark);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-top: 12px;
}

.exec-card > p:last-child {
  margin-top: 20px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* Sun GIF decoration */
.exec-deco {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  opacity: 0.8;
}

/* ----------------------------------------
   Services
---------------------------------------- */
.services .intro-text {
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--glow-cyan);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card a {
  display: block;
  padding: 36px 28px;
  color: inherit;
  text-align: center;
}

.service-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  object-fit: contain;
  transition: all 0.5s var(--ease-out-expo);
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
}

.service-card:hover .service-logo {
  transform: scale(1.12);
  filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.5));
}

.service-card h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}


/* ----------------------------------------
   Partners
---------------------------------------- */
.partner-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.partner-list li {
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.partner-list li::before {
  content: '🚀';
  position: absolute;
  left: -30px;
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}

.partner-list li:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateX(10px);
  padding-left: 48px;
}

.partner-list li:hover::before {
  left: 16px;
  opacity: 1;
}

.customer-toggle {
  margin-top: 48px;
}

.customer-toggle summary {
  cursor: pointer;
  padding: 18px 28px;
  background: var(--gradient-neon);
  color: var(--space-dark);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--glow-cyan);
}

.customer-toggle summary::-webkit-details-marker {
  display: none;
}

.customer-toggle summary::before {
  content: '🛸';
  font-size: 1.4rem;
  transition: transform 0.4s var(--ease-bounce);
}

.customer-toggle[open] summary::before {
  transform: rotate(360deg) scale(1.2);
}

.customer-toggle summary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.customer-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.customer-list li {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  border-left: 3px solid var(--neon-cyan);
  transition: all 0.3s ease;
}

.customer-list li:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateX(5px);
}

/* ----------------------------------------
   History Timeline
---------------------------------------- */
.history-timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 50px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-neon);
  border-radius: 2px;
}

.history-item {
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

.history-item:last-child {
  border-bottom: none;
}

.history-item::before {
  content: '✦';
  position: absolute;
  left: -50px;
  top: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--space-dark);
  color: var(--neon-cyan);
  font-size: 14px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transition: all 0.3s ease;
}

.history-item:hover::before {
  transform: scale(1.2);
  background: var(--neon-cyan);
  color: var(--space-dark);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.history-item:hover {
  background: rgba(0, 212, 255, 0.05);
  border-radius: var(--radius-md);
}

.history-date {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neon-cyan);
  white-space: nowrap;
  flex-shrink: 0;
  width: 120px;
}

.history-content {
  color: var(--text-secondary);
  flex: 1;
}

.history-content a {
  color: var(--neon-orange);
}

.history-content strong {
  color: var(--text-primary);
}

/* Highlight item for important events */
.history-item.highlight-item {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 212, 255, 0.1));
  border-radius: var(--radius-md);
  padding-left: 16px;
  margin-left: -16px;
  border-left: 3px solid var(--neon-orange);
}

.history-item.highlight-item::before {
  content: '🚀';
  background: var(--neon-orange);
  color: var(--space-dark);
  border-color: var(--neon-orange);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

/* Rocket launch animation on hover (not rotation!) */
.history-item.highlight-item:hover::before {
  transform: scale(1.2) translateY(-8px);
  animation: rocketLaunch 0.6s ease-in-out;
  box-shadow: 
    0 0 20px rgba(255, 107, 53, 0.8),
    0 8px 15px rgba(255, 107, 53, 0.4);
}

@keyframes rocketLaunch {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.1) translateY(2px); }
  100% { transform: scale(1.2) translateY(-8px); }
}

/* ----------------------------------------
   Corporate Plan Section
---------------------------------------- */
.corporate-plan {
  padding: 80px 24px 100px;
  position: relative;
}

.corporate-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.corporate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
}

.corporate-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.corporate-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.corporate-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.corporate-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.corporate-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.corporate-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--neon-cyan);
}

.corporate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-neon);
  color: var(--space-dark);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.corporate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

@media (max-width: 768px) {
  .corporate-card {
    padding: 32px 24px;
  }
  
  .corporate-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .corporate-logo {
    width: 100px;
    height: 100px;
  }
  
  .corporate-features {
    grid-template-columns: 1fr;
  }
  
  .corporate-features li {
    border-left: none;
    border-bottom: 2px solid var(--neon-cyan);
  }
}

/* ----------------------------------------
   Contact CTA with Form
---------------------------------------- */
.contact-cta {
  position: relative;
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--space-dark) 0%, var(--space-deep) 100%);
}

/* CTA Particle Canvas */
#cta-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(191, 0, 255, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 40%);
}

.contact-cta .container {
  position: relative;
  z-index: 1;
}

.contact-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta .subtitle {
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* Embedded Form Container */
.form-container {
  max-width: 700px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-container iframe {
  display: block;
  background: transparent;
}

.form-fallback {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
}

.form-fallback a {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gradient-sunset);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 20px 48px;
  border-radius: var(--radius-full);
  box-shadow: var(--glow-orange);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn::after {
  content: '🚀';
  font-size: 1.3rem;
  transition: transform 0.4s var(--ease-bounce);
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 60px rgba(255, 107, 53, 0.6);
  color: var(--text-primary);
}

.cta-btn:hover::after {
  transform: translateX(10px) rotate(-45deg);
}


/* ----------------------------------------
   Footer
---------------------------------------- */
.site-footer {
  text-align: center;
  padding: 48px 24px;
  background: var(--space-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 768px) {
  main > section {
    padding: 70px 0;
  }

  .hero-shape-1 {
    width: 250px;
    height: 250px;
    top: 10%;
    right: -10%;
  }

  .hero-shape-2 {
    width: 180px;
    height: 180px;
  }

  .hero-rocket {
    width: 80px;
    height: 80px;
    right: 5%;
  }

  .hero-shape-3,
  .hero-shape-4 {
    display: none;
  }

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

  .overview-table th {
    width: 130px;
    padding: 16px;
  }

  .history-timeline {
    padding-left: 40px;
  }

  .history-item {
    flex-direction: column;
    gap: 8px;
  }

  .history-date {
    width: auto;
  }

  .history-item::before {
    left: -40px;
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .history-timeline::before {
    left: 10px;
  }

}

@media (max-width: 480px) {
  .overview-table,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
  }

  .overview-table th {
    border-bottom: none;
    padding-bottom: 8px;
    background: transparent;
  }

  .overview-table td {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .partner-list {
    grid-template-columns: 1fr;
  }

  .customer-list {
    grid-template-columns: 1fr;
  }
}
