/* ============================================
   B2B.TSF.RO — Main CSS
   Fonts: Bebas Neue (display) + DM Sans (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Custom Properties ── */
:root {
  --color-magenta:      #FF1F75;
  --color-turquoise:    #00C8E0;
  --color-black:        #0A0A0A;
  --color-white:        #FFFFFF;
  --color-gray-light:   #F5F5F5;
  --color-gray-mid:     #E0E0E0;
  --color-gray-text:    #666666;
  --color-text-dark:    #1A1A1A;

  --font-display:       'Bebas Neue', sans-serif;
  --font-body:          'DM Sans', sans-serif;

  --container-max:      1200px;
  --container-pad:      clamp(20px, 5vw, 60px);

  --section-v:          clamp(64px, 8vw, 112px);

  --radius-sm:          6px;
  --radius-md:          12px;
  --radius-lg:          20px;

  --shadow-card:        0 2px 20px rgba(0,0,0,0.06);
  --shadow-card-hover:  0 12px 48px rgba(0,0,0,0.14);
  --shadow-header:      0 2px 24px rgba(0,0,0,0.08);

  --transition:         0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text-dark);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(52px, 9vw, 96px); }
h2 { font-size: clamp(40px, 6vw, 72px); }
h3 { font-size: clamp(28px, 4vw, 48px); }
h4 { font-size: clamp(22px, 3vw, 36px); }

p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--color-gray-text);
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.btn:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-magenta);
  color: var(--color-white);
  border: 2px solid var(--color-magenta);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-magenta);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-text-dark);
}
.btn-outline-dark:hover {
  background: var(--color-text-dark);
  color: var(--color-white);
}

.btn-turquoise {
  background: var(--color-turquoise);
  color: var(--color-black);
  border: 2px solid var(--color-turquoise);
  font-weight: 700;
}
.btn-turquoise:hover {
  background: transparent;
  color: var(--color-turquoise);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-mid);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
  padding: 8px 14px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-magenta);
  background: rgba(255, 31, 117, 0.06);
}

.header-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--color-gray-light); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-black);
  padding: 100px 32px 48px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--color-white);
  padding: 8px 0;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu a:hover {
  color: var(--color-magenta);
  padding-left: 12px;
}

.mobile-menu .mobile-cta {
  margin-top: 32px;
}

/* ── Body offset for fixed header ── */
body { padding-top: 72px; }

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.60) 0%, rgba(20,8,14,0.60) 50%, rgba(8,10,20,0.60) 100%);
  z-index: 1;
}

/* Fabric texture pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 12px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 12px
    );
  z-index: 1;
}
.hero[data-banner]::before { background-image: none; }


.hero-content {
  position: relative;
  z-index: 3;
  padding: var(--section-v) 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-turquoise);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-turquoise);
}

.hero h1 {
  color: var(--color-white);
  max-width: 860px;
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--color-magenta);
}

.hero p {
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 48px;
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 140px;
  right: var(--container-pad);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Accent stripe ── */
.accent-stripe {
  display: flex;
  height: 4px;
  width: 100%;
}
.accent-stripe::before {
  content: '';
  flex: 1;
  background: var(--color-magenta);
}
.accent-stripe::after {
  content: '';
  flex: 1;
  background: var(--color-turquoise);
}

/* ── Section labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-magenta);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--color-gray-light);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--color-gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  background: var(--color-gray-light);
  padding: 40px 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  color: var(--color-magenta);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-text);
  margin-top: 8px;
  display: block;
}

/* ── Partners Logo Wall ── */
.partners-section {
  padding: var(--section-v) 0;
}

.partners-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.partner-placeholder {
  aspect-ratio: 3/1.2;
  border: 1px solid var(--color-gray-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CCCCCC;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: border-color var(--transition);
  background: var(--color-gray-light);
}
.partner-placeholder:hover {
  border-color: var(--color-gray-text);
}

.partner-placeholder.has-logo {
  padding: 12px;
  background: var(--color-white);
}
.partner-placeholder.has-logo img {
  max-height: 48px;
  width: auto;
  margin: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter var(--transition), opacity var(--transition);
}
.partner-placeholder.has-logo:hover img {
  filter: none;
  opacity: 1;
}

.partners-more {
  text-align: center;
}
.partners-more a {
  font-weight: 600;
  color: var(--color-magenta);
  font-size: 15px;
}
.partners-more a:hover { text-decoration: underline; }

/* ── "Ce facem diferit" section ── */
.differentiators {
  padding: var(--section-v) 0;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
}

.differentiators::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 14px
    );
}

.differentiators .section-label { color: var(--color-turquoise); }
.differentiators .section-label::before { background: var(--color-turquoise); }

.differentiators h2 { color: var(--color-white); margin-bottom: 64px; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.diff-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  padding: 48px 40px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), border-color var(--transition);
}
.diff-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255, 31, 117, 0.3);
}

.diff-number {
  font-family: var(--font-display);
  font-size: 88px;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  user-select: none;
}

.diff-icon {
  width: 48px;
  height: 48px;
  background: var(--color-magenta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}

.diff-card h4 {
  color: var(--color-white);
  font-size: 26px;
  margin-bottom: 16px;
}
.diff-card p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 72px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand img {
  height: 65px;
  width: auto;
  margin-bottom: 20px;
  /* filter: brightness(0) invert(1); */
  opacity: 0.9;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 200px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-magenta); }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.footer-contact a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--color-turquoise); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-social a:hover {
  border-color: var(--color-magenta);
  color: var(--color-magenta);
  background: rgba(255, 31, 117, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page hero (non-homepage) ── */
.page-hero {
  background: var(--color-black);
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 12px
    );
}
.page-hero[data-banner]::before {
  background-image: none;
  background: rgba(10,10,10,0.62);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--color-white); margin-bottom: 20px; text-shadow: 0 2px 28px rgba(0,0,0,0.55); }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 640px; font-size: clamp(16px, 1.8vw, 19px); text-shadow: 0 1px 14px rgba(0,0,0,0.4); }

/* ── Hero banner decorations (margin-only) ── */
.hero-deco {
  position: absolute;
  top: 0;
  bottom: 0;
  /* Width = the empty space outside the container, so decoration never overlaps text.
     Below ~1180px viewport the value drops to ~0 and the @media hides it entirely. */
  width: min(300px, max(0px, calc((100vw - 1200px) / 2 + var(--container-pad))));
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: stretch;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,0.4));
}
.hero-deco--left  { left: 0;  }
.hero-deco--right { right: 0; }
.hero-deco svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero .hero-content { position: relative; z-index: 3; }
.hero h1 { text-shadow: 0 2px 28px rgba(0,0,0,0.55); }
.hero p  { text-shadow: 0 1px 14px rgba(0,0,0,0.4); }

@media (max-width: 1180px) {
  .hero-deco { display: none; }
}

/* Sport hero dark variant */
.page-hero--sport {
  background: linear-gradient(135deg, #0A0A0A 0%, #0d0410 60%, #040a10 100%);
  min-height: 440px;
  display: flex;
  align-items: center;
}
.page-hero--sport .sport-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  padding: 8px 20px 8px 10px;
  margin-bottom: 28px;
}
.page-hero--sport .sport-logo-badge img {
  height: 32px;
  width: auto;
}
.page-hero--sport .sport-logo-badge span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Geometric accent shapes ── */
.geo-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.geo-accent--magenta {
  background: rgba(255, 31, 117, 0.15);
  width: 500px;
  height: 500px;
}
.geo-accent--turquoise {
  background: rgba(0, 200, 224, 0.1);
  width: 400px;
  height: 400px;
}
