/* ============================================================
   B2B SEO Services - Custom Styles
   Focused on B2B growth, modular layouts, fast scrolling
   ============================================================ */

/* -- HERO SECTION -- */
.b2b-hero {
  position: relative;
  padding: 10rem 0 5rem 0;
  text-align: center;
  background: var(--clr-surface);
  overflow: hidden;
  border-bottom: 1px solid var(--clr-border);
}

.b2b-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(181, 36, 106, 0.05) 0%, transparent 60%);
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.b2b-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.b2b-hero-label {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--clr-surface-3);
  color: var(--clr-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.b2b-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.b2b-hero-desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* -- MODULAR DASHBOARD: GROWTH SYSTEMS -- */
.b2b-growth {
  padding: 6rem 0;
  background: var(--clr-surface-2);
}

.b2b-section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.b2b-section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-family: var(--font-headings);
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

.b2b-section-header p {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.b2b-dashboard {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.b2b-dash-main, .b2b-dash-side {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(26, 46, 68, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.b2b-dash-main:hover, .b2b-dash-side:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(26, 46, 68, 0.08);
}

.b2b-dash-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b2b-dash-side {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.b2b-dash-side:hover {
  transform: none;
  box-shadow: none;
}

.b2b-dash-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(26, 46, 68, 0.04);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.b2b-dash-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(26, 46, 68, 0.08);
}

.b2b-dash-icon {
  font-size: 2.5rem;
  color: var(--clr-accent);
  margin-bottom: 1.5rem;
}

.b2b-dash-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

.b2b-dash-text {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.b2b-stat-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}

.b2b-stat {
  flex: 1;
}

.b2b-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-accent);
  font-family: var(--font-headings);
  margin-bottom: 0.3rem;
}

.b2b-stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .b2b-dashboard {
    grid-template-columns: 1fr;
  }
}

/* -- LAYERED ARCHITECTURE: VISIBILITY -- */
.b2b-visibility {
  padding: 6rem 0;
  background: var(--clr-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.b2b-visibility::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(181, 36, 106, 0.15) 0%, transparent 60%);
}

.b2b-visibility .b2b-section-header h2 {
  color: #fff;
}

.b2b-visibility .b2b-section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.b2b-layer-system {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.b2b-layer {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem 2.5rem;
  gap: 2.5rem;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.b2b-layer::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--clr-accent);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-out);
}

.b2b-layer:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.b2b-layer:hover::before {
  transform: scaleY(1);
}

.b2b-layer-number {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  transition: color 0.3s;
}

.b2b-layer:hover .b2b-layer-number {
  color: var(--clr-accent);
}

.b2b-layer-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.b2b-layer-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .b2b-layer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
}

/* -- ORGANIC ACQUISITION: CARDS -- */
.b2b-acquisition {
  padding: 6rem 0;
  background: #ffffff;
}

.b2b-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.b2b-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--clr-surface-2);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.b2b-card:hover {
  background: #ffffff;
  border-color: var(--clr-border);
  box-shadow: 0 15px 40px rgba(26, 46, 68, 0.06);
  transform: translateY(-5px);
}

.b2b-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffffff;
  color: var(--clr-primary);
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 5px 15px rgba(26, 46, 68, 0.05);
  transition: all 0.3s;
}

.b2b-card:hover .b2b-card-icon {
  background: var(--clr-accent);
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
}

.b2b-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

.b2b-card p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .b2b-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .b2b-cards {
    grid-template-columns: 1fr;
  }
}

/* -- COMPACT CTA STRIP -- */
.b2b-cta {
  padding: 4rem 0;
  background: var(--clr-surface-3);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.b2b-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #ffffff;
  padding: 3rem 4rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(26, 46, 68, 0.05);
}

.b2b-cta-text h2 {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}

.b2b-cta-text p {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin: 0;
}

.b2b-cta-actions {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .b2b-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
}
