:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft-line: #e8e8ed;
  --surface: #ffffff;
  --canvas: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --orange-accent: #f56300;
  --orange-gradient: linear-gradient(135deg, #ff7a00 0%, #ff5500 100%);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.42);
  outline-offset: 4px;
}

h1, h2, h3, p, figure, ol, ul {
  margin: 0;
}

h1, h2, h3, p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background 300ms ease, border-color 300ms ease;
}

.nav,
.section,
.section-shell,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-company {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.brand-company-en {
  color: #6e6e73;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #424245;
  font-size: 13px;
  font-weight: 450;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  white-space: nowrap;
  transition: color 180ms ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #1d1d1f;
}

.nav-links a.is-active::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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

.contact-btn-nav {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  transition: all 180ms ease;
}

.contact-btn-nav:hover {
  background: var(--accent);
  color: #ffffff;
}

/* Hero Section */
.hero {
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow,
.product-kicker {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}

h1 {
  font-size: clamp(42px, 5.8vw, 74px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #1d1d1f;
}

.hero-text {
  max-width: 740px;
  margin: 24px auto 0;
  color: #515154;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.52;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: rgba(0, 113, 227, 0.34);
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent);
}

.button-secondary:hover {
  border-color: var(--accent);
  background: #fff;
}

/* Feature Spotlight: StayWord */
.product-spotlight-section {
  padding: 20px 0 80px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  border-radius: 32px;
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f9 100%);
  border: 1px solid var(--soft-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
}

.spotlight-content {
  padding: 64px 54px;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 99, 0, 0.1);
  color: var(--orange-accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.spotlight-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.spotlight-title {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #1d1d1f;
}

.spotlight-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

.spotlight-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.spotlight-feat-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 99, 0, 0.12);
  color: var(--orange-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
}

.spotlight-feat-text {
  font-size: 14px;
  color: #3a3a3c;
  line-height: 1.45;
  font-weight: 500;
}

.spotlight-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: radial-gradient(circle at center, rgba(255, 122, 0, 0.09) 0%, transparent 70%);
}

.spotlight-app-icon {
  width: 220px;
  height: 220px;
  border-radius: 48px;
  box-shadow: 0 28px 60px rgba(245, 99, 0, 0.28), 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: cover;
}

.spotlight-card:hover .spotlight-app-icon {
  transform: scale(1.06) rotate(-2deg);
}

/* Product Suite Section */
.product-suite {
  background: var(--surface);
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading h2,
.technology-heading h2,
.teamx h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-heading p:not(.eyebrow),
.technology-heading p:not(.eyebrow),
.contact p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  border: 1px solid var(--soft-line);
  border-radius: 26px;
  background: #fbfbfd;
  transition: all 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 113, 227, 0.3);
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.product-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 300ms ease;
}

.product-card:hover .product-card-icon {
  transform: scale(1.08);
}

.product-card-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.product-card-title {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.25;
  color: #1d1d1f;
}

.product-card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  margin-top: 4px;
}

.tag-new {
  font-size: 11px;
  font-weight: 700;
  background: var(--orange-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

/* TeamX Section (Dark Space Aesthetic) */
.teamx-section {
  background: #000000;
  color: #f5f5f7;
  padding: 100px 0;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.teamx-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(110, 181, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.teamx-card {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 60px;
}

.teamx-status {
  display: inline-block;
  color: #6eb5ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.teamx-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
}

.teamx-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.teamx-bullet-item {
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.teamx-bullet-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.teamx-bullet-item p {
  font-size: 14px;
  color: #a1a1a6;
  line-height: 1.5;
}

/* Technology Section */
.technology {
  padding: 110px 0 90px;
}

.technology-heading {
  margin-bottom: 54px;
}

.technology-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.technology-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(180px, 0.32fr);
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.technology-index {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.technology-list h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 650;
  line-height: 1.25;
  color: #1d1d1f;
}

.technology-list div p {
  max-width: 650px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.technology-metrics {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
  gap: 12px 24px;
}

.tech-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 113, 227, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #1d1d1f;
}

.tech-metric-badge strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}

.technology-tag {
  color: #6e6e73;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  letter-spacing: 0.02em;
}

/* Contact Section */
.contact {
  padding: 100px 0 110px;
  background: var(--surface);
  text-align: center;
  border-top: 1px solid var(--soft-line);
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-emails {
  margin-top: 32px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fbfbfd;
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 600;
  transition: all 220ms ease;
}

.contact-email-link:hover {
  border-color: var(--accent);
  background: #ffffff;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
}

/* Footer */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.site-footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Media Queries */
@media (max-width: 900px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }
  
  .spotlight-visual {
    padding: 40px;
  }

  .technology-list li {
    grid-template-columns: 40px 1fr;
  }

  .technology-tag {
    grid-column: 2;
    text-align: left;
    margin-top: 8px;
  }

  .teamx-card {
    padding: 36px 24px;
  }

  .nav-links {
    gap: 16px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 90px 0 70px;
  }

  .spotlight-content {
    padding: 36px 24px;
  }

  .spotlight-features {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

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