/* Services page-specific styles */

.services-detail-section {
  padding: 40px 0 80px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--ink-mid);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-alt {
  direction: rtl;
}

.service-detail-alt > * {
  direction: ltr;
}

.service-detail-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 16px;
}

.service-detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.service-detail-desc {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mist);
}

/* Visual Mockups */
.visual-mockup {
  background: var(--ink-light);
  border: 1px solid var(--ink-mid);
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
  position: relative;
}

/* Design Mockup - stacked layers */
.design-mockup {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 340px;
}

.mockup-layer {
  border-radius: 10px;
  transition: transform 0.5s var(--ease-out-expo);
}

.design-mockup .layer-1 {
  height: 40px;
  background: linear-gradient(90deg, var(--ink-mid), var(--charcoal));
}

.design-mockup .layer-2 {
  height: 100px;
  background: linear-gradient(135deg, rgba(212, 160, 74, 0.15), rgba(212, 160, 74, 0.05));
  border: 1px solid rgba(212, 160, 74, 0.1);
}

.design-mockup .layer-3 {
  height: 32px;
  width: 60%;
  background: linear-gradient(90deg, var(--ink-mid), transparent);
}

.design-mockup .layer-4 {
  height: 32px;
  width: 40%;
  background: linear-gradient(90deg, var(--charcoal), transparent);
}

.design-mockup .layer-5 {
  height: 48px;
  display: flex;
  gap: 12px;
}

.design-mockup .layer-5::before,
.design-mockup .layer-5::after {
  content: '';
  flex: 1;
  border-radius: 10px;
}

.design-mockup .layer-5::before {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
}

.design-mockup .layer-5::after {
  background: var(--ink-mid);
  border: 1px solid var(--charcoal);
}

.visual-mockup:hover .mockup-layer {
  transform: translateY(-4px);
}

/* Code Mockup */
.code-mockup {
  display: flex;
  flex-direction: column;
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-mid);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-mid);
}

.code-dot:first-child { background: var(--red-dot); }
.code-dot:nth-child(2) { background: var(--yellow-dot); }
.code-dot:nth-child(3) { background: var(--green-dot); }

.code-filename {
  font-size: 11px;
  color: var(--slate);
  margin-left: 12px;
}

.code-lines {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.code-line {
  height: 12px;
  background: linear-gradient(90deg, var(--ink-mid) 30%, var(--charcoal) 60%, transparent);
  border-radius: 6px;
  width: 85%;
}

.code-line.short {
  width: 55%;
}

.code-line:nth-child(even) {
  margin-left: 20px;
}

/* Analytics Mockup */
.analytics-mockup {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.analytics-title {
  height: 14px;
  width: 100px;
  background: var(--ink-mid);
  border-radius: 7px;
}

.analytics-pill {
  height: 28px;
  width: 72px;
  background: rgba(212, 160, 74, 0.15);
  border: 1px solid rgba(212, 160, 74, 0.2);
  border-radius: 14px;
}

.analytics-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex: 1;
  min-height: 200px;
  padding-top: 16px;
}

.chart-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--amber-deep), var(--amber));
  border-radius: 8px 8px 0 0;
  transition: transform 0.4s var(--ease-out-expo);
  position: relative;
}

.chart-bar:hover {
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.chart-bar:nth-child(odd) {
  background: linear-gradient(to top, rgba(212, 160, 74, 0.3), rgba(212, 160, 74, 0.5));
}

/* Brand Mockup */
.brand-mockup {
  padding: 48px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 300px;
}

.brand-logo-shape {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  border-radius: 30px;
  transform: rotate(15deg);
  flex-basis: 100%;
  margin: 0 auto 16px;
  max-width: 120px;
}

.brand-color-swatch {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  transition: transform 0.4s var(--ease-spring);
}

.brand-color-swatch:hover {
  transform: scale(1.1) rotate(-4deg);
}

.swatch-1 { background: var(--amber); }
.swatch-2 { background: var(--ink-mid); }
.swatch-3 { background: var(--white); }

/* Process Section */
.process-section {
  padding: 120px 0;
  background: var(--ink-light);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--ink-mid), var(--amber));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--amber);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-detail-alt {
    direction: ltr;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 32px;
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .service-feature-list {
    grid-template-columns: 1fr;
  }

  .services-detail-section {
    padding: 20px 0 40px;
  }

  .service-detail {
    padding: 48px 0;
  }
}
