/* ============================================================
   RWair 锐威尔 — Landing Page Styles
   风格参照 GiGi Energy Drink landing：大字标题 / 渐变高亮 /
   卡片网格 / 暗色对比区块 / 滚动入场动效
   ============================================================ */

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

:root {
  --bg:          #ffffff;
  --bg-tint:     #f3f7fc;
  --bg-dark:     #0a0f1c;
  --bg-dark-2:   #0f1729;
  --text:        #0a0f1c;
  --text-soft:   #4a5870;
  --text-mute:   #7c89a0;
  --text-light:  #e7eefb;
  --text-light-soft: #9fb0cc;
  --line:        #e3e9f3;
  --line-dark:   rgba(255,255,255,.12);

  --accent:      #2e8bff;
  --accent-2:    #00d4c8;
  --accent-warm: #ff7a3d;
  --grad: linear-gradient(120deg, #2e8bff 0%, #00d4c8 100%);
  --grad-warm: linear-gradient(120deg, #ff7a3d 0%, #ffb347 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 48px -20px rgba(16,38,84,.25);
  --shadow-lg: 0 40px 90px -30px rgba(10,15,28,.45);

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(46,139,255,.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -14px rgba(46,139,255,.7); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-lg { --pad-y: 18px; --pad-x: 40px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(16,38,84,.3);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; transition: transform .35s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: "Orbitron", sans-serif;
  font-weight: 900; font-size: 1.25rem; letter-spacing: .04em;
  color: #fff; transition: color .4s var(--ease);
}
.brand-text em { font-style: normal; font-size: .72rem; letter-spacing: .35em; color: var(--text-light-soft); margin-top: 4px; transition: color .4s var(--ease); }
.site-header.scrolled .brand-text strong { color: var(--text); }
.site-header.scrolled .brand-text em { color: var(--text-mute); }

.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.85);
  position: relative; padding: 6px 0; transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); transition: width .35s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.site-header.scrolled .nav-links a { color: var(--text-soft); }
.site-header.scrolled .nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 4px; flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .35s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; color: #fff;
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg { background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.16); } }
.hero-overlay {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(0,212,200,.18), transparent 55%),
    linear-gradient(115deg, rgba(8,12,24,.94) 0%, rgba(10,18,40,.78) 45%, rgba(10,30,55,.45) 100%);
}

.hero-content { position: relative; z-index: 2; padding: 140px 0 120px; max-width: 820px; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--accent-2);
  padding: 8px 16px; border: 1px solid rgba(0,212,200,.4); border-radius: 999px;
  background: rgba(0,212,200,.08); margin-bottom: 28px;
}
.hero-title {
  font-weight: 900; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(3rem, 8.5vw, 6.6rem);
  margin-bottom: 26px;
  text-shadow: 0 6px 40px rgba(0,0,0,.3);
}
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-light-soft); max-width: 560px; margin-bottom: 36px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); font-size: .9rem; font-weight: 500; color: var(--text-light);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--accent-2); }

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

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue span { width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translateY(-4px)} 40%{opacity:1} 100%{opacity:0;transform:translateY(10px)} }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-tinted { background: var(--bg-tint); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); }
.section-kicker {
  font-family: "Orbitron", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .32em;
  color: var(--accent); margin-bottom: 16px;
}
.section-dark .section-kicker { color: var(--accent-2); }
.section-title {
  font-weight: 900; line-height: 1.1; letter-spacing: -.01em;
  font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--text);
}
.section-title.light { color: #fff; }
.section-desc { margin-top: 18px; color: var(--text-soft); font-size: 1.05rem; }
.section-desc.light { color: var(--text-light-soft); }

/* ---------- Products ---------- */
.product-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(46,139,255,.4); }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg,#f3f7fc,#eaf1fb); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 1.22rem; font-weight: 700; }
.product-body p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-list li { font-size: .76rem; font-weight: 600; color: var(--accent); background: rgba(46,139,255,.1); padding: 5px 11px; border-radius: 999px; }
.card-link { font-weight: 700; font-size: .9rem; color: var(--text); margin-top: 8px; transition: gap .3s, color .3s; display: inline-flex; gap: 6px; }
.card-link:hover { color: var(--accent); }

/* ---------- Stats ---------- */
#advantages { position: relative; overflow: hidden; }
#advantages::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/images/theme/theme-network.jpg") center/cover no-repeat;
  opacity: .12; filter: grayscale(.3);
}
#advantages > .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 12px;
}
.stat {
  text-align: center; padding: 38px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.stat:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.stat-num {
  display: block; font-family: "Orbitron", sans-serif; font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { display: block; margin-top: 14px; font-size: 1.1rem; font-weight: 700; color: #fff; }
.stat-note { display: block; margin-top: 6px; font-size: .82rem; color: var(--text-light-soft); }

/* ---------- Features (R&D) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feature-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 230px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-media { overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-card:hover .feature-media img { transform: scale(1.06); }
.feature-body { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.feature-body h3 { font-size: 1.3rem; font-weight: 700; }
.feature-body p { color: var(--text-soft); font-size: .96rem; }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.industry-item {
  display: flex; flex-direction: column;
  padding: 0; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.industry-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46,139,255,.4); }
.industry-item .img-wrap {
  position: relative; width: 100%; aspect-ratio: 620 / 352; overflow: hidden;
  background: linear-gradient(135deg, #f4f7fb, #e8eef7);
}
.industry-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.industry-item:hover img { transform: scale(1.06); }
.industry-item .industry-label {
  padding: 16px 20px; font-size: 1rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
}
.industry-item .industry-label::after {
  content: "→"; color: var(--accent); font-size: 1.1rem; opacity: 0;
  transform: translateX(-6px); transition: all .3s var(--ease);
}
.industry-item:hover .industry-label::after { opacity: 1; transform: translateX(0); }

/* ---------- Solutions ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-card {
  position: relative; min-height: 280px; border-radius: var(--radius); overflow: hidden;
  background-image: var(--bg); background-size: cover; background-position: center;
  box-shadow: var(--shadow); color: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8,12,24,.2) 0%, rgba(8,12,24,.85) 100%);
  transition: background .4s var(--ease);
}
.solution-card:hover .solution-overlay { background: linear-gradient(160deg, rgba(46,139,255,.35) 0%, rgba(8,12,24,.9) 100%); }
.solution-content { position: relative; z-index: 2; padding: 34px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.solution-content h3 { font-size: 1.5rem; font-weight: 800; }
.solution-content p { font-size: .95rem; color: var(--text-light-soft); max-width: 460px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-text .section-title { text-align: left; }
.about-lead { margin: 22px 0 26px; color: var(--text-light-soft); font-size: 1.02rem; }
.about-points { display: grid; gap: 14px; margin-bottom: 32px; }
.about-points li { position: relative; padding-left: 28px; color: var(--text-light); font-size: .98rem; }
.about-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 4px; background: var(--grad); }
.about-points strong { color: #fff; margin-right: 8px; }

/* ---------- CTA ---------- */
.cta-section { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-bg, .cta-overlay { position: absolute; inset: 0; }
.cta-bg { background-size: cover; background-position: center; }
.cta-overlay { background: linear-gradient(120deg, rgba(8,12,24,.92), rgba(10,25,55,.82)); }
.cta-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 30px 0; }
.cta-section .section-kicker { color: var(--accent-2); }
.cta-title { font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 18px; }
.cta-desc { color: var(--text-light-soft); font-size: 1.1rem; margin-bottom: 40px; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 40px; }
.contact-item {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 28px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  min-width: 200px; transition: background .35s var(--ease), transform .35s var(--ease);
}
a.contact-item:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.contact-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light-soft); }
.contact-value { font-size: 1.1rem; font-weight: 700; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--text-light-soft); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-logo { width: 64px; height: 64px; border-radius: 14px; }
.footer-tag { font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: .9rem; padding: 5px 0; color: var(--text-light-soft); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .82rem; color: var(--text-mute); }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  /* mobile drawer */
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0;
    height: 100vh; width: min(78vw, 320px); background: var(--bg-dark); padding: 100px 30px 30px;
    gap: 22px; box-shadow: -20px 0 60px rgba(0,0,0,.4); z-index: 99;
  }
  .nav-links.open a { color: var(--text-light); font-size: 1.05rem; }
  .nav-links.open a::after { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; min-height: auto; }
  .solution-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-content { padding: 120px 0 100px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 10px; }
  .badge { font-size: .82rem; padding: 8px 14px; }
  .contact-item { min-width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { animation: none; }
}
