/* ───────── RESET & TOKENS ───────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --bg-warm: #fff9f5;
  --surface: #fbfaf8;

  --text: #191918;
  --text-muted: #5f5e5b;
  --text-soft: #908e88;

  --border: #ebeae5;
  --border-strong: #d9d8d3;

  --brand: #ff6f3c;
  --brand-soft: #fff1ea;
  --brand-mid: #ffb070;

  --gradient: linear-gradient(135deg, #ff6f3c 0%, #ffb070 55%, #ffd1a8 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow: 0 4px 24px rgba(15, 15, 15, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(15, 15, 15, 0.14);

  --container: 1080px;
  --header-h: 68px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-alt);
}

/* ───────── HEADER ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

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

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s var(--ease);
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ───────── HERO ───────── */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255, 111, 60, 0.1) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ───────── SECTIONS ───────── */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ───────── ABOUT ───────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.about-text p + p {
  margin-top: 16px;
}

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

.stat-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.stat-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.stat-card span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ───────── SERVICES ───────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.section-alt .service-card {
  background: var(--surface);
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ───────── PRODUCT ───────── */
.product-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  border: 1px solid var(--border);
}

.product-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.product-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mock {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19;
  border-radius: 32px;
  background: var(--text);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(160deg, #fff 0%, #f7f6f3 100%);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  overflow: hidden;
}

.screen-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  margin-bottom: 10px;
}

.screen-line:nth-child(1) {
  width: 55%;
  background: var(--text);
  opacity: 0.15;
}

.screen-line:nth-child(2) {
  width: 90%;
}

.screen-line:nth-child(3) {
  width: 85%;
}

.screen-line:nth-child(4) {
  width: 70%;
}

.screen-line:nth-child(5) {
  width: 80%;
}

.screen-line:nth-child(6) {
  width: 60%;
}

/* ───────── CONTACT ───────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--brand);
}

.contact-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ───────── FOOTER ───────── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-soft);
}

/* ───────── REVEAL ANIMATION ───────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ───────── RESPONSIVE ───────── */
@media (max-width: 900px) {
  .nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 0;
    padding: 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    gap: 8px;
  }

  .nav.is-open a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .about-grid,
  .product-banner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .section {
    padding: 64px 0;
  }

  .product-banner {
    padding: 32px 24px;
  }

  .product-visual {
    order: -1;
  }

  .device-mock {
    width: 200px;
  }
}
