/* Classify — Sales Landing Page | Brand: #a0ce4e + #ffffff */

:root {
  --primary: #a0ce4e;
  --primary-dark: #8ab83e;
  --primary-light: rgba(160, 206, 78, 0.15);
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f7faf2;
  --bg-muted: #eef3e6;
  --bg-card: #ffffff;
  --border: rgba(26, 31, 22, 0.1);
  --border-accent: rgba(160, 206, 78, 0.45);
  --text: #1a1f16;
  --text-muted: #5c6652;
  --shadow: 0 20px 60px rgba(26, 31, 22, 0.1);
  --shadow-green: 0 12px 40px rgba(160, 206, 78, 0.35);
  --gradient: linear-gradient(135deg, #a0ce4e 0%, #8ab83e 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 72px;
  --container: min(1140px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Background */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, var(--primary-light), transparent),
    radial-gradient(ellipse 50% 40% at 95% 10%, rgba(160, 206, 78, 0.08), transparent),
    var(--white);
  pointer-events: none;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 1.25rem;
}

h1 em {
  font-style: normal;
  color: var(--primary-dark);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.gradient-text {
  color: var(--primary-dark);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.section-head code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: var(--bg-muted);
  border-radius: 4px;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--text);
}

.btn-ghost {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-muted);
  color: var(--text);
  border-color: var(--border-accent);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-light:hover {
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(160, 206, 78, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary-dark);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-nav a {
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.badge-accent {
  border-color: var(--border-accent);
  color: var(--primary-dark);
  background: var(--primary-light);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero mockup */
.hero-visual {
  position: relative;
}

.browser-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-bar span:nth-child(1) { background: #f87171; }
.browser-bar span:nth-child(2) { background: #fbbf24; }
.browser-bar span:nth-child(3) { background: var(--primary); }

.browser-url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.browser-body {
  padding: 1.25rem;
  background: var(--bg-soft);
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mock-search svg {
  stroke: var(--primary);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mock-card {
  position: relative;
  padding: 0.65rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.mock-card.featured {
  border-color: var(--border-accent);
  box-shadow: 0 4px 16px var(--primary-light);
}

.mock-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
}

.mock-img {
  height: 48px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--bg-muted), var(--primary-light));
}

.mock-img.alt {
  background: linear-gradient(135deg, #e8f0dc, rgba(160, 206, 78, 0.35));
}

.mock-img.alt2 {
  background: linear-gradient(135deg, #dce8c8, rgba(138, 184, 62, 0.4));
}

.mock-card h3 {
  font-size: 0.65rem;
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
}

.mock-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.mock-loc {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.float-chip {
  position: absolute;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border-accent);
  color: var(--primary-dark);
  border-radius: 999px;
  box-shadow: var(--shadow);
  animation: chip-float 4s ease-in-out infinite;
}

.chip-1 { top: -12px; right: -8px; animation-delay: 0s; }
.chip-2 { bottom: 30%; left: -24px; animation-delay: 1s; }
.chip-3 { bottom: -8px; right: 20%; animation-delay: 2s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Trust bar */
.trust {
  padding: 2rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.trust-inner {
  text-align: center;
}

.trust p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-tags li {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.trust-tags li:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
  max-width: 720px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--primary-light);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Monetize */
.monetize {
  background: var(--bg-soft);
}

.monetize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.monetize-copy p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-card {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.plan-popular {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: scale(1.03);
  box-shadow: var(--shadow-green);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
}

.plan-name {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.plan-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-card li + li {
  margin-top: 0.2rem;
}

/* Demo showcase */
.demo-showcase {
  background: var(--white);
}

.demo-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.demo-filter {
  padding: 0.5rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.demo-filter:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.demo-filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.demo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.demo-card {
  transition: opacity 0.3s, transform 0.3s;
}

.demo-card.is-hidden {
  display: none;
}

.demo-card__link {
  display: block;
  color: inherit;
  height: 100%;
}

.demo-card__link:hover {
  color: inherit;
}

.demo-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

.demo-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.demo-card__thumb--placeholder {
  background:
    linear-gradient(135deg, var(--bg-muted) 0%, var(--primary-light) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(160, 206, 78, 0.06) 12px,
      rgba(160, 206, 78, 0.06) 24px
    );
}

.demo-card__thumb--placeholder::after {
  content: "Classify Demo";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  opacity: 0.5;
}

.demo-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
}

.demo-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 31, 22, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}

.demo-card__cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  transform: translateY(8px);
  transition: transform 0.3s;
}

.demo-card__link:hover .demo-card__thumb img {
  transform: scale(1.05);
}

.demo-card__link:hover .demo-card__overlay {
  opacity: 1;
}

.demo-card__link:hover .demo-card__cta {
  transform: translateY(0);
}

.demo-card__body {
  padding: 1rem 0.25rem 0;
}

.demo-card__body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.demo-card__body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.demo-note {
  text-align: center;
  margin: 2.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.demo-note strong {
  color: var(--primary-dark);
}

/* Included box */
.included-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  padding: 2.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.included-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.included-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.included-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.author-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  border-radius: 12px;
  font-size: 0.9rem;
}

.author-card strong {
  display: block;
}

.author-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-green);
}

.price-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.price-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}

.price-card .btn {
  margin-bottom: 0.5rem;
}

/* CTA banner */
.cta-banner {
  padding: 0 0 5rem;
}

.cta-inner {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: var(--white);
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-inner {
  text-align: center;
}

.footer-inner .logo {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--text-muted);
}

.footer-meta a:hover {
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .monetize-grid,
  .included-box {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .demo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }  
}

@media (max-width: 768px) {
  .nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .feature-grid,
  .demo-gallery {
    grid-template-columns: 1fr;
  }

  .mock-cards {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .float-chip {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .demo-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
}
