:root {
  --bg: #f6f2ec;
  --bg-soft: #eef4fb;
  --ink: #121521;
  --muted: #5a5f6d;
  --primary: #1d4ed8;
  --primary-dark: #0b2a6b;
  --accent: #1cb884;
  --warm: #ff8a4c;
  --card: #ffffff;
  --stroke: #e2d9cf;
  --shadow: rgba(9, 16, 30, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans SC", "Unbounded", sans-serif;
  background: linear-gradient(140deg, var(--bg) 0%, #eff3ff 50%, var(--bg-soft) 100%);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

.page-glow {
  position: fixed;
  inset: -40vh -20vw auto auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.22), transparent 65%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 2;
  padding: 24px 8vw 0;
  max-width: 1200px;
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(18, 21, 33, 0.12);
}

.brand-title {
  font-family: "Unbounded", "Noto Sans SC", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 60px 8vw 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeUp 0.9s ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 12px;
  color: var(--primary-dark);
  background: rgba(29, 78, 216, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}

.hero h1 {
  font-family: "Unbounded", "Noto Sans SC", sans-serif;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.15;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.cta-group .btn {
  min-width: 180px;
}

.cta-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}


.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.device-stack {
  position: relative;
  width: min(420px, 80vw);
  height: 520px;
}

.device {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 50px rgba(9, 16, 30, 0.2);
  border: 1px solid rgba(18, 21, 33, 0.08);
}

.shot-main {
  transform: rotate(-2deg) translateY(10px);
  animation: float 6s ease-in-out infinite;
}

.shot-alt {
  position: absolute;
  right: -12%;
  top: 20%;
  width: 70%;
  transform: rotate(6deg);
  animation: float 7s ease-in-out infinite reverse;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(29, 78, 216, 0.25);
}

.btn.dark {
  background: #111827;
  color: #fff;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.2);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--stroke);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(9, 16, 30, 0.25);
}

.features,
.guide {
  padding: 40px 8vw;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title h2 {
  font-family: "Unbounded", "Noto Sans SC", sans-serif;
  font-size: clamp(24px, 2.6vw, 36px);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 32px var(--shadow);
  transition: transform 0.3s ease;
  animation: fadeUp 0.8s ease both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.05s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.12s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card h3 {
  margin: 12px 0 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(29, 78, 216, 0.15), rgba(28, 184, 132, 0.3));
  border: 1px solid rgba(29, 78, 216, 0.2);
}

.feature-icon.alt {
  background: linear-gradient(130deg, rgba(28, 184, 132, 0.2), rgba(255, 138, 76, 0.3));
}

.feature-icon.warm {
  background: linear-gradient(130deg, rgba(255, 138, 76, 0.2), rgba(29, 78, 216, 0.2));
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.step {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 20px;
  border: 1px dashed rgba(17, 24, 39, 0.15);
}

.step-number {
  font-family: "Unbounded", "Noto Sans SC", sans-serif;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.download-panel {
  background: #111827;
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 20px 36px rgba(17, 24, 39, 0.3);
}

.download-panel h3 {
  font-family: "Unbounded", "Noto Sans SC", sans-serif;
  margin-bottom: 8px;
}

.download-panel p {
  color: rgba(255, 255, 255, 0.7);
}

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 32px 8vw 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .device-stack {
    height: 420px;
  }

  .feature-grid,
  .guide-steps {
    grid-template-columns: 1fr;
  }

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .features,
  .guide,
  .site-footer {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .hero-visual {
    overflow: hidden;
  }

  .device-stack {
    height: 360px;
  }

  .cta-group {
    width: 100%;
  }

  .cta-group .btn {
    width: 100%;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
