/* ============================================
   MitsuTech — Main Stylesheet
   CV Mitra Super Teknologi
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #1e3a8a;
  --color-accent: #2563eb;
  --color-accent-light: #dbeafe;
  --color-dark: #0f172a;
  --color-text: #334155;
  --color-muted: #64748b;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-border: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================
   Typography
   ============================================ */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--color-text);
  line-height: 1.7;
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--surface {
  background: var(--color-surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--color-muted);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn--outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}

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

.btn--white:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav__logo-legal {
  font-size: 0.6875rem;
  color: var(--color-muted);
  font-weight: 400;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-accent);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__lang {
  padding: 0.375rem 0.875rem;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.05em;
  transition: all var(--transition);
  background: transparent;
}

.nav__lang:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 36px;
  background: none;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

.nav__mobile .nav__link:last-of-type {
  border-bottom: none;
}

.nav__mobile .nav__lang {
  margin-top: 0.75rem;
  align-self: flex-start;
}

/* ============================================
   Hero (index)
   ============================================ */
.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   About Section
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content .eyebrow {
  display: block;
}

.about__content h2 {
  margin: 0.5rem 0 1.25rem;
}

.about__content > p {
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.pillar__icon svg {
  width: 22px;
  height: 22px;
}

.pillar__text h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--color-dark);
}

.pillar__text p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.about__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
}

.about__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about__stat {
  text-align: center;
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
}

.about__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
}

.about__stat-label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  display: block;
}

.about__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius);
  color: #fff;
}

.about__badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.about__badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ============================================
   Community Section
   ============================================ */
.community__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.community__card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.community__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-accent-light);
}

.community__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
}

.community__icon svg {
  width: 24px;
  height: 24px;
}

.community__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.community__card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ============================================
   Products Section
   ============================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__thumb-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.product-card__thumb-icon svg {
  width: 36px;
  height: 36px;
}

.product-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.badge--ai { background: #ede9fe; color: #6d28d9; }
.badge--cs { background: #dcfce7; color: #15803d; }
.badge--automation { background: #fef3c7; color: #b45309; }

.product-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.625rem;
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.product-card__btn {
  align-self: flex-start;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-name {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer__brand-legal {
  font-size: 0.8125rem;
  opacity: 0.5;
  margin-top: 2px;
  display: block;
}

.footer__tagline {
  margin-top: 0.875rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__community {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__community span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.footer__col-title {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer__link:hover {
  color: #fff;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.5;
}

/* ============================================
   Animations
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   Product Page Styles
   ============================================ */
.product-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.product-hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.product-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 0.375rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.product-hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  background: none;
  -webkit-text-fill-color: unset;
}

.product-hero__sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.product-hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Overview */
.overview {
  padding: 5rem 0;
}

.overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.overview__content h2 {
  margin-bottom: 1.25rem;
}

.overview__content p {
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.overview__visual {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}

.overview__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.overview__stat {
  text-align: center;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.overview__stat-num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
}

.overview__stat-label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  display: block;
  line-height: 1.4;
}

/* Problems */
.problems {
  background: var(--color-surface);
  padding: 5rem 0;
}

.problems__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.problem-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.problem-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #dc2626;
}

.problem-item__icon svg {
  width: 20px;
  height: 20px;
}

.problem-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.problem-item p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Features */
.features {
  padding: 5rem 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.feature-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Benefits */
.benefits {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
  padding: 5rem 0;
  color: #fff;
}

.benefits .section-header h2,
.benefits .section-header p {
  color: #fff;
}

.benefits .section-header p {
  opacity: 0.8;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.benefit-card__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.benefit-card h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Target Clients */
.target {
  padding: 5rem 0;
  background: var(--color-surface);
}

.target__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.target__tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.target__tag svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

/* FAQ */
.faq {
  padding: 5rem 0;
}

.faq__list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: background var(--transition);
  gap: 1rem;
}

.faq__question:hover {
  background: var(--color-surface);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.faq__item.open .faq__answer {
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
}

.cta-section__inner {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  border-radius: 24px;
  padding: 4rem 2rem;
  color: #fff;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
}

.cta-section__inner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section__inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Section (product page) */
.contact-section {
  background: var(--color-surface);
  padding: 4rem 0;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 0.75rem;
}

.contact-section p {
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}

.contact-section__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  margin-bottom: 2rem;
}

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

.back-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__visual {
    order: -1;
  }

  .community__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .products__grid,
  .features__grid,
  .benefits__grid {
    grid-template-columns: 1fr;
  }

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

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

  .overview__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

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

  .hero__cta,
  .product-hero__cta,
  .cta-section__actions,
  .contact-section__links {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__inner {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

/* ============================================
   Demo Sections — Shared
   ============================================ */
.demo-section {
  padding: 5rem 0;
  background: var(--color-surface);
}

/* Step progress */
.demo-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.demo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.35;
  transition: opacity 0.3s;
}
.demo-step.active,
.demo-step.done { opacity: 1; }
.demo-step__dot {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.3s;
}
.demo-step.active .demo-step__dot {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 0 4px var(--color-accent-light);
}
.demo-step.done .demo-step__dot {
  background: #16a34a;
  color: #fff;
}
.demo-step__label {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: 500;
  white-space: nowrap;
}
.demo-step.active .demo-step__label { color: var(--color-accent); font-weight: 600; }
.demo-step.done .demo-step__label { color: #16a34a; }
.demo-step-line {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  min-width: 2.5rem;
  margin-bottom: 1.4rem;
  transition: background 0.3s;
}

.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* Shared buttons */
.demo-primary-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.demo-primary-btn:hover { background: var(--color-primary); }
.demo-primary-btn:active { transform: scale(0.98); }
.demo-primary-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.demo-restart-btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.demo-restart-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Spinner */
.demo-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-accent-light);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Fade in animation for demo content */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ROM Demo
   ============================================ */
.rom-demo-ui {
  max-width: 600px;
  margin: 0 auto;
}

/* Browser mockup */
.demo-browser-mockup {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--color-border);
}
.demo-browser-dots { display: flex; gap: 5px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot--red    { background: #ef4444; }
.dot--yellow { background: #f59e0b; }
.dot--green  { background: #22c55e; }
.demo-browser-url {
  font-size: 0.72rem;
  color: var(--color-muted);
  background: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

.demo-recorder-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.demo-meeting-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  background: var(--color-surface);
  padding: 0.4rem 0.875rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

/* Waveform */
.demo-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 52px;
}
.demo-waveform span {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: var(--color-accent-light);
  height: 8px;
  transition: height 0.15s ease;
}
.demo-waveform.animating span {
  animation: waveAnim 0.7s ease-in-out infinite alternate;
}
.demo-waveform span:nth-child(1)  { animation-delay: 0.00s; }
.demo-waveform span:nth-child(2)  { animation-delay: 0.10s; }
.demo-waveform span:nth-child(3)  { animation-delay: 0.05s; }
.demo-waveform span:nth-child(4)  { animation-delay: 0.15s; }
.demo-waveform span:nth-child(5)  { animation-delay: 0.08s; }
.demo-waveform span:nth-child(6)  { animation-delay: 0.12s; }
.demo-waveform span:nth-child(7)  { animation-delay: 0.03s; }
.demo-waveform span:nth-child(8)  { animation-delay: 0.18s; }
.demo-waveform span:nth-child(9)  { animation-delay: 0.07s; }
.demo-waveform span:nth-child(10) { animation-delay: 0.14s; }
@keyframes waveAnim {
  0%   { height: 5px;  background: var(--color-accent-light); }
  100% { height: 42px; background: var(--color-accent); }
}

.demo-timer {
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-dark);
  letter-spacing: 0.06em;
  font-family: 'Menlo', 'Monaco', monospace;
}

/* Transcript panel */
.demo-transcript-view {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-processing-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
  transition: opacity 0.3s;
}
.demo-transcript-lines {
  padding: 1rem;
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-transcript-line {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text);
  animation: fadeSlideIn 0.3s ease;
}
.demo-transcript-line strong {
  color: var(--color-accent);
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Summary panel */
.demo-summary-view {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-lang-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}
.demo-lang-tab {
  flex: 1;
  padding: 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--color-muted);
  transition: all 0.2s;
  font-family: inherit;
}
.demo-lang-tab.active {
  color: var(--color-accent);
  background: #eff6ff;
  border-bottom-color: var(--color-accent);
}
.demo-summary-content { padding: 1.25rem; }
.demo-summary-block { margin-bottom: 1rem; }
.demo-summary-block:last-child { margin-bottom: 0; }
.demo-summary-block h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}
.demo-summary-block p,
.demo-summary-block ul {
  font-size: 0.83rem;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}
.demo-summary-block ul {
  padding-left: 1.2rem;
}
.demo-summary-block li { margin-bottom: 0.2rem; }

.demo-summary-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  align-items: center;
  background: #f8fafc;
}
.btn--sm {
  padding: 0.42rem 0.9rem;
  font-size: 0.78rem;
}

/* ============================================
   SMTA Demo
   ============================================ */
.smta-demo-ui {
  max-width: 820px;
  margin: 0 auto;
}
.smta-demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .smta-demo-layout { grid-template-columns: 1fr; }
}

.smta-customer-panel,
.smta-supervisor-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* WhatsApp header */
.smta-wa-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #075e54;
  color: #fff;
}
.smta-wa-avatar { font-size: 1.75rem; line-height: 1; }
.smta-wa-name   { font-weight: 700; font-size: 0.9rem; }
.smta-wa-status { font-size: 0.7rem; opacity: 0.85; color: #9de0ad; margin-top: 1px; }
.smta-wa-badge {
  margin-left: auto;
  background: #25d366;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* Chat area */
.smta-chat-messages {
  height: 230px;
  overflow-y: auto;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #ece5dd url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d0c8be' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.smta-msg {
  max-width: 82%;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  animation: fadeSlideIn 0.25s ease;
  word-break: break-word;
}
.smta-msg--user {
  background: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.smta-msg--ai {
  background: #dcf8c6;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.smta-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.6rem 0.8rem;
  width: fit-content;
}
.smta-typing span {
  width: 7px;
  height: 7px;
  background: #888;
  border-radius: 50%;
  animation: typingBounce 1.1s infinite;
}
.smta-typing span:nth-child(2) { animation-delay: 0.18s; }
.smta-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

/* Preset questions */
.smta-preset-questions {
  padding: 0.75rem;
  border-top: 1px solid var(--color-border);
  background: #f9fafb;
}
.smta-preset-label {
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-bottom: 0.45rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.smta-preset-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.smta-preset-btn {
  background: #fff;
  border: 1px solid #25d366;
  color: #075e54;
  font-size: 0.73rem;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-weight: 500;
}
.smta-preset-btn:hover  { background: #25d366; color: #fff; }
.smta-preset-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Supervisor panel */
.smta-sup-header {
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-dark);
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.smta-sup-stats {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}
.smta-sup-stat {
  flex: 1;
  padding: 0.65rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--color-border);
}
.smta-sup-stat:last-child { border-right: none; }
.smta-sup-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark);
}
.smta-sup-label {
  font-size: 0.62rem;
  color: var(--color-muted);
  margin-top: 0.1rem;
  line-height: 1.3;
}
.smta-sup-conv-list { padding: 0.5rem; }
.smta-sup-conv {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.smta-sup-conv.active { background: #eff6ff; }
.smta-sup-conv-avatar { font-size: 1.4rem; }
.smta-sup-conv-name   { font-size: 0.82rem; font-weight: 600; color: var(--color-dark); }
.smta-sup-conv-preview {
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}
.smta-sup-conv-badge {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.ai-badge { background: #dbeafe; color: #1d4ed8; }
.smta-sup-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid var(--color-border);
}
.smta-kb-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.68rem;
  color: #166534;
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
}

/* ============================================
   Resignable Demo
   ============================================ */
.resignable-demo-ui {
  max-width: 860px;
  margin: 0 auto;
}

/* Workflow canvas */
.wf-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow-x: auto;
}
.wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  min-width: 96px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}
.wf-node.running {
  border-color: var(--color-accent);
  background: #eff6ff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  animation: nodePulse 1.2s ease-in-out infinite alternate;
  transform: translateY(-2px);
}
.wf-node.done {
  border-color: #16a34a;
  background: #f0fdf4;
  transform: translateY(0);
}
.wf-node.waiting {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  animation: nodePulse 1s ease-in-out infinite alternate;
}
.wf-node.rejected {
  border-color: #ef4444;
  background: #fef2f2;
}
.wf-node--approval { border-style: dashed; }
@keyframes nodePulse {
  from { box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12); }
  to   { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.05); }
}
.wf-node__icon  { font-size: 1.6rem; line-height: 1; }
.wf-node__name  { font-size: 0.7rem; font-weight: 700; color: var(--color-text); line-height: 1.3; }
.wf-node__status {
  font-size: 0.68rem;
  color: var(--color-muted);
  min-height: 1em;
  font-weight: 600;
  transition: color 0.2s;
}
.wf-node.running  .wf-node__status { color: var(--color-accent); }
.wf-node.done     .wf-node__status { color: #16a34a; }
.wf-node.waiting  .wf-node__status { color: #d97706; }
.wf-node.rejected .wf-node__status { color: #ef4444; }

.wf-arrow {
  color: var(--color-muted);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Cost bar */
.wf-cost-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.wf-cost-value {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.wf-cost-model {
  margin-left: auto;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Output terminal */
.wf-output-panel {
  background: #0f172a;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.wf-output-header {
  padding: 0.55rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wf-output-header::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.wf-output-content {
  padding: 1rem;
  min-height: 120px;
  max-height: 220px;
  overflow-y: auto;
}
.wf-output-placeholder {
  color: #475569;
  font-size: 0.82rem;
  font-style: italic;
}
.wf-output-pre {
  color: #e2e8f0;
  font-size: 0.8rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  margin: 0;
  animation: fadeSlideIn 0.3s ease;
}

/* Controls */
.wf-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Approval modal */
.wf-approval-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.wf-approval-modal[hidden] { display: none; }
.wf-approval-inner {
  background: #fff;
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wf-approval-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.wf-approval-inner h4 {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.wf-approval-inner p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.wf-approval-preview {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.wf-approval-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Demo Section responsive
   ============================================ */
@media (max-width: 768px) {
  .demo-steps { gap: 0; }
  .demo-step-line { min-width: 1.5rem; }
  .wf-canvas { gap: 0.3rem; padding: 1.25rem 0.75rem; }
  .wf-node { min-width: 72px; padding: 0.75rem 0.6rem; }
  .wf-node__icon { font-size: 1.2rem; }
  .wf-arrow { font-size: 1rem; }
}

/* ============================================
   Workflow Scenario Tabs
   ============================================ */
.wf-scenario-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.wf-scenario-tab {
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.wf-scenario-tab:hover:not(:disabled) {
  border-color: #7c3aed;
  color: #7c3aed;
}

.wf-scenario-tab.active {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}

.wf-scenario-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ============================================
   Workflow Node Timing
   ============================================ */
.wf-node__timing {
  font-size: 0.65rem;
  color: var(--color-muted);
  margin-top: 0.2rem;
  min-height: 0.9rem;
  text-align: center;
}

/* ============================================
   SMTA Preset Buttons 2-col grid
   ============================================ */
@media (min-width: 480px) {
  .smta-preset-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .smta-preset-btns .smta-preset-btn {
    width: 100%;
  }
}

/* ============================================
   Community Section — Redesign
   ============================================ */

/* Intro: text + group photo side by side */
.community__intro {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.community__intro-text {
  flex: 1;
}

.community__intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.community__intro-text p {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.75;
  max-width: 520px;
}

/* Photo placeholder */
.community__photo-wrap {
  flex: 0 0 380px;
}

.community__photo-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) * 1.5);
  border: 2px dashed var(--color-border);
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.community__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.community__photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-muted);
  padding: 2rem;
  text-align: center;
}

.community__photo-empty svg {
  opacity: 0.45;
}

.community__photo-empty span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Card color variants */
.community__card--blue .community__icon {
  background: #dbeafe;
  color: #1e40af;
}

.community__card--purple .community__icon {
  background: #ede9fe;
  color: #7c3aed;
}

.community__card--green .community__icon {
  background: #d1fae5;
  color: #065f46;
}

.community__card--orange .community__icon {
  background: #fed7aa;
  color: #c2410c;
}

.community__card--red .community__icon {
  background: #fee2e2;
  color: #b91c1c;
}

.community__card--teal .community__icon {
  background: #ccfbf1;
  color: #0f766e;
}

/* Community tagline */
.community__tagline {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  margin-top: -0.25rem;
}

/* 4-card grid: 2x2 on desktop */
.community__grid--4col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
  .community__grid--4col {
    grid-template-columns: 1fr;
  }
}

/* Responsive: community intro stacks on tablet */
@media (max-width: 900px) {
  .community__intro {
    flex-direction: column;
    gap: 2rem;
  }

  .community__photo-wrap {
    flex: none;
    width: 100%;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .community__intro {
    margin-bottom: 2rem;
  }
}

/* ---- Community photo clickable ---- */
.community__photo-clickable {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community__photo-clickable:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* ---- Photo lightbox modal ---- */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal[hidden] {
  display: none;
}

.photo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.photo-modal__content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.photo-modal__img {
  display: block;
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.photo-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2;
}

.photo-modal__close:hover {
  background: rgba(0,0,0,0.8);
}

