/* ==========================================================================
   DIGITAL WEBSITE STUDIO (DWS) - CORE HOSPITALITY SPOTLIGHT
   Design System: DWS Native Language (Plus Jakarta Sans, Cyber Cyan Glow, Double-Bezel)
   Alignment: Harmonized with Technologies Section & Standard Container
   ========================================================================== */

.core-section {
  padding: 80px 0 90px;
  background: transparent;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--bezel-outer-border, rgba(255, 255, 255, 0.06));
  border-bottom: 1px solid var(--bezel-outer-border, rgba(255, 255, 255, 0.06));
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}

/* Atmospheric Ambient Lights (DWS Cyan & Cobalt) */
.core-ambient-cyan {
  position: absolute;
  top: 12%;
  left: 25%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(90px);
}

.core-ambient-blue {
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(90px);
}

/* Left Stage & Typography (Matching Technologies Section text scale) */
.core-stage-left {
  position: relative;
  z-index: 2;
}

.core-status-pill {
  margin-bottom: 20px !important;
  width: fit-content;
}

.core-main-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 16px;
}

.core-cyan-glow {
  background: var(--hero-glow-gradient, linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #0284c7 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px var(--hero-glow-shadow, rgba(56, 189, 248, 0.45));
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.35));
}

.core-subtag {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.core-sep {
  color: var(--accent-cyan-bright, #38bdf8);
  margin: 0 6px;
}

.core-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 520px;
  margin-bottom: 24px;
}

.core-leader-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* CTAs matching DWS tech-cyber-btn & btn-studio-trigger */
.core-primary-cta {
  padding: 12px 28px !important;
  font-size: 0.95rem !important;
}

.core-case-btn {
  padding: 11px 22px !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

/* Right Stage Mockup & Reflection (Enlarged to the Right Side) */
.core-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.core-mockup-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.92));
  transition: transform var(--transition-smooth, 0.4s ease), filter var(--transition-smooth, 0.4s ease);
}

@media (min-width: 992px) {
  .core-mockup-wrapper {
    justify-content: flex-start;
  }

  .core-mockup-img {
    width: 106%;
    max-width: 108%;
    transform-origin: left center;
  }

  .core-mockup-wrapper:hover .core-mockup-img {
    transform: scale(1.02) translateY(-3px);
    filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 30px rgba(56, 189, 248, 0.2));
  }
}

@media (min-width: 1400px) {
  .core-mockup-img {
    width: 112%;
    max-width: 114%;
  }
}

.core-mockup-reflection {
  position: absolute;
  bottom: -15px;
  left: 5%;
  right: -2%;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.28) 0%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

/* ==========================================================================
   ABOUT-STYLE 4-PANEL FEATURE CARDS SYSTEM (TNVR Architecture)
   ========================================================================== */
.core-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

/* Feature Card Shell */
.feature-card {
  position: relative;
  border-radius: var(--radius-inner, 18px);
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: default;
  isolation: isolate;
  background: rgba(12, 18, 30, 0.65);
}

/* Gradient border via pseudo */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(56, 189, 248, 0.45) 0%,
      rgba(56, 189, 248, 0.08) 50%,
      rgba(56, 189, 248, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.38s ease;
  z-index: 1;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

/* Glassmorphism Inner Fill */
.fc-inner {
  position: relative;
  z-index: 3;
  background: rgba(10, 16, 28, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: inherit;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-height: 250px;
}

/* Ghost Background Numeral */
.fc-bg-num {
  position: absolute;
  bottom: -15px;
  right: -5px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 2;
  transition: all 0.4s ease;
}

.feature-card:hover .fc-bg-num {
  color: rgba(56, 189, 248, 0.09);
  transform: scale(1.08) translateY(-4px);
}

/* Shimmer Sweep on Hover */
.fc-shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 80%);
  background-size: 200% 100%;
  background-position: -100% 0;
  pointer-events: none;
  transition: background-position 0.6s ease;
  border-radius: inherit;
}

.feature-card:hover .fc-shimmer {
  background-position: 200% 0;
}

/* Card Header Row */
.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Glowing Icon Ring */
.fc-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.22), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover .fc-icon-ring {
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.08), 0 0 20px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(56, 189, 248, 0.65);
}

.fc-icon {
  color: var(--accent-cyan-bright, #38bdf8);
  font-size: 1.15rem;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.feature-card:hover .fc-icon {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 1));
  transform: scale(1.12);
}

/* Tag Badge */
.fc-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted, #94a3b8);
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-pill, 9999px);
  padding: 4px 10px;
  line-height: 1;
  transition: color 0.3s, background 0.3s;
}

.feature-card:hover .fc-tag {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Body */
.fc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fc-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main, #f1f5f9);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  transition: color 0.3s ease;
}

.feature-card:hover .fc-title {
  color: #ffffff;
}

.fc-desc {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
  margin: 0;
}

.core-fc-subtitle {
  font-size: 0.76rem;
  color: var(--accent-cyan-bright, #38bdf8);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Card 2 Logo Styling (Matching Brand Section Pod Style) */
.core-fc-logo-wrap {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  margin: 6px auto 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast, 0.2s ease);
}

.core-fc-logo-wrap:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.35);
  border-color: #38bdf8;
}

.core-fc-logo-img {
  max-width: 150px;
  max-height: 44px;
  height: auto;
  object-fit: contain;
}

.core-fc-motto {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}

/* Card 3 Services List */
.core-fc-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.core-fc-list li {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
}

/* Card 4 Stats Grid */
.core-fc-stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.core-fc-stat-item {
  display: flex;
  flex-direction: column;
}

.core-fc-stat-num {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.core-fc-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.2;
}

/* Footer: Progress Bar + Metric */
.fc-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.fc-bar-track {
  flex: 1;
  height: 2px;
  background: rgba(56, 189, 248, 0.15);
  border-radius: var(--radius-pill, 9999px);
  overflow: hidden;
}

.fc-bar-fill {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  border-radius: var(--radius-pill, 9999px);
  transition: width 0.4s ease;
}

.feature-card:hover .fc-bar-fill {
  width: 100%;
}

.fc-metric {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan-bright, #38bdf8);
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.feature-card:hover .fc-metric {
  opacity: 1;
}

/* Hover Lift + Shadow */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(56, 189, 248, 0.25),
    0 0 35px rgba(6, 182, 212, 0.15);
}

/* Modal Styling matching DWS modal system */
.core-modal-content {
  background: var(--bg-surface, #0c121e);
  border: 1px solid var(--feature-icon-border, rgba(56, 189, 248, 0.3));
  border-radius: var(--radius-outer, 20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), var(--accent-glow-subtle);
}

/* ==========================================================================
   BOTTOM CENTER CAPABILITIES FEATURE DOCK (Exact Screenshot Design)
   ========================================================================== */
.core-capabilities-dock {
  max-width: 960px;
  margin: 38px auto 0;
  padding: 12px 28px;
}

.core-capabilities-dock .dock-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.015em;
}

.core-capabilities-dock .dock-metric-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Responsive Architecture */
@media (max-width: 1199.98px) {
  .core-features-grid {
    gap: 16px;
  }
}

@media (max-width: 991.98px) {
  .core-section {
    padding: 60px 0;
  }

  .core-mockup-wrapper {
    margin-top: 25px;
  }

  .core-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .core-capabilities-dock {
    max-width: 95%;
    flex-wrap: wrap;
    gap: 12px 0;
    padding: 12px 16px;
  }
}

@media (max-width: 767.98px) {
  .core-main-heading {
    font-size: 2.1rem;
  }

  .core-desc {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .core-features-grid {
    grid-template-columns: 1fr;
  }

  .fc-inner {
    min-height: auto;
    padding: 22px 18px 18px;
  }
}