:root {
  --color-primary: #c2410c;
  --color-primary-dark: #9a3412;
  --color-primary-light: #ffedd5;
  --color-accent: #eab308;
  --color-accent-light: #fef9c3;
  --color-text: #1c1917;
  --color-text-muted: #78716c;
  --color-bg: #ffffff;
  --color-bg-alt: #fff7ed;
  --color-border: #fed7aa;
  --shadow-sm: 0 1px 3px rgba(194, 65, 12, 0.08);
  --shadow-md: 0 4px 24px rgba(194, 65, 12, 0.14);
  --shadow-lg: 0 8px 40px rgba(194, 65, 12, 0.18);
  --radius: 14px;
  --transition: 0.3s ease;
  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-full {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c1917 0%, #7c2d12 42%, #c2410c 78%, #eab308 130%);
  z-index: 0;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #fbbf24;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: #fb923c;
  bottom: 10%;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: #f43f5e;
  top: 40%;
  right: 20%;
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 55%, #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num,
.stat-word {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-text);
}

.section-sub {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 16px;
}

.about {
  background: var(--color-bg);
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-text strong {
  color: var(--color-text);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.highlight-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  border-radius: 12px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
}

.highlight-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.product {
  background: var(--color-bg-alt);
}

.product-intro {
  max-width: 760px;
  margin: -24px auto 40px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 16px;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.ability-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.ability-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ability-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.ability-num {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 36px;
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
  user-select: none;
}

.ability-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ability-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.clients-bar {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  border-radius: var(--radius);
}

.clients-bar.alt {
  margin-top: 48px;
}

.clients-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.clients-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.clients-tags span {
  padding: 8px 24px;
  background: #fff;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.coop {
  background: var(--color-bg);
}

.coop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.coop-card {
  padding: 28px 22px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.coop-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.coop-card:hover,
.coop-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.coop-card:hover {
  transform: translateY(-4px);
}

.coop-card.featured {
  grid-column: span 1;
}

.coop-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.coop-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.advantages {
  background: var(--color-bg-alt);
}

.flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 32px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  opacity: 0;
  transform: scale(0.96);
}

.flow-step.visible {
  opacity: 1;
  transform: scale(1);
}

.flow-step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
}

.flow-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--color-primary);
  padding-top: 48px;
  flex-shrink: 0;
}

.contact {
  background: var(--color-bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.contact-form {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-tip {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form-tip.success {
  color: #059669;
}

.form-tip.error {
  color: #dc2626;
}

.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.footer-copy {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .coop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .ability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-arrow {
    display: none;
  }

  .flow-step {
    max-width: none;
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
  }

  .about-body,
  .contact-wrapper,
  .coop-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    gap: 28px;
  }

  .contact-form {
    padding: 28px 24px;
  }

  .flow-step {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .ability-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
