/* Very Big Machine — Global stylesheet */
/* Supplements Tailwind CDN with custom design tokens and utilities */

/* ── Typography & selection ─────────────────────────────────────── */
::selection { background: #fecaca; color: #7f1d1d; }

/* ── Card hover system ──────────────────────────────────────────── */
.card {
  border-radius: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
}
.card-red:hover {
  box-shadow: 0 20px 48px rgba(220, 38, 38, 0.15);
}

/* ── Hero gradient ──────────────────────────────────────────────── */
.hero-gradient {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 55%, #ef4444 100%);
  position: relative;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 45%;
  height: 150%;
  background: radial-gradient(circle, rgba(0,0,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Cloudpad hero (sky/blue accent) ───────────────────────────── */
.hero-cloudpad {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 55%, #0ea5e9 100%);
  position: relative;
  overflow: hidden;
}
.hero-cloudpad::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ── CTA gradient (matches hero) ───────────────────────────────── */
.cta-gradient {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 55%, #ef4444 100%);
}
.cta-cloudpad {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 55%, #0ea5e9 100%);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  background: white;
  color: #dc2626;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.btn-white-sky {
  color: #0369a1;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.875rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.2s ease;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ── Navigation dropdown ────────────────────────────────────────── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  width: 18rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top center;
  transform: translateX(-50%) translateY(-4px);
  pointer-events: none;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
  background: transparent;
}
.nav-dropdown-trigger:hover .nav-dropdown,
.nav-dropdown-trigger:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid rgba(0,0,0,0.06);
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* ── Feature icon containers ────────────────────────────────────── */
.icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Step numbers ───────────────────────────────────────────────── */
.step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #dc2626;
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Section label ──────────────────────────────────────────────── */
.section-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #dc2626;
}
.section-label-sky {
  color: #0369a1;
}

/* ── Scroll-shadow on sticky nav ───────────────────────────────── */
#site-nav-el {
  transition: box-shadow 0.2s ease;
}
#site-nav-el.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ── FAQ details ────────────────────────────────────────────────── */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform 0.2s ease; display: inline-block; }

/* ── Comparison table ───────────────────────────────────────────── */
.check-yes { color: #16a34a; }
.check-no  { color: #dc2626; }

/* ── Announcement bar ───────────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, #991b1b, #dc2626);
  padding: 0.5rem 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: white;
  position: sticky;
  top: 0;
  z-index: 60;
}
.announcement-bar a { color: #fde68a; text-decoration: underline; }

/* ── LinkedIn Newsfeed Blocker hero (indigo) ───────────────────── */
.hero-linkedin {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 55%, #4f46e5 100%);
  position: relative;
  overflow: hidden;
}
.hero-linkedin::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ── CTA gradient for LinkedIn ─────────────────────────────────── */
.cta-linkedin {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 55%, #4f46e5 100%);
}

/* ── Card hover (indigo) ────────────────────────────────────────── */
.card-indigo:hover {
  box-shadow: 0 20px 48px rgba(79, 70, 229, 0.15);
}

/* ── LinkedIn brand badge ───────────────────────────────────────── */
.badge-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: #ede9fe;
  color: #4338ca;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Cloudpad brand badge ───────────────────────────────────────── */
.badge-cloudpad {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-vbm {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
