/* ===== CSS Variables ===== */
:root {
  --primary: #1a56db;
  --primary-dark: #1241a8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.3);
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #1a56db 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.97);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 86, 219, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(26, 86, 219, 0.55) 50%,
    rgba(6, 182, 212, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
}

.hero-tagline {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  margin: 8px auto 0;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header.light .section-title,
.section-header.light .section-desc {
  color: var(--white);
}

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

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

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===== About ===== */
.about {
  background: var(--gray-100);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.about-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 86, 219, 0.15);
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.vision-block {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.vision-content .section-label {
  color: var(--accent);
}

.vision-content h3 {
  font-size: 1.8rem;
  margin: 12px 0 20px;
  font-weight: 700;
}

.vision-content p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.vision-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: background var(--transition);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.value-item h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.service-card {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-300);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(26, 86, 219, 0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

.brands-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.brand-item {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}

.brand-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.brand-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.brand-info h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.brand-info p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== Products ===== */
.products {
  background: var(--gray-100);
}

.product-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.product-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}

.product-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.product-header h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-header p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.product-cards.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-card h4 {
  font-size: 1rem;
  color: var(--dark);
  padding: 16px 16px 8px;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 0 16px 16px;
  line-height: 1.6;
}

.product-card.compact {
  padding: 0;
}

.product-card.compact h4 {
  padding-top: 20px;
}

.product-features {
  padding: 0 16px 16px;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 4px 0 4px 16px;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.feature-item {
  background: var(--gray-100);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.feature-item strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.feature-item span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.pads-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pads-adv {
  background: var(--gray-100);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}

.pads-adv strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.pads-adv span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ===== Advantages ===== */
.advantages {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.advantages::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.adv-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.advantage-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ===== Industries ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.industry-card:hover img {
  transform: scale(1.08);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: var(--white);
}

.industry-overlay h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.industry-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.industry-card:hover .industry-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Contact ===== */
.contact {
  background: var(--gray-100);
}

.contact-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  padding: 56px 48px;
  background: var(--gradient-dark);
  color: var(--white);
}

.contact-info h2 {
  font-size: 1.8rem;
  margin: 12px 0 16px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.contact-info .section-label {
  color: var(--accent);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1rem;
  color: var(--white);
}

a.contact-value:hover {
  color: var(--accent);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-icp {
  font-size: 0.82rem;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-icp a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid,
  .services-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .product-cards,
  .product-cards.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-list,
  .pads-advantages {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-block {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav a {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 72px 0;
  }

  .about-grid,
  .services-grid,
  .brands-row,
  .product-cards,
  .product-cards.cols-2,
  .product-cards.cols-4,
  .feature-list,
  .pads-advantages,
  .advantages-grid,
  .industries-grid,
  .vision-values {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 36px 28px;
  }

  .product-block {
    padding: 28px 20px;
  }

  .product-header {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}
