/*
Theme Name: BandhuCRM
Theme URI: https://bandhucrm.com
Author: Gotogler Technologies
Author URI: https://gotogler.com
Description: Premium SaaS marketing theme for BandhuCRM — The Sales Operating System for Growing Businesses.
Version: 1.0.0
Text Domain: bandhucrm
*/

:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-light: #EEF2FF;
  --primary-muted: #818CF8;
  --accent: #06B6D4;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0F172A;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }

/* Typography */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }
.section-header-left { text-align: left; margin-bottom: 48px; }
.section-header-left .section-subtitle { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-alt); color: var(--text); border-color: var(--text-muted); }
.btn-ghost { background: transparent; color: var(--primary); padding: 12px 0; }
.btn-ghost:hover { color: var(--primary-dark); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--transition); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(15,23,42,0.07); }
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  width: 190px;
  height: 48px;
  flex-shrink: 0;
}
.site-logo-full { width: 170px; height: auto; max-height: 46px; object-fit: contain; object-position: left center; }
.site-logo-symbol { display: none; width: 34px; height: 38px; object-fit: contain; }
.site-logo:hover { color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--text); background: var(--bg-alt); }
.nav-link svg { width: 14px; height: 14px; opacity: 0.5; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-dropdown a:hover { background: var(--primary-light); color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 18px; font-size: 14px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
}
.mobile-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  border-top: 1px solid var(--border);
}
.mobile-nav.active { display: block; }
.mobile-nav-group { margin-bottom: 24px; }
.mobile-nav-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* Hero */
.hero {
  padding: 80px 0 96px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 540px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-visual { position: relative; }

/* Page Hero */
.page-hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero-content { max-width: 560px; }

/* Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--primary-muted);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  color: var(--text);
}
.industry-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: var(--text); }
.industry-icon { font-size: 24px; }
.industry-card span { font-size: 14px; font-weight: 500; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.pricing-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.pricing-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; min-height: 42px; }
.pricing-price { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn { width: 100%; }

/* Split sections */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-section.reverse .split-content { order: 2; }
.split-section.reverse .split-visual { order: 1; }

/* Problem visual */
.problem-visual { text-align: center; }
.fragmented-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.tool-chip {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.flow-arrow svg { width: 24px; height: 24px; color: var(--primary); }
.unified-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Workflow */
.workflow-horizontal {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 24px 0;
  scrollbar-width: none;
}
.workflow-horizontal::-webkit-scrollbar { display: none; }
.workflow-step {
  flex-shrink: 0;
  text-align: center;
  min-width: 120px;
}
.workflow-step-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}
.workflow-step-label { font-size: 12px; color: var(--text-muted); }
.workflow-connector {
  flex-shrink: 0;
  width: 32px;
  height: 2px;
  background: var(--border);
  position: relative;
}
.workflow-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--border);
}

.workflow-vertical { max-width: 400px; margin: 0 auto; }
.workflow-vertical .workflow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: auto;
  text-align: left;
  margin-bottom: 0;
}
.workflow-vertical .workflow-step-box { flex: 1; margin-bottom: 0; }
.workflow-vertical .workflow-connector {
  width: 2px;
  height: 24px;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Comparison */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comparison-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.comparison-col.highlight {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 40%);
}
.comparison-col h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.comparison-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.comparison-col li:last-child { border-bottom: none; }
.comparison-col .icon-x { color: var(--danger); }
.comparison-col .icon-check { color: var(--success); }

/* Automation */
.automation-list { display: flex; flex-direction: column; gap: 24px; }
.automation-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.automation-trigger {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary);
}
.automation-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.automation-step {
  padding: 8px 14px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.metric-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-section .section-title { color: #fff; margin-bottom: 12px; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.8); margin: 0 auto 32px; }
.cta-section .cta-group { justify-content: center; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); color: var(--text-muted); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li { font-size: 13px; color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--border); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-success {
  padding: 16px 20px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius);
  color: #065F46;
  font-size: 15px;
  margin-bottom: 24px;
}
.form-card {
  max-width: 520px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 22px; margin-bottom: 24px; }
.form-card .btn { width: 100%; }
.check-list { margin-top: 24px; }
.check-list li, .trial-points div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  padding: 8px 0;
}
.check-list svg, .trial-points svg { width: 18px; height: 18px; color: var(--success); flex: 0 0 auto; margin-top: 3px; }
.trial-points { margin-top: 28px; }
.integration-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  text-align: center;
}
.integration-flow span, .integration-flow strong {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
}
.integration-flow strong { color: var(--primary); background: var(--primary-light); border-color: transparent; }
.integration-flow b { color: var(--primary); font-size: 20px; }

/* Feature list */
.features-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-list-item {
  display: flex;
  gap: 16px;
}
.feature-list-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-list-icon svg { width: 20px; height: 20px; }
.feature-list-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.feature-list-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-alt) 100%);
}
.blog-card-body { padding: 24px; }
.blog-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.blog-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.category-pill {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.category-pill:hover, .category-pill.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* Pricing table */
.pricing-table-wrap { overflow-x: auto; margin-top: 48px; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pricing-table th, .pricing-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pricing-table th { font-weight: 600; background: var(--bg-alt); }
.pricing-table td { color: var(--text-secondary); }
.pricing-table .check { color: var(--success); }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 16px 0 0; max-width: 280px; }
.footer-logo { font-size: 20px; font-weight: 700; color: #fff; }
.footer-logo span { color: var(--primary-muted); }
.footer-logo-lockup { display: flex; align-items: center; gap: 12px; }
.footer-logo-symbol { width: 34px; height: 38px; object-fit: contain; }
.footer-logo-copy { display: flex; flex-direction: column; line-height: 1.2; }
.footer-logo-copy strong { color: #fff; font-size: 20px; letter-spacing: -0.02em; }
.footer-logo-copy span { color: rgba(255,255,255,0.78); font-size: 12px; margin-top: 3px; }
.footer-logo-copy small { color: rgba(255,255,255,0.48); font-size: 11px; margin-top: 4px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #fff; }

/* Sticky mobile CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 998;
  gap: 8px;
}
.mobile-sticky-cta .btn { flex: 1; justify-content: center; padding: 12px; font-size: 14px; }

/* Product Mockups */
.mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #FCA5A5; }
.mockup-dot.yellow { background: #FDE68A; }
.mockup-dot.green { background: #86EFAC; }
.mockup-title { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-weight: 500; }
.mockup-body { padding: 0; }

/* Dashboard mockup */
.mock-dashboard { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.mock-sidebar {
  background: var(--bg-dark);
  padding: 20px 0;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}
.mock-sidebar-logo { padding: 0 16px 20px; font-weight: 700; color: #fff; font-size: 14px; }
.mock-sidebar-logo span { color: var(--primary-muted); }
.mock-nav-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
}
.mock-nav-item.active { background: rgba(79,70,229,0.2); color: #fff; border-left: 2px solid var(--primary); }
.mock-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.mock-main { padding: 20px; background: var(--bg-alt); }
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mock-header h2 { font-size: 18px; font-weight: 600; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.mock-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.mock-stat-value { font-size: 22px; font-weight: 700; color: var(--primary); }
.mock-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.mock-stat-value.green { color: var(--success); }
.mock-stat-value.orange { color: var(--warning); }
.mock-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.mock-panel-title { font-size: 12px; font-weight: 600; margin-bottom: 12px; color: var(--text-secondary); }
.mock-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
}
.mock-list-item:last-child { border-bottom: none; }
.mock-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.mock-badge.new { background: #DBEAFE; color: #1D4ED8; }
.mock-badge.hot { background: #FEE2E2; color: #DC2626; }
.mock-badge.won { background: #D1FAE5; color: #059669; }
.mock-badge.pending { background: #FEF3C7; color: #D97706; }
.mock-pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Inbox mockup */
.mock-inbox { display: grid; grid-template-columns: 220px 1fr 200px; min-height: 400px; }
.mock-conv-list { border-right: 1px solid var(--border); background: #fff; }
.mock-conv-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 12px;
}
.mock-conv-item.active { background: var(--primary-light); border-left: 2px solid var(--primary); }
.mock-conv-name { font-weight: 600; margin-bottom: 2px; }
.mock-conv-preview { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-thread { padding: 16px; background: var(--bg-alt); }
.mock-msg {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.mock-msg.in { background: #fff; border: 1px solid var(--border); }
.mock-msg.out { background: var(--primary); color: #fff; margin-left: auto; }
.mock-profile { border-left: 1px solid var(--border); padding: 16px; background: #fff; font-size: 12px; }
.mock-profile h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.mock-profile-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.mock-profile-row strong { color: var(--text); }

/* Pipeline mockup */
.mock-pipeline { display: flex; gap: 12px; padding: 16px; overflow-x: auto; background: var(--bg-alt); min-height: 360px; }
.mock-column { min-width: 160px; flex-shrink: 0; }
.mock-column-header { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; padding: 0 4px; }
.mock-deal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  font-size: 11px;
}
.mock-deal-name { font-weight: 600; margin-bottom: 4px; }
.mock-deal-value { color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.mock-deal-meta { color: var(--text-muted); font-size: 10px; }

/* Chatbot mockup */
.mock-chatbot { max-width: 340px; margin: 0 auto; }
.mock-chat-window { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mock-chat-header { background: var(--primary); color: #fff; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.mock-chat-body { padding: 16px; min-height: 280px; background: var(--bg-alt); }
.mock-chat-btn {
  display: inline-block;
  padding: 8px 14px;
  margin: 4px 4px 4px 0;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

/* Quotation mockup */
.mock-quote { padding: 20px; font-size: 12px; }
.mock-quote-header { display: flex; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.mock-quote-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.mock-quote-table th, .mock-quote-table td { padding: 8px; text-align: left; border-bottom: 1px solid var(--border-light); }
.mock-quote-table th { font-size: 10px; text-transform: uppercase; color: var(--text-muted); }
.mock-quote-total { text-align: right; font-size: 16px; font-weight: 700; color: var(--primary); }
.mock-status-bar { display: flex; gap: 8px; margin-top: 16px; }
.mock-status { padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 600; }
.mock-status.active { background: var(--primary-light); color: var(--primary); }
.mock-status.inactive { background: var(--bg-alt); color: var(--text-muted); }

/* Lead flow mockup */
.mock-flow { padding: 24px; text-align: center; }
.mock-flow-steps { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.mock-flow-step {
  padding: 10px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.mock-flow-arrow { color: var(--text-muted); font-size: 18px; }

/* Capture framework */
.framework-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.framework-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.framework-step { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.framework-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.framework-card p { font-size: 14px; color: var(--text-secondary); }

/* Legal / content pages */
.content-page { max-width: 720px; margin: 0 auto; padding: 48px 24px 96px; }
.content-page h1 { font-size: 36px; font-weight: 700; margin-bottom: 24px; }
.content-page h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.content-page p, .content-page li { font-size: 16px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; }
.content-page ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.counter { font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .page-hero-grid, .split-section { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .mock-dashboard { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-inbox { grid-template-columns: 1fr; }
  .mock-profile { display: none; }
  .features-list { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
  body.menu-open { overflow: hidden; }
  .feature-grid, .industry-grid, .pricing-grid, .blog-grid, .framework-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-content-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .cta-group { flex-direction: column; width: 100%; }
  .cta-group .btn { width: 100%; justify-content: center; }
}

/* Responsive polish: keep every template usable from phones to tablets. */
@media (max-width: 1100px) {
  :root { --max-width: 100%; }
  .header-inner { padding-left: 20px; padding-right: 20px; gap: 12px; }
  .main-nav { gap: 0; }
  .nav-link { padding-left: 9px; padding-right: 9px; font-size: 13px; }
  .header-cta .btn { padding-left: 13px; padding-right: 13px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-grid, .page-hero-grid, .split-section { min-width: 0; }
  .hero-visual { order: initial; }
  .hero-content, .page-hero-content, .split-content, .split-visual { min-width: 0; width: 100%; }
  .mockup { width: 100%; max-width: 100%; }
  .mock-main, .mock-thread, .mock-profile, .mock-conv-list { min-width: 0; }
  .mock-list-item span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .feature-card, .pricing-card, .comparison-col, .form-card { min-width: 0; }
  .form-card { width: 100%; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-grid, .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .hero-title { font-size: clamp(36px, 5vw, 48px); }
  .hero-subtitle { font-size: 17px; }
  .hero-visual { order: initial; }
  .split-section { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; }
  .split-section.reverse .split-content { order: 2; }
  .split-section.reverse .split-visual { order: 1; }
  .mock-dashboard { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-inbox { grid-template-columns: 180px minmax(0, 1fr); }
  .mock-profile { display: none; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-content-grid { grid-template-columns: 1fr; }
  .feature-grid, .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 56px 0; }
  .hero, .page-hero { padding: 40px 0 56px; }
  .hero-grid, .page-hero-grid, .split-section { gap: 30px; }
  .hero-title { font-size: clamp(34px, 10vw, 44px); line-height: 1.08; }
  .section-title { font-size: clamp(27px, 8vw, 36px); }
  .hero-subtitle, .section-subtitle { font-size: 16px; line-height: 1.65; }
  .hero-badge { margin-bottom: 18px; }
  .section-header { margin-bottom: 36px; }
  .section-header-left { margin-bottom: 32px; }
  .cta-group { gap: 10px; }
  .btn, .btn-lg { min-height: 46px; padding: 12px 18px; }
  .link-arrow { min-height: 44px; }

  .mobile-nav { padding: 20px 16px 32px; }
  .site-logo { width: 44px; height: 44px; }
  .site-logo-full { display: none; }
  .site-logo-symbol { display: block; }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; }
  .mobile-nav-group { margin-bottom: 18px; }
  .mobile-nav-cta { margin-top: 22px; }

  .feature-grid, .industry-grid, .pricing-grid, .blog-grid, .framework-grid,
  .features-list, .comparison-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature-card, .pricing-card, .comparison-col { padding: 22px; }
  .framework-card { padding: 24px 18px; }
  .industry-card { padding: 16px; min-height: 64px; }
  .pricing-desc { min-height: 0; }
  .pricing-price { font-size: 32px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .metric-card { padding: 16px 10px; }
  .metric-value { font-size: 23px; }

  .split-section.reverse .split-content,
  .split-section.reverse .split-visual { order: initial; }
  .split-visual { overflow: hidden; }
  .workflow-horizontal { margin-right: -16px; padding-right: 16px; padding-bottom: 14px; }
  .workflow-step { min-width: 104px; }
  .workflow-step-box { padding: 13px 9px; }
  .workflow-connector { width: 22px; }

  .mockup { border-radius: 16px; box-shadow: 0 12px 32px rgba(15,23,42,.12); }
  .mockup-bar { padding: 10px 12px; }
  .mockup-title { max-width: calc(100% - 52px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mock-dashboard { min-height: 0; }
  .mock-main { padding: 14px; }
  .mock-header h2 { font-size: 16px; }
  .mock-stats { gap: 8px; margin-bottom: 12px; }
  .mock-stat { padding: 11px 10px; }
  .mock-stat-value { font-size: 18px; }
  .mock-stat-label { font-size: 10px; }
  .mock-panel { padding: 11px; }
  .mock-list-item { gap: 8px; font-size: 10px; }
  .mock-inbox { display: block; min-height: 0; }
  .mock-conv-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .mock-conv-item { min-width: 142px; padding: 10px; }
  .mock-thread { padding: 12px; min-height: 230px; }
  .mock-msg { max-width: 88%; font-size: 11px; padding: 9px 11px; }
  .mock-pipeline { min-height: 310px; padding: 12px; gap: 8px; }
  .mock-column { min-width: 142px; }
  .mock-deal { padding: 10px; }
  .mock-chatbot { max-width: 100%; }
  .mock-chat-body { min-height: 240px; padding: 12px; }
  .mock-quote { padding: 14px; overflow-x: auto; }
  .mock-quote-table { min-width: 430px; }
  .mock-flow { padding: 16px; }
  .mock-flow-steps { gap: 6px; margin: 14px 0; }
  .mock-flow-step { padding: 8px 10px; font-size: 11px; }

  .form-card { padding: 22px 18px; }
  .integration-flow { padding: 20px 14px; gap: 8px; }
  .integration-flow b { width: 100%; line-height: 1; transform: rotate(90deg); }
  .integration-flow span, .integration-flow strong { width: 100%; }
  .form-input, .form-select, .form-textarea { font-size: 16px; min-height: 48px; }
  .form-textarea { min-height: 120px; }
  .content-page { padding: 36px 16px 72px; }
  .content-page h1 { font-size: clamp(32px, 9vw, 42px); }
  .content-page h2 { font-size: 21px; }
  .content-page p, .content-page li { font-size: 15px; line-height: 1.75; }
  .pricing-table-wrap { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .pricing-table { min-width: 680px; }
  .blog-card-body { padding: 20px; }
  .blog-card h3 { font-size: 17px; }
  .category-pills { margin-bottom: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 12px; }
  .footer-col a { font-size: 13px; }
  .site-footer { padding: 48px 0 28px; }
}

@media (max-width: 380px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) and (min-width: 769px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
  .site-logo { width: 44px; height: 44px; }
  .site-logo-full { display: none; }
  .site-logo-symbol { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
