/* ====================================
   PLATFORM CAPABILITIES PAGE STYLES
   ==================================== */

/* Hero Section Override */
.hero {
  background-image: url('../../assets/images/cybercube-logo-hero.webp');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

@media (width >= 801px) {
  .hero-overlay {
    display: block !important;
    background: linear-gradient(
      to left,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 40%,
      rgba(255, 255, 255, 0.5) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

.hero-grid {
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-content {
  max-width: 650px;
  margin-left: auto;
  margin-right: 0;
}

.hero-subtitle {
  color: var(--eerie-black);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-description {
  color: var(--davys-grey);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
  max-width: 650px;
}

/* Capabilities Sections */
.capabilities-section {
  padding: 5rem 0;
  background: #fff;
}

.capabilities-section.alt-bg {
  background: #f8f9fa;
}

.capabilities-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.capability-card {
  background: #fff;
  border: 2px solid #e8edf2;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.capability-card:hover {
  border-color: #0d85d8;
  box-shadow: 0 8px 24px rgba(13, 133, 216, 0.12);
  transform: translateY(-4px);
}

.capability-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 133, 216, 0.1);
  border-radius: 12px;
}

.capability-card h3 {
  font-size: 1.25rem;
  color: #1c1c1c;
  margin-bottom: 1rem;
  font-weight: 700;
}

.capability-card p {
  font-size: 1rem;
  color: #4f5b67;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(13, 133, 216, 0.15);
  color: #000;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(13, 133, 216, 0.2);
}

/* Advanced Grid */
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.advanced-card {
  background: #fff;
  border: 2px solid #e8edf2;
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.advanced-card:hover {
  border-color: #0d85d8;
  box-shadow: 0 12px 32px rgba(13, 133, 216, 0.15);
  transform: translateY(-6px);
}

.advanced-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.advanced-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 133, 216, 0.1);
  border-radius: 12px;
}

.advanced-card h3 {
  font-size: 1.5rem;
  color: #1c1c1c;
  font-weight: 700;
  flex: 1;
}

.advanced-card > p {
  font-size: 1rem;
  color: #4f5b67;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.advanced-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advanced-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #4f5b67;
  line-height: 1.6;
}

.advanced-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0d85d8;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Infrastructure Grid */
.infrastructure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.infra-card {
  background: #fff;
  border: 2px solid #e8edf2;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.infra-card:hover {
  border-color: #0d85d8;
  box-shadow: 0 8px 24px rgba(13, 133, 216, 0.12);
  transform: translateY(-4px);
}

.infra-card h3 {
  font-size: 1.5rem;
  color: #1c1c1c;
  margin-bottom: 1rem;
  font-weight: 700;
}

.infra-card p {
  font-size: 1rem;
  color: #4f5b67;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.infra-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.provider {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  color: #1c1c1c;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #e8edf2;
  transition: all 0.2s ease;
}

.provider:hover {
  background: rgba(13, 133, 216, 0.15);
  border-color: #000;
  color: #000;
}

/* UX Grid */
.ux-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ux-card {
  background: #fff;
  border: 2px solid #e8edf2;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.ux-card:hover {
  border-color: #0d85d8;
  box-shadow: 0 8px 24px rgba(13, 133, 216, 0.12);
  transform: translateY(-4px);
}

.ux-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 133, 216, 0.1);
  border-radius: 12px;
}

.ux-icon svg {
  width: 48px;
  height: 48px;
}

.ux-card h3 {
  font-size: 1.25rem;
  color: #1c1c1c;
  margin-bottom: 1rem;
  font-weight: 700;
}

.ux-card p {
  font-size: 0.95rem;
  color: #4f5b67;
  line-height: 1.7;
  margin: 0;
}

/* CTA Wrapper */
.cta-action-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.cta-action-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #4f5b67;
}

.cta-action-note a {
  color: #0d85d8;
  text-decoration: none;
  font-weight: 600;
}

.cta-action-note a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (width <= 768px) {
  .capabilities-grid,
  .advanced-grid,
  .infrastructure-grid,
  .ux-grid {
    grid-template-columns: 1fr;
  }

  .advanced-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .advanced-icon {
    width: 56px;
    height: 56px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
  }
}

@media (width <= 480px) {
  .capabilities-section {
    padding: 3rem 0;
  }

  .capability-card,
  .advanced-card,
  .infra-card,
  .ux-card {
    padding: 1.5rem;
  }

  .capability-icon,
  .advanced-icon {
    width: 48px;
    height: 48px;
  }

  .ux-icon {
    width: 56px;
    height: 56px;
  }

  .ux-icon svg {
    width: 40px;
    height: 40px;
  }
}
