/* ============================================================
   Yude Technology - English Website Stylesheet
   Color theme: Blue  #003B7A / #00A8FF
   Font: Barlow + Barlow Condensed
   ============================================================ */

:root {
  --blue-dark:   #002D6B;
  --blue-mid:    #0057B8;
  --blue-light:  #00A8FF;
  --blue-pale:   #E8F4FF;
  --accent:      #00D4FF;
  --text-dark:   #0D1B2A;
  --text-mid:    #3A506B;
  --text-light:  #7B9AB0;
  --white:       #FFFFFF;
  --bg:          #F6FAFF;
  --border:      #D0E4F5;
  --card-bg:     #FFFFFF;
  --shadow:      0 4px 24px rgba(0,87,184,0.10);
  --shadow-lg:   0 12px 48px rgba(0,87,184,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: var(--blue-pale);
  border: 1px solid rgba(0,168,255,0.3);
  border-radius: 30px;
  padding: 4px 16px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,168,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,168,255,0.5); }
.btn-outline { border-color: var(--blue-light); color: var(--blue-light); background: transparent; }
.btn-outline:hover { background: var(--blue-light); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--blue-mid); font-weight: 800; }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,29,74,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,168,255,0.15);
  transition: var(--transition);
}
.header.scrolled { background: rgba(0,29,74,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; }
.logo-cn { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: 2px; line-height: 1.2; }
.logo-en { font-size: 9px; font-weight: 600; color: var(--blue-light); letter-spacing: 3px; line-height: 1.2; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255,255,255,0.8); transition: var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(0,168,255,0.15); }
.nav-cta { background: linear-gradient(135deg, var(--blue-mid), var(--blue-light)); color: var(--white) !important; padding: 8px 20px; margin-left: 8px; }
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--white); display: block; transition: var(--transition); border-radius: 2px; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #001B4E 0%, #003380 50%, #002060 100%);
  padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,168,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,168,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,168,255,0.25) 0%, transparent 70%); top: -100px; right: -100px; animation: orbFloat 8s ease-in-out infinite; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,87,184,0.3) 0%, transparent 70%); bottom: -50px; left: 10%; animation: orbFloat 10s ease-in-out infinite reverse; }
@keyframes orbFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 100px; max-width: 800px; }
.hero-badge { display: inline-block; padding: 6px 18px; background: rgba(0,168,255,0.15); border: 1px solid rgba(0,168,255,0.4); border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; animation: fadeUp 0.8s ease both; }
.hero-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(42px, 7vw, 80px); font-weight: 800; color: var(--white); line-height: 1.05; margin-bottom: 24px; animation: fadeUp 0.8s 0.1s ease both; letter-spacing: 1px; text-transform: uppercase; }
.hero-accent { background: linear-gradient(135deg, var(--blue-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 600px; margin-bottom: 40px; line-height: 1.8; animation: fadeUp 0.8s 0.2s ease both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; animation: fadeUp 0.8s 0.3s ease both; }
.hero-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; animation: fadeUp 0.8s 0.4s ease both; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-num em { font-style: normal; font-size: 18px; color: var(--blue-light); }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.15); }

.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.4); font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(0,168,255,0.6), transparent); animation: scrollDown 1.5s ease infinite; }
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ========== FEATURES ========== */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-card { padding: 36px 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--white); transition: var(--transition); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-mid), var(--blue-light)); transform: scaleX(0); transition: var(--transition); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,168,255,0.3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 52px; height: 52px; margin-bottom: 20px; }
.feature-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-dark); margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ========== SHOWCASE ========== */
.showcase { background: var(--bg); }
.showcase-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.showcase-block:last-child { margin-bottom: 0; }
.showcase-block-reverse { direction: rtl; }
.showcase-block-reverse > * { direction: ltr; }
.showcase-img-placeholder { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--blue-pale), #C8E8FF); border-radius: var(--radius-lg); border: 2px dashed var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-light); position: relative; overflow: hidden; }
.img-label { position: absolute; top: 16px; left: 16px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); background: rgba(0,168,255,0.1); padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(0,168,255,0.3); }
.img-icon { font-size: 48px; }
.img-hint { font-size: 12px; color: var(--text-light); }
.showcase-text .section-tag { display: inline-block; }
.showcase-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(24px, 3vw, 38px); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-dark); margin: 16px 0 20px; }
.showcase-text p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; }
.showcase-list { list-style: none; margin-bottom: 32px; }
.showcase-list li { padding: 8px 0 8px 24px; position: relative; font-size: 14px; color: var(--text-mid); border-bottom: 1px solid var(--border); }
.showcase-list li::before { content: '▶'; position: absolute; left: 0; font-size: 8px; color: var(--blue-light); top: 12px; }

/* ========== PROCESS STRIP ========== */
.process-strip { background: var(--blue-dark); }
.process-strip .section-tag { background: rgba(0,168,255,0.15); border-color: rgba(0,168,255,0.4); }
.process-strip .section-title { color: var(--white); }
.process-steps { display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.process-step { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(0,168,255,0.2); border-radius: var(--radius); min-width: 140px; flex: 1; max-width: 175px; transition: var(--transition); text-align: center; }
.process-step:hover { background: rgba(0,168,255,0.12); border-color: rgba(0,168,255,0.5); transform: translateY(-4px); }
.step-num { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 800; color: var(--blue-light); line-height: 1; }
.step-content h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--white); margin-bottom: 6px; }
.step-content p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.process-arrow { font-size: 20px; color: rgba(0,168,255,0.35); padding: 0 4px; flex-shrink: 0; }
.process-cta { text-align: center; }

/* ========== PRODUCTS PREVIEW ========== */
.products-preview { background: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.product-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--white); transition: var(--transition); display: block; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,168,255,0.3); }
.product-img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.product-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue-pale), #C8E8FF); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 40px; gap: 8px; transition: var(--transition); }
.product-card:hover .product-img-placeholder { transform: scale(1.05); }
.product-img-placeholder small { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); font-family: 'Barlow', sans-serif; }
.product-info { padding: 20px; }
.product-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--blue-dark); margin-bottom: 6px; }
.product-info p { font-size: 13px; color: var(--text-mid); margin-bottom: 12px; }
.product-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-light); background: var(--blue-pale); border: 1px solid rgba(0,168,255,0.3); border-radius: 20px; padding: 3px 10px; }

/* ========== CTA BANNER ========== */
.cta-banner { position: relative; padding: 80px 0; overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); text-align: center; }
.cta-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,168,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,168,255,0.08) 1px, transparent 1px); background-size: 40px 40px; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 4vw, 48px); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--white); margin-bottom: 16px; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 36px; }

/* ========== FOOTER ========== */
.footer { background: #00122E; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-cn { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: 3px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.42); margin-top: 16px; line-height: 1.9; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 8px; }
.footer-col a, .footer-col p { font-size: 14px; color: rgba(255,255,255,0.48); transition: var(--transition); }
.footer-col a:hover { color: var(--blue-light); padding-left: 4px; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.28); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.38); }
.footer-bottom a:hover { color: var(--blue-light); }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero { background: linear-gradient(160deg, #001B4E 0%, #003380 100%); padding: 140px 0 70px; position: relative; overflow: hidden; }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,168,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,168,255,0.06) 1px, transparent 1px); background-size: 50px 50px; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(34px, 5vw, 60px); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--white); margin-bottom: 16px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.62); max-width: 620px; }

/* ========== GALLERY GRID ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--white); transition: var(--transition); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-placeholder { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--blue-pale), #C8E8FF); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 36px; gap: 8px; color: var(--text-light); }
.gallery-caption { padding: 16px 20px; }
.gallery-caption h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--blue-dark); margin-bottom: 4px; }
.gallery-caption p { font-size: 13px; color: var(--text-mid); }

/* ========== PROCESS TIMELINE ========== */
.process-timeline { position: relative; }
.process-timeline::before { content: ''; position: absolute; left: 48px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--blue-light), transparent); }
.timeline-item { display: flex; gap: 36px; margin-bottom: 48px; position: relative; }
.timeline-num { width: 96px; height: 96px; min-width: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-mid), var(--blue-light)); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; color: var(--white); box-shadow: 0 4px 20px rgba(0,168,255,0.4); flex-shrink: 0; position: relative; z-index: 1; }
.timeline-content { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px; transition: var(--transition); }
.timeline-content:hover { box-shadow: var(--shadow-lg); border-color: rgba(0,168,255,0.3); }
.timeline-content h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-dark); margin-bottom: 10px; }
.timeline-content p { font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* ========== CONTACT FORM ========== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { padding: 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; gap: 16px; align-items: flex-start; transition: var(--transition); }
.contact-card:hover { box-shadow: var(--shadow); border-color: rgba(0,168,255,0.3); }
.contact-icon { width: 48px; height: 48px; min-width: 48px; background: var(--blue-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.contact-card h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.contact-card p { font-size: 15px; color: var(--blue-dark); font-weight: 500; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-dark); margin-bottom: 8px; }
.form-card > p { font-size: 14px; color: var(--text-mid); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'Barlow', sans-serif; color: var(--text-dark); background: var(--bg); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-light); background: var(--white); box-shadow: 0 0 0 3px rgba(0,168,255,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.form-success { display: none; padding: 20px; background: #E8F8F0; border: 1px solid #4CAF50; border-radius: 8px; color: #2E7D32; font-size: 15px; text-align: center; margin-top: 16px; }
.form-success.show { display: block; }

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .showcase-block, .showcase-block-reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .process-steps { gap: 8px; }
  .process-arrow { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(0,29,74,0.98); padding: 24px; gap: 8px; border-bottom: 1px solid rgba(0,168,255,0.15); }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 20px; font-size: 15px; }
  .menu-toggle { display: flex; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { flex-direction: column; gap: 16px; }
  .process-timeline::before { display: none; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
}
