/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-group img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-group span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .5px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  color: var(--text-light);
  transition: color .2s;
  position: relative;
}

.nav a:hover {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .2s;
}

.nav a:hover::after {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #ede9fe 100%);
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  border: 2px solid #e2e8f0;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ===== Section Common ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
}

.section-alt {
  background: var(--bg-light);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--primary-light);
  color: var(--primary);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Product ===== */
.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-info p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-highlights {
  list-style: none;
}

.product-highlights li {
  padding: 8px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-highlights li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

.product-visual {
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.product-visual .phone-mockup {
  width: 200px;
  height: 380px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.phone-mockup .notch {
  width: 100px;
  height: 24px;
  background: #1e293b;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
}

.phone-mockup .screen-content {
  text-align: center;
  padding: 40px 16px 16px;
}

.phone-mockup .screen-content .app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 8px;
}

.phone-mockup .screen-content .app-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.phone-mockup .screen-content .app-desc {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== Download ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.download-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s;
}

.download-card:hover {
  transform: translateY(-4px);
}

.download-card .platform-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.download-card .status {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.download-card .btn {
  width: 100%;
  justify-content: center;
}

/* ===== DUNS ===== */
.duns-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.duns-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.duns-card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.duns-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.duns-info-item {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 16px;
}

.duns-info-item .label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.duns-info-item .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-info p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.value-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.about-visual {
  background: linear-gradient(135deg, #dbeafe, #c7d2fe);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-visual .company-icon {
  margin-bottom: 16px;
  color: var(--primary);
}

.about-visual .company-name-large {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.about-visual .company-slogan {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card .contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-card a {
  font-size: 14px;
}

/* ===== Footer ===== */
.footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid #334155;
}

.footer-brand .logo-group {
  margin-bottom: 12px;
}

.footer-brand .logo-group span {
  color: #f1f5f9;
}

.footer-brand p {
  font-size: 14px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links h4 {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 13px;
  color: #64748b;
}

/* ===== Carousel ===== */
.app-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  position: relative;
  width: 100%;
  min-height: 400px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
}

.carousel-slide img {
  max-height: 480px;
  width: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.carousel-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform .25s;
}

.modal-overlay.show .modal-box {
  transform: translateY(0);
}

.modal-icon {
  margin-bottom: 16px;
}

.modal-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-box p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-buttons .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.modal-cancel {
  background: #f1f5f9;
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.modal-cancel:hover {
  background: #e2e8f0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .product-content,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .duns-info {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }

  .nav {
    display: none;
  }

  .carousel-slide img {
    max-height: 320px;
  }

  .carousel-track {
    min-height: 280px;
  }
}
