/* ==========================================
   SERVICES PAGE STYLES (ALTERNATING LAYOUT)
   ========================================== */

/* --- HERO SECTION --- */
.services-hero {
  width: 100%;
  padding: 80px 24px 40px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.services-hero .container {
  max-width: 900px;
  margin: 0 auto;
}

.services-hero .badge-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent, #E85A00);
  background-color: rgba(232, 90, 0, 0.08);
  border: 1px solid rgba(232, 90, 0, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.services-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #0F172A !important;
  margin-top: 10px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.services-hero-title .text-highlight {
  color: var(--color-accent, #E85A00) !important;
}

.services-hero-sub {
  font-size: 1.125rem;
  color: #475569 !important;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- SERVICES LIST CONTAINER --- */
.services-list-section {
  padding: 20px 0 80px 0;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border, #E2E8F0);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-row.row-reverse {
  flex-direction: row-reverse;
}

.service-mockup-col,
.service-content-col {
  flex: 1;
  width: 100%;
}

/* --- CONTENT COLUMN --- */
.service-number {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-accent, #E85A00);
  background-color: rgba(232, 90, 0, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-feature-list li {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-feature-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgba(232, 90, 0, 0.12);
  color: var(--color-accent, #E85A00);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* --- UI MOCKUPS (CODE-BASED GRAPHICS) --- */
.ui-mockup {
  background-color: #0F172A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  border: 1px solid #1E293B;
}

.mockup-header {
  height: 36px;
  background-color: #1E293B;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.mockup-url {
  margin-left: auto;
  font-size: 0.75rem;
  color: #94A3B8;
  background: #0F172A;
  padding: 2px 12px;
  border-radius: 4px;
  font-family: monospace;
}

.mockup-body {
  padding: 24px;
  color: #F8FAFC;
}

/* Browser Mockup Skeleton */
.web-design-preview {
  background-color: #FFFFFF;
  padding: 20px;
}
.mockup-nav-skeleton { height: 12px; background: #E2E8F0; border-radius: 4px; margin-bottom: 20px; }
.mockup-hero-skeleton { background: #F8FAFC; padding: 20px; border-radius: 8px; margin-bottom: 16px; }
.skeleton-line { height: 10px; background: #CBD5E1; border-radius: 4px; margin-bottom: 8px; }
.line-lg { width: 70%; }
.line-md { width: 40%; }
.skeleton-btn { width: 80px; height: 24px; background: var(--color-accent, #E85A00); border-radius: 4px; margin-top: 12px; }
.mockup-grid-skeleton { display: flex; gap: 12px; }
.skeleton-card { flex: 1; height: 60px; background: #E2E8F0; border-radius: 6px; }

/* Code Mockup */
.code-preview { font-family: monospace; font-size: 0.85rem; line-height: 1.6; }
.indent-1 { padding-left: 16px; }
.indent-2 { padding-left: 32px; }
.code-kw { color: #F43F5E; }
.code-cls { color: #38BDF8; }
.code-type { color: #F59E0B; }
.code-fn { color: #10B981; }
.code-val { color: #A855F7; }

/* Mobile Frame */
.mobile-frame {
  width: 220px;
  height: 320px;
  margin: 0 auto;
  background: #0F172A;
  border-radius: 28px;
  padding: 12px;
  border: 4px solid #334155;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.mobile-notch { width: 60px; height: 10px; background: #334155; margin: 0 auto 12px auto; border-radius: 6px; }
.mobile-screen { background: #F8FAFC; height: calc(100% - 22px); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.app-card { padding: 16px; border-radius: 10px; }
.card-primary { background: var(--color-accent, #E85A00); height: 100px; }
.card-secondary { background: #E2E8F0; height: 80px; }

/* Canvas Mockup */
.canvas-mockup { background: #1E293B; }
.design-tool-bar { height: 28px; background: #0F172A; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.tool-dot { width: 8px; height: 8px; background: #475569; border-radius: 50%; }
.canvas-workspace { padding: 30px; display: flex; justify-content: center; }
.wireframe-card { background: #FFFFFF; padding: 20px; border-radius: 12px; width: 100%; display: flex; align-items: center; gap: 16px; }
.design-label { font-size: 1.8rem; font-weight: 900; color: #0F172A; }
.color-palette { display: flex; gap: 6px; }
.swatch { width: 20px; height: 20px; border-radius: 50%; }
.swatch-primary { background: var(--color-accent, #E85A00); }
.swatch-dark { background: #0F172A; }
.swatch-muted { background: #94A3B8; }

/* Dashboard Analytics Mockup */
.analytics-preview { padding: 20px; }
.metric-row { display: flex; gap: 12px; margin-bottom: 20px; }
.metric-box { flex: 1; background: #1E293B; padding: 12px; border-radius: 8px; }
.metric-val { display: block; font-size: 1.2rem; font-weight: 800; color: #38BDF8; }
.metric-lbl { font-size: 0.75rem; color: #94A3B8; }
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 80px; padding-top: 10px; }
.bar { flex: 1; background: var(--color-accent, #E85A00); border-radius: 4px 4px 0 0; }
.b1 { height: 40%; } .b2 { height: 75%; } .b3 { height: 55%; } .b4 { height: 95%; }

/* Terminal DevOps Mockup */
.terminal-preview { font-family: monospace; font-size: 0.82rem; line-height: 1.8; color: #38BDF8; }
.term-prompt { color: #EF4444; }
.term-success { color: #10B981; }
.term-info { color: #F59E0B; }

/* CTA SECTION */
.services-cta-section { margin-top: 40px; margin-bottom: 80px; }
.cta-card {
  background: #0F172A;
  color: #FFFFFF;
  padding: 60px 40px;
  border-radius: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.cta-card h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-card p { font-size: 1.05rem; color: #94A3B8; margin-bottom: 28px; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
  .service-row, 
  .service-row.row-reverse {
    flex-direction: column;
    gap: 32px;
    padding: 24px;
  }
  .services-hero-title {
    font-size: 2.2rem;
  }
}