/* ==========================================================================
   PropNetwork - Trust & Security Section CSS (Matching Reference Image 2)
   Author: PropNetwork Product Design Team
   Description: Handcrafted enterprise-grade security showcase.
                Clean, high-density dashboard composition with 3D glass hero shield,
                2x3 grid feature layout with hairline dividers, and tight timeline steps.
   ========================================================================== */

.security-section {
  position: relative;
  padding: 5.5rem 0 6.5rem 0;
  background-color: #FAFAFA;
  overflow: hidden;
  color: #0F172A;
  z-index: 2;
}

/* Background Subtle Mesh & Soft Radial Glow */
.security-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 5%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle at 40% 50%, rgba(20, 184, 166, 0.05) 0%, rgba(139, 92, 246, 0.02) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.security-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(15, 118, 110, 0.04) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Header Styling (Matching platform-showcase, journey & hotspots 1:1) */
.security-section-header {
  position: relative;
  max-width: 860px;
  margin-bottom: 3rem;
  padding-left: 1.5rem;
  z-index: 2;
}

.security-header-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #14B8A6 0%, #6366F1 50%, #8B5CF6 100%);
  border-radius: 3px;
}

.security-category-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #14B8A6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.security-header-title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 1.25rem;
}

.security-text-gradient {
  background: linear-gradient(90deg, #0F766E 0%, #14B8A6 35%, #6366F1 75%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.security-header-desc {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 500;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   2-Column Asynchronous Layout Grid (1.8fr : 1fr)
   ========================================================================== */
.security-grid-wrapper {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* Left Security Overview Panel (Expanded Width & Integrated Dashboard Feel) */
.security-left-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.75);
  padding: 2.25rem 2.25rem;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.security-left-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* 3D Glass Shield Hero Viewport (Visual Focal Point) */
.security-shield-viewport {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft Radial Backlight Glow */
.security-shield-viewport::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* Single Subtle Guideline Orbit Ring */
.shield-orbit-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px dashed rgba(20, 184, 166, 0.2);
  pointer-events: none;
  animation: orbitRotate 30s linear infinite;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #14B8A6;
  box-shadow: 0 0 8px rgba(20, 184, 166, 0.7);
}

.orbit-dot-1 { top: 18%; left: 15%; }
.orbit-dot-2 { bottom: 22%; right: 18%; background: #8B5CF6; box-shadow: 0 0 8px rgba(139, 92, 246, 0.7); }

/* 3D Pedestal Podium Base */
.shield-podium-group {
  position: absolute;
  bottom: 8px;
  width: 180px;
  height: 48px;
}

.shield-podium-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 24px;
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.shield-podium-top {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 50%;
}

/* Floating Shield Hero Component */
.shield-glass-wrapper {
  position: relative;
  width: 122px;
  height: 148px;
  z-index: 3;
  animation: floatShield 5s ease-in-out infinite;
}

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

.shield-outer-glass {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(20, 184, 166, 0.35);
  border-radius: 24px 24px 64px 64px;
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.14), inset 0 0 12px rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-inner-core {
  width: 80px;
  height: 100px;
  background: linear-gradient(145deg, #0F766E 0%, #14B8A6 100%);
  border-radius: 16px 16px 48px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.35);
}

.shield-inner-core svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   Security Overview 2-Column Grid (Matching Reference Image 2 1:1)
   ========================================================================== */
.security-overview-content {
  display: flex;
  flex-direction: column;
}

.security-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  position: relative;
  padding: 0.5rem 0;
}

/* Center vertical hairline divider between column 1 and column 2 */
.security-features-grid::after {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 1px;
  background: #E2E8F0;
  transform: translateX(-50%);
}

.security-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: transform 0.22s ease;
}

/* Horizontal hairline dividers between rows */
.security-feature-item:nth-child(1),
.security-feature-item:nth-child(2),
.security-feature-item:nth-child(3),
.security-feature-item:nth-child(4) {
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 1.25rem;
}

.security-feature-item:nth-child(odd) {
  padding-right: 1.25rem;
}

.security-feature-item:nth-child(even) {
  padding-left: 1.25rem;
}

.security-feature-item:hover {
  transform: translateX(4px);
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E6F7F5;
  color: #0F766E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.feature-icon-badge svg {
  width: 20px;
  height: 20px;
}

.security-feature-item:hover .feature-icon-badge {
  background: #0F766E;
  color: #FFFFFF;
  transform: scale(1.06);
}

.feature-item-text {
  display: flex;
  flex-direction: column;
}

.feature-item-title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.feature-item-desc {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
  color: #64748B;
  margin: 0;
}

/* ==========================================================================
   Right Panel: Compact Vertical Timeline (Tight Linear Quality)
   ========================================================================== */
.security-timeline-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Vertical Timeline Track Container */
.security-timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

/* Thin Hairline Guideline */
.security-timeline-list::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 19px;
  width: 1.5px;
  background: #E2E8F0;
  z-index: 0;
}

/* Individual Timeline Step Row */
.timeline-step-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
  padding: 0.15rem 0;
}

.step-left-group {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

/* Compact Step Icon Badge (40px) */
.step-icon-badge {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  color: #0F766E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
  z-index: 2;
}

.step-icon-badge svg {
  width: 16px;
  height: 16px;
}

.timeline-step-item:hover .step-icon-badge {
  border-color: #14B8A6;
  color: #14B8A6;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(20, 184, 166, 0.12);
}

/* Step Content Text */
.step-text-group {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.12rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  color: #64748B;
  margin: 0;
}

/* Compact Checkmark Badge (22px) */
.step-check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.step-check-badge svg {
  width: 12px;
  height: 12px;
}

.timeline-step-item:hover .step-check-badge {
  transform: scale(1.12);
  background: #16A34A;
  color: #FFFFFF;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1199.98px) {
  .security-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .security-left-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .security-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .security-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .security-features-grid::after {
    display: none;
  }

  .security-feature-item:nth-child(odd),
  .security-feature-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 575.98px) {
  .security-left-card,
  .security-timeline-card {
    padding: 1.35rem 1.1rem;
  }

  .step-desc {
    font-size: 0.74rem;
  }
}
