/* ===== ZHI90 International - Styles ===== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', 'Arial', sans-serif;
  font-size: 16px; line-height: 1.6; color: #1a1a1a; background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- Variables ---------- */
:root {
  --ink: #0a1f3a;
  --blue: #1a5276;
  --deep-blue: #0a1f3a;
  --cyan: #2c8db5;
  --leaf: #3a9b6e;
  --light: #f7f9fb;
  --line: #e8ecf0;
  --white: #fff;
  --shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; background: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 30px;
  font-size: 13px; font-weight: 600; color: #fff;
  letter-spacing: 0.02em; transition: all 0.3s ease;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  flex-shrink: 0; margin-left: 16px;
}
.lang-switch:hover {
  background: var(--blue); border-color: var(--blue);
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(10,31,58,0.25);
}
.lang-switch .globe-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 clamp(18px, 4vw, 60px);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 38px; }
.site-nav { display: flex; gap: 28px; align-items: center; font-size: 14px; color: #203a56; }
.site-nav a { position: relative; padding: 26px 0; font-weight: 500; transition: color 0.3s; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 18px; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 0.3s;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 100px 20px 60px; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0a1f3a 0%, #1a3a5c 40%, #2c5f8a 100%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; opacity: 0.15; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite;
}
@keyframes heroPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content .eyebrow {
  display: inline-block; padding: 6px 18px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
  letter-spacing: 0.03em; margin-bottom: 16px; line-height: 1.15;
}
.hero-content .hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300;
  line-height: 1.7; opacity: 0.9; margin-bottom: 36px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.primary-action {
  display: inline-block; padding: 14px 36px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 1rem; border-radius: 50px; letter-spacing: 0.02em;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.secondary-action {
  display: inline-block; padding: 14px 36px; background: transparent; color: #fff;
  font-weight: 600; font-size: 1rem; border-radius: 50px; letter-spacing: 0.02em;
  border: 1.5px solid rgba(255,255,255,0.4); transition: all 0.3s;
}
.secondary-action:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }
.hero-stats {
  position: relative; z-index: 2; display: flex; gap: 40px; margin-top: 50px;
  flex-wrap: wrap; justify-content: center;
}
.hero-stats > div { text-align: center; }
.hero-stats strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; }
.hero-stats span { font-size: 0.85rem; opacity: 0.7; letter-spacing: 0.03em; }

/* ---------- Section ---------- */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-heading { text-align: center; margin-bottom: 50px; }
.section-heading .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 10px;
}
.section-heading h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.section-heading.split { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; flex-wrap: wrap; gap: 20px; }
.section-heading.split > p { max-width: 400px; color: #666; font-size: 0.95rem; line-height: 1.6; }

/* ---------- About / Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.intro-copy p { color: #555; line-height: 1.8; margin-bottom: 16px; }
.feature-panel { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.feature-panel img { width: 100%; height: 320px; object-fit: cover; }
.feature-panel p { padding: 20px; font-size: 0.9rem; color: #666; line-height: 1.6; background: var(--light); }

/* ---------- Business ---------- */
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.business-grid article {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 30px;
  text-align: center; transition: all 0.3s; position: relative; overflow: hidden;
}
.business-grid article::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transition: transform 0.3s;
}
.business-grid article:hover::before { transform: scaleX(1); }
.business-grid article:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.business-grid article span {
  display: inline-block; font-size: 2.5rem; font-weight: 800; color: var(--light);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.business-grid article h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; letter-spacing: 0.02em; }
.business-grid article p { font-size: 0.9rem; color: #777; line-height: 1.6; }

/* ---------- Products ---------- */
.product-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.product-tabs button {
  padding: 10px 24px; border: 1.5px solid var(--line); border-radius: 30px;
  background: #fff; font-size: 14px; font-weight: 600; color: #666;
  cursor: pointer; transition: all 0.3s;
}
.product-tabs button.active, .product-tabs button:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--light); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; transition: all 0.3s;
}
.product-card:hover { background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.product-card.accent { border-color: var(--cyan); border-width: 2px; }
.product-card h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 14px; }
.product-card ul li { font-size: 0.88rem; color: #666; padding: 6px 0; border-bottom: 1px solid var(--line); }
.product-card ul li:last-child { border-bottom: none; }
.product-card.hidden { display: none; }

/* ---------- Innovation ---------- */
.innovation-layout { text-align: center; max-width: 800px; margin: 0 auto; }
.innovation-layout > p { color: #555; line-height: 1.8; margin-bottom: 36px; }
.partner-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.partner-row span {
  padding: 10px 24px; background: #fff; border: 1px solid var(--line);
  border-radius: 30px; font-size: 0.9rem; font-weight: 600; color: var(--ink);
  transition: all 0.3s;
}
.partner-row span:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Contact CTA ---------- */
.contact-cta {
  background: linear-gradient(135deg, var(--ink), var(--blue));
  color: #fff; text-align: center; padding: 80px 20px;
}
.contact-cta .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; }
.contact-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.contact-cta p { font-size: 1rem; opacity: 0.85; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px clamp(18px, 4vw, 60px); background: var(--ink);
  color: rgba(255,255,255,0.6); font-size: 0.85rem; letter-spacing: 0.02em;
}

/* ---------- Contact Page ---------- */
.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-hero { background: linear-gradient(135deg, var(--ink), var(--blue)); color: #fff; text-align: center; padding: 120px 20px 60px; }
.contact-hero .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; }
.contact-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 12px; }
.contact-hero p { font-size: 1.1rem; opacity: 0.85; }
.contact-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1100px; margin: -40px auto 60px; padding: 0 20px; }
.contact-info { background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.contact-info .section-heading { text-align: left; margin-bottom: 24px; }
.location-image { border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.location-image img { width: 100%; height: 200px; object-fit: cover; }
.location-image figcaption { font-size: 0.85rem; color: #999; padding: 8px 0; }
.contact-info dl div { display: flex; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { width: 140px; font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.contact-info dd { flex: 1; color: #666; font-size: 0.9rem; }
.contact-form { background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.3rem; color: var(--ink); margin-bottom: 20px; }
.contact-form label { display: block; font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 0.95rem; font-family: inherit; transition: border-color 0.3s; background: var(--light); margin-bottom: 16px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 100px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .intro-grid, .business-grid, .product-grid, .contact-detail { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 620px) {
  .section { padding: 50px 18px; }
  .hero { padding: 80px 18px 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .site-footer { flex-direction: column; gap: 8px; text-align: center; }
  .lang-switch { padding: 5px 12px; font-size: 12px; margin-left: 8px; }
}
