/* PQC Threat Section */
.pqc-section {
  margin-top: 80px;
}

/* Header row */
.pqc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.pqc-header h3 {
  margin: 0 0 8px;
}

.pqc-header-gradient {
  background: linear-gradient(135deg, rgba(120,90,255,0.95), rgba(0,200,255,0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.pqc-header-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.6;
}

/* Scroll buttons */
.pqc-scroll-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 4px;
}

.pqc-scroll-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.70);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pqc-scroll-btn:hover {
  border-color: rgba(0,180,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.10);
}

/* Scroll wrapper */
.pqc-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.pqc-scroll-wrap:active {
  cursor: grabbing;
}

.pqc-scroll-wrap::-webkit-scrollbar {
  display: none;
}

/* Scroll track */
.pqc-scroll-track {
  display: flex;
  gap: 14px;
  width: max-content;
  align-items: stretch;
  padding-left: max(18px, calc((100vw - 1080px) / 2 + 18px));
  padding-right: 200px;
}

/* Tiles */
.pqc-tile {
  position: relative;
  width: 280px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  height: 340px;
  min-height: 340px;
  max-height: 340px;
  padding: 24px 22px;
}

.pqc-tile::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse at bottom right, rgba(120,90,255,0.45) 0%, rgba(0,200,255,0.20) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.pqc-tile:hover::before {
  opacity: 1;
}

.pqc-tile:hover {
  border-color: rgba(0,200,255,0.45);
  box-shadow: 0 0 30px rgba(120,90,255,0.15), 0 0 60px rgba(0,200,255,0.08);
}

/* Tile variants */
.pqc-tile--danger {
  background: rgba(20,5,5,0.6);
}

.pqc-tile--quote {
  background: rgba(10,5,30,0.7);
}

/* Tile inner elements */
.pqc-tile-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.50);
  letter-spacing: .06em;
  position: relative;
  z-index: 1;
}

.pqc-tile-tag--spaced {
  margin-bottom: 16px;
}

.pqc-tile-bottom {
  position: relative;
  z-index: 1;
}

.pqc-tile-num {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.pqc-tile-num--red    { color: #e74c3c; }
.pqc-tile-num--white  { color: #fff; }
.pqc-tile-num--blue   { color: #5b9bd5; }

.pqc-tile-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  font-weight: 400;
}

.pqc-tile-head {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.pqc-tile-body {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  font-weight: 300;
}

.pqc-tile-quote {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Tile hover text brightening */
.pqc-tile:hover .pqc-tile-body,
.pqc-tile:hover .pqc-tile-label {
  color: rgba(255,255,255,0.75);
}

.pqc-tile:hover .pqc-tile-tag {
  color: rgba(255,255,255,0.75);
}

/* Bar chart tile */
.pqc-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pqc-bar-r {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
}

.pqc-bar-r:first-child {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.pqc-bar-name {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  width: 90px;
  flex-shrink: 0;
}

.pqc-bar-name.a {
  color: #e74c3c;
  font-weight: 500;
}

.pqc-bar-t {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  position: relative;
}

.pqc-bar-f {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
}

.pqc-bar-f--green   { width: 92.5%;  background: #4caf50; }
.pqc-bar-f--muted   { width: 7.5%;   background: rgba(255,255,255,0.40); }
.pqc-bar-f--blue    { width: 30.8%;  background: #5b9bd5; }
.pqc-bar-f--red     { width: 69.2%;  background: #e74c3c; }
.pqc-bar-f--faint   { width: 0.8%;   background: rgba(255,255,255,0.35); }
.pqc-bar-f--yellow  { width: 5.2%;   background: #e0a040; }

.pqc-bar-p {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

.pqc-bar-p.a        { color: #e74c3c; }
.pqc-bar-p--green   { color: #4caf50; }
.pqc-bar-p--blue    { color: #5b9bd5; }

/* Source line */
.pqc-source {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Grid layout */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

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

@media (max-width: 520px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* QubitAC Pillar cards */
.pillar {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.pillar::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse at bottom right, rgba(90,60,255,0.45) 0%, rgba(0,190,255,0.20) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
}

.pillar:hover::before {
  opacity: 1;
}

.pillar:hover {
  border-color: rgba(0,180,255,0.45);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 30px rgba(90,60,255,0.15), 0 0 60px rgba(0,190,255,0.08);
}

/* Pillar icon */
.pillar-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
}

.pillar:hover .pillar-icon {
  color: #fff;
}

/* Pillar title */
.pillar-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

/* Pillar description */
.pillar-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.pillar:hover .pillar-desc {
  color: rgba(255,255,255,0.75);
}

/* QubitAC Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; gap: 32px; } }
.tier-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.60); letter-spacing: 0.04em; margin-bottom: 10px; }
.tier-price { font-size: clamp(48px, 6vw, 60px); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.tier-suffix { font-size: 14px; color: rgba(255,255,255,0.40); margin-left: 4px; font-weight: 400; }
.tier-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 14px 0 24px; max-width: 380px; }
.tier-cta-btn { display: block; width: 100%; max-width: 380px; padding: 13px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.25s; text-align: center; text-decoration: none; font-family: inherit; }
.tier-cta-outline { background: transparent; color: rgba(255,255,255,0.90); border: 1px solid rgba(255,255,255,0.20); }
.tier-cta-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.40); }
.tier-cta-primary { background: linear-gradient(135deg, rgba(120,90,255,0.95), rgba(0,200,255,0.85)); color: #061018; border: 1px solid rgba(255,255,255,0.14); }
.tier-cta-primary:hover { filter: brightness(1.08); }
.tier-features { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 11px; padding: 0; }
.tier-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.60); line-height: 1.5; }
.tier-feat .fc-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; }
.tier-feat .fc-icon svg { width: 14px; height: 14px; }
.tier-feat.highlight { color: rgba(255,255,255,0.85); font-weight: 500; }


/* Newsletter Signup Section */
/* Section wrapper */
.newsletter-section {
  margin-top: 80px;
  padding: 100px 0 100px;
  text-align: center;
  position: relative;
}

/* Background glow */
.newsletter-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,255,255,0.04), transparent 70%);
  pointer-events: none;
}

/* Heading */
.newsletter-heading {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
  position: relative;
}

/* Subtext */
.newsletter-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.50);
  margin: 0 auto 32px;
  max-width: 460px;
  line-height: 1.6;
  position: relative;
}

/* Form row */
.newsletter-form {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 5px 5px 5px 22px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

/* Email input */
.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.90);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

/* Subscribe button */
.newsletter-btn {
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(120,90,255,0.95), rgba(0,200,255,0.85));
  color: #061018;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.2s;
}

.newsletter-btn:hover {
  filter: brightness(1.08);
}

/* Signup message */
.newsletter-msg {
  margin-top: 14px;
  font-size: 13px;
  min-height: 20px;
  position: relative;
}

/* Insights & Impact Section */
/* Section wrapper */
.bsides-section {
  margin-top: 80px;
}

/* Header row */
.bsides-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.bsides-header h3 {
  margin: 0 0 8px;
}

.bsides-header-gradient {
  background: linear-gradient(135deg, rgba(120,90,255,0.95), rgba(0,200,255,0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.bsides-header-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.6;
}

/* Intro paragraph */
.bsides-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 72ch;
}

/* Carousel viewport */
.bsides-viewport {
  overflow: hidden;
  cursor: grab;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.bsides-viewport.dragging {
  cursor: grabbing;
}

/* Carousel track — scrolling handled by JS */
.bsides-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-left: 0;
}

/* Card base */
.bsides-card {
  flex-shrink: 0;
  width: 520px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.bsides-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(90,60,255,0.35) 0%, rgba(0,190,255,0.15) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.bsides-card:hover::after {
  opacity: 1;
}

/* Card background variants */
.bsides-card--dark {
  background: rgba(10,5,35,0.95);
}

.bsides-card--danger {
  background: rgba(25,5,5,0.95);
}

.bsides-card--blog {
  background: rgba(8,8,20,0.97);
  border: 1px solid rgba(120,90,255,0.2);
}

.bsides-card--video {
  background: rgba(8,8,20,0.97);
  border: 1px solid rgba(0,200,255,0.2);
}

/* Card inner layout */
.bsides-inner {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card elements */
.bsides-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.50);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bsides-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bsides-num {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.bsides-num--red {
  color: #e74c3c;
}

.bsides-label {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.60);
}

.bsides-sublabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.45);
}

/* Conference label */
.bsides-conf-label {
  font-size: 10px;
  font-variant: small-caps;
  letter-spacing: .22em;
  color: rgba(255,255,255,0.40);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Conference logo */
.bsides-conf-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

/* Quote card */
.bsides-quote {
  font-size: 22px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}

.bsides-quote-gradient {
  background: linear-gradient(135deg, rgba(120,90,255,0.95), rgba(0,200,255,0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.bsides-quote-attr {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* Blog/Video card meta row */
.bsides-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bsides-meta-date {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: .04em;
}

/* Blog/Video card category */
.bsides-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bsides-category--purple {
  color: rgba(120,90,255,0.8);
}

.bsides-category--blue {
  color: rgba(0,200,255,0.8);
}

/* Blog/Video card title */
.bsides-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255,255,255,0.95);
  margin-bottom: 12px;
}

/* Blog/Video card description */
.bsides-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.50);
}

/* CTA button (Read Article / Watch Now) */
.bsides-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(120,90,255,0.95), rgba(0,200,255,0.85));
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  transition: filter 0.2s;
}

.bsides-cta:hover {
  filter: brightness(1.1);
}

/* Dot indicators */
.bsides-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.bsides-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.20);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.bsides-dot:hover {
  background: rgba(255,255,255,0.40);
}

@media (max-width: 600px) {
  .bsides-card {
    width: 300px;
    height: 300px;
  }
  .bsides-viewport {
    margin-left: -16px;
    margin-right: -16px;
  }
}

.bsides-dot.active {
  background: rgba(255,255,255,0.25);
  width: 40px;
  border-radius: 4px;
  transform: none;
  position: relative;
  overflow: hidden;
}

.bsides-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  animation: dotFill 5s linear forwards;
}

@keyframes dotFill {
  0%   { width: 0%; }
  100% { width: 100%; }
}
