/* ============================================
   慧衣橱官网 · SMART WARDROBE
   Brand Color: #1AC1BD (Vivid Teal)
   ============================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --tiffany: #19c1bd;
  --tiffany-deep: #139996;
  --tiffany-light: #5cd3ce;
  --tiffany-pale: #e5f9f8;
  --tiffany-xpale: #f2fcfc;
  --dark: #1A1A2E;
  --dark-2: #16213E;
  --dark-3: #0F3460;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --text-primary: #222240;
  --text-secondary: #4A4A6A;
  --text-muted: #8888A8;
  --text-light: #9999B8;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(26, 193, 189, 0.12);
  --shadow-md: 0 8px 32px rgba(26, 193, 189, 0.18);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.10);
  --shadow-xl: 0 30px 80px rgba(26, 26, 46, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Font weight tokens */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'MiSans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  background: #faf8f5;
  overflow-x: hidden;
  line-height: 1.75;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
}


ul {
  list-style: none;
}

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

input,
textarea,
select,
button {
  font-family: inherit;
}

/* ---- TYPOGRAPHY: max weight = 500 (medium) ---- */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
  line-height: 1.25;
}

h6 {
  font-weight: 400;
}

strong,
b {
  font-weight: 500;
}

p {
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(129, 216, 208, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

/* Logo icon image */
.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-zh,
.logo-name {
  font-family: 'MiSans', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--tiffany-deep);
  letter-spacing: 2px;
  line-height: 1;
}

.logo-en {
  font-family: 'MiSans', sans-serif;
  font-size: 1.1rem;
  color: var(--tiffany-deep);
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-shadow: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--tiffany-deep);
  background: var(--tiffany-pale);
  text-shadow: none !important;
}

.nav-links .nav-cta {
  background: var(--tiffany);
  color: var(--white) !important;
  padding: 10px 22px;
  font-weight: 500;
  text-shadow: none !important;
}

.nav-links .nav-cta:hover {
  background: var(--tiffany-deep);
  color: var(--white) !important;
  transform: none;
}

.nav-links .nav-cta.active {
  background: var(--tiffany-pale);
  color: var(--tiffany-deep) !important;
}

.navbar.scrolled .nav-links .nav-cta:hover {
  color: var(--text-secondary) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tiffany-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   LANGUAGE TOGGLE BUTTON
   ============================================ */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--tiffany-light);
  background: var(--tiffany-xpale);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-toggle:hover {
  background: var(--tiffany-pale);
  border-color: var(--tiffany);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.lang-zh,
.lang-en {
  color: var(--gray-400);
  transition: var(--transition);
}

.lang-zh.active,
.lang-en.active {
  color: var(--tiffany-deep);
}

.lang-divider {
  color: var(--gray-400);
  font-weight: 300;
}

/* Use default lang-toggle styling universally since navbar is always solid */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

/* Slide Backgrounds */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* --- Real photo background --- */
.slide-bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  animation-duration: 14s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.slide-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slide-bg-1 .slide-bg-photo {
  background-image: url('images/hero-bg-1.png');
  animation-name: kenBurns1;
}

.slide-bg-2 .slide-bg-photo {
  background-image: url('images/hero-bg-2.png');
  animation-name: kenBurns2;
}

.slide-bg-3 .slide-bg-photo {
  background-image: url('images/hero-bg-3.png');
  animation-name: kenBurns3;
}

@keyframes kenBurns1 {
  0% {
    transform: scale(1.08) translate(-2%, 0%);
  }

  100% {
    transform: scale(1.15) translate(2%, -2%);
  }
}

@keyframes kenBurns2 {
  0% {
    transform: scale(1.1) translate(2%, -1%);
  }

  100% {
    transform: scale(1.18) translate(-2%, 1%);
  }
}

@keyframes kenBurns3 {
  0% {
    transform: scale(1.06) translate(0%, 2%);
  }

  100% {
    transform: scale(1.14) translate(-1%, -2%);
  }
}

/* Dark gradient overlay for text readability */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(10, 35, 45, 0.72) 0%,
      rgba(20, 50, 65, 0.55) 45%,
      rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}


.slide-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 72px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  height: 100%;
}

.slide-text {
  animation: slideInLeft 0.8s ease-out;
}

.hero-slide.active .slide-text {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }

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

.hero-slide .slide-tag,
.hero-slide .slide-title,
.hero-slide .slide-subtitle,
.hero-slide .slide-desc {
  color: var(--white) !important;
}

.slide-tag {
  display: inline-block;
  font-family: 'MiSans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(129, 216, 208, 0.25);
  border-radius: var(--radius-full);
  border: 1px solid rgba(129, 216, 208, 0.5);
  backdrop-filter: blur(8px);
}

.slide-title {
  font-family: 'MiSans', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 4px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.slide-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--dark-3);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.slide-subtitle em {
  font-style: normal;
  color: var(--tiffany-deep);
  font-weight: 700;
}

.slide-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slide 3 text colors */
#slide3 .slide-tag {
  color: rgba(255, 255, 255, 0.75);
}

#slide3 .slide-title {
  color: var(--white);
}

#slide3 .slide-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

#slide3 .slide-subtitle em {
  color: var(--tiffany-light);
}

#slide3 .slide-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* Visual Elements */
.slide-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: orbFloat 6s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(129, 216, 208, 0.3));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.25), transparent);
  top: 10%;
  right: 10%;
  animation-delay: -2s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(91, 196, 186, 0.4), transparent);
  bottom: 15%;
  left: 15%;
  animation-delay: -4s;
}

.orb-4 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
  bottom: 20%;
  right: 20%;
  animation-delay: -1s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -55%) scale(1.08);
  }
}

.visual-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.vc-icon {
  font-size: 2.5rem;
  color: var(--tiffany-deep);
  margin-bottom: 16px;
  display: block;
}

.vc-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 1px;
}

.visual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vg-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.vg-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.visual-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vs-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 28px;
}

.vs-num {
  font-family: 'MiSans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--tiffany-light);
  line-height: 1;
}

.vs-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-prev,
.hero-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--white);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
  margin-top: -4px;
}

@keyframes scrollBounce {

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

  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

/* ============================================
   TAGLINE STRIP
   ============================================ */
.tagline-strip {
  background: var(--tiffany-deep);
  padding: 14px 0;
  overflow: hidden;
}

.tagline-ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.tagline-ticker span {
  display: inline-block;
  padding: 0 40px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

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

/* ============================================
   SECTION COMMONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  font-family: 'MiSans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tiffany-deep);
  margin-bottom: 16px;
  padding: 5px 18px;
  border: 1px solid rgba(23, 168, 165, 0.35);
  border-radius: var(--radius-full);
  background: transparent;
}

.section-title {
  font-family: 'MiSans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: 2px;
}

html[lang="en"] .section-title,
html[lang="en"] .hero-title {
  font-family: 'New York', 'NewYork', ui-serif, Georgia, serif !important;
}

html[lang="zh-CN"] .section-title,
html[lang="zh-CN"] .hero-title {
  font-family: '猫啃网文明宋', 'Maokenwenmingsong', serif !important;
}

.section-title em {
  font-style: normal;
  color: var(--tiffany-deep);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header.light .section-tag {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.section-header.light .section-title {
  color: var(--white);
}

.section-header.light .section-title em {
  color: var(--tiffany-light);
}

.section-header.light .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--tiffany-deep);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(91, 196, 186, 0.4);
}

.btn-primary:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91, 196, 186, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid var(--tiffany);
}

.btn-outline-dark:hover {
  background: var(--tiffany-pale);
  color: var(--tiffany-deep) !important;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   AI SECTION
   ============================================ */
.ai-section {
  background: var(--tiffany-xpale);
}

.ai-showcase {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

/* Phone Mockup */
.ai-phone-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-phone-img {
  width: 330px;
  max-width: 100%;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(26, 193, 189, 0.2);
  display: block;
  z-index: 2;
  position: relative;
  /* Use the existing float animation */
  animation: floatMockup 6s ease-in-out infinite;
}

.phone-frame {
  width: 300px;
  background: var(--dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  height: 560px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--tiffany), var(--tiffany-deep));
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'MiSans', sans-serif;
}

.chat-info {
  flex: 1;
}

.chat-name {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gray-100);
}

.msg {
  display: flex;
}

.msg-user {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.msg-ai .msg-bubble {
  background: var(--white);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.msg-user .msg-bubble {
  background: linear-gradient(135deg, var(--tiffany), var(--tiffany-deep));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-input {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  outline: none;
  background: var(--gray-100);
}

.chat-input button {
  padding: 8px 16px;
  background: var(--tiffany);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
}

.phone-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 216, 208, 0.4), transparent 70%);
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(30px);
  z-index: 1;
}

/* AI Feature Cards */
.ai-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
}

.ai-feature-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(26, 193, 189, 0.2);
  transition: var(--transition);
  cursor: default;
}

.ai-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--tiffany);
}

.afc-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.afc-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.afc-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Video Placeholder */
.ai-video-placeholder {
  margin-top: 20px;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
}

.video-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(129, 216, 208, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(91, 196, 186, 0.15) 0%, transparent 40%);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.play-btn:hover {
  background: var(--tiffany-deep);
  border-color: var(--tiffany);
  transform: scale(1.1);
}

.play-icon {
  color: var(--white);
  font-size: 1.5rem;
  margin-left: 4px;
}

.video-label {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.video-label p:first-child {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 50%, #1A5F7A 100%);
  position: relative;
  overflow: hidden;
}

.courses-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(129, 216, 208, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(91, 196, 186, 0.08) 0%, transparent 40%);
}

.courses-section .container {
  position: relative;
  z-index: 1;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.course-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tiffany), var(--tiffany-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.course-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.course-card.featured {
  border-color: rgba(129, 216, 208, 0.4);
  background: rgba(129, 216, 208, 0.1);
}

.course-card.featured::before {
  transform: scaleX(1);
}

.cc-badge {
  display: inline-block;
  background: var(--tiffany);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.cc-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.course-card h3 {
  font-family: 'MiSans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.course-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cc-features {
  margin-bottom: 28px;
}

.cc-features li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.courses-banner {
  background: rgba(129, 216, 208, 0.15);
  border: 1px solid rgba(129, 216, 208, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cb-content p:first-child {
  font-size: 0.9rem;
  color: var(--tiffany-light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.cb-content h3 {
  font-family: 'MiSans', sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 600;
}

/* ============================================
   FOUNDER SECTION
   ============================================ */
.founder-section {
  background: var(--white);
}

.founder-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 70px;
  align-items: start;
}

.founder-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.portrait-frame {
  width: 100%;
  max-width: 400px;
  height: 500px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--tiffany-pale), var(--tiffany-light));
  border: 4px solid var(--tiffany);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Real photo */
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-initials {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  color: var(--tiffany-deep);
  font-family: 'MiSans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.portrait-title {
  font-family: 'MiSans', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1.6;
}

.laurel-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #88c8c0;
  /* matches screenshot laurel color */
  margin-top: 10px;
}

.laurel-branch {
  width: 28px;
  height: auto;
}

.laurel-text {
  text-align: center;
  color: var(--dark-2);
  line-height: 1.6;
  font-size: 0.95rem;
}

.lt-line1 {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.lt-line2,
.lt-line3 {
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.founder-name-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.founder-name {
  font-family: 'MiSans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.founder-subtitle {
  color: var(--tiffany-deep);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.founder-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.credential-group:last-child {
  grid-column: 1 / -1;
}

.credential-group h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.credential-group ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  padding-left: 12px;
  position: relative;
}

.credential-group ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tiffany);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--gray-100);
}

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

.about-brand h3,
.about-timeline h3 {
  font-family: 'MiSans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-philosophy {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-style: italic;
  border-left: 4px solid var(--tiffany);
  padding-left: 20px;
  margin-bottom: 32px;
}

.brand-values {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  flex: 1;
  min-width: 80px;
  border: 1px solid var(--tiffany-light);
  transition: var(--transition);
}

.bv-item:hover {
  background: var(--tiffany-pale);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.bv-icon {
  font-size: 1.8rem;
}

.bv-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--tiffany-light), var(--tiffany));
}

.tl-item {
  position: relative;
  padding-left: 28px;
  padding-bottom: 28px;
}

.tl-dot {
  position: absolute;
  left: -5px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tiffany);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--tiffany-light);
}

.tl-future .tl-dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.3);
}

.tl-year {
  display: inline-block;
  font-family: 'MiSans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tiffany-deep);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.tl-future .tl-year {
  color: var(--gold);
}

.tl-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Stats Row */
.stats-row {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-item {
  flex: 1;
  padding: 40px;
  text-align: center;
}

.stat-number {
  font-family: 'MiSans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--tiffany-deep);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  font-size: 1.8rem;
  color: var(--tiffany);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, var(--tiffany-deep) 0%, #2C7873 50%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 5% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 95% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  color: var(--white);
}

.ci-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ci-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ci-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.ci-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.qr-codes {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 28px 36px;
  margin-top: 32px;
}

.qr-item {
  text-align: center;
}

.qr-placeholder {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.qr-placeholder span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 8px;
  line-height: 1.4;
}

.qr-item p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-top: 6px;
}

/* Real QR code image */
.qr-img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
  transform-origin: bottom center;
  position: relative;
  z-index: 1;
}

.qr-item:hover .qr-img {
  transform: scale(2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.contact-form h3 {
  font-family: 'MiSans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form>p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  background: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--tiffany);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(129, 216, 208, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-zh {
  font-size: 1.4rem;
}

.footer-logo .logo-en {
  color: rgba(255, 255, 255, 0.5);
}

.footer-logo .logo-divider {
  color: rgba(255, 255, 255, 0.2);
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  letter-spacing: 1px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fl-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tiffany-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.fl-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 5px 0;
  transition: var(--transition);
}

.fl-col a:hover {
  color: var(--tiffany-light);
  padding-left: 6px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tiffany-deep);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--dark-3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .ai-showcase {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

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

  .course-card.featured {
    grid-column: 1 / -1;
  }

  .founder-layout {
    grid-template-columns: 280px 1fr;
    gap: 50px;
  }

  .founder-credentials {
    grid-template-columns: 1fr;
  }

  .credential-group:last-child {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 16px;
  }

  .slide-content {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }

  .slide-visual {
    display: none;
  }

  .slide-title {
    font-size: 2.5rem;
  }

  .slide-actions {
    flex-direction: column;
  }

  .slide-actions .btn {
    text-align: center;
  }

  .ai-showcase {
    grid-template-columns: 1fr;
  }

  .ai-phone-mockup {
    align-items: center;
    margin: 0 auto;
  }

  .phone-frame {
    width: 260px;
  }

  .phone-screen {
    height: 480px;
  }

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

  .course-card.featured {
    grid-column: 1;
  }

  .courses-banner {
    flex-direction: column;
    text-align: center;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

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

  .portrait-frame {
    width: 240px;
    height: 300px;
    flex-shrink: 0;
  }

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

  .stats-row {
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 50%;
  }

  .stat-divider {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .qr-codes {
    gap: 20px;
    justify-content: center;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .slide-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero-controls {
    bottom: 60px;
  }

  .portrait-frame {
    width: 120px;
    height: 160px;
  }

  .stat-item {
    min-width: 100%;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: #f8fdfc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testi-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  box-shadow: 0 4px 24px rgba(91, 196, 186, 0.1);
  border: 1px solid rgba(129, 216, 208, 0.2);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 196, 186, 0.18);
}

/* Featured (middle) card */
.testi-featured {
  background: linear-gradient(145deg, #2c7873, #1a5f7a);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(44, 120, 115, 0.35);
  color: var(--white);
}

.testi-stars {
  font-size: 1.1rem;
  color: #f5c842;
  letter-spacing: 2px;
}

.testi-quote {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--tiffany-light);
  opacity: 0.5;
  height: 24px;
  overflow: visible;
}

.testi-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(129, 216, 208, 0.2);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(129, 216, 208, 0.3);
}

.testi-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   ABOUT — NEW LAYOUT (图1)
   ============================================ */
.about-new-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}

.about-image-col {
  position: relative;
}

.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--tiffany-pale);
}

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

.about-headline {
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-para {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.about-card {
  background: var(--white);
  border: 1px solid rgba(30, 204, 200, 0.18);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(30, 204, 200, 0.06);
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--tiffany);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 204, 200, 0.12);
}

.ac-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tiffany-deep);
  margin-bottom: 8px;
}

.ac-val {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ============================================
   TECHNOLOGY SECTION (图2)
   ============================================ */
.tech-section {
  background: #faf9f7;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tech-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tc-head {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.tc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.tc-row:last-child {
  border-bottom: none;
}

.tc-row strong {
  font-weight: 500;
  color: var(--dark);
}

.tc-highlight {
  color: var(--tiffany-deep) !important;
  font-weight: 500 !important;
}

/* ============================================
   CTA SECTION (图3)
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #1a2a2a 0%, #0d1c1c 50%, #0a1818 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-title em {
  color: var(--tiffany);
  font-style: normal;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.cta-btn-primary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
}

.cta-btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.cta-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* ============================================
   RESPONSIVE — COMPREHENSIVE
   ============================================ */

/* Large screens 1440px+ */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  .hero-title {
    font-size: 3.8rem;
  }
}

/* Standard  laptop 1200px */
@media (max-width: 1200px) {
  .ai-layout {
    gap: 40px;
  }

  .founder-layout {
    gap: 40px;
  }

  .courses-grid {
    gap: 20px;
  }
}

/* Tablet landscape 1024px */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .ai-layout {
    grid-template-columns: 1fr;
  }

  .ai-features {
    grid-template-columns: 1fr 1fr;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-new-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-img-wrap {
    aspect-ratio: 4/5;
    max-height: 480px;
    margin: 0 auto;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Tablet portrait 900px */
@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .hero-btns {
    align-items: center;
  }

  .ticker-wrap {
    display: none;
  }

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

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

  .cta-title {
    font-size: 1.5rem;
  }

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

/* Mobile landscape / small tablet 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .navbar {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    gap: 8px;
  }

  .nav-links.open a {
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--dark);
  }

  .nav-toggle {
    display: flex;
  }

  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .ai-features {
    grid-template-columns: 1fr;
  }

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

  .founder-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .qr-codes {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 1.6rem;
  }

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

/* Mobile portrait 480px */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.45rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

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

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

  .cta-title {
    font-size: 1.25rem;
  }

  .cta-btn-primary,
  .cta-btn-outline {
    width: 100%;
    text-align: center;
  }

  .testi-card {
    padding: 20px 18px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .qr-codes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small phones 375px */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .afc-icon {
    font-size: 1.4rem;
  }

  .founder-name {
    font-size: 1.1rem;
  }

  .nav-logo-img {
    width: 28px;
    height: 28px;
  }
}

/* ============================================
   PAIN POINTS SECTION
   ============================================ */
.pain-section {
  background: #fffefb;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pain-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  background: #ffffff;
}

.pain-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8c97a;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.pain-card-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
}

.pain-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COLOR SCHEME OVERHAUL
   Tiffany → used ONLY as accent/highlight
   Primary palette: white / beige / charcoal
   ============================================ */

/* ---- Hero section: dark charcoal instead of tiffany bg ---- */
.hero-section {
  background: linear-gradient(160deg, #1a1a2e 0%, #12101e 100%) !important;
}

/* ---- Sections: neutral alternating backgrounds ---- */
.about-section {
  background: #faf8f5 !important;
}

.founder-section {
  background: #ffffff !important;
}

.ai-section {
  background: #faf8f5 !important;
}

.tech-section {
  background: #ffffff !important;
}

.pain-section {
  background: #faf8f5 !important;
}

.cta-section {
  background: #ffffff !important;
}

.courses-section {
  background: linear-gradient(160deg, #1a1a26 0%, #111118 100%) !important;
}

.testimonials-section {
  background: #f8fdfc !important;
}

/* ---- Chat header: stays tiffany as a UI component (OK accent) ---- */
/* Keep original */

/* ---- Course card CTA button: tiffany as accent (OK) ---- */
/* Keep original */

/* ---- Contact section: warm dark instead of tiffany ---- */
.contact-section {
  background: linear-gradient(160deg, #1a1714 0%, #100e0d 100%) !important;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    url('images/11.png');
  background-size: 3px 3px, cover;
  background-position: center, center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
  z-index: 0;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

/* ---- Testi featured card: charcoal instead of tiffany ---- */
.testi-featured {
  background: #faf8f5 !important;
}

/* ---- Ticker: dark warm char instead of tiffany block ---- */
.ticker-wrap {
  background: #1a1a2e !important;
}

/* ---- Stat numbers: use charcoal, not tiffany ---- */
.stat-number {
  color: #1a1a2e !important;
}

/* ---- Section title em: keep tiffany (small accent — OK) ---- */
/* Already uses var(--tiffany-deep) — OK */

/* ---- Section backgrounds alternate for visual rhythm (each section controls its own bg) ---- */


/* ============================================
   BRAND VIDEO SECTION (图3)
   ============================================ */
.brand-video-section {
  position: relative;
  width: 100%;
  background: #0d1624;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  min-height: 340px;
  max-height: 600px;
}

.bv-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.bv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bv-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(10, 18, 32, 0.62);
  transition: opacity 0.4s ease;
}

.bv-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.bv-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.bv-play-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.bv-play-icon {
  margin-left: 4px;
}

.bv-labels {
  text-align: center;
  color: var(--white);
}

.bv-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.bv-subtitle {
  font-size: 0.85rem;
  opacity: 0.65;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .brand-video-section {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }

  .bv-play-btn {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .bv-title {
    font-size: 0.95rem;
  }
}

/* ============================================
   CHANGE 1: Pain cards bg → match section bg
   ============================================ */
.pain-section {
  background: #faf8f5 !important;
}

.pain-card {
  background: #faf8f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: none !important;
}

.pain-card:hover {
  background: #f5f1ea !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

/* ============================================
   CHANGE 2: Heading font → Noto Serif SC (图2)
            Body text → MiSans regular (图3)
   ============================================ */

/* All main headings use Noto Serif SC */
h1,
h2,
h3,
.section-title,
.slide-title,
.hero-title,
.about-headline,
.cta-title,
.pain-card-title,
.tc-head,
.testi-name,
.founder-name {
  font-family: 'Noto Serif SC', 'STSong', 'SimSun', serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
}

/* h4, h5 keep sans-serif but cleaner */
h4,
h5,
.ac-label,
.cc-head,
.afc-title {
  font-family: 'MiSans', 'PingFang SC', sans-serif !important;
  font-weight: 500 !important;
}

/* Body copy → MiSans regular, more readable */
body,
p,
li,
span,
td,
th,
label,
input,
textarea,
select {
  font-family: 'MiSans', 'PingFang SC', 'Helvetica Neue', sans-serif;
  font-weight: 400;
}

/* ============================================
   CHANGE 3: 技术优势 nav link — already in HTML,
   this ensures it is styled correctly in scrolled state
   ============================================ */
/* No extra CSS needed — inherits existing nav link styles */

/* ============================================
   CHANGE 4: About-cards → 图5 style
   Beige bg + gold left border, larger with more padding
   ============================================ */
.about-cards {
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-top: 36px !important;
}

.about-card {
  background: #faf0e6 !important;
  border: none !important;
  border-left: 4px solid #d4a843 !important;
  border-radius: 12px !important;
  padding: 28px 28px 28px 24px !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  transition: var(--transition) !important;
}

.about-card:hover {
  background: #f5e8d4 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.12) !important;
}

.ac-label {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #2a2420 !important;
  margin-bottom: 0 !important;
  font-family: 'Noto Serif SC', serif !important;
}

.ac-val {
  font-size: 0.92rem !important;
  color: #5a4e45 !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* Make about section more spacious overall */
.about-new-layout {
  gap: 60px !important;
}

.about-text-col {
  padding-top: 8px;
}

/* ============================================
   NEW COLOR PALETTE OVERRIDE
   ============================================ */
:root {
  --white: #faf8f5 !important;
  /* bg: #faf8f5 */
  --tiffany: #15a9a5 !important;
  /* primary: #15a9a5 */
  --tiffany-deep: #15a9a5 !important;
  --text-primary: #303031 !important;
  /* text: #303031 */
  --text-secondary: #737476 !important;
  /* secondary text: #737476 */
  --gold: #e8c97a !important;
  /* gold: #e8c97a */
  --gold-light: #faf0e6 !important;
  /* gold-beige: #faf0e6 */
}

body {
  background: var(--white) !important;
  color: var(--text-primary) !important;
}

.section-desc,
.about-para {
  color: var(--text-secondary) !important;
}

/* ============================================
   FIX 1: Course featured card text — invisible
   Force all text white on tiffany bg
   ============================================ */
.course-card.featured {
  background: rgba(30, 204, 200, 0.18) !important;
}

.course-card h3,
.course-card p,
.course-card .cc-features li,
.course-card .cc-features,
.course-card * {
  color: var(--white) !important;
}

.course-card p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.course-card .cc-features li {
  color: rgba(255, 255, 255, 0.78) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* BTN inside card stays styled */
.course-card .btn {
  color: var(--white) !important;
}

.course-card .btn-outline {
  color: var(--white) !important;
}

.course-card .btn:hover,
.course-card .btn-outline:hover,
.course-card .btn-outline-dark:hover {
  color: var(--tiffany-deep) !important;
}

/* ============================================
   FIX 2 + FIX 5: Video has side margins + border-radius
   Matching 图5 style (contained, rounded frame)
   ============================================ */
.brand-video-section {
  background: transparent !important;
  padding: 40px 40px !important;
  max-height: none !important;
  aspect-ratio: unset !important;
}

.bv-inner {
  border-radius: 20px !important;
  overflow: hidden !important;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  /* Original aspect ratio as requested */
  background: #0d1624;
  position: relative;
  width: 100%;
}

@media (max-width: 768px) {
  .brand-video-section {
    padding: 24px 16px !important;
  }

  .bv-inner {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }
}

/* ============================================
   FIX 3: Footer background → dark gray (#111)
   ============================================ */
.footer {
  background: #111111 !important;
}

.footer-bottom {
  /* background: #0a0a0a !important; */
}

/* ============================================
   FIX 4: Tech cards — hover slide + text wave
   ============================================ */

/* Card lifts and content slides up */
.tech-card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease !important;
  overflow: hidden;
}

.tech-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10) !important;
}

/* Rows wave in on hover using animation */
@keyframes rowSlideIn {
  from {
    opacity: 0.4;
    transform: translateX(-6px);
  }

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

.tech-card:hover .tc-row {
  animation: rowSlideIn 0.35s ease both;
}

.tech-card:hover .tc-row:nth-child(1) {
  animation-delay: 0ms;
}

.tech-card:hover .tc-row:nth-child(2) {
  animation-delay: 55ms;
}

.tech-card:hover .tc-row:nth-child(3) {
  animation-delay: 110ms;
}

.tech-card:hover .tc-row:nth-child(4) {
  animation-delay: 165ms;
}

.tech-card:hover .tc-row:nth-child(5) {
  animation-delay: 220ms;
}

/* Head slides in on hover */
@keyframes headPop {
  from {
    letter-spacing: 0px;
    opacity: 0.7;
  }

  to {
    letter-spacing: 0.5px;
    opacity: 1;
  }
}

.tech-card:hover .tc-head {
  animation: headPop 0.3s ease both;
  color: var(--tiffany-deep) !important;
  transition: color 0.3s ease;
}

/* ---- ENGLISH FONT: DIDOT ---- */
html[lang="en"] .slide-title,
html[lang="en"] .section-title,
html[lang="en"] .slide-tag,
html[lang="en"] .section-tag,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5 {
  font-family: 'Didot', 'Times New Roman', serif !important;
}