/* Social Media Page Styles (sm-) */

:root {
  --sm-primary: #330cb3;
  --sm-secondary: #0ea5e9;
  --sm-dark: #1a0a3e;
  --sm-light: #f9f9fc;
  --sm-white: #ffffff;
  --sm-text: #4b5563;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
  background: linear-gradient(
    135deg,
    #000 0%,
    #1a0a3e 50%,
    #000 100%
  ) !important;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(139, 92, 246, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
  animation: slideDown 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.95;
  animation: slideUp 0.8s ease-out;
}

/* SECTION COMMON */
.sm-section {
  padding: 60px 0;
  position: relative;
  background-color: var(--sm-white);
  overflow: hidden;
}

.sm-section.alt-bg {
  background-color: var(--sm-light);
}

.sm-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sm-primary);
  margin-bottom: 60px;
  position: relative;
  text-align: center;
  line-height: 1.2;
}

.sm-section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--sm-primary);
  border-radius: 2px;
}

.sm-section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: var(--sm-text);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* 1. PLATFORMS (Grid 2x2) */
.sm-platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .sm-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sm-platform-card {
  background: var(--sm-white);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sm-platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(51, 12, 179, 0.12);
}

.sm-platform-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sm-primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-platform-desc {
  font-size: 1rem;
  color: var(--sm-text);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.sm-platform-content-type {
  margin-top: auto;
  padding: 10px 15px;
  background: #f0fdf4;
  color: #166534;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

/* 2. ACTIONS (Features) */
.sm-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .sm-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sm-action-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--sm-white);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.sm-action-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(51, 12, 179, 0.1);
}

.sm-action-icon {
  width: 60px;
  height: 60px;
  background: var(--sm-light);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-action-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sm-dark);
  margin-bottom: 10px;
}

.sm-action-desc {
  font-size: 0.95rem;
  color: var(--sm-text);
}

/* 3. VITALE (Timeline Steps) */
.sm-vital-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .sm-vital-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sm-vital-card {
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--sm-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.sm-vital-card:hover {
  transform: translateX(5px);
}

.sm-vital-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sm-dark);
  margin-bottom: 10px;
}

.sm-vital-text {
  font-size: 1rem;
  color: var(--sm-text);
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .sm-section {
    padding: 20px 0;
  }
  .sm-section-title {
    font-size: 2rem;
  }
}
