/* ===== CSS Reset & Variables ===== */
:root {
  /* Brand colors */
  --color-primary: #E86A4A;
  --color-primary-dark: #D45535;
  --color-primary-light: #F58B73;
  --color-accent: #FF6B4A;

  /* Backgrounds */
  --bg-dark: #1A1A1A;
  --bg-section: #F5F5F5;
  --bg-white: #FFFFFF;

  /* Text */
  --text-dark: #111111;
  --text-body: #444444;
  --text-gray: #777777;
  --text-light: #999999;
  --text-white: #FFFFFF;

  /* Fonts */
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Sizing */
  --nav-height: 72px;
  --container-max: 1280px;
  --section-padding: 120px;
  --section-padding-mobile: 60px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: var(--section-padding) 0;
}

.section-padding-dark {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
  color: var(--text-white);
}

/* ===== Reveal Animation Classes ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ===== Section Label & Title ===== */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 24px;
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  transform: translateY(-50%);
}

.section-label.light {
  color: var(--color-primary-light);
}

.section-label.light::before {
  background: var(--color-primary-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: block;
  height: 40px;
  z-index: 10;
}

.nav-logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav.scrolled .nav-link {
  color: var(--text-dark);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
  color: var(--color-primary);
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s var(--ease-out-expo);
}

.nav.scrolled .nav-toggle span {
  background: var(--text-dark);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-text-wrap {
  max-width: 680px;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.1;
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease-out-expo);
}

.hero-cta:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--color-primary);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(350%); }
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-desc p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-out-expo);
}

.about-img-wrap:hover img {
  transform: scale(1.03);
}

/* ===== Products Section ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.product-card {
  cursor: pointer;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ===== Market Trend Section ===== */
.trend-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.trend-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.trend-intro strong {
  color: var(--color-primary-light);
  font-weight: 600;
}

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

.trend-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out-expo);
}

.trend-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.trend-card-icon {
  margin-bottom: 20px;
}

.trend-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.trend-card-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 14px;
}

.trend-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Feature Section ===== */
.feature-section {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.feature-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.feature-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.feature-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  text-align: center;
  color: #fff;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Stats Section ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

/* ===== Gallery Section ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 8px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ===== Tech Detail Section ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.tech-card {
  padding: 40px 32px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: all 0.35s var(--ease-out-expo);
}

.tech-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(232, 106, 74, 0.08);
  transform: translateY(-4px);
}

.tech-icon {
  margin-bottom: 20px;
}

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.tech-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-gray);
}

/* ===== Comparison Table ===== */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.compare-table th {
  text-align: left;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.compare-table td {
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .highlight-col {
  background: rgba(232, 106, 74, 0.08);
}

.compare-table .highlight-col strong {
  color: var(--color-primary-light);
}

.table-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.12);
}

.table-tag.new {
  background: var(--color-primary);
  color: #fff;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 20px;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  transition: color 0.3s;
}

a.contact-value:hover {
  color: #fff;
}

.contact-image img {
  width: 100%;
  border-radius: 4px;
}

/* ===== Business Notice ===== */
.business-notice {
  background: #F0F0F0;
  padding: 32px 0;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
}

.business-notice-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 860px;
}

.business-notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #888;
}

.business-notice-content p {
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

.business-notice-content strong {
  color: #444;
  font-weight: 600;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-col h4,
.footer-social h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--color-primary-light);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s;
}

.footer-bottom-right a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }

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

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

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

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

  .feature-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .trend-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .compare-table th,
  .compare-table td {
    padding: 12px 16px;
    font-size: 13px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 24px;
    color: #fff;
  }

  .nav.scrolled .nav-link {
    color: #fff;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-scroll {
    right: 20px;
    bottom: 28px;
  }

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

  .about-image {
    order: -1;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .footer-bottom-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-title {
    line-height: 1.15;
  }
}

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

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

  .social-icons {
    flex-wrap: wrap;
  }
}
