:root {
  --bg: #050b18;
  --bg-2: #081429;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(143, 248, 205, 0.18);
  --text: #eff7ff;
  --muted: #9db2c8;
  --primary: #45f5b2;
  --primary-2: #6be7ff;
  --gold: #ffd36a;
  --blue: #1e66ff;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(69, 245, 178, 0.13), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(30, 102, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #050b18 0%, #061020 45%, #020610 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(107, 231, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 231, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 84%);
  z-index: -3;
}

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

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

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.55;
}

.page-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

.page-glow-one {
  left: -160px;
  top: 18%;
  background: var(--primary);
}

.page-glow-two {
  right: -180px;
  bottom: 12%;
  background: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 24, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 11, 24, 0.9);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.25);
}

.navbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 110px;
  height: 45px;
  border-radius: 4px;

  box-shadow: 0 0 28px rgba(69, 245, 178, 0.36);
}

.brand-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.nav-menu a:not(.nav-cta) {
  position: relative;
  transition: color 0.2s ease;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.nav-cta,
.btn-primary {
  color: #03120d;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 36px rgba(69, 245, 178, 0.22);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(69, 245, 178, 0.25);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 99px;
}

.section,
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 22px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 58px;
  align-items: center;
}

.hero {
  min-height: 92vh;
  padding-top: 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.hero-lead,
.section-heading p,
.about-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 22px;
  color: var(--primary);
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.farm-illustration {
  width: min(100%, 520px);
  filter: drop-shadow(0 28px 80px rgba(69, 245, 178, 0.18));
  animation: float 5s ease-in-out infinite;
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(107, 231, 255, 0.18);
  box-shadow: inset 0 0 40px rgba(107, 231, 255, 0.08);
}

.ring-one {
  width: 460px;
  height: 460px;
  animation: rotate 18s linear infinite;
}

.ring-two {
  width: 350px;
  height: 350px;
  border-style: dashed;
  animation: rotate 24s linear infinite reverse;
}

.floating-panel {
  position: absolute;
  padding: 16px 18px;
  min-width: 160px;
  border-radius: 18px;
  background: rgba(6, 18, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.floating-panel span,
.floating-panel small {
  display: block;
  color: var(--muted);
}

.floating-panel strong {
  display: block;
  margin: 6px 0;
  color: var(--text);
  font-size: 22px;
}

.panel-top {
  top: 64px;
  left: 24px;
}

.panel-right {
  right: 0;
  top: 42%;
}

.panel-bottom {
  left: 18%;
  bottom: 58px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.product-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-card,
.glass-card,
.case-card,
.workflow-step,
.contact-panel,
.data-console {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-card::before,
.glass-card::before,
.case-card::before,
.workflow-step::before,
.contact-panel::before,
.data-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(69, 245, 178, 0.18), transparent 34%);
  pointer-events: none;
}

.dashboard-card {
  min-height: 210px;
  padding: 26px;
  border-radius: var(--radius-md);
}

.dashboard-card.wide {
  grid-column: span 2;
}

.dashboard-card i,
.icon-box,
.workflow-step i {
  color: var(--primary);
  font-size: 24px;
}

.dashboard-card p,
.glass-card p,
.case-card p,
.workflow-step p {
  color: var(--muted);
  line-height: 1.75;
}

.advantage-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.glass-card {
  padding: 28px;
  min-height: 280px;
  border-radius: var(--radius-md);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.glass-card:hover,
.case-card:hover,
.dashboard-card:hover,
.workflow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(69, 245, 178, 0.38);
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  background: rgba(69, 245, 178, 0.11);
  border: 1px solid rgba(69, 245, 178, 0.2);
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.case-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.case-content {
  padding: 24px;
}

.case-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(69, 245, 178, 0.24);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(69, 245, 178, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.metric-row strong {
  color: var(--gold);
  font-size: 22px;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.workflow-step {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-md);
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 900;
  font-size: 32px;
}

.workflow-line {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  position: relative;
}

.workflow-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 18px var(--primary);
}

.about-section {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.data-console {
  padding: 24px;
  border-radius: var(--radius-lg);
  min-height: 430px;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
}

.console-header span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}

.console-header strong {
  margin-left: auto;
  color: var(--primary);
  font-size: 13px;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.console-tile {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.console-tile small,
.console-tile strong {
  display: block;
}

.console-tile small {
  color: var(--muted);
}

.console-tile strong {
  margin-top: 8px;
  font-size: 30px;
  color: var(--primary);
}

.chart-bars {
  height: 150px;
  margin-top: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.chart-bars span {
  flex: 1;
  min-height: 34px;
  border-radius: 16px 16px 4px 4px;
  background: linear-gradient(180deg, rgba(107, 231, 255, 0.85), rgba(69, 245, 178, 0.18));
  box-shadow: 0 0 24px rgba(69, 245, 178, 0.18);
  animation: barPulse 3.8s ease-in-out infinite;
}

.chart-bars span:nth-child(1) { height: 42%; }
.chart-bars span:nth-child(2) { height: 72%; animation-delay: 0.2s; }
.chart-bars span:nth-child(3) { height: 56%; animation-delay: 0.4s; }
.chart-bars span:nth-child(4) { height: 86%; animation-delay: 0.6s; }
.chart-bars span:nth-child(5) { height: 65%; animation-delay: 0.8s; }

.business-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.business-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #dfeeff;
  background: rgba(255, 255, 255, 0.05);
}

.business-list i {
  color: var(--primary);
  margin-top: 3px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 42px;
  padding: 42px;
  border-radius: 34px;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  color: var(--muted);
}

.contact-info a,
.contact-info span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.contact-info i {
  color: var(--primary);
  margin-top: 4px;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(1, 8, 18, 0.62);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(69, 245, 178, 0.5);
  box-shadow: 0 0 0 4px rgba(69, 245, 178, 0.08);
}

.contact-form option {
  color: #081429;
}

.form-tip {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr 0.9fr;
  gap: 30px;
  color: var(--muted);
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--text);
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 10px;
  line-height: 1.7;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes barPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@media (max-width: 1024px) {
  .section-grid,
  .about-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

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

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

  .workflow-line {
    width: 2px;
    height: 42px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
  }

  .workflow-line::after {
    right: -4px;
    top: auto;
    bottom: 0;
  }

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

@media (max-width: 760px) {
  .navbar {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(5, 11, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 12px;
  }

  .nav-cta {
    justify-self: start;
  }

  .section,
  .hero {
    padding: 72px 18px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-actions,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .ring-one {
    width: 330px;
    height: 330px;
  }

  .ring-two {
    width: 260px;
    height: 260px;
  }

  .floating-panel {
    min-width: 136px;
    padding: 12px;
    font-size: 12px;
  }

  .panel-top { top: 28px; left: 0; }
  .panel-right { right: 0; top: 40%; }
  .panel-bottom { left: 4%; bottom: 30px; }

  .product-dashboard,
  .advantage-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card.wide {
    grid-column: auto;
  }

  .contact-panel {
    padding: 26px;
  }

  .contact-form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
