/* assets/css/server-maintenance.css - MOBILE RESPONSIVE VERSION */

/* Color Variables */
:root {
  --primary-color: #012970;
  --accent-color: #fcb614;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  --border-light: #e2e8f0;
}

/* Hero Section - Light Background */
.server-hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(252, 182, 20, 0.3);
}

.hero-title {
  color: var(--primary-color);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text {
  color: var(--text-medium);
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: clamp(16px, 4vw, 32px);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stat-number {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-color), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--text-light);
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  font-weight: 500;
  margin-top: 4px;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #f59e0b);
  color: var(--primary-color);
  padding: clamp(14px, 3vw, 18px) clamp(24px, 5vw, 36px);
  border-radius: 16px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(252, 182, 20, 0.4);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(252, 182, 20, 0.5);
  color: var(--primary-color);
  text-decoration: none;
}

.hero-image {
  text-align: center;
  margin-top: 40px;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.section-header.centered {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 60px);
}

.section-header.centered h2 {
  color: var(--primary-color);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header.centered p {
  color: var(--text-medium);
  font-size: clamp(1rem, 3vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto;
}

/* Process Timeline */
.server-process {
  padding: clamp(60px, 12vw, 100px) 0;
  background: var(--white);
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-left: clamp(20px, 5vw, 40px);
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: clamp(25px, 6vw, 35px);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--border-light), #cbd5e1);
  z-index: 1;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: clamp(32px, 6vw, 48px);
  position: relative;
  gap: clamp(12px, 3vw, 24px);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  background: linear-gradient(135deg, var(--accent-color), #f59e0b);
  color: var(--white);
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(252, 182, 20, 0.3);
  z-index: 2;
}

.timeline-content {
  flex: 1;
}

.timeline-content h4 {
  color: var(--primary-color);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-content p {
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Vendor Matrix */
.vendor-matrix {
  padding: clamp(60px, 12vw, 100px) 0;
  background: var(--light-bg);
}

.matrix-table {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.matrix-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 1fr;
  gap: 16px;
  padding: clamp(16px, 4vw, 24px) clamp(20px, 4vw, 32px);
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  transition: all 0.3s ease;
}

.matrix-row:hover {
  background: #f8fafc;
}

.matrix-row:last-child {
  border-bottom: none;
}

.matrix-row.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0148a3 100%);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.5px;
  padding: clamp(16px, 4vw, 24px) clamp(20px, 4vw, 32px);
}

.matrix-row div:first-child {
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.matrix-row div:first-child i {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  width: 28px;
  color: var(--accent-color);
}

.matrix-row div {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
}

/* Quick Connect - Light Background */
.quick-connect {
  padding: clamp(60px, 12vw, 100px) 0;
  background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
}

.connect-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.connect-content h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.connect-content p {
  color: var(--text-medium);
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin-bottom: clamp(32px, 6vw, 48px);
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(20px, 4vw, 32px);
  margin-bottom: clamp(32px, 6vw, 48px);
}

.connect-item {
  background: var(--white);
  padding: clamp(20px, 5vw, 32px);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent-color);
}

.connect-item h4 {
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.connect-item p {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.connect-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #f59e0b);
  color: var(--primary-color);
  padding: clamp(16px, 4vw, 20px) clamp(32px, 6vw, 48px);
  border-radius: 16px;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(252, 182, 20, 0.4);
  transition: all 0.3s ease;
}

.connect-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(252, 182, 20, 0.5);
  color: var(--primary-color);
  text-decoration: none;
}

/* Mobile Responsive - Enhanced */
@media (max-width: 992px) {
  .hero-stats {
    justify-content: center;
  }

  .matrix-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
  }

  .matrix-row.header {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .server-hero {
    padding: clamp(60px, 15vw, 80px) 0 clamp(40px, 10vw, 60px);
  }

  .hero-image {
    margin-top: 32px;
  }

  .process-timeline {
    padding-left: clamp(30px, 8vw, 40px);
  }

  .process-timeline::before {
    left: clamp(20px, 6vw, 30px);
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left;
    padding: clamp(12px, 3vw, 20px);
    margin-left: clamp(-10px, -2vw, -15px);
  }

  .timeline-number {
    margin-right: 0;
    margin-bottom: 12px;
    align-self: flex-start;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 16px;
    text-align: left;
  }

  .matrix-row div:first-child {
    justify-content: flex-start;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .timeline-number {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .matrix-row {
    padding: 16px 12px;
  }

  .connect-item {
    padding: 24px 20px;
  }

  .connect-item p {
    font-size: 14px;
  }

  :root {
    --primary-color: #012970;
    --accent-color: #fcb614;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --border-light: #e2e8f0;
  }

  .server-hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
  }

  .hero-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(252, 182, 20, 0.3);
  }

  .hero-title {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
  }

  .hero-text {
    color: var(--text-medium);
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 15px;
    max-width: 500px;
  }

  .hero-stats {
    display: flex;
    gap: clamp(16px, 4vw, 32px);
    margin-bottom: 25px;
    flex-wrap: wrap;
  }

  .stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
  }

  .stat-number {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
  }

  .stat-label {
    color: var(--text-light);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    font-weight: 500;
    margin-top: 4px;
  }

  .hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--primary-color);
    padding: clamp(14px, 3vw, 18px) clamp(24px, 5vw, 36px);
    border-radius: 16px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(252, 182, 20, 0.4);
    transition: all 0.3s ease;
  }

  .hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(252, 182, 20, 0.5);
    color: var(--primary-color);
    text-decoration: none;
  }

  .hero-image {
    text-align: center;
    margin-top: 40px;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  }

  /* Section Headers */
  .section-header.centered {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 60px);
  }

  .section-header.centered h2 {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .section-header.centered p {
    color: var(--text-medium);
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
  }

  /* Process Timeline */
  .server-process {
    padding: clamp(60px, 12vw, 100px) 0;
    background: var(--white);
  }

  .process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-left: clamp(20px, 5vw, 40px);
  }

  .process-timeline::before {
    content: "";
    position: absolute;
    left: clamp(25px, 6vw, 35px);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--border-light), #cbd5e1);
    z-index: 1;
  }

  .timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: clamp(32px, 6vw, 48px);
    position: relative;
    gap: clamp(12px, 3vw, 24px);
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

  .timeline-number {
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--white);
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(252, 182, 20, 0.3);
    z-index: 2;
  }

  .timeline-content {
    flex: 1;
  }

  .timeline-content h4 {
    color: var(--primary-color);
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .timeline-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  /* Vendor Matrix */
  .vendor-matrix {
    padding: clamp(60px, 12vw, 100px) 0;
    background: var(--light-bg);
  }

  .matrix-table {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  }

  .matrix-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 1fr;
    gap: 16px;
    padding: clamp(16px, 4vw, 24px) clamp(20px, 4vw, 32px);
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    transition: all 0.3s ease;
  }

  .matrix-row:hover {
    background: #f8fafc;
  }

  .matrix-row:last-child {
    border-bottom: none;
  }

  .matrix-row.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0148a3 100%);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    letter-spacing: 0.5px;
    padding: clamp(16px, 4vw, 24px) clamp(20px, 4vw, 32px);
  }

  .matrix-row div:first-child {
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .matrix-row div:first-child i {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    width: 28px;
    color: var(--accent-color);
  }

  .matrix-row div {
    font-size: clamp(0.85rem, 2.2vw, 1rem);
  }

  /* Quick Connect - Light Background */
  .quick-connect {
    padding: clamp(60px, 12vw, 100px) 0;
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
  }

  .connect-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .connect-content h2 {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .connect-content p {
    color: var(--text-medium);
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: clamp(32px, 6vw, 48px);
  }

  .connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(20px, 4vw, 32px);
    margin-bottom: clamp(32px, 6vw, 48px);
  }

  .connect-item {
    background: var(--white);
    padding: clamp(20px, 5vw, 32px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--accent-color);
  }

  .connect-item h4 {
    color: var(--primary-color);
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
  }

  .connect-item p {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
  }

  .connect-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: var(--primary-color);
    padding: clamp(16px, 4vw, 20px) clamp(32px, 6vw, 48px);
    border-radius: 16px;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(252, 182, 20, 0.4);
    transition: all 0.3s ease;
  }

  .connect-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(252, 182, 20, 0.5);
    color: var(--primary-color);
    text-decoration: none;
  }

  /* Mobile Responsive - Enhanced */
  @media (max-width: 992px) {
    .hero-stats {
      justify-content: center;
    }

    .matrix-row {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      text-align: center;
    }

    .matrix-row.header {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 768px) {
    .server-hero {
      padding: clamp(60px, 15vw, 80px) 0 clamp(40px, 10vw, 60px);
    }

    .hero-image {
      margin-top: 10px;
    }

    .process-timeline {
      padding-left: clamp(30px, 8vw, 40px);
    }

    .process-timeline::before {
      left: clamp(20px, 6vw, 30px);
    }

    .timeline-item {
      flex-direction: column;
      align-items: flex-start !important;
      text-align: left;
      padding: clamp(12px, 3vw, 20px);
      margin-left: clamp(-10px, -2vw, -15px);
    }

    .timeline-number {
      margin-right: 0;
      margin-bottom: 12px;
      align-self: flex-start;
    }

    .matrix-row {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 20px 16px;
      text-align: left;
    }

    .matrix-row div:first-child {
      justify-content: flex-start;
    }

    .connect-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

  @media (max-width: 480px) {
    .stat-number {
      font-size: 22px;
    }

    .timeline-number {
      width: 48px;
      height: 48px;
      font-size: 1.1rem;
    }

    .matrix-row {
      padding: 16px 12px;
    }

    .connect-item {
      padding: 24px 20px;
    }

    .connect-item p {
      font-size: 18px;
    }
  }

  /* Extra small screens */
  @media (max-width: 360px) {
    .hero-stats {
      gap: 12px;
    }

    .stat-item {
      min-width: 80px;
    }

    .process-timeline {
      padding-left: 25px;
    }
  }
  .hero-badge {
    margin-top: 30px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero-stats {
    gap: 12px;
  }

  .stat-item {
    min-width: 80px;
  }

  .process-timeline {
    padding-left: 25px;
  }
}
