:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --secondary: #0f172a;
  --accent: #38bdf8;
  --muted: #6b7280;
  --bg: #f7fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --transition: all 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--secondary);
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  z-index: 1000;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.logo-title {
  font-weight: 600;
  margin: 0;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.nav-menu a {
  color: var(--muted);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 15px 30px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--secondary);
}

.hero {
  padding-top: 140px;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.hero-chip {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-dark);
  font-size: 13px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero p {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 28px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats div {
  min-width: 120px;
}

.stat-number {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  color: var(--secondary);
}

.stat-label {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-widget {
  position: absolute;
  left: 20px;
  bottom: -24px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  min-width: 260px;
}

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

.widget-value {
  margin: 2px 0 0;
  font-weight: 600;
  color: var(--secondary);
}

.widget-value.success {
  color: var(--primary-dark);
}

.widget-value.muted {
  color: var(--muted);
}

.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 12px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-top: 0;
}

.feature-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 16px 0 0;
}

.journey {
  background: #ffffff;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.journey-card {
  border-radius: var(--radius);
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.journey-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(16, 185, 129, 0.25);
  opacity: 0;
  transition: var(--transition);
}

.journey-card:hover::after {
  opacity: 1;
}

.step {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.platform {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 55%);
}

.platform-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--muted);
}

.platform-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.platform-panels {
  display: grid;
  gap: 16px;
}

.panel {
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow);
}

.panel-primary {
  background: linear-gradient(135deg, var(--primary), #34d399);
}

.panel-secondary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.panel-tertiary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.download {
  background: transparent;
}

.download-card {
  background: var(--secondary);
  border-radius: 32px;
  padding: 48px;
  color: #f8fafc;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
}

.download-card .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.download-card .btn-outline {
  border-color: rgba(248, 250, 252, 0.6);
  color: #f8fafc;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}

.company-name {
  font-weight: 600;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: var(--muted);
}

.contact-card li {
  margin-bottom: 10px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.contact-form label {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.footer {
  background: var(--secondary);
  color: #cbd5f5;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer a {
  color: #6ee7b7;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-content,
.hero-visual,
.feature-card,
.journey-card,
.panel {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

.toast {
  background: #1f2937;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  font-size: 14px;
}

.toast-success {
  background: var(--primary-dark);
}

.toast-error {
  background: #dc2626;
}

.toast-info {
  background: #0ea5e9;
}

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

@media (max-width: 960px) {
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .hero-widget {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-grid,
  .journey-steps,
  .platform-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px;
  }

  .download-actions {
    width: 100%;
  }

  .download-actions .btn-primary,
  .download-actions .btn-secondary,
  .download-actions .btn-outline {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-stats div {
    min-width: 0;
  }

  .platform-panels {
    grid-template-columns: 1fr;
  }

  .nav-container {
    gap: 16px;
  }

  .contact-form .field {
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
  }

  .nav-container {
    height: auto;
    padding: 12px 0;
  }

  .nav-logo img {
    width: 38px;
    height: 38px;
  }

  .hero-chip {
    font-size: 12px;
  }

  .hero p {
    font-size: 15px;
  }

  .feature-card,
  .journey-card,
  .contact-card {
    padding: 22px;
  }

  .device-outline {
    width: 100%;
    padding: 28px 18px;
  }

  .toast-container {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }
}
