/* ===================================================================
   support.css - JobNav Support Center Page Styles
   Professional support hub with channels, knowledge base, and plans
   =================================================================== */

/* =====================================================================
   SECTION 1: PAGE LAYOUT OVERRIDE
   ===================================================================== */
.support-page {
  margin: calc(-1 * var(--space-md, 1rem)) 0 0 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* =====================================================================
   SECTION 2: HERO SECTION
   ===================================================================== */
.support-hero {
  position: relative;
  background: linear-gradient(135deg, #010080 0%, #0a0a60 100%);
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 500px;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.15) 0%, transparent 70%);
  transform: translateY(-50%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: #ffcc00;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

/* Hero Search */
.hero-search {
  max-width: 560px;
}

.search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-form i {
  font-size: 20px;
  color: #9e9e9e;
  margin: 0 12px;
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 12px 0;
  font-family: inherit;
}

.search-form input::placeholder {
  color: #bdbdbd;
}

.search-form button {
  background: linear-gradient(135deg, #010080 0%, #1a1a8e 100%);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(1, 0, 128, 0.4);
}

.search-suggestions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-suggestions span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.search-suggestions a {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.search-suggestions a:hover {
  background: rgba(255, 204, 0, 0.2);
  color: #ffcc00;
}

/* Hero Illustration */
.hero-illustration {
  position: relative;
  height: 400px;
}

.illustration-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(255, 204, 0, 0.3);
}

.illustration-main i {
  font-size: 64px;
  color: #010080;
}

.illustration-card {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: float 6s ease-in-out infinite;
}

.illustration-card i {
  font-size: 24px;
  color: #010080;
}

.illustration-card span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212121;
}

.card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 60%;
  right: 5%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
}

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

/* =====================================================================
   SECTION 3: SUPPORT CHANNELS
   ===================================================================== */
.support-channels-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: rgba(1, 0, 128, 0.08);
  color: #010080;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-badge.light {
  background: rgba(255, 204, 0, 0.2);
  color: #ffcc00;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #212121;
  margin-bottom: 12px;
}

.section-header p {
  color: #616161;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.channel-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 30px rgba(1, 0, 128, 0.06);
  border: 1px solid rgba(1, 0, 128, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.channel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(1, 0, 128, 0.12);
}

.channel-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.channel-icon.live-chat {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.channel-icon.email {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.channel-icon.phone {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.channel-icon.community {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.channel-icon i {
  font-size: 32px;
  color: #ffffff;
}

.status-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #ffffff;
}

.status-dot.online {
  background: #10b981;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.channel-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 12px;
}

.channel-card p {
  color: #616161;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.channel-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.channel-meta span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #757575;
}

.channel-meta i {
  font-size: 14px;
  color: #010080;
}

.btn-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: rgba(1, 0, 128, 0.06);
  color: #010080;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-channel:hover {
  background: #010080;
  color: #ffffff;
}

/* =====================================================================
   SECTION 4: KNOWLEDGE BASE
   ===================================================================== */
.knowledge-base-section {
  padding: 80px 0;
  background: #ffffff;
}

.kb-category-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  height: 100%;
  box-shadow: 0 4px 30px rgba(1, 0, 128, 0.06);
  border: 2px solid rgba(1, 0, 128, 0.06);
  transition: all 0.3s ease;
}

.kb-category-card:hover {
  border-color: rgba(1, 0, 128, 0.15);
}

.kb-category-card.org {
  border-color: rgba(255, 204, 0, 0.2);
}

.kb-category-card.org:hover {
  border-color: rgba(255, 204, 0, 0.4);
}

.kb-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.kb-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(1, 0, 128, 0.1) 0%, rgba(1, 0, 128, 0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kb-category-card.org .kb-icon {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.2) 0%, rgba(255, 204, 0, 0.1) 100%);
}

.kb-icon i {
  font-size: 28px;
  color: #010080;
}

.kb-category-card.org .kb-icon i {
  color: #d97706;
}

.kb-title h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 4px;
}

.article-count {
  font-size: 0.9rem;
  color: #757575;
}

.kb-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb-topic {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8f9fc;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.kb-topic:hover {
  background: rgba(1, 0, 128, 0.06);
  transform: translateX(4px);
}

.kb-topic > i:first-child {
  font-size: 24px;
  color: #010080;
  flex-shrink: 0;
}

.kb-category-card.org .kb-topic > i:first-child {
  color: #d97706;
}

.topic-content {
  flex: 1;
}

.topic-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 4px;
}

.topic-content p {
  font-size: 0.85rem;
  color: #757575;
  margin-bottom: 0;
  line-height: 1.5;
}

.kb-topic > i:last-child {
  font-size: 16px;
  color: #bdbdbd;
  transition: all 0.3s ease;
}

.kb-topic:hover > i:last-child {
  color: #010080;
  transform: translateX(4px);
}

/* Quick Help Grid */
.quick-help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.quick-help-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: #f8f9fc;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.quick-help-card:hover {
  background: #010080;
  transform: translateY(-4px);
}

.quick-help-card i {
  font-size: 28px;
  color: #010080;
  transition: color 0.3s ease;
}

.quick-help-card:hover i {
  color: #ffcc00;
}

.quick-help-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #424242;
  transition: color 0.3s ease;
}

.quick-help-card:hover span {
  color: #ffffff;
}

/* =====================================================================
   SECTION 5: VALUE PROPOSITION
   ===================================================================== */
.value-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #010080 0%, #0a0a60 100%);
}

.value-wrapper {
  position: relative;
}

.value-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.value-section > .container > .row > .col-lg-5 > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.value-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffcc00;
  line-height: 1;
  margin-bottom: 8px;
}

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

.value-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 24px;
  color: #010080;
}

.feature-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.5;
}

/* =====================================================================
   SECTION 6: SUPPORT PLANS
   ===================================================================== */
.support-plans-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.plan-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 28px;
  height: 100%;
  box-shadow: 0 4px 30px rgba(1, 0, 128, 0.06);
  border: 2px solid rgba(1, 0, 128, 0.06);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(1, 0, 128, 0.12);
}

.plan-card.featured {
  background: linear-gradient(135deg, #010080 0%, #1a1a8e 100%);
  border: none;
}

.plan-card.enterprise {
  border-color: rgba(255, 204, 0, 0.3);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
  color: #010080;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-header {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-card.featured .plan-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 8px;
}

.plan-card.featured .plan-header h3 {
  color: #ffffff;
}

.plan-header p {
  font-size: 0.95rem;
  color: #757575;
  margin-bottom: 0;
}

.plan-card.featured .plan-header p {
  color: rgba(255, 255, 255, 0.7);
}

.plan-features {
  flex: 1;
  margin-bottom: 24px;
}

.plan-features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #424242;
}

.plan-card.featured .plan-features li {
  color: rgba(255, 255, 255, 0.9);
}

.plan-features li i {
  font-size: 18px;
}

.plan-features li i.bi-check-circle-fill {
  color: #10b981;
}

.plan-card.featured .plan-features li i.bi-check-circle-fill {
  color: #ffcc00;
}

.plan-features li.disabled {
  color: #bdbdbd;
}

.plan-features li.disabled i {
  color: #e0e0e0;
}

.plan-card.featured .plan-features li.disabled {
  color: rgba(255, 255, 255, 0.4);
}

.plan-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-card.featured .plan-footer {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.plan-price {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #212121;
  margin-bottom: 8px;
}

.plan-card.featured .plan-price {
  color: #ffcc00;
}

.plan-price small {
  font-size: 1rem;
  font-weight: 500;
  color: #757575;
}

.plan-card.featured .plan-price small {
  color: rgba(255, 255, 255, 0.6);
}

.plan-note {
  display: block;
  font-size: 0.9rem;
  color: #757575;
}

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #010080 0%, #1a1a8e 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.plan-card.featured .btn-plan {
  background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
  color: #010080;
}

.btn-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 0, 128, 0.3);
  color: #ffffff;
}

.plan-card.featured .btn-plan:hover {
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.4);
  color: #010080;
}

/* =====================================================================
   SECTION 7: CTA SECTION
   ===================================================================== */
.support-cta-section {
  padding: 80px 0;
  background: #ffffff;
}

.cta-wrapper {
  background: linear-gradient(135deg, #f8f9fc 0%, #f0f1f5 100%);
  border-radius: 28px;
  padding: 60px;
  text-align: center;
  border: 1px solid rgba(1, 0, 128, 0.08);
}

.cta-icon {
  font-size: 48px;
  color: #010080;
  margin-bottom: 24px;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #212121;
  margin-bottom: 12px;
}

.cta-content p {
  color: #616161;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #010080 0%, #1a1a8e 100%);
  color: #ffffff;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(1, 0, 128, 0.3);
  color: #ffffff;
}

.btn-cta-secondary {
  background: #ffffff;
  color: #010080;
  border: 2px solid #010080;
}

.btn-cta-secondary:hover {
  background: #010080;
  color: #ffffff;
  transform: translateY(-3px);
}

/* =====================================================================
   SECTION 8: RESPONSIVE STYLES
   ===================================================================== */
@media (max-width: 991.98px) {
  .support-hero {
    padding: 60px 0 80px;
    min-height: auto;
  }
  
  .hero-illustration {
    display: none;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-search {
    max-width: 100%;
  }
  
  .value-features {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  
  .value-stats {
    justify-content: center;
    margin-bottom: 40px;
  }
  
  .quick-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .support-hero {
    padding: 50px 20px 70px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .search-form {
    flex-wrap: wrap;
  }
  
  .search-form input {
    width: 100%;
    padding: 12px;
  }
  
  .search-form button {
    width: 100%;
    margin-top: 8px;
  }
  
  .search-form > i:first-child {
    display: none;
  }
  
  .support-channels-section,
  .knowledge-base-section,
  .support-plans-section,
  .support-cta-section {
    padding: 60px 20px;
  }
  
  .kb-category-card {
    padding: 24px;
  }
  
  .quick-help-grid {
    grid-template-columns: 1fr;
  }
  
  .value-section {
    padding: 60px 20px;
  }
  
  .feature-item {
    padding: 20px;
  }
  
  .cta-wrapper {
    padding: 40px 24px;
    border-radius: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* =====================================================================
   SECTION 9: ACCESSIBILITY
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .illustration-card,
  .status-dot.online {
    animation: none;
  }
  
  .channel-card:hover,
  .kb-topic:hover,
  .quick-help-card:hover,
  .feature-item:hover,
  .plan-card:hover,
  .btn-channel:hover,
  .btn-plan:hover,
  .btn-cta-primary:hover,
  .btn-cta-secondary:hover {
    transform: none;
  }
}