/* 
================================================================
Publiqo Premium Design System & Stylesheet
Theme: Next-Gen AI Command Center for Content
Inspirations: Vercel, Linear, Stripe
================================================================
*/

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

/* --- CSS Variables --- */
:root {
  /* Colors */
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: #171717;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;
  
  --accent-blue: #4F7CFF;
  --accent-purple: #6E56CF;
  
  --accent-blue-glow: rgba(79, 124, 255, 0.15);
  --accent-purple-glow: rgba(110, 86, 207, 0.15);
  
  /* Fonts */
  --font-heading: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Blur & Radius */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --glass-blur: 16px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

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

section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* --- Background Ambient Glows --- */
.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-blue-glow) 0%, rgba(10, 10, 10, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple-glow) 0%, rgba(10, 10, 10, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent-blue {
  color: var(--accent-blue);
}

.text-accent-purple {
  color: var(--accent-purple);
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.25);
  background: #ECECEC;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--glass-blur));
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* --- Navigation Bar --- */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  transition: var(--transition-smooth);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: var(--bg-primary);
  border-radius: 4px;
  z-index: 1;
}

.logo-icon::before {
  content: 'P';
  color: var(--text-primary);
  z-index: 2;
  font-size: 14px;
  font-weight: 900;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.nav-cta-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu can toggle or be a simple list */
  }
  .nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.hero-tag:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-blue);
  animation: pulse-glow 2s infinite alternate;
}

.hero-title {
  font-size: 4rem;
  max-width: 800px;
  margin: 0 auto 24px auto;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }
}

/* --- Hero Visual (Automated Pipeline flow mockup) --- */
.hero-visual-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.08) 0%, rgba(110, 86, 207, 0.08) 50%, rgba(0,0,0,0) 100%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* Pipeline Flow Canvas / SVG overlay */
.pipeline-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.pipeline-flow-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  align-items: center;
  position: relative;
  z-index: 3;
  gap: 30px;
}

@media (max-width: 900px) {
  .pipeline-flow-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pipeline-svg-overlay {
    display: none; /* Disable flow lines on mobile stacked layout */
  }
}

/* Pipeline Node Card */
.pipeline-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pipeline-node:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.pipeline-node-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

/* Node Contents styling */
.source-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.source-item:last-child {
  margin-bottom: 0;
}

.source-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}

.logo-openai { background: #10a37f; color: #fff; }
.logo-anthropic { background: #cc9966; color: #000; }
.logo-google { background: #4285F4; color: #fff; }

.pipeline-tag {
  background: rgba(79, 124, 255, 0.1);
  border: 1px solid rgba(79, 124, 255, 0.2);
  color: var(--accent-blue);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
}

/* Processing Node */
.process-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.process-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  animation: pulse-glow-purple 1.5s infinite alternate;
}

.process-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Content Generation Node preview card */
.gen-preview {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

.gen-preview-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.gen-preview-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.gen-preview-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  width: 75%;
  border-radius: 3px;
}

/* Social icons in channels card */
.channel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.channel-row:last-child {
  margin-bottom: 0;
}

.channel-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
}

.published-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 163, 127, 0.1);
  border: 1px solid rgba(16, 163, 127, 0.2);
  color: #10a37f;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

.published-dot {
  width: 6px;
  height: 6px;
  background-color: #10a37f;
  border-radius: 50%;
}

/* Connective Flow Lines SVG Styling */
.flow-line {
  fill: none;
  stroke: url(#flow-gradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 4;
  animation: flow-dash 15s linear infinite;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -100;
  }
}

/* --- Trust Section --- */
.trust-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  text-align: center;
}

.trust-statement {
  font-size: 0.95rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 700;
}

.trust-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.trust-chip {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.trust-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.02);
}

/* --- How It Works Section --- */
.how-it-works {
  text-align: center;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 64px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Step Card */
.step-card {
  text-align: left;
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
  z-index: 2;
}

.step-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(110, 86, 207, 0.08);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-purple);
  margin-bottom: 24px;
  background: rgba(110, 86, 207, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2.2rem;
  }
}

/* --- Features Section (Bento Grid) --- */
.features-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(17, 17, 17, 0.6) 50%, var(--bg-primary) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 24px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Feature Bento Card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  height: 100%;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.02) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}

.feature-icon-container {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-container {
  border-color: var(--accent-blue);
  background: rgba(79, 124, 255, 0.08);
  color: var(--accent-blue);
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Vertical Layout (Image top, text bottom) */
.feature-card.layout-vertical {
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 24px 0;
}

.feature-card.layout-vertical .feature-image-container {
  width: 100%;
  height: 130px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.feature-card.layout-vertical .feature-text-content {
  padding: 0 24px;
  margin-top: 16px;
}

.feature-card.layout-vertical .feature-icon-container {
  position: absolute;
  top: 16px;
  left: 24px;
  z-index: 10;
  background: rgba(23, 23, 23, 0.8);
  backdrop-filter: blur(8px);
}

/* Horizontal Layout (Text left, image right/bottom bleed) */
.feature-card.layout-horizontal {
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 0 24px;
}

.feature-card.layout-horizontal .feature-text-content {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 24px;
}

.feature-card.layout-horizontal .feature-image-container {
  flex: 0.9;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) 0 0 0;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  margin-top: 16px;
}

/* Bento Grid Spans configuration for premium look */
.feature-large {
  grid-column: span 2;
  grid-row: span 2;
  padding: 32px 0 0 32px !important;
  gap: 32px !important;
}

.feature-large .feature-text-content {
  padding-bottom: 32px !important;
}

.feature-large .feature-image-container {
  flex: 1.1 !important;
  border-radius: var(--radius-lg) 0 0 0 !important;
  margin-top: 24px !important;
}

.feature-tall {
  grid-row: span 2;
}

.feature-tall.layout-vertical .feature-image-container {
  height: 290px;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-smooth);
  display: block;
}

.feature-card:hover .feature-img {
  transform: scale(1.03);
  opacity: 1;
}

/* Custom Interactive Mockups inside Cards */
.custom-multi-platform-mockup {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.mockup-line-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mockup-svg-lines {
  width: 100%;
  height: 100%;
}

.center-send-node {
  position: absolute;
  left: 18%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(79, 124, 255, 0.15);
  border: 1px solid var(--accent-blue);
  box-shadow: 0 0 15px rgba(79, 124, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 2;
}

.social-nodes-column {
  position: absolute;
  right: 18%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.social-node {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.social-node.node-ig { border-color: rgba(225, 48, 108, 0.3); color: #e1306c; }
.social-node.node-in { border-color: rgba(10, 102, 194, 0.3); color: #0a66c2; }
.social-node.node-x { border-color: rgba(255, 255, 255, 0.15); color: #fff; }
.social-node.node-fb { border-color: rgba(24, 119, 242, 0.3); color: #1877f2; }

/* Team Workspace mockup */
.custom-team-mockup {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #111;
}

.team-mockup-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.team-member-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.member-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.member-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.member-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.member-role {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

.member-role.admin { background: rgba(79, 124, 255, 0.1); color: var(--accent-blue); }
.member-role.editor { background: rgba(110, 86, 207, 0.1); color: var(--accent-purple); }
.member-role.viewer { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }
  .feature-large {
    grid-column: span 2;
    grid-row: span 2;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 24px 0 0 24px !important;
  }
  .feature-large .feature-image-container {
    height: 220px;
    width: 100%;
    margin-top: 16px !important;
  }
  .feature-tall {
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .feature-large {
    grid-column: span 1;
    grid-row: span 1;
    padding-right: 24px !important;
  }
  .feature-large .feature-image-container {
    height: 180px;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
  }
  .feature-tall {
    grid-row: span 1;
    padding-bottom: 24px;
  }
  .feature-tall .feature-image-container {
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--border);
    height: 180px;
  }
  .feature-card.layout-horizontal {
    flex-direction: column;
    padding: 24px 24px 24px 24px;
  }
  .feature-card.layout-horizontal .feature-image-container {
    height: 140px;
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--border);
    margin-top: 16px;
  }
}

/* --- Product Preview Section (Tabs & Live Interactive Mockups) --- */
.product-preview {
  text-align: center;
}

.preview-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: var(--radius-md);
  max-width: fit-content;
  margin: 0 auto 48px auto;
}

.preview-tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.preview-tab-btn:hover {
  color: var(--text-primary);
}

.preview-tab-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

/* Preview Display Frame */
.preview-display-window {
  width: 100%;
  max-width: 1000px;
  height: 520px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Browser Chrome Header */
.window-header {
  height: 44px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  background: var(--bg-card);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.window-url-bar {
  flex-grow: 1;
  max-width: 400px;
  height: 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
}

/* Tab Panels */
.preview-panel {
  flex-grow: 1;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 24px;
  overflow: auto;
  position: relative;
}

.preview-panel.active {
  display: block;
  opacity: 1;
  animation: fade-in-panel 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-panel {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mockup Layouts inside Panels */
.mockup-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  height: 100%;
}

.mockup-sidebar {
  border-right: 1px solid var(--border);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.01);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid transparent;
  cursor: pointer;
}

.mockup-sidebar-item.active {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text-primary);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Visual elements inside mockups */
.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mockup-pipeline-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed var(--border);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.mockup-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  height: 100%;
}

.calendar-day {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 80px;
  padding: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calendar-day-active {
  background: rgba(79, 124, 255, 0.03);
  border-color: rgba(79, 124, 255, 0.2);
}

.calendar-event {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  color: var(--text-primary);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-carousel-canvas {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #180B35 0%, #0A0A0A 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 0 auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mockup-carousel-watermark {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
  text-transform: uppercase;
}

.mockup-carousel-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #bbb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mockup-chart-container {
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-top: 20px;
}

.mockup-chart-bar {
  flex-grow: 1;
  background: linear-gradient(0deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  border-radius: 4px 4px 0 0;
  transition: var(--transition-smooth);
}

.mockup-chart-bar:hover {
  filter: brightness(1.2);
}

@media (max-width: 768px) {
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 20px;
    flex-direction: row;
    overflow-x: auto;
  }
  .preview-display-window {
    height: auto;
  }
}

/* --- Vision Section --- */
.vision-section {
  text-align: center;
  padding: 120px 0;
}

.vision-title {
  font-size: 3.5rem;
  max-width: 900px;
  margin: 0 auto 32px auto;
  line-height: 1.1;
}

.vision-body {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.vision-body p {
  margin-bottom: 24px;
}

.vision-body strong {
  color: var(--text-primary);
}

/* --- Waitlist Section --- */
.waitlist-section {
  text-align: center;
  background: radial-gradient(ellipse at bottom, rgba(110, 86, 207, 0.08) 0%, rgba(10, 10, 10, 0) 60%);
}

.waitlist-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.waitlist-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.waitlist-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(79, 124, 255, 0.02);
  box-shadow: 0 0 12px rgba(79, 124, 255, 0.1);
}

.waitlist-submit-btn {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  color: var(--text-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(110, 86, 207, 0.3);
}

.waitlist-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(110, 86, 207, 0.5);
  filter: brightness(1.1);
}

.waitlist-submit-btn:active {
  transform: translateY(0);
}

.form-message {
  font-size: 0.9rem;
  margin-top: 10px;
  display: none;
  text-align: center;
}

.form-message.success {
  display: block;
  color: #10a37f;
}

.form-message.error {
  display: block;
  color: #ef4444;
}

@media (max-width: 600px) {
  .waitlist-card {
    padding: 32px 20px;
  }
  .waitlist-title {
    font-size: 2rem;
  }
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px 0;
  background: var(--bg-primary);
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 280px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- Micro-Animations & Glow Effects --- */
@keyframes pulse-glow {
  from {
    box-shadow: 0 0 4px var(--accent-blue);
  }
  to {
    box-shadow: 0 0 12px var(--accent-blue);
  }
}

@keyframes pulse-glow-purple {
  from {
    box-shadow: 0 0 4px var(--accent-purple);
  }
  to {
    box-shadow: 0 0 12px var(--accent-purple);
  }
}

/* Fade-in transitions for IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Code/Text Mockup Graphics */

/* Research Engine Mockup */
.mockup-research-graphic {
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #111;
}

.mockup-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--accent-blue);
}

.insight-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.feed-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

.feed-badge.feed-web { background: rgba(79, 124, 255, 0.1); color: var(--accent-blue); }
.feed-badge.feed-news { background: rgba(110, 86, 207, 0.1); color: var(--accent-purple); }
.feed-badge.feed-api { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }

.feed-title {
  font-size: 0.75rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Brand Profile Mockup */
.mockup-brand-graphic {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111;
}

.brand-swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
}

.brand-traits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trait-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.trait-row span {
  color: var(--text-muted);
}

.trait-row strong {
  color: var(--text-primary);
}

/* Pipelines Mockup */
.mockup-pipelines-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: #111;
}

.pipeline-capsule {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pipeline-capsule.active {
  background: rgba(79, 124, 255, 0.1);
  border-color: var(--accent-blue);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(79, 124, 255, 0.2);
}

.pipeline-arrow {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Carousel Preview Mockup */
.mockup-carousel-graphic {
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111;
}

.carousel-preview-card {
  background: linear-gradient(135deg, #180B35 0%, #0A0A0A 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
}

.carousel-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.carousel-card-meta {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.carousel-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.carousel-dots .dot.active {
  background: var(--accent-blue);
  box-shadow: 0 0 5px var(--accent-blue);
}

/* Approval Flow Mockup */
.mockup-approval-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: #111;
}

.approval-step {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.approval-step.approved {
  background: rgba(16, 163, 127, 0.1);
  border-color: rgba(16, 163, 127, 0.3);
  color: #10a37f;
}

.approval-line {
  width: 16px;
  height: 1px;
  background: var(--border);
}

/* Analytics Graph Mockup */
.mockup-analytics-graphic {
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111;
}

.analytics-stat {
  display: flex;
  flex-direction: column;
}

.analytics-stat .stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.analytics-stat .stat-label {
  font-size: 0.75rem;
  color: #10a37f;
  font-weight: 600;
  margin-top: 4px;
}

.mini-chart {
  height: 44px;
  width: 100%;
  margin-top: 10px;
}

.sparkline {
  width: 100%;
  height: 100%;
}
