/* FlipBase Marketing Site */

:root {
  --color-bg: #fbfcff;
  --color-bg-alt: #f2f5fc;
  --color-surface: #ffffff;
  --color-border: #e3e7f3;
  --color-text: #10131c;
  --color-text-muted: #565f78;
  --color-text-subtle: #838ca6;
  --color-accent: #3b4cf6;
  --color-accent-dark: #2836c9;
  --color-accent-light: #eef0fe;
  --color-accent-soft: #dde1fd;
  --shadow-sm: 0 1px 2px rgba(16, 19, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 19, 28, 0.06);
  --shadow-lg: 0 24px 60px rgba(37, 47, 140, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: "Caveat", cursive;
  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Stacked radial-gradient wash in the accent color, spanning the full page
   height, instead of flat alternating section color bands. */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 10% 4%, rgba(59, 76, 246, 0.10), transparent 60%),
    radial-gradient(560px 380px at 92% 14%, rgba(59, 76, 246, 0.08), transparent 60%),
    radial-gradient(680px 460px at 6% 40%, rgba(59, 76, 246, 0.07), transparent 60%),
    radial-gradient(620px 420px at 96% 56%, rgba(59, 76, 246, 0.08), transparent 60%),
    radial-gradient(700px 480px at 12% 76%, rgba(59, 76, 246, 0.07), transparent 60%),
    radial-gradient(600px 400px at 90% 92%, rgba(59, 76, 246, 0.09), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(59, 76, 246, 0.06), transparent 60%);
  background-color: var(--color-bg);
}

.accent-script {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--color-accent);
  position: relative;
  padding: 0 0.1em;
}

.accent-script::after {
  content: "";
  position: absolute;
  left: 0.05em;
  right: 0.05em;
  bottom: -0.04em;
  height: 0.09em;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.55;
}

.section-divider {
  width: 44px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.section-head .section-divider {
  margin-left: 0;
  margin-right: 0;
}

.section-head.center .section-divider {
  margin-left: auto;
  margin-right: auto;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  scroll-margin-top: 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent-dark);
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  overflow-wrap: break-word;
}

p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(59, 76, 246, 0.28);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 20px;
  transition: padding 0.3s ease;
}

.site-header .container {
  display: flex;
  justify-content: center;
}

.nav-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, padding 0.3s ease, max-width 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.site-header.scrolled {
  padding-top: 14px;
}

.site-header.scrolled .nav-pill {
  max-width: 1040px;
  margin: 0 auto;
  height: 60px;
  padding: 0 10px 0 22px;
  background: rgba(251, 252, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.site-header.scrolled .main-nav {
  gap: 22px;
}

.site-header.scrolled .main-nav a {
  font-size: 13.5px;
  white-space: nowrap;
}

.site-header.scrolled .header-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--color-accent), #7a86ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 14px rgba(59, 76, 246, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding: 150px 0 60px;
  overflow: hidden;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.pill {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
}

.pill strong {
  color: var(--color-accent-dark);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  margin-bottom: 24px;
}

.hero h1 .accent-script {
  font-size: 1.15em;
}

.hero-sub {
  font-size: 19px;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--color-text-subtle);
}

/* Marketplace funnel */
.funnel {
  margin-top: 72px;
  position: relative;
}

.funnel-logos {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.marketplace-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  animation: float-in 0.8s ease both;
}

.marketplace-logo {
  height: 20px;
  width: auto;
  display: block;
}

.integration-badge .marketplace-logo {
  height: 26px;
}

.funnel-track {
  position: relative;
  height: 90px;
  margin-top: 4px;
  overflow: hidden;
}

.funnel-track svg {
  width: 100%;
  height: 100%;
  display: block;
}

.flow-dot-el {
  position: absolute;
  top: 8px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(59, 76, 246, 0.5);
  opacity: 0;
}

/* Positions sampled along the matching SVG bezier curves (M 90 14 C 180 14, 250 70, 300 86
   and its mirror) so the dots track the guide lines exactly instead of just dropping straight down. */

.flow-dot-left {
  animation: flow-left 2.6s infinite ease-in-out;
}

.flow-dot-mid {
  left: 50%;
  animation: flow-mid 2.6s infinite ease-in-out;
  animation-delay: 0.5s;
}

.flow-dot-right {
  animation: flow-right 2.6s infinite ease-in-out;
  animation-delay: 1s;
}

@keyframes flow-left {
  0%   { left: 15%;    top: 8.1px;  opacity: 0; }
  10%  { opacity: 1; }
  25%  { left: 25.6%;  top: 16.2px; }
  50%  { left: 35%;    top: 35.1px; }
  75%  { left: 43.1%;  top: 56.7px; }
  90%  { opacity: 1; }
  100% { left: 50%;    top: 72.9px; opacity: 0; }
}

@keyframes flow-mid {
  0%   { top: 8.1px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 72.9px; opacity: 0; }
}

@keyframes flow-right {
  0%   { left: 85%;    top: 8.1px;  opacity: 0; }
  10%  { opacity: 1; }
  25%  { left: 74.4%;  top: 16.2px; }
  50%  { left: 65%;    top: 35.1px; }
  75%  { left: 56.9%;  top: 56.7px; }
  90%  { opacity: 1; }
  100% { left: 50%;    top: 72.9px; opacity: 0; }
}

.funnel-target {
  display: flex;
  justify-content: center;
  margin-top: -6px;
}

.funnel-target .logo {
  background: var(--color-text);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
}

.funnel-target .logo .logo-mark {
  background: linear-gradient(135deg, var(--color-accent), #8b95ff);
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature list: free-standing items, no card chrome. Icon sits beside the
   heading; a thin accent line frames only the paragraph, aligned under the
   icon's horizontal center (icon is 32px wide, so a 16px left offset). */
.features {
  padding: 100px 0;
}

.feature-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.feature-item-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon-inline {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.feature-item-head h3 {
  font-size: 18px;
}

.feature-item-body {
  margin-left: 16px;
  padding-left: 20px;
  border-left: 1px solid var(--color-accent-soft);
  margin-top: 10px;
}

.feature-item-body p {
  font-size: 15px;
}

/* Dashboard preview */
.dashboard-section {
  padding: 40px 0 100px;
}

.browser-frame {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.browser-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d7dbe8;
}

.browser-bar .url {
  margin-left: 14px;
  font-size: 12.5px;
  color: var(--color-text-subtle);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}

.dashboard-placeholder {
  aspect-ratio: 16 / 9.4;
  background:
    linear-gradient(135deg, var(--color-bg-alt) 25%, transparent 25%) -12px 0/24px 24px,
    linear-gradient(225deg, var(--color-bg-alt) 25%, transparent 25%) -12px 0/24px 24px,
    var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--color-text-subtle);
  padding: 40px;
  text-align: center;
}

.dashboard-placeholder .ph-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-placeholder strong {
  color: var(--color-text);
  font-size: 15px;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.kpi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.kpi-card .kpi-label {
  font-size: 12.5px;
  color: var(--color-text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.kpi-card .kpi-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kpi-card .kpi-delta {
  font-size: 12.5px;
  color: #1a9c6b;
  font-weight: 600;
  margin-top: 6px;
}

.kpi-card .kpi-delta.neutral {
  color: var(--color-text-subtle);
}

/* Steps */
.steps {
  padding: 100px 0;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(59, 76, 246, 0.3);
}

.step-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 15px;
}

/* Platform breakdown */
.platform-section {
  padding: 100px 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.platform-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.platform-row:last-child {
  border-bottom: none;
}

.platform-tag {
  width: 90px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.platform-logo {
  height: 20px;
  width: auto;
}

.platform-bar-track {
  flex: 1;
  height: 8px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.platform-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-accent), #8b95ff);
  width: 0;
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-row.is-visible .platform-bar-fill {
  width: var(--fill, 50%);
}

.platform-value {
  width: 130px;
  flex-shrink: 0;
  text-align: right;
  font-size: 13.5px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}

.side-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-item-head .feature-icon-inline {
  width: 28px;
  height: 28px;
}

.side-item h4 {
  font-size: 15px;
}

.side-item-body {
  margin-left: 14px;
  padding-left: 18px;
  border-left: 1px solid var(--color-accent-soft);
  margin-top: 8px;
}

.side-item p {
  font-size: 13.5px;
}

/* Integrations */
.integrations {
  padding: 80px 0;
  text-align: center;
}

.integrations .section-head {
  margin-bottom: 40px;
}

.integration-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.integration-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.integration-badge.soon {
  opacity: 0.55;
}

.integration-badge .tag-soon {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: var(--color-accent-light);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* Testimonial-style stat strip */
.stat-strip {
  padding: 70px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-grid .stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent-dark);
  letter-spacing: -0.02em;
}

.stat-grid .stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* CTA */
.cta-section {
  padding: 100px 0 110px;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-accent) 0%, #5a67f8 100%);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 70px rgba(59, 76, 246, 0.35);
}

.cta-box h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-box .hero-ctas .btn-secondary {
  background: #fff;
  color: var(--color-accent-dark);
  border: none;
}

.cta-box .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Footer */
.site-footer {
  background: #10131c;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 32px;
}

.site-footer .logo {
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand p {
  max-width: 280px;
  font-size: 14px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.social-row a {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.65);
}

.social-row a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Product demo animation */
.demo-section {
  padding: 40px 0 100px;
}

.demo-frame {
  max-width: 720px;
  margin: 0 auto;
}

.demo-stage {
  position: relative;
  height: 280px;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.demo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px;
  opacity: 0;
  transform: scale(0.92);
  animation: demo-cycle 9s infinite;
}

.demo-slide-1 { animation-delay: 0s; }
.demo-slide-2 { animation-delay: 3s; }
.demo-slide-3 { animation-delay: 6s; }

@keyframes demo-cycle {
  0%   { opacity: 0; transform: scale(0.9); }
  4%   { opacity: 1; transform: scale(1); }
  30%  { opacity: 1; transform: scale(1); }
  34%  { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.06); }
}

.demo-card-title {
  font-weight: 700;
  font-size: 17px;
}

.demo-field {
  width: 100%;
  max-width: 320px;
  text-align: left;
}

.demo-field span {
  display: block;
  font-size: 12px;
  color: var(--color-text-subtle);
  font-weight: 600;
  margin-bottom: 6px;
}

.demo-input {
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.demo-input.short {
  width: 55%;
}

.demo-choice-row {
  display: flex;
  gap: 10px;
}

.demo-choice {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.demo-choice.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.demo-check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1a9c6b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(26, 156, 107, 0.3);
}

.demo-cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  bottom: 90px;
  right: 130px;
  opacity: 0.6;
}

/* Other projects cross-promo */
.projects-section {
  padding: 90px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.project-card {
  display: block;
  padding-top: 20px;
  border-top: 2px solid var(--color-accent);
  color: inherit;
}

.project-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14.5px;
  margin-bottom: 14px;
}

.project-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-dark);
}

/* About section */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  margin: 16px 0 20px;
}

.about-text p {
  font-size: 15.5px;
  margin-bottom: 16px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.about-signature strong {
  display: block;
  font-size: 14.5px;
}

.about-signature span {
  font-size: 13px;
  color: var(--color-text-subtle);
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

/* Social row */
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.social-row a:hover {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

/* Responsive */
@media (max-width: 960px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    flex-direction: row;
  }
}

@media (max-width: 1140px) {
  .nav-pill {
    padding: 0 6px 0 16px;
  }
  .main-nav {
    position: absolute;
    top: 88px;
    left: 16px;
    right: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn-secondary {
    display: none;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .site-header.scrolled .header-actions .btn-primary {
    display: inline-flex;
    padding: 9px 14px;
    font-size: 13px;
  }
  .funnel-logos {
    gap: 8px;
  }
  .marketplace-badge {
    font-size: 12.5px;
    padding: 8px 14px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 72px 0 40px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .dashboard-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    flex-direction: column;
  }
  .cta-box {
    padding: 48px 24px;
  }
  .about-visual {
    flex-direction: column;
  }
  .demo-stage {
    height: 320px;
  }
}
