/* ============================================
   Wowsun Technology - Ghibli Pastoral Edition
   Miyazaki-inspired warm, bright, dreamy
   ============================================ */

:root {
  /* Ghibli Palette */
  --sky-blue: #5BA3D9;
  --sky-light: #A8D8EA;
  --sky-pale: #D4EEFF;
  --cloud-white: #FFFDF7;
  --cream: #FFF8F0;
  --cream-warm: #FFF3E0;
  --gold: #E8B849;
  --gold-light: #F5D76E;
  --gold-soft: rgba(232, 184, 73, 0.15);
  --green: #6AAF50;
  --green-light: #8BC34A;
  --green-soft: rgba(106, 175, 80, 0.12);
  --earth: #8B7355;
  --earth-light: #A0845C;
  --sunset: #E85D3A;
  --sunset-soft: #F4845F;
  --pink: #F4A6B8;
  --pink-soft: rgba(244, 166, 184, 0.15);

  /* Text */
  --text-dark: #3D2B1F;
  --text-secondary: #7C6A5C;
  --text-light: #A89888;
  --text-white: #FFFDF7;

  /* Typography */
  --font-sans: 'Rounded Mplus 1c', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  --max-width: 1080px;
  --max-width-wide: 1280px;
  --nav-height: 56px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Liquid Glass */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-strong: rgba(255, 255, 255, 0.6);
  --glass-bg-hover: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-border-hover: rgba(255, 255, 255, 0.75);
  --glass-blur: blur(20px) saturate(180%);
  --glass-blur-strong: blur(32px) saturate(200%);
  --glass-highlight: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 50%);
  --glass-specular: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.7) 70%, transparent 100%);

  /* Soft shadows */
  --shadow-sm: 0 2px 12px rgba(139, 115, 85, 0.08);
  --shadow-md: 0 8px 32px rgba(139, 115, 85, 0.1);
  --shadow-lg: 0 16px 48px rgba(139, 115, 85, 0.12);
  --shadow-xl: 0 24px 64px rgba(139, 115, 85, 0.15);
  --shadow-glass: 0 8px 32px rgba(91, 163, 217, 0.08), inset 0 1px 0 rgba(255,255,255,0.5);
  --shadow-glass-hover: 0 16px 48px rgba(91, 163, 217, 0.12), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* Reset */
*, *::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-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--sky-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--sunset); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Decorative Cloud Shapes
   ============================================ */
.cloud {
  position: absolute;
  background: white;
  border-radius: 100px;
  opacity: 0.6;
  animation: cloudFloat 30s linear infinite;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud-1 {
  width: 200px;
  height: 40px;
  top: 15%;
  left: -200px;
  animation-duration: 35s;
}

.cloud-1::before { width: 80px; height: 80px; top: -40px; left: 30px; }
.cloud-1::after { width: 60px; height: 60px; top: -25px; left: 90px; }

.cloud-2 {
  width: 160px;
  height: 32px;
  top: 25%;
  left: -160px;
  animation-duration: 45s;
  animation-delay: -15s;
  opacity: 0.4;
}

.cloud-2::before { width: 60px; height: 60px; top: -30px; left: 25px; }
.cloud-2::after { width: 50px; height: 50px; top: -20px; left: 70px; }

.cloud-3 {
  width: 120px;
  height: 24px;
  top: 10%;
  left: -120px;
  animation-duration: 55s;
  animation-delay: -25s;
  opacity: 0.3;
}

.cloud-3::before { width: 48px; height: 48px; top: -24px; left: 20px; }
.cloud-3::after { width: 36px; height: 36px; top: -16px; left: 55px; }

@keyframes cloudFloat {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 300px)); }
}

/* ============================================
   Navigation - Warm Glass Pill
   ============================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--max-width);
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--glass-border);
  border-radius: 980px;
  z-index: 1000;
  transition: all var(--transition);
  box-shadow: var(--shadow-glass);
}

.nav.scrolled {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass-hover);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.nav-logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 980px;
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-dark);
  background: rgba(139, 115, 85, 0.06);
}

.nav-links a.active {
  color: var(--text-dark);
  background: rgba(139, 115, 85, 0.08);
}

.nav-lang {
  font-size: 0.6875rem !important;
  color: var(--text-secondary) !important;
  border: 1px solid rgba(139, 115, 85, 0.15) !important;
  padding: 4px 14px !important;
  border-radius: 980px;
  letter-spacing: 0.05em;
}

.nav-lang:hover {
  color: var(--text-dark) !important;
  border-color: rgba(139, 115, 85, 0.3) !important;
  background: rgba(139, 115, 85, 0.04) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-dark);
  position: absolute;
  left: 5px;
  transition: all var(--transition);
}

.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 13px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 13px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 13px; }

/* ============================================
   Hero - Pastoral Sky
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px;
  background:
    linear-gradient(180deg,
      #87CEEB 0%,
      #A8D8EA 30%,
      #D4EEFF 50%,
      #FFF8F0 75%,
      #FFF3E0 100%
    );
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
  opacity: 0.45;
  mask-image: linear-gradient(to top, black 0%, black 30%, transparent 70%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero .hero-title {
  text-shadow: 0 2px 20px rgba(255, 248, 240, 0.8), 0 0 60px rgba(255, 248, 240, 0.5);
}

.hero .hero-subtitle {
  text-shadow: 0 1px 12px rgba(255, 248, 240, 0.9);
}

.hero .hero-badge {
  box-shadow: 0 2px 16px rgba(255, 248, 240, 0.6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 980px;
  padding: 8px 20px;
  margin-bottom: 40px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
  text-shadow: 0 2px 16px rgba(255, 248, 240, 0.5);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--green) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--green) 100%);
  color: #fff;
  padding: 16px 36px;
  border-radius: 980px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(91, 163, 217, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91, 163, 217, 0.45);
}

.btn-primary .arrow {
  transition: transform var(--transition);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-dark);
  padding: 16px 36px;
  border-radius: 980px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  cursor: pointer;
  box-shadow: var(--shadow-glass);
}

.btn-secondary:hover {
  color: var(--text-dark);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass-hover);
}

/* Floating leaves decoration */
.leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  z-index: 1;
}

.leaf::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green-light);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
}

.leaf-1 { top: 20%; left: 10%; animation: leafFall 12s ease-in-out infinite; }
.leaf-2 { top: 30%; right: 15%; animation: leafFall 15s ease-in-out infinite reverse; animation-delay: -3s; opacity: 0.3; }
.leaf-3 { top: 40%; left: 25%; animation: leafFall 18s ease-in-out infinite; animation-delay: -8s; opacity: 0.4; }

@keyframes leafFall {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, 30px) rotate(90deg); }
  50% { transform: translate(-10px, 60px) rotate(180deg); }
  75% { transform: translate(15px, 30px) rotate(270deg); }
}

/* ============================================
   Hero - Light variant (sub pages)
   ============================================ */
.hero-light {
  position: relative;
  padding: 200px 24px 120px;
  text-align: center;
  background:
    linear-gradient(180deg,
      #A8D8EA 0%,
      #D4EEFF 40%,
      var(--cream) 100%
    );
  overflow: hidden;
}

.hero-light .hero-title {
  color: var(--text-dark);
  font-size: 3.5rem;
}

.hero-light .hero-subtitle {
  color: var(--text-secondary);
}

/* ============================================
   Sections
   ============================================ */
.section-cream {
  padding: 120px 24px;
  background: var(--cream);
  position: relative;
}

.section-sky {
  padding: 120px 24px;
  background:
    linear-gradient(180deg, var(--sky-pale) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.section-warm {
  padding: 120px 24px;
  background:
    linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  position: relative;
}

.section-green {
  padding: 120px 24px;
  background:
    linear-gradient(135deg,
      #E8F5E9 0%,
      #F1F8E9 50%,
      var(--cream) 100%
    );
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-desc {
  font-size: 1.0625rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 72px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
}

.section-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-blue), var(--green), var(--gold));
  margin: 0 auto 72px;
  border-radius: 2px;
}

/* ============================================
   Product Cards - Warm Paper
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 44px 28px 36px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

/* Specular highlight - top edge shine */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-specular);
  z-index: 1;
}

/* Inner refraction glow */
.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--glass-highlight);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass-hover);
}

.product-card:hover::after {
  opacity: 0.8;
}

.product-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 12px rgba(91, 163, 217, 0.08);
}

.product-card:hover .product-icon {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 24px rgba(91, 163, 217, 0.12);
  transform: scale(1.05);
}

.product-icon svg {
  width: 30px;
  height: 30px;
}

.product-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.product-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sky-blue);
}

.product-card .learn-more .arrow {
  transition: transform var(--transition);
}

.product-card:hover .learn-more .arrow {
  transform: translateX(4px);
}

/* ============================================
   Advantages - Warm Cards
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.advantage-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.advantage-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-specular);
}

.advantage-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--glass-highlight);
  pointer-events: none;
  opacity: 0.4;
}

.advantage-item:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass-hover);
}

.advantage-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sky-blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.advantage-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.advantage-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.about-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-specular);
}

.about-intro::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: var(--glass-highlight);
  pointer-events: none;
  opacity: 0.4;
}

.about-intro p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-intro p:last-child { margin-bottom: 0; }

/* Team Hero Banner */
.team-hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-width: var(--max-width-wide);
  margin: 0 auto 32px;
  box-shadow: var(--shadow-xl);
}

.team-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-hero-caption {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Team members */
.team-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.team-member {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-glass);
}

.team-member:hover {
  transform: translateY(-8px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass-hover);
}

.team-member-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-member:hover .team-member-photo img {
  transform: scale(1.05);
}

.team-member-info {
  padding: 28px 24px 32px;
  text-align: center;
}

.team-member-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-member-info .member-role {
  font-size: 0.8125rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--sky-blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.team-member-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* AI Crew section */
.ai-crew-section {
  background:
    linear-gradient(135deg,
      #E8F5E9 0%,
      #F1F8E9 30%,
      #FFF8E1 70%,
      #FFF3E0 100%
    );
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.ai-crew-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ai-crew-section .section-title { color: var(--text-dark); }
.ai-crew-section .section-desc { color: var(--text-secondary); }

.ai-crew-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 40px;
  box-shadow: var(--shadow-xl);
}

.ai-crew-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-crew-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-crew-feature {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.ai-crew-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-specular);
}

.ai-crew-feature:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass-hover);
}

.ai-crew-feature .feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.ai-crew-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ai-crew-feature p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Timeline */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sky-blue), var(--green), var(--gold));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 44px 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky-blue);
  box-shadow: 0 0 0 4px rgba(91, 163, 217, 0.2), 0 0 16px rgba(91, 163, 217, 0.15);
}

.timeline-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.timeline-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Team Glass Cards (old style fallback) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.team-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  transition: all var(--transition);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-specular);
}

.team-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-glass-hover);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-pale), var(--green-soft));
  border: 1px solid rgba(106, 175, 80, 0.15);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.team-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.team-card .role {
  font-size: 0.8125rem;
  background: linear-gradient(135deg, var(--sky-blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  font-weight: 600;
}

.team-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Products Page - Showcase
   ============================================ */
.product-showcase {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.product-section:last-child { border-bottom: none; }

.product-section.reverse { direction: rtl; }
.product-section.reverse > * { direction: ltr; }

.product-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-glass-hover);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-visual:hover img {
  transform: scale(1.03);
}

.product-info { padding: 16px 0; }

.product-info .product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-blue);
  background: rgba(91, 163, 217, 0.1);
  padding: 6px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
}

.product-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  line-height: 1.2;
}

.product-info > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background: linear-gradient(135deg, var(--sky-blue), var(--green));
  border-radius: 50%;
  clip-path: polygon(28% 50%, 42% 65%, 72% 35%, 78% 40%, 42% 75%, 22% 55%);
}

/* Alternate warm product section */
.product-section-warm {
  background:
    linear-gradient(135deg,
      #FFF8E1 0%,
      #FFF3E0 50%,
      var(--cream) 100%
    );
  padding: 80px 24px;
  margin: 0 -24px;
  border-radius: 0;
}

.product-section-warm .product-section { border-bottom-color: rgba(139, 115, 85, 0.06); }

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-info {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-specular);
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.contact-item { margin-bottom: 24px; }
.contact-item:last-child { margin-bottom: 0; }

.contact-item h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-glass);
}

/* ============================================
   Footer - Earth Tones
   ============================================ */
.footer {
  padding: 32px 24px;
  background: var(--earth);
  border-top: 3px solid var(--gold);
}

.footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 0.75rem;
  color: rgba(255, 253, 247, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(255, 253, 247, 0.5);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--gold-light); }

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2) { transition-delay: 0.15s; }
.stagger > .fade-in:nth-child(3) { transition-delay: 0.3s; }
.stagger > .fade-in:nth-child(4) { transition-delay: 0.45s; }

/* Counter */
.counter[data-target] {
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: var(--radius);
  }

  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--nav-height) + 20px);
    left: 8px;
    right: 8px;
    background: rgba(255, 253, 247, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(139, 115, 85, 0.1);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1rem;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }

  .nav-toggle { display: block; }

  .hero {
    min-height: auto;
    padding: 140px 24px 100px;
  }

  .hero-title { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1.0625rem; }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-light { padding: 140px 24px 80px; }
  .hero-light .hero-title { font-size: 2.25rem; }

  .section-cream, .section-sky, .section-warm, .section-green { padding: 80px 20px; }
  .section-title { font-size: 2rem; }
  .section-desc { font-size: 0.9375rem; margin-bottom: 48px; }

  .products-grid,
  .advantages-grid,
  .team-grid,
  .ai-crew-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-members {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .team-hero-banner { aspect-ratio: 16 / 9; }

  .product-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .product-section.reverse { direction: ltr; }

  .product-section-warm {
    margin: 0 -20px;
    padding: 48px 20px;
  }

  .product-info h2 { font-size: 1.5rem; }
  .feature-list { grid-template-columns: 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-intro { padding: 36px 24px; }

  .ai-crew-section { padding: 80px 20px; }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cloud, .leaf { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .product-card { padding: 36px 24px; }
}
