/* ============================================
   SERVICES PAGE — services.css
   ============================================ */

/* SERVICE DETAIL SECTIONS */
.service-detail {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.svc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.svc-inner-reverse {
  direction: rtl;
}

.svc-inner-reverse > * {
  direction: ltr;
}

.svc-badge {
  display: inline-flex;
  margin-bottom: 20px;
}

.svc-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 20px 0 28px;
  max-width: 500px;
}

.svc-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* MOCKUP GENERAL */
.svc-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.svc-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(108,99,255,0.08);
  transition: var(--transition);
}

.svc-mockup:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* BROWSER MOCKUP */
.web-mockup { padding: 0; }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.browser-body { padding: 20px; }

.browser-nav-bar {
  height: 32px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  margin-bottom: 16px;
}

.browser-hero-block {
  height: 100px;
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(0,212,255,0.1));
  border-radius: 10px;
  margin-bottom: 16px;
}

.browser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.browser-card {
  height: 60px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}

/* PHONE MOCKUP */
.phone-mockup {
  width: 220px;
  min-height: 420px;
  border-radius: 36px;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid var(--border);
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--bg-secondary);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  border: 2px solid var(--border);
  border-top: none;
}

.phone-screen {
  flex: 1;
  width: 100%;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header-block {
  height: 40px;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(0,212,255,0.1));
  border-radius: 8px;
}

.phone-card-block {
  height: 120px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}

.phone-row-block {
  height: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
}

.phone-row-block.short { width: 70%; }

.phone-btn-block {
  height: 36px;
  background: linear-gradient(135deg, #6c63ff, #00d4ff);
  border-radius: 8px;
  margin-top: 4px;
}

.phone-home-bar {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 12px auto;
}

/* DESIGN MOCKUP */
.design-mockup { padding: 24px; }

.design-palette {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
}

.design-frame {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.design-header {
  height: 36px;
  background: linear-gradient(135deg, rgba(108,99,255,0.15), transparent);
  border-bottom: 1px solid var(--border);
}

.design-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.design-block {
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}

.design-block.lg { height: 80px; }
.design-block.md { height: 40px; width: 75%; }
.design-block.sm { height: 20px; width: 50%; }

/* SUPPORT MOCKUP */
.support-mockup { padding: 24px; }

.support-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.support-dot.green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

.support-items { display: flex; flex-direction: column; gap: 12px; }

.support-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  font-size: 13px;
}

.s-label { color: var(--text-secondary); }

.s-status.ok {
  color: #22c55e;
  font-weight: 600;
  font-size: 12px;
}

/* PUBLISH MOCKUP */
.publish-mockup {
  padding: 32px 24px;
  text-align: center;
}

.publish-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.publish-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.publish-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pub-step {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
}

.pub-step.done {
  background: rgba(34,197,94,0.08);
  color: #22c55e;
}

.pub-step.active {
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
}

/* CUSTOM/TERMINAL MOCKUP */
.custom-mockup { padding: 0; }

.custom-terminal { overflow: hidden; }

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-title {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-line { color: var(--text-secondary); }
.t-prompt { color: var(--accent-1); margin-right: 6px; }
.t-line.success { color: #22c55e; }
.t-line.loading { color: var(--accent-2); animation: blink 1s step-end infinite; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .svc-inner { gap: 48px; }
}

@media (max-width: 768px) {
  .service-detail { padding: 60px 0; }

  .svc-inner,
  .svc-inner-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .svc-inner-reverse > * { direction: ltr; }

  .phone-mockup { width: 180px; min-height: 340px; }
}
