/* ============================================
   CubicZo — Premium Landing Page Styles
   Light, airy, technology-grade design system
   Palette: Ink Navy | Electric Blue | Violet | Orange | Pink
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  /* Surfaces */
  --bg:            #ffffff;
  --bg-alt:        #f8fafc;
  --card:          #ffffff;
  --card-alt:      #fbfcfe;

  /* Borders & Shadows */
  --border:        #e7eaf0;
  --border-soft:   #edf0f5;
  --shadow-xs:      0 1px 2px rgba(16,24,40,0.04);
  --shadow-sm:      0 2px 8px rgba(16,24,40,0.05);
  --shadow-md:      0 12px 28px -8px rgba(16,24,40,0.10);
  --shadow-lg:      0 28px 60px -16px rgba(16,24,40,0.16);
  --shadow-glow:    0 8px 30px -6px rgba(46,108,246,0.22);

  /* Ink / Text */
  --ink:           #0b1220;
  --ink-soft:      #4a5568;
  --ink-faint:     #8a93a6;

  /* Brand accents — drawn from the CubicZo mark */
  --blue:          #2E6CF6;
  --blue-light:    #5B8DFF;
  --violet:        #7B2FF7;
  --orange:        #FF7A1A;
  --pink:          #E91E8C;

  --radius:        16px;
  --radius-sm:      10px;
  --radius-lg:      22px;
  --transition:     0.25s cubic-bezier(0.4,0,0.2,1);

  --container-w:    1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.container {
  max-width: var(--container-w);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.display-1 { font-size: clamp(2.75rem, 6vw, 4.75rem); font-weight: 700; letter-spacing: -0.03em; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.65rem); font-weight: 700; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  flex-shrink: 0;
}

/* ── Gradient Text ── */
.grad-text {
  background: linear-gradient(115deg, var(--blue) 0%, var(--violet) 55%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout helpers ── */
section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 4rem;
}
.section-header p { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.08rem; }

.section-sep {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Buttons ── */
.btn-primary-cz {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  border: none;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 10px 30px -8px rgba(46,108,246,0.45);
}
.btn-primary-cz:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(46,108,246,0.5); color:#fff; }

.btn-secondary-cz {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.btn-secondary-cz:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(46,108,246,0.05);
  transform: translateY(-2px);
}

.btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(46,108,246,0.07);
  border: 1px solid rgba(46,108,246,0.18);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 1.05rem 0.45rem 0.6rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-ghost-pill:hover { background: rgba(46,108,246,0.12); }

/* ── Navbar ── */
.navbar-cubiczo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition), padding var(--transition);
}

.navbar-cubiczo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a.active-link { color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  width: 40px; height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 78px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 1.5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.85rem;
  border-radius: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn-primary-cz { margin-top: 0.75rem; justify-content: center; }

/* ── Hero ── */
#hero {
  position: relative;
  padding: 9.5rem 0 5.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 85% 8%, rgba(123,47,247,0.07), transparent 60%),
    radial-gradient(ellipse 60% 45% at 8% 95%, rgba(255,122,26,0.06), transparent 60%),
    var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(46,108,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,108,246,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, black 5%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; }

.hero-logo { margin-bottom: 2.25rem; }
.hero-logo img { height: 96px; width: auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(46,108,246,0.07);
  border: 1px solid rgba(46,108,246,0.18);
  color: var(--blue);
  padding: 0.4rem 1.05rem 0.4rem 0.6rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.6); }
}

.hero-title { margin-bottom: 1.6rem; }

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 2.4rem;
  line-height: 1.75;
}

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

.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-stat-label { font-size: 0.82rem; color: var(--ink-faint); }

/* Hero modular flow illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.flow-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-node {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float-node 6s ease-in-out infinite;
}
.flow-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.flow-node:nth-child(odd) { animation-delay: 0s; }
.flow-node:nth-child(even) { animation-delay: 0.3s; }
@keyframes float-node {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.flow-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.flow-node h5 { font-size: 0.98rem; font-weight: 600; color: var(--ink); margin-bottom: 0.15rem; }
.flow-node p { font-size: 0.78rem; color: var(--ink-faint); margin: 0; }
.flow-connector {
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  opacity: 0.4;
  position: relative;
  z-index: 1;
}
.flow-connector::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--violet);
  opacity: 0.7;
}

/* ── Cards ── */
.card-cz {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card-cz::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--orange));
  opacity: 0;
  transition: opacity var(--transition);
}
.card-cz:hover {
  transform: translateY(-4px);
  border-color: rgba(46,108,246,0.25);
  box-shadow: var(--shadow-lg);
}
.card-cz:hover::before { opacity: 1; }

.card-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}
.icon-blue   { background: rgba(46,108,246,0.1);  color: var(--blue); }
.icon-violet { background: rgba(123,47,247,0.1);  color: var(--violet); }
.icon-orange { background: rgba(255,122,26,0.1);  color: var(--orange); }
.icon-pink   { background: rgba(233,30,140,0.1);  color: var(--pink); }

.card-cz h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--ink); }
.card-cz p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; }

/* Product Platform Cards */
.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(46,108,246,0.25); box-shadow: var(--shadow-lg); }

.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }

.product-icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.category-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--bg-alt);
}

.product-card h3 { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin-bottom: 0.55rem; }
.product-card p { font-size: 0.9rem; color: var(--ink-soft); flex-grow: 1; }

.core-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-faint);
}
.core-tag i { color: var(--violet); font-size: 0.85rem; }

/* Feature Grid (Why CubicZo) */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(46,108,246,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.feature-card h5 { font-size: 0.98rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.84rem; color: var(--ink-faint); margin: 0; line-height: 1.55; }

/* White-label section */
.brand-flow-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}
.brand-flow-card .flow-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  position: relative;
  z-index: 2;
}
.brand-flow-card .flow-step.is-brand {
  background: linear-gradient(135deg, rgba(46,108,246,0.06), rgba(123,47,247,0.06));
  border-color: rgba(123,47,247,0.2);
}
.brand-flow-card .flow-step .step-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.brand-flow-card .flow-step strong { font-size: 0.92rem; color: var(--ink); display: block; }
.brand-flow-card .flow-step span.step-label { font-size: 0.72rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.brand-flow-connector {
  width: 2px;
  height: 26px;
  margin: 0 auto;
  background: var(--border);
  position: relative;
}
.brand-flow-connector::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink-faint);
}
.brand-name-tag {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
}

/* Tech Badges */
.tech-showcase {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  box-shadow: var(--shadow-sm);
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.65rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all var(--transition);
}
.tech-badge:hover {
  color: var(--ink);
  border-color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.tech-badge i { font-size: 1.15rem; }

/* Timeline / Vision */
.timeline {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--violet), var(--orange), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-node {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--ink-faint);
  position: relative;
  z-index: 2;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.timeline-node.active {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.timeline-content {
  text-align: center;
  max-width: 260px;
  position: relative;
  z-index: 2;
  background: var(--bg-alt);
  padding: 0 0.5rem;
}
.timeline-content h4 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.timeline-content p { font-size: 0.87rem; color: var(--ink-faint); }

/* Contact */
#contact {
  text-align: center;
}
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(46,108,246,0.05), rgba(123,47,247,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-top: 1.5rem;
  padding: 0.6rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.contact-email:hover { border-bottom-color: var(--blue); color: var(--blue); }
.contact-email i { color: var(--blue); }

/* Footer */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-logo img { height: 64px; }
.footer-tagline { font-size: 0.88rem; color: var(--ink-faint); margin-top: 0.9rem; max-width: 300px; line-height: 1.6; }
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
}
.footer-link {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--blue); }


.footer-copy { font-size: 0.82rem; color: var(--ink-faint); }
.footer-powered { font-size: 0.82rem; color: var(--ink-faint); }
.footer-powered strong { color: var(--ink-soft); font-weight: 600; }

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Legal Pages ── */
.legal-hero {
  padding: 8.5rem 0 3rem;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.legal-hero .eyebrow { justify-content: center; }
.legal-hero h1 { margin-top: 1rem; }
.legal-updated { margin-top: 1rem; font-size: 0.88rem; color: var(--ink-faint); }

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 0 6rem;
}
.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.legal-body ul {
  margin: 0 0 1.1rem 1.3rem;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}
.legal-body li { margin-bottom: 0.4rem; }
.legal-body a { color: var(--blue); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.legal-back:hover { color: var(--blue); }

/* ── Skip Link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Hero Philosophy tagline ── */
.hero-philosophy {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2rem;
}

/* ── Tertiary button ── */
.btn-tertiary-cz {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.4rem;
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
}
.btn-tertiary-cz:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ── Trust Strip ── */
.trust-strip { padding: 2rem 0; }
.trust-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
}
.trust-strip-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-faint);
  white-space: nowrap;
  transition: color var(--transition);
}
.trust-strip-row span i { font-size: 1rem; }
.trust-strip-row span:hover { color: var(--blue); }

/* ── White-label 5-step process ── */
.wl-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 3rem 0 2rem;
  flex-wrap: wrap;
}
.wl-step {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  text-align: center;
  padding: 0 0.75rem;
  position: relative;
}
.wl-step-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.9rem;
  box-shadow: var(--shadow-md);
}
.wl-step-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.wl-step h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.wl-step p { font-size: 0.8rem; color: var(--ink-faint); line-height: 1.5; margin: 0; }

.wl-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 28px;
  color: var(--border);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ── Audience Cards ── */
.audience-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  opacity: 0;
  transition: opacity var(--transition);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(46,108,246,0.22); }
.audience-card:hover::before { opacity: 1; }

.audience-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
}
.audience-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.audience-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.2rem; line-height: 1.65; }
.audience-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: rgba(46,108,246,0.07);
  border: 1px solid rgba(46,108,246,0.15);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

/* ── CTA Section ── */
.cta-section { padding: 6.5rem 0; }
.cta-card {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2040 50%, #0d1830 100%);
  border-radius: 28px;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(46,108,246,0.25), transparent 70%);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(123,47,247,0.2), transparent 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 1.05rem 0.4rem 0.7rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative; z-index: 2;
}
.cta-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.2s ease-in-out infinite;
}
.cta-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  position: relative; z-index: 2;
}
.cta-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  position: relative; z-index: 2;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative; z-index: 2;
  margin-bottom: 1.75rem;
}
.btn-lg-cz { padding: 1rem 2.2rem; font-size: 1rem; }

.btn-ghost-cta {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-ghost-cta:hover { color: #fff; border-bottom-color: #fff; }

.cta-email-hint {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  position: relative; z-index: 2;
  margin: 0;
}
.cta-email-link {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.cta-email-link:hover { color: #fff; }

/* ── Focus visibility ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .nav-links { display: none; }
  .nav-actions .btn-primary-cz.desktop-only { display: none; }
  .hamburger { display: flex; }
  #hero .row { text-align: center; }
  .hero-logo, .hero-sub, .hero-philosophy { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 3.5rem; }
  .wl-steps-row { gap: 1.5rem 0; }
  .wl-step { min-width: 130px; }
  .wl-step-arrow { display: none; }
}

@media (max-width: 767px) {
  section { padding: 4.5rem 0; }
  .display-1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .cta-section { padding: 4rem 0; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions a { justify-content: center; text-align: center; }
  .btn-ghost-cta { text-align: center; }
  .trust-strip-row { gap: 1rem 1.5rem; }
  .wl-steps-row { justify-content: flex-start; }
  .wl-step { min-width: 45%; max-width: 50%; }
}

@media (max-width: 575px) {
  .hero-logo img { height: 72px; }
  .nav-logo img { height: 44px; }
  .wl-step { min-width: 100%; max-width: 100%; }
  .cta-card { padding: 2.5rem 1.5rem; }
}

/* ════════════════════════════════════════════
   DARK MODE — CSS Custom Property Overrides
════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg:            #0d1117;
  --bg-alt:        #161b22;
  --card:          #1c2230;
  --card-alt:      #1a1f2e;
  --border:        #2d3748;
  --border-soft:   #262d3e;
  --shadow-xs:     0 1px 2px rgba(0,0,0,0.4);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 12px 28px -8px rgba(0,0,0,0.5);
  --shadow-lg:     0 28px 60px -16px rgba(0,0,0,0.6);
  --shadow-glow:   0 8px 30px -6px rgba(46,108,246,0.35);
  --ink:           #f0f4f8;
  --ink-soft:      #8fa3be;
  --ink-faint:     #4a5f7a;
  color-scheme: dark;
}

[data-theme="dark"] body { background: var(--bg); }

[data-theme="dark"] .navbar-cubiczo {
  background: rgba(13,17,23,0.88);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .legal-hero,
[data-theme="dark"] .section-alt,
[data-theme="dark"] .trust-strip  { background: var(--bg-alt); }

[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(rgba(46,108,246,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,108,246,0.08) 1px, transparent 1px);
}

[data-theme="dark"] #hero {
  background:
    radial-gradient(ellipse 70% 50% at 85% 8%, rgba(123,47,247,0.12), transparent 60%),
    radial-gradient(ellipse 60% 45% at 8% 95%, rgba(255,122,26,0.09), transparent 60%),
    var(--bg);
}

[data-theme="dark"] .card-cz,
[data-theme="dark"] .product-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .audience-card,
[data-theme="dark"] .brand-flow-card,
[data-theme="dark"] .tech-showcase,
[data-theme="dark"] .contact-form-card {
  background: var(--card);
  border-color: var(--border);
}

[data-theme="dark"] .flow-step { background: var(--bg-alt); border-color: var(--border-soft); }
[data-theme="dark"] .flow-step.is-brand { background: rgba(123,47,247,0.12); }

[data-theme="dark"] .btn-secondary-cz { background: var(--card); border-color: var(--border); }
[data-theme="dark"] .btn-secondary-cz:hover { background: rgba(46,108,246,0.1); }

[data-theme="dark"] .tech-badge { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .tech-badge:hover { background: var(--card); }

[data-theme="dark"] footer { background: var(--bg-alt); border-top-color: var(--border); }

[data-theme="dark"] .compare-wrap { background: var(--card); border-color: var(--border); }
[data-theme="dark"] .compare-table thead th { background: var(--bg-alt); }
[data-theme="dark"] .compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
[data-theme="dark"] .compare-cz-col { background: rgba(46,108,246,0.08) !important; }

[data-theme="dark"] .preview-tabs { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .preview-tab { color: var(--ink-soft); }
[data-theme="dark"] .preview-tab.active { background: var(--card); color: var(--ink); }
[data-theme="dark"] .browser-chrome { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .preview-frame-wrap { border-color: var(--border); box-shadow: var(--shadow-lg); }
[data-theme="dark"] .mock-app { background: #111827; }
[data-theme="dark"] .mock-sidebar { background: #0d1117; border-color: var(--border); }
[data-theme="dark"] .mock-topbar { background: #111827; border-color: var(--border); }
[data-theme="dark"] .mock-stat-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .mock-chart-card,
[data-theme="dark"] .mock-list-card,
[data-theme="dark"] .mock-table-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .mock-table th { background: #0d1117; }
[data-theme="dark"] .mock-table td { border-color: var(--border); color: var(--ink-soft); }
[data-theme="dark"] .mock-pipeline-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .mock-wf-node { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .mock-workflow-canvas { background: #0d1117; }

[data-theme="dark"] .changelog-item { background: var(--card); border-color: var(--border); }
[data-theme="dark"] .changelog-item.current { border-color: var(--blue); background: rgba(46,108,246,0.06); }

[data-theme="dark"] .form-ctrl { background: var(--bg-alt); border-color: var(--border); color: var(--ink); }
[data-theme="dark"] .form-ctrl:focus { background: var(--card); border-color: var(--blue); }
[data-theme="dark"] .form-ctrl::placeholder { color: var(--ink-faint); }
[data-theme="dark"] .form-check span { color: var(--ink-soft); }
[data-theme="dark"] .form-checkbox-grid { background: var(--bg-alt); border-color: var(--border); }

[data-theme="dark"] .wl-step-arrow { color: var(--border); }
[data-theme="dark"] .timeline-content { background: var(--bg-alt); }
[data-theme="dark"] .timeline-node { background: var(--card); border-color: var(--border); }

[data-theme="dark"] #back-to-top { background: var(--card); border-color: var(--border); color: var(--ink-soft); }
[data-theme="dark"] #back-to-top:hover { background: var(--blue); border-color: var(--blue); color:#fff; }

/* Transition for theme switching */
body, .card-cz, .navbar-cubiczo, footer, .form-ctrl, .compare-table, .preview-frame-wrap {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* ── Theme Toggle Button ── */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--blue); border-color: var(--blue); background: rgba(46,108,246,0.07); }

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.3s ease;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* ════════════════════════════════════════════
   PRODUCT PREVIEW SECTION
════════════════════════════════════════════ */
.preview-tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.35rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.preview-tabs::-webkit-scrollbar { display: none; }

.preview-tab {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}
.preview-tab:hover { color: var(--ink); background: rgba(46,108,246,0.05); }
.preview-tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.preview-frame-wrap {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.browser-url {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 340px;
}

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

/* ── Mock App Shell ── */
.mock-app {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 420px;
  background: #f8fafc;
  overflow: hidden;
}
.mock-sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mock-logo-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem 0.8rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 0.4rem;
}
.mock-logo-dot {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  flex-shrink: 0;
}
.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  cursor: default;
}
.mock-nav-item.active {
  background: rgba(46,108,246,0.08);
  color: var(--blue);
  font-weight: 600;
}
.mock-main { display: flex; flex-direction: column; overflow: hidden; }
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.mock-page-title { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.mock-topbar-actions { display: flex; align-items: center; gap: 0.5rem; }
.mock-btn-sm {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
  cursor: default;
}
.mock-btn-primary {
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: default;
}
.mock-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.mock-content { flex: 1; overflow: hidden; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.75rem; }

.mock-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; flex-shrink: 0; }
.mock-stat-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--ac, var(--blue));
}
.mock-stat-label { font-size: 0.65rem; color: var(--ink-faint); margin-bottom: 0.25rem; }
.mock-stat-val { font-size: 1.05rem; font-weight: 700; color: var(--ink); font-family: 'Sora', sans-serif; }
.mock-stat-trend { font-size: 0.6rem; margin-top: 0.15rem; }
.mock-stat-trend.up { color: #22c55e; }
.mock-stat-trend.down { color: #ef4444; }

.mock-row-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 0.65rem; flex: 1; min-height: 0; }

.mock-chart-card, .mock-list-card, .mock-table-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.7rem;
  overflow: hidden;
}
.mock-card-title { font-size: 0.72rem; font-weight: 700; color: var(--ink); margin-bottom: 0.55rem; }

.mock-bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 80px; padding-top: 0.25rem; }
.mock-bar {
  flex: 1;
  height: var(--h, 50%);
  background: var(--c, var(--blue));
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  transition: opacity 0.2s;
}
.mock-bar:hover { opacity: 1; }
.mock-bar span { font-size: 0.45rem; color: var(--ink-faint); margin-top: 2px; white-space: nowrap; }

.mock-line-chart { overflow: hidden; border-radius: 6px; }

.mock-list-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.67rem;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.mock-list-item:last-child { border-bottom: none; }
.mock-list-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-list-item em { color: var(--ink-faint); font-style: normal; white-space: nowrap; }
.mock-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* CRM Pipeline */
.mock-pipeline-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.6rem; flex: 1; min-height: 0; }
.mock-pipeline-col { background: rgba(0,0,0,0.02); border-radius: 8px; padding: 0.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mock-pipeline-header {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--cc, var(--blue));
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-pipeline-header span {
  background: var(--cc, var(--blue));
  color: #fff;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem;
}
.mock-pipeline-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 0.35rem 0.45rem;
  font-size: 0.62rem;
  color: var(--ink-soft);
}

/* Tables inside mocks */
.mock-table { width: 100%; border-collapse: collapse; font-size: 0.65rem; }
.mock-table th { background: var(--bg-alt); color: var(--ink-faint); font-weight: 600; padding: 0.3rem 0.4rem; text-align: left; }
.mock-table td { color: var(--ink-soft); padding: 0.28rem 0.4rem; border-bottom: 1px solid var(--border-soft); }
.mock-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  font-size: 0.58rem;
  font-weight: 700;
}
.mock-badge.blue   { background: rgba(46,108,246,0.1); color: var(--blue); }
.mock-badge.violet { background: rgba(123,47,247,0.1); color: var(--violet); }
.mock-badge.orange { background: rgba(255,122,26,0.1); color: var(--orange); }
.mock-badge.pink   { background: rgba(233,30,140,0.1); color: var(--pink); }

/* Workflow canvas */
.mock-workflow-canvas {
  background: #f8fafc;
  border-radius: 8px;
  height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 0.5rem 0.5rem;
  gap: 0;
  overflow: hidden;
}
.mock-wf-node {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--nc, var(--blue));
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  text-align: center;
  width: 160px;
  position: relative;
  z-index: 2;
}
.mock-wf-node.trigger { --nc: var(--violet); }
.mock-wf-node.condition { --nc: var(--orange); }
.mock-wf-node i { font-size: 0.75rem; color: var(--nc, var(--blue)); display: block; }
.mock-wf-node span { font-size: 0.62rem; font-weight: 700; color: var(--ink); display: block; }
.mock-wf-node small { font-size: 0.55rem; color: var(--ink-faint); display: block; }
.mock-wf-arrow { font-size: 0.75rem; color: var(--ink-faint); line-height: 1.4; text-align: center; }
.mock-wf-branches { display: flex; gap: 1.5rem; align-items: flex-start; }
.mock-wf-branch { display: flex; flex-direction: column; align-items: center; gap: 0; }
.mock-wf-label { font-size: 0.55rem; font-weight: 700; color: var(--ink-faint); }

/* ════════════════════════════════════════════
   COMPARISON TABLE
════════════════════════════════════════════ */
.compare-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.compare-table thead th {
  background: var(--bg-alt);
  padding: 1.1rem 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.compare-table thead .compare-feature-col { text-align: left; }
.compare-table thead .compare-cz-col {
  background: linear-gradient(135deg, rgba(46,108,246,0.08), rgba(123,47,247,0.06));
  color: var(--ink);
  border-bottom-color: var(--blue);
}
.compare-cz-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}
.compare-table tbody td {
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border-soft);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) td { background: rgba(0,0,0,0.015); }
.compare-table .compare-feature-col { text-align: left; font-weight: 500; color: var(--ink); }
.compare-table .compare-cz-col { background: rgba(46,108,246,0.04) !important; }

.chk { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; }
.chk.yes  { background: rgba(34,197,94,0.1);  color: #16a34a; font-size: 1rem; }
.chk.no   { background: rgba(239,68,68,0.08); color: #dc2626; font-size: 1rem; }
.chk.part { background: rgba(234,179,8,0.1);  color: #ca8a04; font-size: 0.72rem; padding: 0 0.5rem; }

/* ════════════════════════════════════════════
   CHANGELOG
════════════════════════════════════════════ */
.changelog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.changelog-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition);
}
.changelog-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.changelog-item.current { border-color: var(--blue); border-left: 4px solid var(--blue); }
.changelog-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.changelog-version {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}
.changelog-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.changelog-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.changelog-list li i { color: var(--blue); font-size: 0.85rem; flex-shrink: 0; }

/* ════════════════════════════════════════════
   CONTACT FORM
════════════════════════════════════════════ */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0; }
.form-group:not(.form-row .form-group) { margin-bottom: 1.1rem; }

.form-lbl { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.req { color: var(--pink); font-weight: 700; }
.optional { font-size: 0.78rem; font-weight: 400; color: var(--ink-faint); }

.form-ctrl {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-ctrl:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,108,246,0.12);
  background: var(--bg);
}
.form-ctrl.invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }
.form-ctrl.valid   { border-color: #22c55e; }

.form-select-ctrl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a93a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 120px; }
.form-char-count { font-size: 0.72rem; color: var(--ink-faint); text-align: right; margin-top: 0.25rem; }

.form-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.form-check span { font-size: 0.83rem; color: var(--ink-soft); }

.form-optin { margin-top: 0.5rem; }
.form-optin span { font-size: 0.85rem; color: var(--ink-soft); }

.form-err { font-size: 0.78rem; color: #dc2626; min-height: 1.1em; display: block; }

.btn-submit-cz { width: 100%; justify-content: center; padding: 0.9rem; font-size: 0.98rem; margin-top: 0.25rem; }
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success-msg {
  text-align: center;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.form-success-msg i { font-size: 2.5rem; color: #22c55e; }
.form-success-msg strong { font-size: 1.2rem; color: var(--ink); }
.form-success-msg p { color: var(--ink-soft); margin: 0; }

.form-error-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #dc2626;
  margin-bottom: 1.25rem;
}
.form-error-banner i { flex-shrink: 0; }

/* Responsive for new components */
@media (max-width: 767px) {
  .changelog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-checkbox-grid { grid-template-columns: repeat(2,1fr); }
  .mock-app { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-stat-row { grid-template-columns: repeat(2,1fr) !important; }
  .mock-row-2 { grid-template-columns: 1fr; }
  .mock-pipeline-row { grid-template-columns: repeat(2,1fr); }
  .preview-frame-wrap { border-radius: 14px; }
}
@media (max-width: 575px) {
  .contact-form-card { padding: 1.75rem 1.25rem; }
  .form-checkbox-grid { grid-template-columns: 1fr 1fr; }
  .changelog-version { font-size: 1.05rem; }
}
@media (min-width: 1400px) {
  .mock-app { height: 460px; }
}
