/* MSN Plus - Custom Styles */
/* Color Scheme: Purple (Communication) + Indigo (Professional) + Cyan (Tech) */

:root {
  /* Primary - Purple/Violet (Communication/Connection) */
  --msn-purple: #8B5CF6;
  --msn-purple-light: #A78BFA;
  --msn-purple-dark: #7C3AED;

  /* Secondary - Deep Indigo */
  --msn-indigo: #312E81;
  --msn-indigo-light: #3730A3;
  --msn-indigo-dark: #1E1B4B;

  /* Accent - Cyan (Digital/Tech) */
  --msn-cyan: #06B6D4;
  --msn-cyan-light: #22D3EE;

  /* Neutrals */
  --msn-white: #FFFFFF;
  --msn-off-white: #F8FAFC;
  --msn-gray-light: #F1F5F9;
  --msn-gray: #64748B;
  --msn-gray-dark: #334155;
  --msn-dark: #0F172A;
}

html {
  margin-left: 0 !important;
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero-section {
  background: linear-gradient(135deg, var(--msn-indigo-dark) 0%, var(--msn-indigo) 50%, var(--msn-indigo-light) 100%);
  color: var(--msn-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--msn-purple), var(--msn-purple-light), var(--msn-cyan));
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--msn-white) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--msn-purple-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ==================== */
/* Buttons              */
/* ==================== */

.btn {
  border-radius: 6px !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  border-radius: 8px !important;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  border-radius: 5px !important;
}

/* Primary CTA - Purple */
.btn-msn {
  background: var(--msn-purple);
  color: var(--msn-white);
  font-weight: 600;
  border: none;
}

.btn-msn:hover {
  background: var(--msn-purple-dark);
  color: var(--msn-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Secondary - Indigo */
.btn-indigo {
  background: var(--msn-indigo);
  color: var(--msn-white);
  border: none;
}

.btn-indigo:hover {
  background: var(--msn-indigo-dark);
  color: var(--msn-white);
}

/* Accent - Cyan */
.btn-cyan {
  background: var(--msn-cyan);
  color: var(--msn-white);
  border: none;
}

.btn-cyan:hover {
  background: #0891B2;
  color: var(--msn-white);
}

.btn-outline-light {
  border: 2px solid var(--msn-white);
  color: var(--msn-white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--msn-white);
  color: var(--msn-indigo);
}

.btn-outline-indigo {
  border: 2px solid var(--msn-indigo);
  color: var(--msn-indigo);
  background: transparent;
}

.btn-outline-indigo:hover {
  background: var(--msn-indigo);
  color: var(--msn-white);
}

.btn-outline-purple {
  border: 2px solid var(--msn-purple);
  color: var(--msn-purple);
  background: transparent;
}

.btn-outline-purple:hover {
  background: var(--msn-purple);
  color: var(--msn-white);
}

/* ==================== */
/* Navbar               */
/* ==================== */

.navbar {
  background: var(--msn-indigo) !important;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 600;
}

.navbar .btn-msn {
  background: var(--msn-purple);
}

.navbar .btn-msn:hover {
  background: var(--msn-purple-light);
}

/* ==================== */
/* Cards                */
/* ==================== */

.card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: var(--msn-indigo) !important;
  color: var(--msn-white) !important;
  border-radius: 12px 12px 0 0 !important;
}

/* Category Cards */
.category-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--msn-purple);
  transform: translateY(-4px);
}

.category-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--msn-purple-light), var(--msn-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--msn-white);
}

.category-icon svg {
  width: 32px;
  height: 32px;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--msn-indigo);
  margin-bottom: 0.75rem;
}

.category-desc {
  color: var(--msn-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==================== */
/* Feature Cards        */
/* ==================== */

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--msn-purple-light), var(--msn-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--msn-white);
}

.feature-title {
  font-weight: 600;
  color: var(--msn-indigo);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.feature-card .text-muted {
  font-size: 1rem;
}

/* ==================== */
/* App Badge            */
/* ==================== */

.msn-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--msn-purple), var(--msn-purple-dark));
  color: var(--msn-white);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

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

.msn-badge-cyan {
  background: linear-gradient(135deg, var(--msn-cyan), var(--msn-cyan-light));
  color: var(--msn-white);
}

.msn-badge-green {
  background: linear-gradient(135deg, #10B981, #34D399);
  color: var(--msn-white);
}

.msn-badge-orange {
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: var(--msn-white);
}

/* ==================== */
/* App Cards            */
/* ==================== */

.app-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.app-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.app-card-header {
  background: var(--msn-off-white);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--msn-white);
}

.app-card-body {
  padding: 1.25rem;
}

.app-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--msn-indigo);
  margin-bottom: 0.25rem;
}

.app-title a {
  color: var(--msn-indigo);
  text-decoration: none;
}

.app-title a:hover {
  color: var(--msn-purple);
}

.app-company {
  font-size: 0.875rem;
  color: var(--msn-gray);
  margin-bottom: 0.75rem;
}

.app-desc {
  color: var(--msn-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.app-feature-tag {
  background: var(--msn-gray-light);
  color: var(--msn-gray-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.app-platforms {
  display: flex;
  gap: 0.5rem;
  color: var(--msn-gray);
  font-size: 0.875rem;
}

.app-platforms svg {
  width: 18px;
  height: 18px;
}

/* ==================== */
/* Comparison Table     */
/* ==================== */

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.compare-table th {
  background: var(--msn-indigo);
  color: var(--msn-white);
  font-weight: 600;
}

.compare-table th:first-child {
  text-align: left;
  background: var(--msn-indigo-light);
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--msn-gray-dark);
}

.compare-table tbody tr:hover {
  background: var(--msn-off-white);
}

.compare-check {
  color: #10B981;
}

.compare-cross {
  color: #EF4444;
}

.compare-partial {
  color: #F59E0B;
}

/* ==================== */
/* Section Styles       */
/* ==================== */

.section-light {
  background: var(--msn-off-white);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--msn-indigo);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--msn-gray);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--msn-purple-light), var(--msn-purple));
  color: var(--msn-white);
  position: relative;
}

.cta-section h2 {
  color: var(--msn-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-section {
  background: var(--msn-indigo);
  color: var(--msn-white);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--msn-purple-light);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== */
/* Footer               */
/* ==================== */

.site-footer {
  background: var(--msn-indigo-dark);
  color: var(--msn-white);
  padding: 2.5rem 0 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--msn-purple), var(--msn-purple-light), var(--msn-cyan));
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--msn-purple-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--msn-purple-light);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

/* ==================== */
/* Filter Buttons       */
/* ==================== */

.filter-btn {
  background: var(--msn-white);
  border: 2px solid #e5e7eb;
  color: var(--msn-gray-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--msn-purple);
  color: var(--msn-purple);
}

.filter-btn.active {
  background: var(--msn-purple);
  border-color: var(--msn-purple);
  color: var(--msn-white);
}

/* ==================== */
/* Info Box             */
/* ==================== */

.info-box {
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
  border: 1px solid #DDD6FE;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-box-cyan {
  background: linear-gradient(135deg, #ECFEFF, #CFFAFE);
  border-color: #A5F3FC;
}

.info-box-title {
  font-weight: 600;
  color: var(--msn-indigo);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box-title svg {
  color: var(--msn-purple);
}

/* ==================== */
/* Typography           */
/* ==================== */

body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--msn-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--msn-indigo);
}

h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.small, small {
  font-size: 0.9375rem !important;
}

.text-muted {
  color: var(--msn-gray) !important;
}

a {
  color: var(--msn-purple);
}

a:hover {
  color: var(--msn-purple-dark);
}

/* ==================== */
/* Utility Classes      */
/* ==================== */

.bg-msn-light {
  background: var(--msn-gray-light);
}

.text-msn-purple {
  color: var(--msn-purple);
}

.text-msn-indigo {
  color: var(--msn-indigo);
}

.text-msn-cyan {
  color: var(--msn-cyan);
}

.border-msn {
  border-color: var(--msn-purple) !important;
}

/* ==================== */
/* Mobile Adjustments   */
/* ==================== */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .category-card {
    padding: 1.5rem 1rem;
  }

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

  .stat-number {
    font-size: 2rem;
  }

  .footer-links {
    justify-content: center;
  }

  .compare-table {
    font-size: 0.875rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* ==================== */
/* Animation            */
/* ==================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease-out;
}

/* ==================== */
/* Region Cards         */
/* ==================== */

.region-card {
  background: var(--msn-white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.region-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.region-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--msn-indigo);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.region-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.region-app {
  background: var(--msn-gray-light);
  color: var(--msn-gray-dark);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}
