/* ── THE SUPER LAYOUT SYSTEM (6-Cell Matrix) ── */
.super-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.super-grid {
  display: grid;
  grid-template-columns: 450px 1fr 450px;
  grid-template-rows: auto auto auto;
  gap: 0;
}

/* Base cell styling */
.super-cell {
  background: #111; /* removed shine */
  position: relative;
  z-index: 1;
}

/* To prevent 1px rendering gaps between solid cells */
.super-cell.top-row, .super-cell.mid-left {
  margin-bottom: -1px;
}
.super-cell.bot-left {
  margin-right: -1px;
}

/* ── ROW 1 (FULL WIDTH) ── */
.top-row {
  grid-column: 1 / span 3;
  grid-row: 1;
  border-radius: 40px 40px 40px 0; /* Fully rounded on outer edges, flat on bottom-left */
  padding: 60px 60px 30px 60px;
  display: flex;
  flex-direction: column;
}
.top-row .main-intro {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
}
.top-row .main-intro .tagline {
  justify-content: center;
}


.mid-left {
  grid-column: 1 / span 2; grid-row: 2;
  padding: 30px 60px 60px 60px;
  border-radius: 0 0 0 40px; /* Bottom-left rounded, Bottom-right sharp to connect to bridge */
}

.mid-right.hollow-cell {
  grid-column: 3; grid-row: 2;
  background: transparent; /* The black hollow */
  padding: 30px 0 60px 40px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  z-index: 2; 
  position: relative;
}

/* ── ROW 3 ── */
.bot-left.hollow-cell {
  grid-column: 1; grid-row: 3;
  background: transparent;
  padding: 60px 40px 60px 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
}

.bot-right {
  grid-column: 2 / span 2; grid-row: 3;
  background: #111; /* removed shine */
  border-radius: 0 40px 40px 40px; /* Top-left sharp to connect to mid-left */
  padding: 60px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Important for ticker */
}

/* ── THE MAGIC INVERTED CORNERS ── */
.inverted-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  background: transparent;
  pointer-events: none;
  z-index: 3;
}

/* Connects Top-Right to Mid-Left */
.corner-top-left {
  top: 0;
  left: 0;
  background-image: radial-gradient(circle at bottom right, transparent 60px, #111 60.5px);
}

/* Connects Bot-Right to Mid-Left (Top Side of Bridge) */
.corner-bottom-left {
  bottom: 0;
  left: 0;
  background-image: radial-gradient(circle at top right, transparent 60px, #111 60.5px);
}

/* Connects Mid-Left to Bot-Right (Bottom Side of Bridge) */
.corner-top-right {
  top: 0;
  right: 0;
  background-image: radial-gradient(circle at bottom left, transparent 60px, #111 60.5px);
}

/* Connects Top-Left to solid below on the right side */
.corner-bottom-right {
  bottom: 0;
  right: 0;
  background-image: radial-gradient(circle at top left, transparent 60px, #111 60.5px);
}

/* ── Sidebar Widgets ── */
.side-widget {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.widget-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.integration-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.integration-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}

.shield-widget {
  margin-top: auto;
  background: linear-gradient(180deg, rgba(230,42,16,0.1) 0%, rgba(230,42,16,0) 100%);
  border: 1px solid rgba(230,42,16,0.2);
}

.shield-logo {
  width: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(230,42,16,0.5));
}

.shield-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

/* ── Testimonials Styling ── */
.testi-header {
  margin-bottom: 60px;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #F94D35, #E62A10);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 24px;
}

.testi-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}

/* ── Testimonials Ticker ── */
.testi-header {
  margin-bottom: 40px;
}

.testi-ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0; /* Add padding so hover drop-shadows aren't clipped */
  margin: -40px 0;
  /* Fading edges */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testi-ticker {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); } /* Scroll half the width since we duplicate the list */
}

.testi-card {
  width: 270px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--primary);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.testi-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(249, 77, 53, 0.15);
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testi-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  color: var(--primary);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 15px;
  font-size: 120px;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.02);
  font-weight: 700;
  line-height: 1;
  z-index: 0;
}

.testi-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 24px;
  position: relative;
  z-index: 3;
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 3;
}

.author span {
  width: 40px;
  height: 40px;
  background: rgba(249, 77, 53, 0.1);
  border: 1px solid rgba(249, 77, 53, 0.3);
  color: #F94D35;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(249, 77, 53, 0.2);
}

/* ── HUB GRAPH ANIMATION (100% Width) ── */
.hub-graph {
  width: 100%;
  height: 500px;
  position: relative;
  margin-top: 40px;
}

.hub-lines {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hub-center {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-logo-box {
  width: 140px;
  height: 140px;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(249, 77, 53, 0.3), inset 0 0 20px rgba(249, 77, 53, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.hub-img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(249, 77, 53, 0.5));
}


.hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 180px;
}

.hub-node:hover {
  border-color: rgba(249, 77, 53, 0.4);
}

.h-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249, 77, 53, 0.1);
  color: #F94D35;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.h-icon svg {
  width: 24px;
  height: 24px;
}

.h-text {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}


/* ── Responsive Super Grid ── */
@media (max-width: 1024px) {
  .super-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 32px;
    background: transparent;
    position: relative;
  }
  
  .super-cell {
    width: auto;
    margin: 0 !important;
    grid-column: 1 !important;
  }
  
  .super-cell.hollow-cell {
    display: none !important;
  }
  
  .top-row {
    grid-row: 1;
    margin-right: 24px !important;
    border-radius: 32px 32px 32px 0 !important;
    padding: 40px 24px !important;
  }
  
  .mid-left {
    grid-row: 2;
    margin-left: 24px !important;
    border-radius: 0 32px 0 32px !important;
    padding: 40px 24px !important;
  }
  
  .bot-right {
    grid-row: 3;
    margin-right: 24px !important;
    border-radius: 0 32px 32px 32px !important;
    padding: 40px 24px !important;
  }
  
  /* Vertical S-curve connection top -> mid */
  .mid-left::before {
    content: "";
    position: absolute;
    top: -32px;
    left: -24px;
    width: 24px;
    height: 32px;
    background: transparent;
    background-image: radial-gradient(circle at bottom right, transparent 24px, #111 24.5px);
    pointer-events: none;
    z-index: 10;
  }
  
  /* Vertical S-curve connection mid -> bot */
  .bot-right::before {
    content: "";
    position: absolute;
    top: -32px;
    right: -24px;
    width: 24px;
    height: 32px;
    background: transparent;
    background-image: radial-gradient(circle at bottom left, transparent 24px, #111 24.5px);
    pointer-events: none;
    z-index: 10;
  }
  
  .p-node { width: 100%; }
  .pipeline-nodes { flex-direction: column; }
  .pipeline-beam { height: 100%; width: 4px; left: 50%; top: 0; transform: translateX(-50%); }
  .pipeline-beam::after { animation: beam-shoot-v 3s infinite linear; width: 100%; height: 200px; left: 0; }

  .testi-grid {
    grid-template-columns: 1fr;
  }
  
  /* Testimonial ticker responsive */
  .testi-ticker-wrap {
    padding: 20px 0;
    margin: -20px 0;
  }
  .testi-card {
    width: 240px;
    padding: 16px;
  }
}

@keyframes beam-shoot-v {
  0% { top: -200px; }
  100% { top: 100%; }
}

/* ── Unified Blog Visuals ── */
.blog-visual {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-icon-box {
  width: 90px;
  height: 90px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(249, 77, 53, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.blog-icon-box svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  filter: drop-shadow(0 0 10px rgba(249, 77, 53, 0.4));
}

.blog-bg-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(249, 77, 53, 0.15);
  border-radius: 50%;
  filter: blur(35px);
  z-index: 1;
}

.blog-float-badge {
  position: absolute;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  z-index: 3;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

.blog-float-badge span {
  color: var(--primary);
}

.blog-float-1 { top: 25%; right: 10%; transform: rotate(6deg); }
.blog-float-2 { bottom: 25%; left: 10%; transform: rotate(-6deg); }

/* --- BOT S-CURVE INTERLOCK --- */
.bot-s-wrapper {
  grid-column: 1 / span 3;
  grid-row: 2;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.bot-s-scraper {
  grid-column: 1 / span 9;
  grid-row: 1;
  background: #111;
  border-radius: 0 0 0 40px; /* Sharp on the right side to connect to curves */
  padding: 60px;
  position: relative;
  z-index: 1;
}

/* NEW INVERTED BORDER CARDS */
.bot-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.inv-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px; /* Fully rounded premium card */
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Add a subtle inner glow effect to the cards */
.inv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0.5;
}

.inv-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.inv-card.full-span {
  grid-column: 1 / span 2;
}

.inv-corner {
  display: none; /* Hide the ugly cut-out completely */
}

.m-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.m-icon {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.outreach-icon {
  background: rgba(230, 42, 16, 0.2) !important;
  color: var(--primary) !important;
}
.m-number {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
}
.m-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.m-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.bot-s-outreach {
  grid-column: 4 / span 9;
  grid-row: 2;
  background: #111;
  border-radius: 0 40px 40px 40px; /* Sharp top-left to connect to curve */
  padding: 60px;
  position: relative;
  z-index: 1;
  margin-top: -1px; /* Closes sub-pixel gap */
}

/* Inverted Corner Top (Connects top row right to bot-s-scraper top) */
.bot-corner-top {
  position: absolute;
  right: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(circle at bottom right, transparent 40px, #111 40px);
  z-index: 3;
  pointer-events: none;
}

/* Inverted Corner Right (Connects top row right edge to bottom row top edge) */
.bot-corner-right {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(circle at top right, transparent 40px, #111 40px);
  z-index: 3;
  pointer-events: none;
}

/* Inverted Corner Left (Connects top row bottom edge to bottom row left edge) */
.bot-corner-left {
  position: absolute;
  left: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(circle at bottom left, transparent 40px, #111 40px);
  z-index: 3;
  pointer-events: none;
}

/* Micro-Cards Grid */
.micro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.micro-card {
  background: #080808;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.micro-card:hover {
  background: #151515;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.micro-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.outreach-card {
  border-color: rgba(230, 42, 16, 0.2);
  background: rgba(230, 42, 16, 0.02);
}
.outreach-card:hover {
  background: rgba(230, 42, 16, 0.05);
  border-color: rgba(230, 42, 16, 0.4);
}
.outreach-icon {
  background: rgba(230, 42, 16, 0.1);
  border-color: rgba(230, 42, 16, 0.2);
  color: #fff;
}


/* --- BOT MACRO CARDS --- */
.macro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.macro-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 15px 35px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.macro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(230, 42, 16, 0.12), transparent 40%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 0;
}

.macro-card:hover {
  background: #111;
  border-color: rgba(230, 42, 16, 0.28); /* Rote Highlightkante */
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 25px 50px rgba(0,0,0,0.6), 0 0 30px rgba(230, 42, 16, 0.08);
}

.macro-card:hover::before {
  opacity: 1;
}

.macro-card.full-width {
  grid-column: 1 / span 2;
}

.m-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.m-number {
  font-family: monospace;
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
}

.m-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 10px rgba(0,0,0,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.4s ease;
}

.macro-card:hover .m-icon {
  background: linear-gradient(135deg, rgba(230, 42, 16, 0.15) 0%, rgba(230, 42, 16, 0.02) 100%);
  border-color: rgba(230, 42, 16, 0.25);
  box-shadow: inset 0 1px 0 rgba(230, 42, 16, 0.4), 0 8px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
  color: var(--primary);
}

.m-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.m-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.bot-s-outreach {
  grid-column: 4 / span 9;
  grid-row: 2;
  background: #111;
  border-radius: 0 40px 40px 40px; /* Sharp top-left to connect to curve */
  padding: 60px;
  position: relative;
  z-index: 1;
  margin-top: -1px; /* Closes sub-pixel gap */
}

/* Inverted Corner Top (Connects top row right to bot-s-scraper top) */
.bot-corner-top {
  position: absolute;
  right: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(circle at bottom right, transparent 40px, #111 40px);
  z-index: 3;
  pointer-events: none;
}

/* Inverted Corner Right (Connects top row right edge to bottom row top edge) */
.bot-corner-right {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(circle at top right, transparent 40px, #111 40px);
  z-index: 3;
  pointer-events: none;
}

/* Inverted Corner Left (Connects top row bottom edge to bottom row left edge) */
.bot-corner-left {
  position: absolute;
  left: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  background-image: radial-gradient(circle at bottom left, transparent 40px, #111 40px);
  z-index: 3;
  pointer-events: none;
}

/* Micro-Cards Grid */
.micro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.micro-card {
  background: #080808;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.micro-card:hover {
  background: #151515;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.micro-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.outreach-card {
  border-color: rgba(230, 42, 16, 0.2);
  background: rgba(230, 42, 16, 0.02);
}
.outreach-card:hover {
  background: rgba(230, 42, 16, 0.05);
  border-color: rgba(230, 42, 16, 0.4);
}
.outreach-icon {
  background: rgba(230, 42, 16, 0.1);
  border-color: rgba(230, 42, 16, 0.2);
  color: #fff;
}


/* --- BOT MACRO CARDS --- */
.macro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.macro-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 15px 35px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.macro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(230, 42, 16, 0.12), transparent 40%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 0;
}

.macro-card:hover {
  background: #111;
  border-color: rgba(230, 42, 16, 0.28); /* Rote Highlightkante */
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 25px 50px rgba(0,0,0,0.6), 0 0 30px rgba(230, 42, 16, 0.08);
}

.macro-card:hover::before {
  opacity: 1;
}

.macro-card.full-width {
  grid-column: 1 / span 2;
}

.m-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.m-number {
  font-family: monospace;
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
}

.m-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 10px rgba(0,0,0,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.4s ease;
}

.macro-card:hover .m-icon {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
  border-color: rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 8px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.m-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.m-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Override inline styles for features pills to make them ultra premium - RED DESIGN */
.m-features span.m-pill {
  background: rgba(230, 42, 16, 0.03) !important;
  border: 1px solid rgba(230, 42, 16, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(230, 42, 16, 0.05) !important;
  padding: 8px 14px !important;
  border-radius: 30px !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.6) !important;
  transition: all 0.3s ease !important;
}

.macro-card:hover .m-features span.m-pill {
  background: rgba(230, 42, 16, 0.08) !important;
  border-color: rgba(230, 42, 16, 0.2) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(230, 42, 16, 0.15), 0 4px 10px rgba(0,0,0,0.2) !important;
}

/* --- TERMINAL DECORATION FOR S-CURVE --- */
.bot-deco-scraper {
  grid-column: 10 / span 3;
  grid-row: 1;
  display: block;
  padding: 40px 0 40px 40px; /* Equal top, bottom, left spacing. ZERO right spacing. */
  position: relative;
  z-index: 2;
}

.deco-terminal {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  font-family: monospace;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.deco-terminal:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

/* --- ANIMATED SCRAPER BOXES --- */
.scraper-anim-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: -10px 10px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}
.scraper-anim-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0.5;
}
.sab-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.sab-icon {
  width: 32px; height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.sab-icon svg { width: 16px; height: 16px; }
.sab-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
}
.sab-content {
  background: #000;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.05);
}
.sab-status {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: monospace;
  margin-top: 10px;
}
.sab-status.highlight {
  color: #10B981;
}

/* Box 1: Scanning Bar */
.sab-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.sab-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  background: var(--primary);
  border-radius: 2px;
}
@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.anim-scan {
  animation: scan 2s linear infinite;
}

/* Box 2: Data Lines */
.sab-data-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.data-line {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
.data-line.w-80 { width: 80%; }
.data-line.w-60 { width: 60%; }
.data-line.w-90 { width: 90%; }
@keyframes pulseLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
}
.anim-pulse-1 { animation: pulseLine 1.5s ease-in-out infinite; }
.anim-pulse-2 { animation: pulseLine 1.5s ease-in-out infinite 0.5s; }
.anim-pulse-3 { animation: pulseLine 1.5s ease-in-out infinite 1s; }

/* Box 3: Sync Circle */
.sab-sync-circle {
  width: 24px; height: 24px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.anim-spin {
  animation: spin 1s linear infinite;
}

/* Floating Animations for the boxes themselves */
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.box-1 { animation: float1 4s ease-in-out infinite; }
.box-2 { animation: float2 5s ease-in-out infinite; }
.box-3 { animation: float3 3s ease-in-out infinite; }

.deco-term-header {
  background: #1a1a1a;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.deco-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.deco-dot.r { background: #ff5f56; box-shadow: 0 0 10px rgba(255,95,86,0.5); }
.deco-dot.y { background: #ffbd2e; box-shadow: 0 0 10px rgba(255,189,46,0.5); }
.deco-dot.g { background: #27c93f; box-shadow: 0 0 10px rgba(39,201,63,0.5); }

.deco-term-body {
  padding: 24px;
  color: #a0a0a0;
  font-size: 14px;
  line-height: 1.8;
  background: radial-gradient(circle at center, rgba(30,30,30,0.5) 0%, transparent 100%);
}

.term-line {
  margin-bottom: 10px;
  white-space: pre-wrap;
}

.term-line.highlight {
  color: #27c93f;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(39,201,63,0.4);
}

/* Outreach Decoration */
.bot-deco-outreach {
  grid-column: 1 / span 3;
  grid-row: 2;
  display: block;
  padding: 40px 40px 0 0; /* Flush left, flush bottom */
  position: relative;
  z-index: 2;
}

.deco-chat-box {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.deco-chat-box:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.chat-bubble.received {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom-left-radius: 4px;
  color: #fff;
  align-self: flex-start;
}

.chat-bubble.sent {
  background: rgba(230, 42, 16, 0.15);
  border: 1px solid rgba(230, 42, 16, 0.3);
  border-bottom-right-radius: 4px;
  color: #fff;
  align-self: flex-end;
}

.chat-meta {
  font-size: 11px;
  opacity: 0.5;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.chat-status {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #27c93f;
  font-size: 12px;
  font-weight: 600;
  margin-top: -4px;
}

/* ── Mobile Overrides for Features Grid (≤ 768px) ── */
@media (max-width: 768px) {
  .super-grid {
    gap: 24px !important; /* Standalone card stack with gap */
  }
  
  .super-cell.top-row,
  .super-cell.mid-left,
  .super-cell.bot-right {
    margin: 0 !important;
    border-radius: 24px !important; /* Uniform, premium rounded corners on mobile */
    padding: 32px 20px !important;
  }
  
  /* Hide vertical curve interlocking elements */
  .mid-left::before,
  .bot-right::before {
    display: none !important;
  }

  /* Override hardcoded inline font sizes */
  .section-title {
    font-size: clamp(28px, 6.5vw, 36px) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  .section-sub {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  /* Testimonials styling */
  .testi-header {
    margin-bottom: 24px !important;
  }
  
  .testi-ticker-wrap {
    padding: 10px 0 !important;
    margin: -10px 0 !important;
  }

  .testi-card {
    width: 220px !important;
    padding: 16px !important;
    border-radius: 12px !important;
  }
  
  .testi-card p {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }
  
  .author {
    font-size: 13px !important;
  }

  /* Bot feature cards stack on phones for readability */
  .bot-feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Bot scraper/outreach zig-zag collapse (placed after base defs to win cascade) ── */
@media (max-width: 1024px) {
  .bot-s-wrapper {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
  }
  .bot-s-scraper,
  .bot-s-outreach {
    grid-column: 1 !important;
    border-radius: 24px !important;
    padding: 40px 24px !important;
  }
  /* Hide decorative animated sim panels & S-curve corner connectors on tablet/mobile */
  .bot-deco-scraper,
  .bot-deco-outreach,
  [class*="bot-corner"] {
    display: none !important;
  }
}

/* ===================================================================
   SUPPORTED-LANGUAGES MARQUEE  (translator.html zz-hollow-right panel)
   Two vertical columns of flag+name chips. Left scrolls bottom→top,
   right scrolls top→bottom, looping forever with a top/bottom fade.
   Built by initLangMarquee() in js/main.js. Decorative — the whole
   panel is display:none ≤1024px (see the per-page media query).
   =================================================================== */
.lang-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  padding: 0 12px;
  overflow: hidden;
  /* Fade the chips out at the top and bottom edges */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.lm-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.lm-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

/* Left column rises (content moves up); right column descends. */
.lm-up   .lm-track { animation: lm-scroll-up   42s linear infinite; }
.lm-down .lm-track { animation: lm-scroll-down 42s linear infinite; }

@keyframes lm-scroll-up   { from { transform: translateY(0);     } to { transform: translateY(-50%); } }
@keyframes lm-scroll-down { from { transform: translateY(-50%);  } to { transform: translateY(0);    } }

.lm-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px; /* uniform spacing incl. the last item -> seamless 50% loop */
  padding: 11px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.lm-chip:hover {
  border-color: rgba(230, 42, 16, 0.55);
  background: linear-gradient(135deg, rgba(230, 42, 16, 0.15) 0%, rgba(255, 255, 255, 0.025) 100%);
}

.lm-flag {
  width: 28px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 5px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.lm-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #f3f3f5;
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .lm-up .lm-track,
  .lm-down .lm-track { animation: none !important; }
}

/* ── Platform tiles (homepage "3 Tools" section, below the video) ─────────────
   Branded per-platform cards: a faint oversized platform logo watermark in the
   background, the crisp logo on top, and CRM / Bot / Translator buttons linking
   into the product subpages. Bot is only available on some platforms; the rest
   show it greyed-out and non-interactive. */
.pf-tiles-wrap { margin-top: 48px; }

.pf-tiles-intro { text-align: center; margin-bottom: 32px; }
.pf-tiles-intro .tagline { justify-content: center; }
.pf-tiles-intro .section-sub { margin: 0 auto; max-width: 560px; }

.pf-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pf-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  transition: border-color .3s ease;
  --pf: var(--primary); /* per-platform accent colour, overridden inline per tile */
}

/* Mouse-following spotlight in the platform colour. main.js sets --mx/--my to the
   cursor position on each tile. No lift, no shadow — only the background reacts. */
.pf-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--pf) 45%, transparent) 0%,
    color-mix(in srgb, var(--pf) 16%, transparent) 42%,
    transparent 72%);
}
.pf-tile:hover { border-color: var(--pf); }
.pf-tile:hover::after { opacity: 1; }

/* faint brand watermark — fully visible, centred on the right; brightens and
   picks up the platform colour on hover. */
.pf-tile-bg {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  max-height: 60%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.12;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
  transition: opacity .3s ease, filter .3s ease;
}
.pf-tile:hover .pf-tile-bg {
  opacity: 0.45;
  filter: grayscale(0%);
}

.pf-tile-logo,
.pf-tile-actions { position: relative; z-index: 1; }

.pf-tile-logo { display: flex; align-items: center; gap: 12px; }

/* "coming soon" badge next to the platform name */
.pf-soon {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 3px 9px;
  white-space: nowrap;
  line-height: 1;
}

.pf-tile-logo img {
  height: 26px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.pf-tile-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pf-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: all .25s ease;
}
.pf-btn:not(.pf-btn-off):hover {
  border-color: var(--pf);
  background: color-mix(in srgb, var(--pf) 18%, transparent);
  color: #fff;
}

/* greyed-out: feature not available for this platform */
.pf-btn-off {
  opacity: 0.4;
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  cursor: not-allowed;
}

@media (max-width: 1024px) { .pf-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pf-tiles { grid-template-columns: 1fr; } }
