/* ==========================================================================
   SailySaaS — Enterprise-Grade B2B SaaS Design System
   Inspired by Stripe, Linear, Vercel, Ramp, and Attio design standards.
   ========================================================================== */

:root {
  color-scheme: dark;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Sophisticated Dark Palette */
  --bg-main: #06090e;
  --bg-subtle: #090e17;
  --bg-card: #0d131f;
  --bg-card-hover: #121a2a;
  --bg-card-subtle: rgba(255, 255, 255, 0.025);
  --bg-glass: rgba(6, 9, 14, 0.82);
  --bg-glass-card: rgba(13, 19, 31, 0.72);

  /* Subtle Crisp Micro-Borders */
  --border-dim: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.11);
  --border-bright: rgba(255, 255, 255, 0.2);
  --border-accent: rgba(59, 130, 246, 0.4);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-disabled: #475569;

  /* Brand Colors & Accents */
  --brand-blue: #3b82f6;
  --brand-indigo: #6366f1;
  --brand-cyan: #06b6d4;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-violet: #8b5cf6;
  --brand-rose: #f43f5e;

  /* Refined Gradients */
  --grad-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --grad-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --grad-hero-text: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  --grad-ai-card: linear-gradient(145deg, rgba(6, 182, 212, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, rgba(139, 92, 246, 0.08) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 28px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 50px -10px rgba(59, 130, 246, 0.28);
  --shadow-emerald-glow: 0 0 35px -5px rgba(16, 185, 129, 0.2);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout */
  --max-w: 1220px;
  --header-h: 72px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Variables */
body.light-theme {
  color-scheme: light;
  --bg-main: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-card-subtle: rgba(0, 0, 0, 0.025);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.85);

  --border-dim: rgba(0, 0, 0, 0.07);
  --border-light: rgba(0, 0, 0, 0.13);
  --border-bright: rgba(0, 0, 0, 0.24);
  --border-accent: rgba(59, 130, 246, 0.4);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-disabled: #94a3b8;

  --grad-hero-text: linear-gradient(180deg, #0f172a 40%, #334155 100%);
  --grad-ai-card: linear-gradient(145deg, rgba(6, 182, 212, 0.05) 0%, rgba(59, 130, 246, 0.03) 50%, rgba(139, 92, 246, 0.05) 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 28px -4px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 64px -12px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 45px -8px rgba(59, 130, 246, 0.16);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Subtle Background Grid & Glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 35%, rgba(99, 102, 241, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 15% 65%, rgba(6, 182, 212, 0.05) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  pointer-events: none;
  z-index: 0;
}

body.light-theme::before {
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 85% 35%, rgba(99, 102, 241, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 15% 65%, rgba(6, 182, 212, 0.03) 0%, transparent 45%),
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  font-weight: 650;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* Section Spacing */
.section {
  padding: 110px 0;
  position: relative;
}
.section-sm {
  padding: 64px 0;
}
.section-bordered {
  border-top: 1px solid var(--border-dim);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Typography & Headings */
.section-head {
  max-width: 820px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.eyebrow .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-emerald);
  box-shadow: 0 0 10px var(--brand-emerald);
  animation: pulseGlow 2.2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 14px;
}

p {
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px -4px rgba(59, 130, 246, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -4px rgba(59, 130, 246, 0.65);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card-subtle);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.86rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  height: 60px;
  background: rgba(6, 9, 14, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

body.light-theme .site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  transition: transform 0.2s ease;
}
.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  object-fit: contain;
  background: #000;
  border: 1px solid var(--border-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 999px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Resources Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn {
  color: var(--text-primary);
}
.nav-dropdown-btn svg {
  transition: transform var(--transition-fast);
}
.nav-dropdown.open .nav-dropdown-btn svg {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 300px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 200;
}

.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  transition: background var(--transition-fast);
}
.dropdown-item:hover {
  background: var(--bg-card-hover);
}
.dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
  flex-shrink: 0;
}
.dropdown-content strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text-primary);
}
.dropdown-content span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Nav Actions (Right) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
}
.moon-icon { display: none; }
body.light-theme .sun-icon { display: none; }
body.light-theme .moon-icon { display: block; }

/* Mobile Menu */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  cursor: pointer;
  place-items: center;
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-main);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 90;
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 20px;
}
.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--text-primary);
}
.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: visible;
}

.hero-content {
  max-width: 940px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero-copy {
  max-width: 700px;
  margin: 0 auto 34px;
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--text-muted);
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-badge-item svg {
  color: var(--brand-emerald);
}

/* Hero Interactive Dashboard Visual */
.hero-visual-wrapper {
  margin-top: 60px;
  position: relative;
  max-width: 1140px;
  margin-inline: auto;
  perspective: 1200px;
}

.hero-visual-glow {
  position: absolute;
  inset: -20px 40px -40px 40px;
  background: radial-gradient(ellipse at 50% 30%, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.14) 45%, transparent 75%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.dashboard-mockup {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  text-align: left;
  transform: rotateX(2deg);
  transition: transform var(--transition-smooth);
}
.dashboard-mockup:hover {
  transform: rotateX(0deg);
}

.mockup-topbar {
  height: 42px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
body.light-theme .mockup-topbar {
  background: rgba(0, 0, 0, 0.04);
}
.mockup-dots {
  display: flex;
  gap: 7px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-url {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  padding: 3px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-dim);
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
}

.mockup-sidebar {
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid var(--border-dim);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.light-theme .mockup-sidebar {
  background: #f8fafc;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.mockup-nav-item:hover, .mockup-nav-item.active {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
}
.mockup-nav-item .badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  color: var(--text-muted);
}
.mockup-nav-item.active .badge {
  background: var(--brand-blue);
  color: #fff;
  border-color: transparent;
}

.mockup-main {
  padding: 24px;
  overflow-x: auto;
}

.mockup-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mockup-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.mockup-stat-card {
  padding: 16px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
}
.mockup-stat-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mockup-stat-card strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-top: 4px;
}
.mockup-stat-card .trend {
  font-size: 0.75rem;
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  font-weight: 600;
}

.mockup-pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
}

.mockup-column {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 12px;
}
body.light-theme .mockup-column {
  background: #f1f5f9;
}
.mockup-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mockup-deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}
.mockup-deal-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
}
.mockup-deal-card strong {
  font-size: 0.86rem;
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.mockup-deal-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mockup-deal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 650;
}
.mockup-deal-val {
  color: var(--brand-emerald);
}
.mockup-deal-tag {
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
  font-size: 0.68rem;
}

/* Floating Staggered Badges */
.floating-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  pointer-events: none;
  animation: floatSubtle 4.5s infinite ease-in-out;
}

.floating-badge-1 {
  top: 14%;
  left: -28px;
  animation-delay: 0s;
}
.floating-badge-2 {
  bottom: 20%;
  right: -32px;
  animation-delay: 2.2s;
}
.floating-badge-3 {
  top: 48%;
  right: -38px;
  animation-delay: 1.1s;
}
.floating-badge-4 {
  bottom: 12%;
  left: -32px;
  animation-delay: 3.3s;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.floating-badge-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--brand-emerald); }
.floating-badge-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--brand-violet); }
.floating-badge-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--brand-blue); }
.floating-badge-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--brand-cyan); }

/* ==========================================================================
   Problem ➔ Solution Storytelling Section
   ========================================================================== */
.problem-solution-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.problem-card {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}

.solution-card {
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-emerald-glow);
}

.card-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.card-label-badge.danger { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.card-label-badge.success { background: rgba(16, 185, 129, 0.12); color: var(--brand-emerald); }

.problem-list, .solution-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.problem-item, .solution-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
}
.problem-item svg { color: #ef4444; flex-shrink: 0; margin-top: 3px; }
.solution-item svg { color: var(--brand-emerald); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   AI Hero Section
   ========================================================================== */
.ai-preview-card {
  background: var(--grad-ai-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.ai-profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.ai-contact-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.ai-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.ai-signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  color: var(--brand-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ai-summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ai-action-callout {
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid var(--brand-emerald);
  padding: 12px 16px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--brand-emerald);
  font-weight: 650;
}

/* ==========================================================================
   Product Showcase (Interactive Tabs)
   ========================================================================== */
.showcase-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  max-width: fit-content;
  margin-inline: auto;
}

.showcase-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.showcase-tab-btn:hover {
  color: var(--text-primary);
}
.showcase-tab-btn.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.showcase-display {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.tab-pane {
  display: none;
  animation: fadeInTab 0.3s ease forwards;
}
.tab-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Features Storytelling
   ========================================================================== */
.feature-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-story:last-child {
  margin-bottom: 0;
}
.feature-story.reverse {
  grid-template-columns: 1fr 1.1fr;
}
.feature-story.reverse .feature-story-content {
  order: 2;
}
.feature-story.reverse .feature-story-visual {
  order: 1;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.feature-story-content h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.feature-story-content p {
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}
.feature-bullet svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-story-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.interactive-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
}
.interactive-table th {
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-dim);
  text-align: left;
}
.interactive-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-dim);
  color: var(--text-secondary);
}
.interactive-table tr:last-child td {
  border-bottom: none;
}
.interactive-table tr:hover td {
  background: var(--bg-card-subtle);
  color: var(--text-primary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 650;
}
.status-badge.won { background: rgba(16, 185, 129, 0.12); color: var(--brand-emerald); }
.status-badge.proposal { background: rgba(59, 130, 246, 0.12); color: var(--brand-blue); }
.status-badge.qualified { background: rgba(245, 158, 11, 0.12); color: var(--brand-amber); }
.status-badge.new { background: rgba(139, 92, 246, 0.12); color: var(--brand-violet); }

.pipeline-kanban-card {
  background: var(--bg-card-subtle);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dim);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
}
.pipeline-kanban-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   AI & Automation 8-Step Interactive Flow
   ========================================================================== */
.workflow-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 50px 0 30px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.workflow-track {
  position: absolute;
  top: 26px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}
.workflow-track-fill {
  height: 100%;
  background: var(--grad-accent);
  width: 85%;
  box-shadow: 0 0 12px var(--brand-blue);
}

.workflow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 110px;
  cursor: pointer;
}

.workflow-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-bright);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  margin-bottom: 12px;
}
.workflow-step.active .workflow-node {
  border-color: var(--brand-blue);
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  transform: scale(1.1);
}

.workflow-step-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}
.workflow-step-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.workflow-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 20px;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Integrations & Channels
   ========================================================================== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.integration-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.integration-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.integration-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  color: var(--brand-blue);
  font-weight: 750;
  font-size: 1.1rem;
}
.integration-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald);
}
.integration-card strong {
  font-size: 1.05rem;
  color: var(--text-primary);
}
.integration-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
.pricing-toggle-label.active {
  color: var(--text-primary);
}

.pricing-switch {
  width: 52px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--border-bright);
  padding: 3px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition-fast);
}
.pricing-switch::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  left: 3px;
  top: 3px;
  transition: transform var(--transition-fast);
}
.pricing-switch.yearly {
  background: var(--brand-blue);
}
.pricing-switch.yearly::after {
  transform: translateX(24px);
}

.discount-pill {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-smooth);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--brand-blue);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.07) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-size: 1.35rem;
  font-weight: 750;
  margin-bottom: 6px;
}
.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-dim);
}
.pricing-price {
  font-size: 2.75rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-feature-item svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Security Section
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition-fast);
}
.security-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.security-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-emerald);
  margin-bottom: 16px;
}
.security-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.security-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover, .faq-item.open {
  border-color: var(--border-bright);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  cursor: pointer;
}
.faq-question svg {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 350px;
  padding-bottom: 22px;
}
.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta-box {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.24) 0%, rgba(99, 102, 241, 0.09) 50%, var(--bg-card) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 72px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.final-cta-box h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 16px;
}
.final-cta-box p {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
}
.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 72px 0 36px;
  border-top: 1px solid var(--border-dim);
  background: var(--bg-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.powered-by-signimus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.powered-by-signimus img {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-xs);
  object-fit: contain;
}

/* WhatsApp Floating Support */
.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.whatsapp-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast);
}
.whatsapp-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   Documentation & Blog Shared Styles
   ========================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  padding: 40px 0 80px;
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  max-height: calc(100vh - var(--header-h) - 60px);
  overflow-y: auto;
  padding-right: 14px;
}

.docs-nav-group {
  margin-bottom: 24px;
}
.docs-nav-group h5 {
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.docs-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.docs-nav-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  display: block;
}
.docs-nav-item:hover, .docs-nav-item.active {
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-blue);
  font-weight: 600;
}

.docs-content {
  max-width: 860px;
}
.docs-section {
  padding-bottom: 50px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-dim);
}
.docs-section:last-child {
  border-bottom: none;
}
.docs-section h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.docs-section h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.endpoint-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  margin: 12px 0 16px;
}
.method-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}
.method-badge.post { background: rgba(59, 130, 246, 0.2); color: var(--brand-blue); }
.method-badge.get { background: rgba(16, 185, 129, 0.2); color: var(--brand-emerald); }
.method-badge.patch { background: rgba(245, 158, 11, 0.2); color: var(--brand-amber); }
.method-badge.delete { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.code-block {
  position: relative;
  background: #090d14;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  margin: 16px 0;
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-dim);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.code-copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
}
.code-copy-btn:hover {
  color: var(--text-primary);
}
.code-block pre {
  padding: 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.5;
  color: #e2e8f0;
}

/* Blog Styles */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  align-items: center;
}
.blog-featured-img {
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: grid;
  place-items: center;
  padding: 30px;
  color: #fff;
  border-right: 1px solid var(--border-dim);
}
.blog-featured-body {
  padding: 32px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-cat-tag {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
}
.blog-card-media {
  height: 180px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-dim);
  display: grid;
  place-items: center;
  color: var(--text-muted);
}
.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   Product Story: The Old Way vs The SailySaaS OS
   ========================================================================== */
.old-way-container {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}

.scattered-tools-box {
  background: rgba(239, 68, 68, 0.03);
  border: 1px dashed rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scattered-tools-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scatter-tag {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.scatter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.scatter-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.85;
}
.scatter-item svg {
  color: #f87171;
  flex-shrink: 0;
}

.scatter-friction-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.merge-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
}
.merge-arrow-wrap span {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.unified-os-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.unified-os-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-accent);
}

.unified-os-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.unified-tag {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald);
}

.unified-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.unified-module-item {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.unified-module-item svg {
  color: var(--brand-blue);
  margin-top: 2px;
  flex-shrink: 0;
}
.unified-module-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.unified-module-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Story: SailySaaS Radial OS Architecture
   ========================================================================== */
.radial-os-wrap {
  position: relative;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radial-architecture-canvas {
  width: 100%;
  max-width: 960px;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, rgba(13, 19, 31, 0.6) 70%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.radial-hub-center {
  background: var(--bg-card);
  border: 2px solid var(--brand-blue);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast);
}
.radial-hub-center:hover {
  transform: scale(1.03);
}
.radial-hub-center .brand {
  justify-content: center;
  margin-bottom: 6px;
}
.radial-hub-center p {
  font-size: 0.8rem;
  color: var(--brand-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.radial-satellites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.radial-satellite-node {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}
.radial-satellite-node:hover, .radial-satellite-node.active {
  border-color: var(--brand-blue);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.radial-satellite-node.active {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}
.satellite-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.radial-satellite-node.active .satellite-icon {
  background: var(--brand-cyan);
  color: #06090e;
}
.satellite-text strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-primary);
}
.satellite-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.radial-live-preview {
  margin-top: 32px;
  width: 100%;
  background: rgba(6, 9, 14, 0.8);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.radial-preview-info h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.radial-preview-info p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.radial-preview-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  color: var(--brand-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   Product Story: One Continuous Customer Journey
   ========================================================================== */
.journey-track-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
  position: relative;
}
.journey-track-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan), var(--brand-emerald));
  z-index: 0;
  opacity: 0.4;
}

.journey-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition: all var(--transition-fast);
}
.journey-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
}

.journey-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

.journey-step-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.journey-step-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  flex: 1;
}

.journey-mock-badge {
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Product Story: AI Contact Enrichment (Before / After)
   ========================================================================== */
.enrich-comparison-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 28px;
  align-items: center;
  margin-top: 40px;
}

.enrich-card-raw {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 28px;
  opacity: 0.75;
}
.enrich-card-raw h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.enrich-card-ai {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.enrich-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.enrich-ai-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald);
  font-size: 0.75rem;
  font-weight: 750;
}

.enrich-datapoints-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.enrich-data-item {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
}
.enrich-data-item .label {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}
.enrich-data-item .value {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text-primary);
}

.enrich-action-recommendation {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #e2e8f0;
}
.enrich-action-recommendation strong {
  color: var(--brand-cyan);
}

/* ==========================================================================
   Product Story: Visual Automation Workflow Canvas
   ========================================================================== */
.automation-canvas-wrap {
  background: #080c14;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.automation-canvas-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.canvas-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  gap: 16px;
}

.canvas-node {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.canvas-node:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
}
.canvas-node.trigger {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);
}
.canvas-node-type {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.canvas-node.trigger .canvas-node-type { color: var(--brand-amber); }
.canvas-node.action .canvas-node-type { color: var(--brand-blue); }
.canvas-node strong {
  font-size: 0.88rem;
  color: var(--text-primary);
}
.canvas-node span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.canvas-connector-arrow {
  color: var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Product Story: Persona Explorer ("Who is this for?")
   ========================================================================== */
.persona-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.persona-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.persona-btn:hover, .persona-btn.active {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--brand-blue);
  color: #fff;
}

.persona-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.persona-details h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.persona-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.persona-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.persona-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.persona-benefit-item svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
}

.persona-mock-view {
  background: #06090e;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-inner);
}

/* ==========================================================================
   Product Story: Manager & Team Visibility Console
   ========================================================================== */
.manager-console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.manager-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.manager-card h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.manager-stat {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.manager-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.manager-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
}

/* ==========================================================================
   Product Story: Tasteful Comparison Matrix
   ========================================================================== */
.matrix-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dim);
}
.matrix-table th {
  background: var(--bg-card-subtle);
  font-weight: 750;
  color: var(--text-primary);
}
.matrix-table th.highlight, .matrix-table td.highlight {
  background: rgba(59, 130, 246, 0.06);
  color: var(--brand-blue);
  font-weight: 700;
}
.matrix-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .old-way-container {
    grid-template-columns: 1fr;
  }
  .merge-arrow-wrap {
    transform: rotate(90deg);
    margin: 12px 0;
  }
  .radial-satellites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-track-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .journey-track-grid::before {
    display: none;
  }
  .enrich-comparison-wrap {
    grid-template-columns: 1fr;
  }
  .canvas-flow-row {
    flex-direction: column;
    align-items: stretch;
  }
  .canvas-connector-arrow {
    transform: rotate(90deg);
  }
  .persona-content-box {
    grid-template-columns: 1fr;
  }
  .manager-console-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual-wrapper {
    perspective: none;
  }
  .dashboard-mockup {
    transform: none;
  }
  .problem-solution-wrap {
    grid-template-columns: 1fr;
  }
  .ai-profile-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .feature-story, .feature-story.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-story.reverse .feature-story-content {
    order: 1;
  }
  .feature-story.reverse .feature-story-visual {
    order: 2;
  }
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
  }
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links, .nav-dropdown {
    display: none;
  }
  .mobile-toggle {
    display: grid;
  }
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-pipeline-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-badge {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .mockup-stats-grid {
    grid-template-columns: 1fr;
  }
  .mockup-pipeline-board {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-bubble {
    display: none;
  }
  .workflow-stepper {
    justify-content: flex-start;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
