:root {
  --brand: #07C160;
  --brand-hover: #06ad56;
  --brand-light: #e8f8ef;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;
  --bg: #fff;
  --bg-card: #fff;
  --border: #e5e5e5;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
}

/* ===== Fade-in animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text strong {
  font-size: 15px;
  font-weight: 600;
}
.brand-text span {
  font-size: 12px;
  color: var(--text-muted);
}
.header-link {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.2s;
}
.header-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.header-link.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== News Bar ===== */
.news-bar {
  background: var(--brand-light);
  border-bottom: 1px solid #d4eddf;
  overflow: hidden;
}
.news-inner {
  padding: 10px 0;
}
.news-list {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.news-list::-webkit-scrollbar { display: none; }
.news-item {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.2s;
}
.news-item:hover { color: var(--text-primary); }
.news-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 120px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 480px;
}

/* Download Button */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.2s;
  width: fit-content;
}
.download-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(7,193,96,0.25);
}

/* Platforms */
.platforms {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}
.platform-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.platform-item:hover {
  color: var(--text-primary);
}
.platform-item.is-disabled {
  opacity: 0.6;
}

/* ===== Hero Visual ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}
.phone {
  width: 300px;
  padding: 12px;
  border-radius: 40px;
  background: #1a1a1a;
  box-shadow: 0 24px 80px rgba(0,0,0,0.14);
}
.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 560px;
  padding: 24px 18px;
  border-radius: 28px;
  background: linear-gradient(160deg, #0f172a 0%, #0c3157 50%, #0ea5e9 100%);
  color: #fff;
}
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.screen-label {
  font-size: 12px;
  opacity: 0.65;
}
.screen-live {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 11px;
  font-weight: 600;
}
.screen-card {
  padding: 16px;
  border-radius: var(--radius);
}
.main-card {
  background: #fff;
  color: var(--text-primary);
}
.main-card .card-tag {
  font-size: 11px;
  font-weight: 600;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.35;
}
.main-card p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.sub-card {
  margin-top: auto;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
}
.sub-card strong {
  font-size: 15px;
}
.sub-card p {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.7;
}
.screen-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.screen-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  font-size: 13px;
}
.tool-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Floating card */
.feature-float {
  position: absolute;
  right: -10px;
  bottom: 80px;
  width: 230px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  animation: gentle-float 5s ease-in-out infinite;
}
.feature-float span {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.feature-float p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

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

/* ===== Section Common ===== */
.section-block {
  padding: 100px 0;
}
.section-head {
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
}
.feature-card h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
}
.feature-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ===== Journey ===== */
.journey {
  background: #0f172a;
  color: #fff;
}
.journey .section-tag {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.journey .section-head h2 {
  color: #fff;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.journey-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.journey-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  font-size: 16px;
  font-weight: 700;
}
.journey-card h3 {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 600;
}
.journey-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.65;
}

/* ===== CTA Section ===== */
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.cta-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  max-width: 560px;
}
#cta-section-tag {
  font-size: 14px;
  padding: 5px 14px;
}
.cta-content h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.cta-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.cta-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.cta-highlight {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 13px;
  font-weight: 600;
}
.cta-web-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  margin-top: 6px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(7, 193, 96, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cta-web-entry:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(7, 193, 96, 0.14);
  border-color: rgba(7, 193, 96, 0.28);
}
.cta-web-entry.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}
.cta-download {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cta-download.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.cta-icon.ios { background: #1a1a1a; }
.cta-icon.android { background: #22c55e; }
.cta-info { flex: 1; }
.cta-info strong { display: block; font-size: 15px; }
.cta-info span { display: block; margin-top: 2px; font-size: 12px; color: var(--text-muted); }
.cta-arrow { color: var(--text-muted); font-size: 18px; }

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-company p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.footer-company span:first-child {
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 16px;
  padding-top: 2px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--brand);
}

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    min-height: 0;
    justify-content: flex-start;
  }
  .feature-float {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }
  .cta-box {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions {
    min-width: 0;
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .features-grid,
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 64px;
  }
  .section-block {
    padding: 64px 0;
  }
  .hero h1 {
    font-size: 34px;
  }
  .platforms {
    flex-wrap: wrap;
    gap: 16px;
  }
  .phone {
    width: 100%;
    max-width: 300px;
  }
  .phone-screen {
    min-height: 460px;
    padding: 16px 14px;
  }
  .cta-box {
    padding: 28px 20px;
  }
  .cta-web-entry {
    width: 100%;
  }
  .header-link { display: none; }
  .footer .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
  }
  .footer-meta,
  .footer-company,
  .footer-links {
    align-items: center;
  }
}
