/* ── Font ── */
@font-face {
  font-family: "MomoTrust";
  src: url("MomoTrustDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0c0c0c;
  --fg: #1b1b1b;
  --text: #ffffff;
  --dimmed: #bfbfbf;
  --tint: #787878;
  --primary: #6b9c00;
  --primary-dim: rgba(107, 156, 0, 0.15);
  --danger: #ff5154;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font: "MomoTrust", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --gap: 8px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  display: block;
  border-radius: var(--radius-sm);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(12, 12, 12, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: var(--tint);
  transition: color 0.2s;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

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

.btn-primary:hover {
  background: #7db300;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(107, 156, 0, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--dimmed);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 64px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(107, 156, 0, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--primary-dim);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--primary);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--dimmed);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Phone Mockup ── */
.hero-visual {
  flex-shrink: 0;
  z-index: 1;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--fg);
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 0;
}

.mock-header {
  display: flex;
  justify-content: center;
  padding: 8px 0 16px;
}

.mock-pill {
  width: 80px;
  height: 24px;
  background: var(--fg);
  border-radius: 100px;
}

.mock-card {
  background: var(--fg);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
}

.mock-card.small .mock-card-img {
  height: 48px;
}

.mock-card-img {
  height: 80px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.mock-card-body {
  padding: 10px;
}

.mock-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mock-line.dim {
  background: rgba(255, 255, 255, 0.06);
}

.mock-line.w-30 { width: 30%; }
.mock-line.w-40 { width: 40%; }
.mock-line.w-50 { width: 50%; }
.mock-line.w-60 { width: 60%; }
.mock-line.w-70 { width: 70%; }

.mock-badge-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.mock-badge {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--tint);
}

.mock-badge.green {
  background: var(--primary-dim);
  color: var(--primary);
}

.mock-tab-bar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-tab {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-tab.active {
  background: var(--primary);
}

/* ── Sections ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--dimmed);
}

/* ── Features ── */
.features {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--fg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-card.highlight {
  border-color: rgba(107, 156, 0, 0.2);
  background: linear-gradient(
    180deg,
    rgba(107, 156, 0, 0.06) 0%,
    var(--fg) 60%
  );
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--dimmed);
  margin-bottom: 20px;
}

.feature-card.highlight .feature-icon {
  background: var(--primary-dim);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--tint);
}

/* ── How it works ── */
.how-it-works {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps-container {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.steps-column {
  flex: 1;
}

.steps-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 32px;
}

.steps-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.06);
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.step-num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--fg);
  font-size: 14px;
  font-weight: 600;
  color: var(--dimmed);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--tint);
}

/* ── Styles Marquee ── */
.styles-section {
  padding: 120px 0;
  overflow: hidden;
}

.styles-marquee {
  margin-bottom: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.styles-marquee.reverse .marquee-track {
  animation-direction: reverse;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.style-chip {
  flex-shrink: 0;
  padding: 12px 28px;
  border-radius: 100px;
  background: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 500;
  color: var(--dimmed);
  white-space: nowrap;
  transition: border-color 0.2s;
}

.style-chip.accent {
  border-color: rgba(107, 156, 0, 0.3);
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--fg) 100%);
}

/* ── CTA ── */
.cta-section {
  padding: 80px 24px 120px;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  background: var(--fg);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(107, 156, 0, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-logo {
  margin: 0 auto 24px;
  border-radius: 16px;
}

.cta-inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.cta-inner p {
  font-size: 16px;
  color: var(--dimmed);
  margin-bottom: 32px;
  position: relative;
}

.cta-inner .btn {
  position: relative;
}

/* ── Footer ── */
.footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

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

/* ── Responsive ── */
@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
    gap: 48px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

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

  .steps-container {
    flex-direction: column;
    gap: 48px;
  }

  .steps-divider {
    width: 100%;
    height: 1px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 500px) {
  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .cta-inner {
    padding: 48px 24px;
  }
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
