/* ==========================================================================
   PCI DSS CREATIVE HERO SECTION
   ========================================================================== */

.pci-creative-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background-color: #030712;
  font-family: 'Manrope', sans-serif;
  color: #fff;
}

.pci-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.pci-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

/* Diagonal Gold Grid */
.pci-gold-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(45deg, rgba(234, 179, 8, 0.03) 25%, transparent 25%, transparent 75%, rgba(234, 179, 8, 0.03) 75%, rgba(234, 179, 8, 0.03)),
    linear-gradient(45deg, rgba(234, 179, 8, 0.03) 25%, transparent 25%, transparent 75%, rgba(234, 179, 8, 0.03) 75%, rgba(234, 179, 8, 0.03));
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  z-index: 1;
}

.pci-glow-sphere {
  position: absolute;
  top: -10%; left: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.15), transparent 70%);
  filter: blur(60px);
  z-index: 1;
}

.pci-glow-sphere-2 {
  position: absolute;
  bottom: -20%; right: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
  filter: blur(80px);
  z-index: 1;
}

.pci-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.pci-text-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pci-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  color: #facc15;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
}

.pci-pulse {
  width: 8px; height: 8px;
  background: #facc15;
  border-radius: 50%;
  box-shadow: 0 0 10px #facc15;
  animation: pci-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pci-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.pci-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.pci-highlight {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pci-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 550px;
  margin: 0;
}

.pci-btn-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.pci-btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.pci-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(245, 158, 11, 0.4);
}

.pci-btn-outline {
  background: transparent;
  color: #fff;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.pci-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

/* 3D Visual Column */
.pci-visual-column {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  height: 500px;
}

/* The 3D Credit Card */
.pci-3d-card {
  width: 380px;
  height: 240px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(245, 158, 11, 0.1);
  position: relative;
  transform-style: preserve-3d;
  animation: floatCard 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  overflow: hidden;
  z-index: 5;
}

.pci-3d-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  animation: sweepGold 4s infinite linear;
}

@keyframes sweepGold {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotateX(15deg) rotateY(-20deg); }
  50% { transform: translateY(-20px) rotateX(20deg) rotateY(-15deg); }
}

.pci-card-chip {
  width: 50px; height: 40px;
  background: linear-gradient(135deg, #fcd34d, #d97706);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.pci-card-chip::after {
  content: ''; position: absolute;
  top: 50%; left: 0; width: 100%; height: 1px; background: rgba(0,0,0,0.2);
}

.pci-card-logo {
  position: absolute;
  top: 25px; right: 25px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0.8;
}

.pci-card-number {
  font-family: monospace;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.pci-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.pci-card-name {
  color: #94a3b8;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Floating Elements around Card */
.pci-lock-shield {
  position: absolute;
  top: 15%; right: 5%;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #facc15;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(5px);
  animation: floatLock 5s ease-in-out infinite reverse;
  z-index: 10;
}

.pci-scan-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  margin-top: -250px; margin-left: -250px;
  border: 2px dashed rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  animation: spinDash 20s linear infinite;
  pointer-events: none;
}

@keyframes floatLock {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes spinDash {
  100% { transform: rotate(360deg); }
}

/* Light Mode Overrides */
[data-theme="light"] .pci-creative-hero { background-color: #f8fafc; }
[data-theme="light"] .pci-title { color: #0f172a; }
[data-theme="light"] .pci-desc { color: #475569; }
[data-theme="light"] .pci-btn-outline { color: #0f172a; border-color: #cbd5e1; }
[data-theme="light"] .pci-btn-outline:hover { background-color: #e2e8f0; border-color: #94a3b8; }
[data-theme="light"] .pci-3d-card { background: linear-gradient(135deg, #1e293b, #0f172a); }

/* Responsive */
@media (max-width: 1024px) {
  .pci-container { grid-template-columns: 1fr; text-align: center; gap: 40px; padding-top: 50px; }
  .pci-text-column { align-items: center; }
  .pci-desc { text-align: center; }
  .pci-visual-column { height: 400px; }
  .pci-3d-card { transform: scale(0.9) rotateX(10deg) rotateY(-10deg); animation: none; }
}
@media (max-width: 600px) {
  .pci-btn-group { flex-direction: column; width: 100%; }
  .pci-visual-column { display: none; }
}

/* ==========================================================================
   PCI OVERVIEW BENTO GRID
   ========================================================================== */

.pci-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
}

.pci-bento-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pci-bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pci-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(245, 158, 11, 0.15);
}

.pci-bento-card:hover::before {
  opacity: 1;
}

.pci-bento-icon {
  width: 50px; height: 50px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #facc15;
  border: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 1;
}

.pci-bento-content {
  position: relative;
  z-index: 1;
}

.pci-bento-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pci-bento-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Card Specifics */
.pci-bento-card.tall {
  grid-row: span 2;
  justify-content: center;
}

.pci-bento-card.wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
}

@media (max-width: 600px) {
  .pci-bento-grid { grid-template-columns: 1fr; }
  .pci-bento-card.wide { flex-direction: column; align-items: flex-start; }
}

/* Light theme support */
[data-theme="light"] .pci-bento-card {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
[data-theme="light"] .pci-bento-title { color: #0f172a; }
[data-theme="light"] .pci-bento-desc { color: #475569; }
[data-theme="light"] .pci-bento-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: #f59e0b; }

/* ==========================================================================
   PCI CREATIVE SERVICES GRID
   ========================================================================== */

.pci-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.pci-service-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 30px 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.pci-service-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, #facc15, transparent, #d97706);
  z-index: -1;
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pci-service-card:hover {
  transform: translateY(-8px);
  background: rgba(15, 23, 42, 0.8);
}

.pci-service-card:hover::before {
  opacity: 1;
}

.pci-service-icon {
  font-size: 2.5rem;
  color: #facc15;
  margin-bottom: 20px;
  display: inline-block;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.pci-service-card h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pci-service-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Light Theme Services */
[data-theme="light"] .pci-service-card {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
[data-theme="light"] .pci-service-card h3 { color: #0f172a; }
[data-theme="light"] .pci-service-card p { color: #475569; }
[data-theme="light"] .pci-service-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* ==========================================================================
   PCI CIRCULAR METRICS
   ========================================================================== */

.pci-creative-metrics {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.pci-metrics-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.pci-metrics-header span {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.pci-metrics-body {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pci-circle-metric {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pci-svg-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.pci-svg-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pci-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.pci-circle-progress {
  fill: none;
  stroke: url(#pci-gold-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease-out;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.6));
}

.pci-circle-val {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.pci-circle-label {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1rem;
}

.pci-metrics-footer {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #facc15;
  font-size: 0.9rem;
  font-weight: 600;
}

.pci-metrics-footer .pulse-dot {
  width: 8px; height: 8px;
  background: #facc15;
  border-radius: 50%;
  box-shadow: 0 0 10px #facc15;
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Light Theme Metrics */
[data-theme="light"] .pci-creative-metrics { background: #ffffff; border-color: rgba(245, 158, 11, 0.3); }
[data-theme="light"] .pci-metrics-header span { color: #0f172a; }
[data-theme="light"] .pci-circle-label { color: #475569; }
[data-theme="light"] .pci-circle-val { color: #0f172a; }
[data-theme="light"] .pci-circle-bg { stroke: #f1f5f9; }
