/* Fewa — Premium marketing site */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg: #EDECE7;
  --bg-warm: #F4F3EF;
  --bg-elevated: #FFFFFF;
  --bg-dark: #1E2428;
  --text: #2D3439;
  --text-muted: #5E666C;
  --accent: #5A7A94;
  --accent-dark: #3D5568;
  --accent-glow: rgba(90, 122, 148, 0.22);
  --accent-light: #E4EAEF;
  --gold: #C4A574;
  --border: #D8D6D0;
  --shadow: 0 8px 32px rgba(30, 36, 40, 0.07);
  --shadow-lg: 0 24px 80px rgba(30, 36, 40, 0.14);
  --shadow-premium: 0 32px 100px rgba(30, 36, 40, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1180px;
  --nav-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
.container { width: min(100% - 2.5rem, var(--max-width)); margin-inline: auto; }

/* Nav */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(244, 243, 239, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  color: var(--text); letter-spacing: -0.03em;
}
.logo--brand { align-items: center; gap: 0.55rem; min-width: 0; flex-shrink: 1; }
.logo-copy { display: flex; flex-direction: column; gap: 0.08rem; min-width: 0; }
.logo-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--text);
}
.logo-tagline {
  font-family: var(--font-body); font-size: 0.58rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.015em; line-height: 1.25;
  max-width: 15rem;
}
.site-footer .logo-tagline { display: none; }
.site-footer .logo-name { font-size: 1.15rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }
.lang-toggle {
  display: flex; border: 1px solid var(--border); border-radius: 999px;
  overflow: hidden; background: var(--bg-elevated);
}
.lang-toggle button {
  border: none; background: transparent; padding: 0.38rem 0.7rem;
  font-size: 0.72rem; font-weight: 700; cursor: pointer; color: var(--text-muted);
  font-family: var(--font-body); letter-spacing: 0.04em;
}
.lang-toggle button.active { background: var(--text); color: white; }

/* Language dropdown (8 locales) */
.lang-picker { position: relative; }
.lang-picker-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.42rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-elevated);
  font-size: 0.72rem; font-weight: 700; font-family: var(--font-body);
  color: var(--text-muted); cursor: pointer; letter-spacing: 0.04em;
}
.lang-picker-btn:hover { border-color: var(--accent); color: var(--text); }
.lang-picker-menu {
  position: absolute; top: calc(100% + 0.35rem); right: 0; z-index: 120;
  min-width: 5.5rem; margin: 0; padding: 0.35rem;
  list-style: none; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lang-picker-menu button {
  display: block; width: 100%; text-align: left;
  border: none; background: transparent; padding: 0.45rem 0.65rem;
  border-radius: 8px; font-size: 0.78rem; font-weight: 700;
  font-family: var(--font-body); color: var(--text-muted); cursor: pointer;
}
.lang-picker-menu button:hover,
.lang-picker-menu button.active {
  background: var(--bg-warm); color: var(--text);
}

/* App access strip */
.app-access {
  padding: 3.5rem 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.app-access-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}
.app-access-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600; letter-spacing: -0.03em;
  margin: 0 0 0.85rem; line-height: 1.15;
}
.app-access-lead {
  color: var(--text-muted); font-size: 1.02rem;
  line-height: 1.7; margin: 0 0 1.5rem; max-width: 36rem;
}
.app-access-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.app-install-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.app-install-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  margin: 0 0 0.85rem;
}
.app-install-steps {
  margin: 0 0 1rem; padding-left: 1.15rem;
  color: var(--text-muted); font-size: 0.92rem; line-height: 1.65;
}
.app-install-steps li { margin-bottom: 0.35rem; }
.app-install-badges {
  display: flex; gap: 0.65rem; font-size: 1.35rem; opacity: 0.85;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.72rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  font-family: var(--font-body); border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s; text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--text) 0%, #3D4A52 100%);
  color: white; box-shadow: 0 6px 20px rgba(30, 36, 40, 0.22);
}
.btn-primary:hover { color: white; box-shadow: 0 10px 28px rgba(30, 36, 40, 0.28); }
.btn-secondary { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-muted); padding: 0.72rem 1rem; }
.btn-lg { padding: 1rem 1.85rem; font-size: 1rem; }
.menu-toggle {
  display: none; background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.55rem 0.65rem; cursor: pointer; color: var(--text);
  flex-direction: column; justify-content: center; gap: 4px; width: 2.5rem; height: 2.5rem;
}
.menu-toggle-bar {
  display: block; width: 100%; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}
body.nav-open .menu-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-desktop { display: block; }
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(30, 36, 40, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border: none;
  padding: 0;
  margin: 0;
  cursor: default;
}
.nav-mobile-backdrop[hidden] { display: none !important; }
body.nav-open .nav-mobile-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-panel {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.25rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: var(--shadow-lg);
}
body.nav-open .site-header { z-index: 10002; }
body.nav-open .nav-mobile-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }
.nav-mobile-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.nav-mobile-links a {
  display: block; padding: 0.85rem 0.65rem; border-radius: 12px;
  font-size: 1rem; font-weight: 600; color: var(--text);
  transition: background 0.15s;
}
.nav-mobile-links a:hover,
.nav-mobile-links a.active { background: var(--bg-warm); color: var(--accent-dark); }
.nav-mobile-foot {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.65rem;
}
.nav-mobile-foot .btn { width: 100%; justify-content: center; }

/* Hero — split layout with Command Center mock */
.hero {
  padding: calc(var(--nav-height) + 5rem) 0 6rem;
  background: var(--bg-warm);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 4rem 5rem;
  align-items: center;
  padding-inline: 0.75rem;
}
.hero-content { max-width: 36rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-badge span.dot {
  width: 7px; height: 7px; background: #34d399; border-radius: 50%;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.45);
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 4.8vw, 3.65rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 1.35rem;
  color: var(--text);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 32rem; margin: 0 0 1.75rem; line-height: 1.75;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }
.price-hero-card {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--bg-elevated); color: var(--text);
  border-radius: var(--radius);
  padding: 1rem 1.35rem; margin-bottom: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.price-hero-card .amount {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1;
  color: var(--accent-dark);
}
.price-hero-card .meta { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-trust div strong {
  display: block; font-family: var(--font-display); font-size: 1.35rem;
  color: var(--text); letter-spacing: -0.02em;
}
.hero-trust div span { font-size: 0.82rem; color: var(--text-muted); }

.hero-visual {
  position: relative;
  min-height: 520px;
}
.hero-float-card {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.hero-float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-dark);
  line-height: 1.2;
}
.hero-float-card small { color: var(--text-muted); font-size: 0.72rem; }
.hero-float-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.hero-float-card.a { top: 8%; right: -12px; animation-delay: 0s; }
.hero-float-card.b { bottom: 10%; left: -20px; animation-delay: 1.2s; }
@media (min-width: 961px) {
  .hero-dash { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
}
.screen-stack { position: relative; }
.screen-main {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-premium);
  overflow: hidden;
}
@media (min-width: 961px) {
  .screen-main { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
}
.screen-float {
  position: absolute; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 0.85rem 1rem; box-shadow: var(--shadow-lg);
  font-size: 0.78rem; animation: float 6s ease-in-out infinite;
}
.screen-float.a { top: -12px; right: -18px; animation-delay: 0s; }
.screen-float.b { bottom: 24px; left: -28px; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* App chrome */
.app-chrome { display: flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1rem; background: #F8F7F4; border-bottom: 1px solid var(--border); }
.app-chrome .dot { width: 9px; height: 9px; border-radius: 50%; }
.app-chrome .dot:nth-child(1) { background: #F87171; }
.app-chrome .dot:nth-child(2) { background: #FBBF24; }
.app-chrome .dot:nth-child(3) { background: #34D399; }
.app-chrome .url { flex: 1; text-align: center; font-size: 0.68rem; color: var(--text-muted); background: white; border-radius: 6px; padding: 0.3rem 0.6rem; margin: 0 0.5rem; }

/* Industries */
.industries { padding: 2.5rem 0; border-block: 1px solid var(--border); background: var(--bg-elevated); }
.industry-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin-top: 1.25rem; }
.pill {
  padding: 0.55rem 1.1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: var(--bg-warm); border: 1px solid var(--border); color: var(--text-muted);
}
.pill:hover { border-color: var(--accent); color: var(--accent-dark); }

/* Sections */
section { padding: 5.5rem 0; }
.section-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent); margin-bottom: 0.65rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 600; letter-spacing: -0.03em; margin: 0 0 1rem; line-height: 1.15;
}
.section-lead { font-size: 1.08rem; color: var(--text-muted); max-width: 38rem; margin: 0 0 2.5rem; line-height: 1.7; }
.bg-white { background: var(--bg-elevated); }
.bg-dark { background: var(--bg-dark); color: white; }
.bg-dark .section-label { color: #9BB5C9; }
.bg-dark .section-lead { color: rgba(255,255,255,0.68); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Screenshot showcase */
.showcase-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }
.shot-tabs { display: flex; flex-direction: column; gap: 0.5rem; }
.shot-tab {
  text-align: left; padding: 0.9rem 1rem; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-warm);
  cursor: pointer; font-family: var(--font-body); transition: all 0.2s;
}
.shot-tab strong { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 0.15rem; }
.shot-tab span { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }
.shot-tab:hover { border-color: var(--accent); }
.shot-tab.active { background: var(--text); border-color: var(--text); }
.shot-tab.active strong, .shot-tab.active span { color: white; }
.shot-tab.active span { opacity: 0.75; }
.shot-viewer {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; min-height: 440px;
}
.shot-panel { display: none; padding: 0; }
.shot-panel.active { display: block; }
.shot-learn-bar {
  display: flex;
  justify-content: center;
  margin-top: 1.15rem;
  padding-top: 0.25rem;
}
.shot-learn-bar .module-learn-more { margin: 0; }

/* In-app UI mockups */
.ui-body { padding: 1.1rem; background: #F8F7F4; min-height: 400px; }
.ui-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ui-topbar h4 { margin: 0; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ui-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; margin-bottom: 1rem; }
.ui-stat { background: white; border-radius: 12px; padding: 0.85rem; border: 1px solid var(--border); }
.ui-stat .v { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--accent-dark); }
.ui-stat .l { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ui-stat .up { font-size: 0.68rem; color: #059669; font-weight: 600; }
.chart-area { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 1rem; }
.chart-bars { display: flex; align-items: flex-end; gap: 0.45rem; height: 120px; margin-top: 0.75rem; }
.chart-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent) 0%, #8FA8BC 100%); min-height: 20px; }
.chart-bars span.hi { background: linear-gradient(180deg, var(--text) 0%, var(--accent-dark) 100%); }
.chart-line { height: 80px; margin-top: 0.5rem; background: linear-gradient(180deg, transparent 60%, rgba(90,122,148,0.08)); border-bottom: 2px solid var(--accent); position: relative; }
.chart-line::after {
  content: ''; position: absolute; inset: 10% 0 0; background:
    linear-gradient(90deg, transparent, transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60'%3E%3Cpath d='M0 45 Q50 20 100 35 T200 15 T300 40 T400 10' fill='none' stroke='%235A7A94' stroke-width='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.ui-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head { font-size: 0.6rem; text-align: center; color: var(--text-muted); font-weight: 700; }
.cal-cell { aspect-ratio: 1; background: white; border: 1px solid var(--border); border-radius: 8px; font-size: 0.65rem; padding: 3px; position: relative; }
.cal-cell.busy { background: var(--accent-light); border-color: var(--accent); }
.cal-cell.hot { background: var(--text); color: white; border-color: var(--text); }
.cal-dot { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.kds-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.kds-col { background: white; border-radius: 12px; border: 1px solid var(--border); padding: 0.65rem; min-height: 200px; }
.kds-col h5 { margin: 0 0 0.5rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.ticket { background: #F8F7F4; border-left: 3px solid var(--accent); border-radius: 6px; padding: 0.5rem; margin-bottom: 0.4rem; font-size: 0.68rem; }
.ticket.urgent { border-left-color: #F59E0B; background: #FFFBEB; }

.inv-table { width: 100%; border-collapse: collapse; font-size: 0.72rem; }
.inv-table th { text-align: left; padding: 0.5rem; color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.inv-table td { padding: 0.5rem; border-bottom: 1px solid #EEE; }
.inv-table .warn { color: #D97706; font-weight: 700; }
.inv-table .ok { color: #059669; font-weight: 700; }

.punch-ui { text-align: center; padding: 1.5rem; }
.punch-ring {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1rem;
  border: 4px solid var(--accent-light); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent-dark);
  box-shadow: 0 0 0 8px rgba(90,122,148,0.08);
}
.punch-btn { display: inline-block; background: var(--text); color: white; padding: 0.65rem 1.5rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.staff-row { display: flex; justify-content: space-between; padding: 0.45rem 0; font-size: 0.72rem; border-bottom: 1px solid #EEE; }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.menu-item { background: white; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.menu-img { height: 48px; background: linear-gradient(135deg, #E4EAEF, #D4DDE5); }
.menu-item p { margin: 0; padding: 0.4rem 0.5rem; font-size: 0.65rem; font-weight: 600; }
.menu-item span { display: block; padding: 0 0.5rem 0.45rem; font-size: 0.62rem; color: var(--accent-dark); font-weight: 700; }

/* Analytics dark section */
.analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.analytics-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.35rem; backdrop-filter: blur(8px);
}
.analytics-card .metric { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: white; margin-bottom: 0.25rem; }
.analytics-card .label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.analytics-card .spark { height: 36px; margin-top: 0.75rem; opacity: 0.7; }
.analytics-wide {
  grid-column: span 2; margin-top: 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.analytics-bars-dark { display: flex; align-items: flex-end; gap: 0.5rem; height: 140px; margin-top: 1rem; }
.analytics-bars-dark span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #9BB5C9, #5A7A94); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.feature-chip {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.1rem; font-size: 0.88rem; font-weight: 600; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature-chip .ico { font-size: 1.35rem; display: block; margin-bottom: 0.45rem; }

/* Pricing */
.pricing-hero-card {
  max-width: 520px; margin: 0 auto; text-align: center;
  background: var(--bg-elevated); border: 2px solid var(--text);
  border-radius: var(--radius-lg); padding: 3rem 2.5rem;
  box-shadow: var(--shadow-premium); position: relative;
}
.pricing-hero-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.pricing-amount {
  font-family: var(--font-display); font-size: 4.5rem; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1; color: var(--text);
}
.pricing-inc { max-width: 560px; margin: 2.5rem auto 0; text-align: left; }
.pricing-inc ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.pricing-inc li { font-size: 0.9rem; padding: 0.35rem 0; display: flex; gap: 0.5rem; }
.pricing-inc li::before { content: '✓'; color: var(--accent); font-weight: 800; }

/* Steps, FAQ, CTA */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { padding-top: 3rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--text); color: white; font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 0.5rem; }
.step p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.faq-list { max-width: 42rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 0;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--accent); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 0 1.25rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }
.faq-item.open .faq-a { max-height: 320px; }
.cta-band {
  background: linear-gradient(135deg, var(--text) 0%, #3D4A52 50%, var(--accent-dark) 100%);
  color: white; border-radius: var(--radius-lg); padding: 3.5rem 2rem; text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.85rem, 3vw, 2.35rem); margin: 0 0 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0 0 1.75rem; font-size: 1.05rem; }
.cta-band .btn-primary { background: white; color: var(--text); }
.cta-band .btn-primary:hover { background: var(--accent-light); }

/* Inner pages */
.page-hero { padding: calc(var(--nav-height) + 3rem) 0 2.5rem; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.85rem); margin: 0 0 1rem; letter-spacing: -0.03em; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 34rem; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.form-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--bg-warm); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.legal-content { max-width: 42rem; margin: 0 auto; padding-bottom: 4rem; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.legal-content h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.legal-content ul, .legal-content ol { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.88rem;
}
.legal-content th, .legal-content td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-content th { background: var(--bg-warm); color: var(--text); font-weight: 600; }
.legal-meta { font-size: 0.9rem; color: var(--text-muted); }
.legal-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-warm);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.68); padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .logo { color: white; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin: 0 0 1rem; }
.footer-price-pill {
  display: inline-block; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 0.65rem 1rem; font-size: 0.82rem;
}
.footer-price-pill strong { font-family: var(--font-display); font-size: 1.25rem; color: white; margin-right: 0.35rem; }
.footer-price-pill small { display: block; opacity: 0.65; margin-top: 0.15rem; }
.footer-col h4 { color: white; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { color: rgba(255,255,255,0.62); font-size: 0.9rem; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.85rem; }

.footer-social { margin-top: 1.25rem; }
.footer-social-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.55rem;
}
.footer-social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.footer-social-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  color: white;
}

.footer-grid-expanded {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr !important;
}

@media (max-width: 960px) {
  .hero {
    padding: calc(var(--nav-height) + 2.5rem) 0 3.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .hero-visual { min-height: auto; order: -1; }
  .hero-float-card { display: none; }
  .hero-dash { transform: none; max-height: 420px; overflow: hidden; }
  .hero-trust { gap: 1.25rem 1.75rem; }
  .hero-trust div strong { font-size: 1.15rem; }
  .price-hero-card { width: 100%; justify-content: center; }
  .showcase-wrap, .contact-grid, .footer-grid, .steps, .analytics-grid,
  .app-access-grid { grid-template-columns: 1fr; }
  .footer-grid-expanded { grid-template-columns: 1fr 1fr !important; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ui-stats { grid-template-columns: repeat(2, 1fr); }
  .shot-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 0.5rem; }
  .shot-tab { min-width: 140px; flex-shrink: 0; }
  .screen-main { transform: none; }
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; position: relative; z-index: 1; }
  .logo-tagline { display: none; }
  .logo-name { font-size: 1.12rem; }
  .nav-actions { gap: 0.45rem; }
  .lang-picker-btn { padding: 0.38rem 0.55rem; font-size: 0.68rem; }
  .theme-toggle { padding: 0.38rem; }
  .footer-grid-expanded {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .footer-brand {
    text-align: center; padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
  }
  .footer-brand .logo { justify-content: center; }
  .footer-social { align-items: center; }
  .footer-col {
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col:last-of-type { border-bottom: none; }
  .footer-bottom {
    flex-direction: column; gap: 0.75rem; text-align: center;
  }
  .pricing-inc ul { grid-template-columns: 1fr; }
  .analytics-wide { grid-column: span 1; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .kds-cols, .menu-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .hero-lead { font-size: 1rem; }
  .section-title { font-size: clamp(1.65rem, 6vw, 2rem); }
}

/* Learn more links on module banners */
.module-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.25rem;
}
.module-learn-more::after { content: '→'; }
.module-learn-more:hover { text-decoration: underline; }
.module-banner .module-learn-more { color: #8eb4d4; }
.module-banner .module-learn-more:hover { color: #b8d4ec; }

/* Login page */
.page-hero--compact { padding-bottom: 1.5rem; }
.page-hero-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 40rem;
  margin: 0.85rem 0 0;
}
.login-help {
  padding: 2.5rem 0 4rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.login-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.login-help-card {
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.login-help-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.login-help-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.login-help-lead {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 0.45rem;
}
.login-help-detail {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  flex: 1;
}
.login-help-card .module-learn-more {
  margin-top: auto;
  align-self: flex-start;
}
.login-help--animate .login-help-card {
  opacity: 0;
  transform: translateX(-14px);
  animation: loginHelpCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.08s + (var(--help-i, 0) * 0.11s));
}
@keyframes loginHelpCardIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-help--animate .login-help-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .login-help-card:hover {
    transform: none;
  }
}

/* Feature detail pages */
.feature-body { padding: 2.5rem 0 3rem; }
.feature-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}
.feature-prose h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
}
.feature-prose h2:first-child { margin-top: 0; }
.feature-prose p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}
.feature-example {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.feature-bullets {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.feature-bullets li { margin-bottom: 0.45rem; }
.feature-page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.feature-aside-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 5.5rem;
}
.feature-aside-icon { font-size: 1.75rem; display: block; margin-bottom: 0.65rem; }
.feature-aside-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.feature-aside-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.feature-related {
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.feature-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.feature-related-link {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}
.feature-related-link:hover {
  border-color: var(--accent);
  color: var(--text);
}

@media (max-width: 900px) {
  .login-help-grid { grid-template-columns: 1fr; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-aside-card { position: static; }
}
