/* ============================================================
   NovaEdge — Premium Foreign Trade Website
   Design: fresh, airy, high-end. Teal × Sky blue on soft white.
   ============================================================ */

:root {
  --teal: #0d9488;
  --teal-bright: #2dd4bf;
  --sky: #0ea5e9;
  --sky-light: #38bdf8;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-mute: #94a3b8;
  --bg: #fbfdfd;
  --bg-alt: #f2f9f9;
  --white: #ffffff;
  --line: #e2eef0;
  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(13, 148, 136, 0.08);
  --shadow-md: 0 14px 40px rgba(13, 148, 136, 0.13);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.14);
  --grad: linear-gradient(120deg, var(--teal-bright), var(--sky));
  --font: "Sora", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Typography helpers ---------- */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--ink-soft); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(45, 212, 191, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.kicker.light { color: var(--teal-bright); background: rgba(45, 212, 191, 0.14); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(14, 165, 233, 0.42); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal-bright); color: var(--teal); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  position: relative;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}
.logo-mark::after {
  content: "";
  position: absolute; inset: 8px;
  border: 2.5px solid #fff;
  border-radius: 6px;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
}
.logo-text em { font-style: normal; color: var(--teal); }
.logo.light { color: #fff; }
.logo.light em { color: var(--teal-bright); }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.28s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(45, 212, 191, 0.12);
  border: 1.5px solid rgba(45, 212, 191, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lang-toggle:hover { background: var(--grad); color: #fff; border-color: transparent; }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; background: #99f6e4; top: -140px; right: -100px; }
.blob-2 { width: 440px; height: 440px; background: #bae6fd; bottom: -160px; left: -120px; animation-delay: -6s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-text p { font-size: 1.08rem; max-width: 520px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 52px; }
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat strong::after { content: "+"; }
.stat span { font-size: 0.84rem; color: var(--ink-mute); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img { width: min(420px, 100%); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.glass-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}
.glass-card strong { display: block; font-size: 0.9rem; }
.glass-card span { font-size: 0.76rem; color: var(--ink-mute); }
.card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.14);
  font-size: 1.2rem;
}
.card-float-1 { top: 12%; left: -4%; animation-delay: -2s; }
.card-float-2 { bottom: 14%; right: -2%; animation-delay: -4s; }

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--ink-mute);
  border-radius: 14px;
  display: flex; justify-content: center;
  opacity: 0.6;
}
.scroll-hint span {
  width: 4px; height: 9px;
  background: var(--teal);
  border-radius: 3px;
  margin-top: 8px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Partners ---------- */
.partners { padding: 38px 0; border-block: 1px solid var(--line); background: #fff; }
.partners p {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.partner-logos {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  flex-wrap: wrap;
}
.partner-logos span {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #b6c6cc;
  transition: color 0.25s;
}
.partner-logos span:hover { color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head p { margin-top: 14px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-text h2 { margin-bottom: 20px; }
.split-text p { margin-bottom: 16px; }

.img-frame { position: relative; }
.img-placeholder { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.exp-badge {
  position: absolute;
  bottom: -26px; right: -18px;
  background: var(--grad);
  color: #fff;
  border-radius: 20px;
  padding: 20px 26px;
  box-shadow: 0 18px 44px rgba(14, 165, 233, 0.4);
  text-align: center;
}
.exp-badge strong { display: block; font-size: 1.9rem; }
.exp-badge span { font-size: 0.78rem; opacity: 0.92; }

.check-list { list-style: none; margin: 8px 0 30px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  position: relative;
}
.product-img::after {
  content: "🔍";
  position: absolute;
  right: 10px; bottom: 10px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s;
}
.product-img:hover::after { opacity: 1; transform: scale(1); }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-card h3 { margin: 0 6px 10px; }
.product-card p { font-size: 0.92rem; margin: 0 6px 18px; }
.card-link { font-size: 0.88rem; font-weight: 600; color: var(--teal); transition: letter-spacing 0.25s; margin: 0 6px; }
.card-link:hover { letter-spacing: 0.03em; }

/* ---------- Hero photo ---------- */
.hero-photo {
  width: min(460px, 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; display: block; }
.img-placeholder img { width: 100%; display: block; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 20, 24, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 5vh 5vw;
  animation: lbFade 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: min(880px, 92vw);
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lbZoom 0.3s ease;
}
@keyframes lbZoom { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox p { color: #cfe6e3; font-size: 1rem; font-weight: 500; }
.lightbox-close {
  position: absolute;
  top: 22px; right: 28px;
  width: 48px; height: 48px;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.lightbox-close:hover { background: var(--teal); transform: rotate(90deg); }

/* ---------- Form flash highlight ---------- */
.contact-form.flash {
  animation: formFlash 1.2s ease;
}
@keyframes formFlash {
  0%, 60% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.45), var(--shadow-lg); }
  100% { box-shadow: var(--shadow-lg); }
}
.form-note.error { color: #dc2626; }

/* ---------- Advantages ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.adv-item {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adv-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.adv-num {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.35), rgba(14, 165, 233, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.adv-item h3 { margin-bottom: 10px; font-size: 1.05rem; }
.adv-item p { font-size: 0.9rem; }

/* ---------- Testimonials (dark) ---------- */
.section-dark {
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(14, 165, 233, 0.16), transparent 60%),
    #0b1a22;
  color: #e6f2f1;
}
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: #9fc0bd; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 34px 30px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testi-card:hover { transform: translateY(-6px); border-color: rgba(45, 212, 191, 0.45); }
.testi-card p { color: #cfe6e3; font-size: 0.96rem; font-style: italic; margin-bottom: 22px; }
.testi-card p::before { content: "“"; color: var(--teal-bright); font-size: 1.4rem; }
.testi-card footer strong { display: block; color: #fff; font-size: 0.95rem; }
.testi-card footer span { font-size: 0.8rem; color: #8fb3af; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin-top: 30px; }
.contact-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-list li > span {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.contact-list strong { display: block; font-size: 0.8rem; color: var(--ink-mute); font-weight: 500; }
.contact-list a { font-weight: 600; color: var(--ink); transition: color 0.2s; }
.contact-list a:hover { color: var(--teal); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-bright);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}
.form-group textarea { resize: vertical; }
.form-note { margin-top: 14px; text-align: center; color: var(--teal); font-weight: 600; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer { background: #0b1a22; color: #9fc0bd; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer a, .footer span { display: block; font-size: 0.88rem; margin-bottom: 10px; transition: color 0.2s; }
.footer a:hover { color: var(--teal-bright); }
.footer p { font-size: 0.88rem; color: #8fb3af; margin-top: 16px; max-width: 300px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-img { width: min(320px, 80%); }
  .hero-stats { gap: 30px; }
  .product-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-visual { max-width: 520px; }
  .exp-badge { right: 10px; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 16px 5%; border-top: 1px solid var(--line); }
  .menu-btn { display: flex; }
  .nav-actions .btn-sm { display: none; }
  .product-grid, .testi-grid, .adv-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .contact-form { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .card-float-1 { left: 0; } .card-float-2 { right: 0; }
}
