:root {
  color-scheme: light;
  --bg-surface: #f5f7fb;
  --bg-elevated: #ffffff;
  --bg-accent: #CDF1E4;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.05);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-quiet: #64748b;
  --color-accent: #22c55e;
  --color-accent-deep: #16a34a;
  --color-highlight: #389170;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-surface);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 251, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-brand{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-accent);
  color: white;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 15px 30px rgba(34, 197, 94, 0.25);
  padding:24px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.primary-nav {
  display: flex;
  gap: 2.25rem;
  font-weight: 500;
}

.primary-nav a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link {
  color: var(--color-muted);
  font-weight: 500;
  text-decoration: none;
}

.link:hover {
  color: var(--color-highlight);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

.btn--primary {
  background: var(--color-highlight);
  color: white;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: #1B8860;
  transform: translateY(-1px);
}

.btn--ghost {
  background: white;
  color: var(--color-text);
  border-color: rgba(15, 23, 42, 0.1);
}

.btn--ghost:hover {
  border-color: rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.btn.full {
  width: 100%;
}

.hero {
  padding: 8rem 0 5rem;
}

.hero .inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-highlight);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.3rem;
}

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

.hero p {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero-footnote {
  font-size: 0.85rem;
  color: var(--color-quiet);
  margin-bottom: 2.4rem;
}

.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  color: var(--color-muted);
}

.hero-stats .stat {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

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

.preview-card {
  width: min(430px, 100%);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.preview-header {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.preview-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
}

.preview-body {
  display: grid;
  grid-template-columns: 3fr 1fr;
  background: linear-gradient(160deg, #1e293b 0%, #334155 55%, #111827 100%);
  color: white;
}

.preview-main {
  height: 500px;
  padding: 2.2rem;
  display: grid;
  gap: 1rem;
}

.presenter {
  height: 400px;
  border-radius: 18px;
  background: url('imgs/case_cover.png') center/cover;
}

.presenter-info {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.preview-sidebar {
  display: grid;
  gap: 1rem;
  padding: 1.8rem 1rem;
}

.participant {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.25);
  position: relative;
}

.participant:nth-child(1) { background: url('imgs/participant01.svg') center/cover; }
.participant:nth-child(2) { background: url('imgs/participant02.svg') center/cover; }
.participant:nth-child(3) { background: url('imgs/participant03.svg') center/cover; filter: grayscale(1); }

.participant.muted::after {
  content: 'mute';
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 0.6rem;
  padding: 0.2rem 0.45rem;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 999px;
}

.preview-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  background: rgba(17, 24, 39, 0.75);
}

.control {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

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

.floating-feed {
  position: absolute;
  bottom: -34px;
  left: -12px;
  min-width: 320px;
  min-height: 80px;
  pointer-events: none;
}

.feed-notification {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.15);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: feedCycle 12s ease-in-out infinite;
}

.feed-notification:nth-child(2) { animation-delay: 4s; }
.feed-notification:nth-child(3) { animation-delay: 8s; }
.feed-notification:nth-child(4) { animation-delay: 12s; }
.feed-notification:nth-child(5) { animation-delay: 16s; }

.feed-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.82rem;
  background: rgba(37, 99, 235, 0.16);
  color: var(--color-highlight);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.feed-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.feed-copy strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: normal;
  word-break: break-word;
}

.feed-copy span {
  display: block;
  font-size: 0.72rem;
  color: var(--color-muted);
}

@keyframes feedCycle {
  0%, 18% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  22%, 100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
}

.feature-section, .insight-section, .testimonial-section {
  padding: 5.5rem 0;
}

.section-heading {
  margin-bottom: 3rem;
  max-width: 640px;
}

.section-heading.center {
  text-align: center;
  margin: 0 auto 3rem;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.icon-pill {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-highlight);
}

.feature-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.feature-card ul li::before {
  content: '•';
  margin-right: 0.6rem;
  color: var(--color-highlight);
}

.insight-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(245, 247, 251, 0.9) 100%);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.insight-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-highlight);
  margin-bottom: 1rem;
}

.insight-copy a.link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-highlight);
  font-weight: 600;
}

.insight-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.insight-panel {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.08);
  display: grid;
  gap: 1.8rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.badge {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.panel-list {
  list-style: none;
  display: grid;
  gap: 1.2rem;
}

.panel-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-highlight);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.avatar.large {
  width: 56px;
  height: 56px;
}

.tag {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.tag.success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-accent);
}

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

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1rem;
}

.testimonial-card .role {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.quote-tag {
  font-size: 0.9rem;
  color: var(--color-highlight);
  font-weight: 600;
}

.cta-section {
  padding: 5rem 0 6rem;
}

.cta-content {
  background: var(--bg-accent);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  color: var(--color-text);
  align-items: center;
  box-shadow: 0 30px 60px rgba(163, 227, 190, 0.25);
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.cta-content p {
  color: var(--color-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer {
  padding: 3.5rem 0 4rem;
  background: #0f172a;
  color: rgba(226, 232, 240, 0.76);
}

.site-footer .inner {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(226, 232, 240, 0.76);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 1000;
}

.modal {
  position: relative;
  width: min(480px, 92vw);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(148, 163, 184, 0.18);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.modal-body p {
  color: var(--color-muted);
  margin-bottom: 1.2rem;
}

.modal-body ol {
  color: var(--color-muted);
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  padding-left: 1.2rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  background: var(--color-highlight);
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1200;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.feature-card,
.insight-panel,
.testimonial-card,
.cta-content {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.reveal,
.insight-panel.reveal,
.testimonial-card.reveal,
.cta-content.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 7rem;
  }

  .hero .inner {
    gap: 2.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
