/* Dev Orbit Tech — Subpage Stylesheet (Services, About, Case Studies, Blog) */
:root {
  --content-max: 1180px;
}

.subpage-hero {
  position: relative;
  padding: 130px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--accent2);
  text-decoration: none;
  transition: opacity var(--dur) var(--ease);
}
.breadcrumbs a:hover {
  text-decoration: underline;
  opacity: 0.85;
}
.breadcrumbs span.separator {
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumbs span.current {
  color: #e2e8f0;
}

.subpage-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: 1px;
}

.subpage-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 820px;
  margin-bottom: 28px;
}

.subpage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.subpage-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent2);
  font-family: var(--f-ui);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

/* Service Detail Sections */
.detail-section {
  padding: 65px 0;
  position: relative;
  z-index: 1;
}
.detail-section:nth-of-type(even) {
  background: rgba(7, 15, 34, 0.45);
}

.detail-header {
  margin-bottom: 36px;
}
.detail-header h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 12px;
}
.detail-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 750px;
}

/* Features Grid */
.detail-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.detail-card {
  background: rgba(9, 23, 51, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}
.detail-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.detail-card h3 {
  font-family: var(--f-ui);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.detail-card p {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Tech Pills List */
.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.tech-pill-badge {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #f1f5f9;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--f-ui);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* FAQs */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
}
.faq-item {
  background: rgba(9, 23, 51, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.35);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  color: #ffffff;
  font-family: var(--f-ui);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-answer {
  padding: 0 24px 20px;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
}

/* CTA Card */
.subpage-cta-box {
  background: linear-gradient(135deg, rgba(9, 23, 51, 0.95) 0%, rgba(13, 33, 72, 0.9) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 16px;
  padding: 44px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}
.subpage-cta-box h3 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 14px;
}
.subpage-cta-box p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Screen reader utility for non-visual semantic SEO text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Article styling */
.article-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #cbd5e1;
}
.article-content h2 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: #ffffff;
  margin: 40px 0 16px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  padding-bottom: 8px;
}
.article-content h3 {
  font-family: var(--f-ui);
  font-size: 1.35rem;
  color: var(--accent2);
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 0 0 24px 24px;
  list-style: disc;
}
.article-content li {
  margin-bottom: 8px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--f-ui);
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
