/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Nunito:wght@700;800;900&family=Poppins:wght@600;700;800&display=swap');

:root {
  /* Color Palette - Tropical Tech (Enhanced) */
  --color-tropical-green: #00C48C;
  --color-tropical-green-dark: #00A876;
  --color-ocean-blue: #00B8D4;
  --color-sunset-orange: #FFAB00;
  --color-sunset-orange-dark: #E69A00;
  --color-deep-navy: #172B4D;
  --color-sand-beige: #F4F5F7;
  --color-white: #ffffff;
  --color-gray-light: #E8E8E8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00C48C 0%, #00B8D4 100%);
  --gradient-sunset: linear-gradient(135deg, #FFAB00 0%, #FF6B6B 100%);
  --gradient-dark: linear-gradient(135deg, #172B4D 0%, #2D3E50 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Typography */
  --font-heading: 'Poppins', 'Nunito', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 196, 140, 0.3);

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-sand-beige);
  color: var(--color-deep-navy);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-deep-navy);
}

p {
  margin-bottom: var(--spacing-sm);
}

/* Utility Classes */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-tropical-green);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.section-desc {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-deep-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(10deg) scale(1.1);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  color: var(--color-deep-navy);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:not(.cta-button)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:not(.cta-button):hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--color-deep-navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-white);
  z-index: 999;
  padding: 100px 40px;
  transition: right 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 20px;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-deep-navy);
  display: block;
  padding: 10px 0;
  border-bottom: 2px solid var(--color-gray-light);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--color-tropical-green);
  padding-left: 10px;
}

/* CTA Button */
.cta-button {
  background: var(--gradient-sunset);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 171, 0, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 171, 0, 0.5);
}

.cta-button.large {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

.cta-button.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 171, 0, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(255, 171, 0, 0.6);
  }
}

.cta-button-outline {
  background: transparent;
  color: var(--color-deep-navy);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  border: 2px solid var(--color-deep-navy);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button-outline:hover {
  background: var(--color-deep-navy);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Text Link */
.text-link {
  color: var(--color-tropical-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.text-link:hover {
  gap: 1rem;
}

/* Hero Section Container */
.hero-container {
  position: relative;
  height: 300vh;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sand-beige);
}

#hero-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 100%);
  z-index: 1;
}

/* Hero Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-tropical-green);
  top: -100px;
  right: -100px;
  animation: float-shape 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--color-ocean-blue);
  bottom: -50px;
  left: -50px;
  animation: float-shape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--color-sunset-orange);
  top: 50%;
  left: 10%;
  animation: float-shape 6s ease-in-out infinite;
}

@keyframes float-shape {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(30px, 30px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

/* Morphing Text Styles */
.morphing-text-container {
  position: relative;
  margin: 0 auto;
  height: 6rem;
  width: 100%;
  max-width: 800px;
  filter: url(#threshold) blur(0.6px);
}

.morphing-text-container span {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-deep-navy);
  text-align: center;
  user-select: none;
  opacity: 0;
}

.hero-sub {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--color-deep-navy);
  border-radius: 15px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--color-deep-navy);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-indicator p {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-deep-navy);
}

/* Kai-kun Mascot */
.kai-kun-hero {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 150px;
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}

.kai-speech {
  position: absolute;
  bottom: 120%;
  right: 0;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  font-weight: bold;
  white-space: nowrap;
  animation: speech-pop 0.3s ease;
}

.kai-speech::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 30px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: white transparent;
  display: block;
  width: 0;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Stats Section */
.stats-section {
  background: var(--gradient-dark);
  padding: var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

/* About Section */
.about {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.05);
}

.image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-tropical-green);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--color-tropical-green);
  margin-bottom: var(--spacing-md);
}

/* Safety Section (Bento Grid) */
.safety {
  background-color: var(--color-sand-beige);
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
  /* For paralla mascots */
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(300px, auto));
  /* Taller rows */
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.bento-item {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.bento-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

/* Specific Bento Items */
.bento-item.large {
  grid-column: span 12;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf9 100%);
  border: 1px solid rgba(0, 196, 140, 0.1);
}

.bento-item.medium {
  grid-column: span 12;
  /* Mobile default */
}

@media (min-width: 992px) {
  .bento-item.large {
    grid-column: span 8;
    grid-row: span 2;
  }

  .bento-item.medium {
    grid-column: span 4;
    grid-row: span 1;
  }
}

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-chip {
  display: inline-block;
  background: rgba(0, 196, 140, 0.1);
  color: var(--color-tropical-green-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.bento-item h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.bento-item p {
  color: #555;
  font-weight: 500;
}

.bento-mascot {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 220px;
  height: auto;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-item:hover .bento-mascot {
  transform: translateY(-20px) rotate(-5deg) scale(1.05);
}

/* Chat FAQ Styles */
.chat-section {
  background: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.chat-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
}

.chat-bubble {
  display: flex;
  align-items: flex-end;
  gap: var(--spacing-sm);
  opacity: 0;
  transform: translateY(20px);
}

.chat-bubble.visible {
  animation: chatPop 0.6s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-bubble.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  background: white;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-content {
  background: white;
  padding: 1.5rem;
  border-radius: 20px 20px 20px 0;
  box-shadow: var(--shadow-sm);
  max-width: 85%;
  font-weight: 500;
  position: relative;
  border: 1px solid var(--color-gray-light);
}

.chat-bubble.user .chat-content {
  background: var(--color-sand-beige);
  color: var(--color-deep-navy);
  border-radius: 20px 20px 0 20px;
  border: none;
}

.chat-bubble.kai .chat-content {
  background: var(--gradient-primary);
  color: white;
  /* Kai's text is white */
  border: none;
  box-shadow: var(--shadow-md);
}

.chat-user-label {
  position: absolute;
  top: -20px;
  font-size: 0.75rem;
  color: #999;
  font-weight: 700;
}

.chat-bubble.user .chat-user-label {
  right: 0;
}

.chat-bubble.kai .chat-user-label {
  left: 0;
}

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

/* Works Section */
.works {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.work-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-item:hover img {
  transform: scale(1.1);
}

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(23, 43, 77, 0.95), transparent);
  color: white;
  padding: var(--spacing-md);
  transform: translateY(30%);
  transition: transform 0.3s ease;
}

.work-item:hover .work-overlay {
  transform: translateY(0);
}

.work-tag {
  display: inline-block;
  background: var(--color-tropical-green);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.work-overlay h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.work-overlay p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.works-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-sm);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.cta-content .cta-button {
  background: white;
  color: var(--color-tropical-green);
}

.cta-content .cta-button:hover {
  background: var(--color-deep-navy);
  color: white;
}

/* Footer */
footer {
  background: var(--color-deep-navy);
  color: var(--color-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-tropical-green);
  margin-bottom: var(--spacing-sm);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-tropical-green);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--color-tropical-green);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-tagline {
    font-size: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .kai-kun-hero {
    width: 100px;
    bottom: 10%;
    right: 3%;
  }

  .kai-speech {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button,
  .cta-button-outline {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================
   Page-Specific Styles
   ========================================= */

/* Page Hero */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--gradient-dark);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300C48C' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.page-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--spacing-sm);
}

.page-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Mission Section */
.mission-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.mission-text .section-tag {
  margin-bottom: var(--spacing-sm);
}

.mission-statement {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-tropical-green);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
}

.mission-image .image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Values Section */
.values-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-sand-beige);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.value-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

.value-icon.blue {
  background: linear-gradient(135deg, #00B8D4 0%, #0088A8 100%);
}

.value-icon.orange {
  background: var(--gradient-sunset);
}

.value-icon.purple {
  background: linear-gradient(135deg, #7C4DFF 0%, #651FFF 100%);
}

/* Vision Section */
.vision-section {
  padding: var(--spacing-xl) 0;
  background: var(--gradient-primary);
  position: relative;
}

.vision-content {
  text-align: center;
  color: white;
}

.vision-content .section-tag.white {
  background: white;
  color: var(--color-tropical-green);
}

.vision-content h2 {
  color: white;
  margin-bottom: var(--spacing-md);
}

.vision-statement {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

/* Promise Section */
.promise-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.promise-list {
  max-width: 800px;
  margin: 0 auto;
}

.promise-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--color-sand-beige);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-sm);
  transition: all 0.3s ease;
}

.promise-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.promise-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-tropical-green);
  line-height: 1;
}

.promise-content h3 {
  color: var(--color-deep-navy);
  margin-bottom: 0.5rem;
}

.promise-content p {
  color: #666;
  margin-bottom: 0;
}

/* CEO Section */
.ceo-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.ceo-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.ceo-image .image-frame.large {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ceo-name {
  font-size: 2.5rem;
  color: var(--color-deep-navy);
  margin-bottom: var(--spacing-md);
}

.ceo-message {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-tropical-green);
}

.ceo-hobbies {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-gray-light);
}

.ceo-hobbies h4 {
  color: var(--color-deep-navy);
  margin-bottom: var(--spacing-xs);
}

.hobby-tags {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.hobby-tags span {
  background: var(--color-sand-beige);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hobby-tags i {
  color: var(--color-tropical-green);
}

/* Team Section */
.team-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-sand-beige);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image-placeholder {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image-placeholder i {
  font-size: 3rem;
  color: white;
}

.team-image-placeholder.kai {
  background: white;
  padding: 10px;
}

.team-image-placeholder.kai img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-info {
  padding: var(--spacing-md);
}

.team-info h3 {
  color: var(--color-deep-navy);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--color-tropical-green);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.team-desc {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.team-skills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.team-skills span {
  background: var(--color-sand-beige);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--color-deep-navy);
}

/* Culture Section */
.culture-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.culture-item {
  text-align: center;
  padding: var(--spacing-md);
}

.culture-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-sunset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

.culture-icon i {
  font-size: 2rem;
  color: white;
}

/* Recruit CTA */
.recruit-cta {
  padding: var(--spacing-lg) 0;
  background: var(--gradient-dark);
}

.recruit-content {
  text-align: center;
  color: white;
}

.recruit-content h2 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.recruit-content p {
  opacity: 0.9;
  margin-bottom: var(--spacing-md);
}

/* Filter Section */
.filter-section {
  padding: var(--spacing-md) 0;
  background: var(--color-white);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--color-gray-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

/* Works Gallery */
.works-gallery {
  padding: var(--spacing-lg) 0;
  background: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(23, 43, 77, 0.95), transparent);
  color: white;
  transform: translateY(50%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-tag {
  display: inline-block;
  background: var(--color-tropical-green);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gallery-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.gallery-link {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--color-tropical-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-link {
  opacity: 1;
}

.gallery-info {
  padding: var(--spacing-md);
}

.gallery-info h4 {
  color: var(--color-deep-navy);
  margin-bottom: 0.5rem;
}

.gallery-info p {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.gallery-meta {
  display: flex;
  gap: var(--spacing-sm);
  font-size: 0.75rem;
  color: #999;
}

.gallery-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.gallery-meta i {
  color: var(--color-tropical-green);
}

/* Works Stats */
.works-stats {
  padding: var(--spacing-xl) 0;
  background: var(--color-sand-beige);
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.stat-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

.stat-card .stat-icon i {
  font-size: 1.5rem;
  color: white;
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-deep-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  color: #666;
}

/* Testimonials */
.testimonials-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.testimonial-card {
  background: var(--color-sand-beige);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  margin-bottom: var(--spacing-md);
}

.testimonial-content i {
  font-size: 2rem;
  color: var(--color-tropical-green);
  opacity: 0.5;
  margin-bottom: var(--spacing-sm);
}

.testimonial-content p {
  font-style: italic;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-info h4 {
  color: var(--color-deep-navy);
  margin-bottom: 0;
}

.author-info p {
  color: #999;
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-sand-beige);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
}

.contact-info h2 {
  margin-bottom: var(--spacing-sm);
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.info-card {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.25rem;
  color: white;
}

.info-content h3 {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-deep-navy);
  margin-bottom: 0;
}

.info-note {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 0;
}

.kai-message {
  display: flex;
  align-items: flex-end;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.kai-message img {
  width: 80px;
  height: auto;
}

.kai-bubble {
  background: white;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.kai-bubble::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.kai-bubble p {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--color-deep-navy);
}

/* Contact Form */
.form-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-card h2 {
  margin-bottom: var(--spacing-xs);
}

.form-card>p {
  color: #666;
  margin-bottom: var(--spacing-md);
}

.contact-form .form-group {
  margin-bottom: var(--spacing-sm);
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-deep-navy);
}

.required {
  color: #FF6B6B;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-tropical-green);
  box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.checkbox-group {
  margin-top: var(--spacing-md);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-sand-beige);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 196, 140, 0.1);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.faq-question i {
  color: var(--color-tropical-green);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: #666;
  margin-bottom: 0;
}

/* Notification */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left: 4px solid var(--color-tropical-green);
}

.notification.success i {
  color: var(--color-tropical-green);
}

.notification.error {
  border-left: 4px solid #FF6B6B;
}

.notification.error i {
  color: #FF6B6B;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

  .mission-content,
  .ceo-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .ceo-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 140px 0 60px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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