/* ============================================================
 * PRODUCT DEMO PAGE — Light Theme
 * ============================================================ */

/* ----- Design Tokens ----- */
:root {
  --bg: #ffffff;
  --surface: #f8f9fb;
  --card: #ffffff;
  --border: #e2e5ea;
  --border-hover: #c5c9d0;
  --text-primary: #1a1a2e;
  --text-body: #44445a;
  --text-muted: #6b7280;
  --accent: #fdc448;
  --accent-hover: #e8b33e;
  --font: 'GoogleSansFlex', 'Inter', -apple-system, BlinkMacSystemFont,
    sans-serif;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-accent {
  color: var(--accent);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-primary);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(253, 196, 72, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.btn-outline-light:hover {
  background: var(--text-primary);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}
.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-text:hover {
  color: var(--accent);
}

/* ----- Section Header ----- */
.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent);
  border: 1px solid rgba(253, 196, 72, 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 5x 00;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
 * NAVBAR
 * ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  padding: 10px 22px !important;
  background: var(--accent) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--text-primary) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
 * HERO
 * ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f5 40%, #eef0f4 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(253, 196, 72, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 0 60px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  display: inline;
}
.stat-plus {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  margin-left: 2px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ============================================================
 * FEATURES
 * ============================================================ */
.features {
  /* padding: 100px 0; */
  background: var(--surface);
}

/* Featured Rows */
.feature-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 32px;
}
.feature-row:hover {
  /* no hover on row - each card handles its own */
}
.feature-row.reverse {
  flex-direction: row-reverse;
}
.feature-image {
  flex: 0 0 45%;
  /* min-height: 350px; */
  overflow: hidden;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 289px;
}
.feature-image:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-content {
  flex: 1;
  padding: 0px 48px 48px 48px;
}
.feature-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent);
  border: 1px solid rgba(253, 196, 72, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.feature-content .feature-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
.feature-content .feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 500;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 15px;
  color: var(--text-body);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* Compact Features */
.features-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-compact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 28px 36px;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.compact-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(253, 196, 72, 0.2));
  margin-bottom: 28px;
  transition: opacity 0.3s ease;
}
.feature-compact-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.feature-compact-card:hover .compact-accent-bar {
  opacity: 0.8;
}
.compact-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(253, 196, 72, 0.04);
  border: 1px solid rgba(253, 196, 72, 0.1);
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.feature-compact-card:hover .compact-icon-box {
  background: rgba(253, 196, 72, 0.08);
  border-color: rgba(253, 196, 72, 0.2);
  box-shadow: 0 0 20px rgba(253, 196, 72, 0.06);
}
.compact-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.compact-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
 * STATS STRIP
 * ============================================================ */
.stats-strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-item .stats-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
}
.stats-item .stats-plus {
  font-size: 28px;
  color: var(--accent);
}
.stats-item .stats-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
 * HOW IT WORKS
 * ============================================================ */
.how-it-works {
  margin-top: 20px;
  padding: 40px 0;
  background: var(--bg);
}
.steps-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.step-card {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  text-align: center;
  padding: 40px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.step-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}
.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-arrow {
  font-size: 28px;
  color: var(--accent);
  font-weight: 300;
  flex-shrink: 0;
}

/* ============================================================
 * CTA BANNER
 * ============================================================ */
.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-actions .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-primary);
}
.cta-actions .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(253, 196, 72, 0.3);
}
.cta-actions .btn-outline-light {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.cta-actions .btn-outline-light:hover {
  background: var(--text-primary);
  color: var(--bg);
}

/* ============================================================
 * FOOTER
 * ============================================================ */
.footer {
  background: #2a3040;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  max-width: 260px;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a2e;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-links-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-tags {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

/* ============================================================
 * ANIMATIONS
 * ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease forwards;
}
.anim-delay-1 {
  animation-delay: 0.2s;
}
.anim-delay-2 {
  animation-delay: 0.4s;
}
.anim-delay-3 {
  animation-delay: 0.6s;
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1024px) {
  .features-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-content {
    padding: 36px;
  }
  .feature-content .feature-title {
    font-size: 22px;
  }
  .footer-grid {
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a::after {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
  }
  .feature-image {
    flex: none;
    width: 100%;
    height: 260px;
  }
  .feature-image img {
    height: 100%;
    object-fit: cover;
  }
  .feature-content {
    padding: 32px 24px;
  }
  .features-compact-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .steps-grid {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
  .hero-stats {
    gap: 24px;
  }
  .stat-divider {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-large {
    width: 100%;
    max-width: 320px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-tagline {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-links-col {
    align-items: center;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stats-item .stats-number {
    font-size: 32px;
  }
  .footer-tags {
    font-size: 11px;
  }
}
