@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================
   DEBITORCLOUD – Modernes Light-Mode Design
   ============================================= */

/* Inter wird lokal gehostet */
:root {
  --primary: #0f5637;
  --primary-dark: #0a3d27;
  --primary-light: #e6f4ee;
  --secondary: #fa6800;
  --accent: #0d6b43;
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --bg-card: #ffffff;
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.display-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
}
.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-muted { background: var(--bg-muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.navbar-logo img {
  height: 38px;
  width: auto;
  display: block;
}
/* Legacy – not used when real logo is present */
.navbar-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.navbar-logo-text span { color: var(--text-heading); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  background: var(--bg-muted);
  color: var(--primary);
}
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-contact a:hover { color: var(--primary); background: var(--bg-muted); }
.nav-divider { height: 20px; width: 1px; background: var(--border); }

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: var(--text-body);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--bg-muted); color: var(--primary); }

@media (max-width: 1100px) {
  .nav-contact { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(15,86,55,0.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  box-shadow: 0 6px 24px rgba(15,86,55,0.38);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-body);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--bg-muted); color: var(--primary); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #e6f4ee 0%, #ffffff 50%, #fff7f0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(15,86,55,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(250,104,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: grayscale(0);
  opacity: 1;
}
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}
.hero-subtitle {
  font-size: 1.3rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-image-wrap {
  position: relative;
  z-index: 1;
  margin-top: -60px;
  padding: 0 0 64px;
}
.hero-image {
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  display: block;
}
.hero-image:hover { transform: translateY(-4px); }
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-btn {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.play-btn:hover { transform: scale(1.08); background: white; }
.play-btn svg { width: 28px; height: 28px; fill: var(--primary); margin-left: 4px; }

/* Navbar Logo */
.navbar-logo img { display: block; height: 40px; width: auto; }

/* =============================================
   SOCIAL PROOF / LOGOS
   ============================================= */
.logos-section {
  padding: 40px 0;
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}
.logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.logo-item {
  opacity: 0.5;
  transition: var(--transition);
  filter: grayscale(1);
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-item:hover { opacity: 0.9; filter: grayscale(0); }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(26,86,219,0.2);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card-icon.blue { background: #e6f4ee; color: #0f5637; }
.card-icon.green { background: #d1fae5; color: #059669; }
.card-icon.purple { background: #fff3e8; color: #fa6800; }
.card-icon.orange { background: #fff3e8; color: #fa6800; }
.card-icon.indigo { background: #e6f4ee; color: #0f5637; }
.card-icon.teal { background: #d1fae5; color: #059669; }
.card-icon.red { background: #fee2e2; color: #dc2626; }
.card-icon.yellow { background: #fff3e8; color: #fa6800; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-heading); }
.card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* Feature cards with number */
.feature-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

/* =============================================
   HOW IT WORKS – 3 STEPS
   ============================================= */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-number {
  width: 64px; height: 64px;
  background: var(--primary);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(15,86,55,0.3);
}
.step-card img { width: 160px; margin: 0 auto 24px; }
.step-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* Audience Grid responsive */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 800px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* FAQ audience hints responsive */
.faq-audience-hints { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  .faq-audience-hints { grid-template-columns: 1fr; }
}

/* Steuerberater Banner responsive */
@media (max-width: 700px) {
  .stb-banner { grid-template-columns: 1fr !important; }
}

/* Kontakt Zielgruppen responsive */
.kontakt-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
@media (max-width: 560px) {
  .kontakt-audience { grid-template-columns: 1fr; }
}

/* =============================================
   FEATURE SHOWCASE (alternating rows)
   ============================================= */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-media { order: 1; }
.feature-text h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 16px; }
.feature-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.feature-media img {
  width: 100%;
}
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-media { order: 2; }
}

/* =============================================
   PRICING CARDS
   ============================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, #0f5637 0%, #0a3d27 100%);
  color: white;
  box-shadow: 0 12px 40px rgba(15,86,55,0.3);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0ea472, #059669);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.pricing-plan { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.pricing-card:not(.featured) .pricing-plan { color: var(--text-muted); }
.pricing-card.featured .pricing-plan { color: rgba(255,255,255,0.7); }
.pricing-price { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.pricing-price span { font-size: 1.1rem; font-weight: 600; vertical-align: super; line-height: 1; }
.pricing-period { font-size: 0.9rem; margin-top: 4px; margin-bottom: 28px; }
.pricing-card:not(.featured) .pricing-period { color: var(--text-muted); }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.7); }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,0.2); }
.pricing-features { margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pricing-card.featured .pricing-feature { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); }
.pricing-feature:last-child { border-bottom: none; }
.check-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.check-icon.success { color: var(--secondary); }
.check-icon.featured { color: rgba(255,255,255,0.8); }
.x-icon { color: #ef4444; width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.feature-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.pricing-card.featured .feature-meta { color: rgba(255,255,255,0.55); }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
@media (max-width: 640px) { .pricing-grid { max-width: 100%; } }

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(15,86,55,0.3); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-heading);
  background: white;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 0.97rem;
}
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  transition: var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e6f4ee 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: 1.5rem; margin-bottom: 8px; }
.cta-text p { color: var(--text-muted); font-size: 1rem; }

/* =============================================
   SECURITY SECTION
   ============================================= */
.security-badges {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.security-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-body);
  font-weight: 600;
  text-align: center;
  padding: 16px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 96px;
  background: var(--bg-muted);
  transition: var(--transition);
}
.security-badge:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.security-badge .icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* =============================================
   PARTNERS SLIDER
   ============================================= */
.partners-carousel {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: slide 20s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition);
}
.partner-logo:hover { filter: grayscale(0) opacity(1); }

.partner-logo:hover { filter: grayscale(0) opacity(1); }

/* =============================================
   WORKFLOW-DEMO ANIMATION
   ============================================= */
.workflow-demo-section {
  padding: 96px 0;
  background: linear-gradient(160deg, #f0f9f4 0%, #ffffff 50%, #f8f4ef 100%);
  overflow: hidden;
  position: relative;
}
.workflow-demo-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(15,86,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Stage layout */
.wf-stage {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}

/* Column base */
.wf-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  min-height: 480px;
  position: relative;
}
.wf-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.wf-col-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.wf-col-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-heading);
  line-height: 1.3;
}
.wf-col-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Invoice list items */
.wf-invoice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wf-invoice {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.wf-invoice::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.wf-invoice.overdue-1::before { background: #f97316; }
.wf-invoice.overdue-2::before { background: #ef4444; }
.wf-invoice.overdue-3::before { background: #7c3aed; }
.wf-invoice.paid::before { background: #22c55e; }
.wf-invoice.processing {
  background: linear-gradient(90deg, rgba(15,86,55,0.05) 0%, rgba(15,86,55,0.12) 50%, rgba(15,86,55,0.05) 100%);
  background-size: 200% 100%;
  animation: wf-shimmer 1s ease-in-out;
  border-color: var(--primary);
}
@keyframes wf-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.wf-invoice.paid {
  opacity: 0.5;
  background: #f0fdf4;
}
.wf-invoice-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.wf-invoice-info { flex: 1; min-width: 0; }
.wf-invoice-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-invoice-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.wf-invoice-amount {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}
.wf-invoice-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  margin-left: 4px;
}
.badge-overdue-1 { background: #fff7ed; color: #ea580c; }
.badge-overdue-2 { background: #fef2f2; color: #dc2626; }
.badge-overdue-3 { background: #f5f3ff; color: #7c3aed; }
.badge-paid      { background: #f0fdf4; color: #16a34a; }

/* Engine column */
.wf-engine-col {
  background: linear-gradient(160deg, #f0f9f4, #fff);
  border-color: var(--primary);
  border-width: 2px;
  padding: 20px;
  position: relative;
  overflow: visible;
}
.wf-engine-col::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius-xl) + 4px);
  border: 2px solid rgba(15,86,55,0.18);
  animation: wf-engine-ring 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wf-engine-ring {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.015); }
}
.wf-engine-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.wf-engine-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.wf-engine-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  justify-content: center;
}
.wf-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  transition: background 0.4s;
}
.wf-status-dot.active {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  animation: wf-dot-pulse 1.2s ease-in-out infinite;
}
@keyframes wf-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.10); }
}

/* Rules */
.wf-rules { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.wf-rule {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.wf-rule.firing {
  background: var(--primary-light);
  border-color: var(--primary);
}
.wf-rule.firing .wf-rule-icon { background: var(--primary); color: #fff; }
.wf-rule-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}
.wf-rule-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}
.wf-rule-label strong { font-size: 0.72rem; color: var(--text-heading); }
.wf-rule-label span   { font-size: 0.68rem; color: var(--text-muted); }
.wf-rule-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(15,86,55,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  pointer-events: none;
}
.wf-rule.firing .wf-rule-pulse {
  animation: wf-rule-sweep 0.8s ease-in-out;
}
@keyframes wf-rule-sweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* Progress bar */
.wf-progress-wrap {
  background: var(--border);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.wf-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #22c55e);
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* Stats row */
.wf-engine-stat-row {
  display: flex;
  gap: 8px;
}
.wf-engine-stat {
  flex: 1;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  text-align: center;
}
.wf-stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.wf-stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

/* Connector arrows */
.wf-connector-left,
.wf-connector-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 32px;
  pointer-events: none;
  opacity: 0.7;
}
.wf-connector-left  { left: -28px; }
.wf-connector-right { right: -28px; }

/* Result list */
.wf-result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wf-result-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: wf-result-enter 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes wf-result-enter {
  from { opacity: 0; transform: translateX(30px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0)   scale(1); }
}
.wf-result-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.wf-result-type-mail  { background: #eff6ff; }
.wf-result-type-post  { background: #fdf4ff; }
.wf-result-type-paid  { background: #f0fdf4; }
.wf-result-type-task  { background: #fff7ed; }
.wf-result-info { flex: 1; min-width: 0; }
.wf-result-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-result-desc {
  font-size: 0.71rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.wf-result-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Floating particles */
.wf-particle {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  pointer-events: none;
  animation: wf-particle-fly 1.2s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  z-index: 10;
}
@keyframes wf-particle-fly {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); }
}

/* Summary bar */
.wf-summary-bar {
  margin-top: 40px;
  background: var(--text-heading);
  border-radius: var(--radius-xl);
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.wf-summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
}
.wf-summary-item svg { color: #22c55e; flex-shrink: 0; }
.wf-summary-item strong { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .wf-stage {
    grid-template-columns: 1fr;
  }
  .wf-col { min-height: auto; }
  .wf-engine-col { order: -1; }
  .wf-connector-left,
  .wf-connector-right { display: none; }
  .wf-summary-bar { padding: 20px; justify-content: flex-start; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text-heading);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: white; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   VIDEO MODAL
   ============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-content iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}
.modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 9000;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.88rem; color: var(--text-muted); max-width: 600px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  background: linear-gradient(135deg, #e6f4ee 0%, #ffffff 60%, #fff7f0 100%);
  padding: 100px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15,86,55,0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 16px; }
.page-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* =============================================
   CONTACT FORM
   ============================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; color: var(--text-body); }
input, textarea, select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-heading);
  background: white;
  transition: var(--transition);
  font-family: inherit;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
textarea { resize: vertical; min-height: 120px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* =============================================
   CONTACT INFO
   ============================================= */
.contact-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  height: 100%;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.1rem;
}
.contact-item-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.contact-item-value { font-size: 0.97rem; font-weight: 600; color: var(--text-heading); }
.contact-item-value a { color: var(--primary); }

/* =============================================
   FEATURE LIST (checkmarks)
   ============================================= */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.5;
}
.feature-list-check {
  width: 22px; height: 22px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.75rem;
  color: #059669;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   UTILITIES
   ============================================= */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.inline-flex { display: inline-flex; align-items: center; gap: 8px; }

/* Tag/pill */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.tag.green { background: #d1fae5; color: #059669; }

/* Info box */
.info-box {
  background: var(--primary-light);
  border: 1px solid rgba(26,86,219,0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}
.info-box code {
  background: rgba(26,86,219,0.12);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 999;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
