/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-surface-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 100%, rgba(121, 42, 201, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--header-height) + 60px) 40px 72px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero--compact .page-hero-container {
  padding: calc(var(--header-height) + 44px) 40px 56px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.page-hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   SERVICE DETAIL SECTIONS
   ============================================ */
.service-detail {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-surface-border);
}

.service-detail--alt {
  background: var(--color-bg-dark);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail-grid--reverse .service-detail-visual {
  order: 1;
}

.service-detail-grid--reverse .service-detail-content {
  order: 2;
}

.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.service-detail-heading {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.service-detail-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.service-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.service-meta-col {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-surface-border);
}

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

.service-meta-col h5 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-meta-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-meta-col ul li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 24px;
  position: relative;
}

.service-meta-col ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-purple-light);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .service-meta-col ul li::before {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
}

.service-meta-col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.service-visual-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img-wrap {
  position: relative;
  overflow: visible;
}

.service-img-wrap::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(121, 42, 201, 0.35) 0%, rgba(187, 60, 120, 0.15) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}

.service-mock-img {
  width: 100%;
  display: block;
  border-radius: 0;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(121, 42, 201, 0.5)) drop-shadow(0 0 60px rgba(187, 60, 120, 0.25));
}

.service-visual-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: rgba(121, 42, 201, 0.3);
  stroke-width: 1;
}

/* ============================================
   TECH STACK
   ============================================ */
.tech-stack {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.tech-stack::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(121, 42, 201, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tech-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.tech-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(121, 42, 201, 0.5), rgba(187, 60, 120, 0.3), rgba(121, 42, 201, 0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.tech-card:hover .tech-card-glow {
  opacity: 1;
}

.tech-card-inner {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.tech-card:hover .tech-card-inner {
  border-color: transparent;
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tech-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(121, 42, 201, 0.15), rgba(187, 60, 120, 0.1));
  color: var(--color-purple-light);
  flex-shrink: 0;
}

.tech-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.tech-category-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  white-space: nowrap;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-tags span {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 5px 14px;
  border: 1px solid var(--color-surface-border);
  border-radius: 100px;
  background: var(--color-bg-dark);
  transition: all 0.3s ease;
}

.tech-card:hover .tech-tags span {
  border-color: rgba(121, 42, 201, 0.3);
  color: var(--color-white);
}

.tech-note {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ============================================
   INLINE CTA CARD (Services page)
   ============================================ */
.inline-cta .section-container {
  padding-top: 40px;
  padding-bottom: 80px;
}

.inline-cta-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inline-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 400px 200px at 50% 50%, rgba(121, 42, 201, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.inline-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.inline-cta-body {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ============================================
   PORTFOLIO , FULL PAGE
   ============================================ */
.portfolio-filter-section {
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-surface-border);
  padding: 24px 0;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-surface-border);
  border-radius: 4px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: var(--color-white);
  border-color: rgba(121, 42, 201, 0.4);
}

.filter-btn.active {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  border-color: transparent;
}

.portfolio-full {
  background: var(--color-bg);
}

.portfolio-grid--full {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card-body {
  padding: 12px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portfolio-industry {
  font-size: 12px;
  color: rgba(192, 132, 252, 0.5);
  margin-top: 2px;
}

.portfolio-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

.portfolio-card--stat {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  text-align: center;
}

.portfolio-stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.portfolio-stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.portfolio-stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 160px;
  line-height: 1.4;
}

/* ============================================
   PROCESS TIMELINE (How We Work)
   ============================================ */
.process-detail {
  background: var(--color-bg);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.process-timeline-step--last {
  padding-bottom: 0;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.timeline-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(121, 42, 201, 0.4);
  background: rgba(121, 42, 201, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  border: 1px solid rgba(121, 42, 201, 0.3);
  background-color: rgba(121, 42, 201, 0.06);
}

.timeline-line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: var(--color-surface-border);
  margin-top: 8px;
}

.timeline-content {
  padding-bottom: 8px;
}

.timeline-heading {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.timeline-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  max-width: 680px;
}

.timeline-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
}

.timeline-meta-col h5 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  margin-bottom: 10px;
}

.timeline-meta-col ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.timeline-meta-col ul li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 12px;
  position: relative;
}

.timeline-meta-col ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-purple-light);
}

.timeline-output {
  border-left: 1px solid var(--color-surface-border);
  padding-left: 24px;
}

.output-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.timeline-output p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ============================================
   PRINCIPLES
   ============================================ */
.principles {
  background: var(--color-bg-dark);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.3s ease;
}

.principle-card:hover {
  border-color: rgba(121, 42, 201, 0.3);
}

.principle-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.principle-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
  background: var(--color-bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-surface-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(121, 42, 201, 0.04);
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--color-text-muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 4px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  padding: 0 24px 20px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.about-story::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(121, 42, 201, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  box-shadow: 0 0 12px rgba(121, 42, 201, 0.4);
}

.timeline-line {
  position: absolute;
  left: 5px;
  top: 20px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, rgba(121, 42, 201, 0.4), transparent);
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Values */
.values-section {
  background: var(--color-bg);
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.value-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(121, 42, 201, 0.5), rgba(187, 60, 120, 0.3), rgba(121, 42, 201, 0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.value-card:hover .value-card-glow {
  opacity: 1;
}

.value-card-inner {
  position: relative;
  z-index: 1;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.value-card:hover .value-card-inner {
  border-color: transparent;
}

.value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(121, 42, 201, 0.15), rgba(187, 60, 120, 0.1));
  color: var(--color-purple-light);
  margin-bottom: 16px;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
}

.value-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Different Section */
.about-different {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.about-different::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(187, 60, 120, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-different-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.different-visual-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.different-visual-wrap::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(121, 42, 201, 0.25) 0%, rgba(187, 60, 120, 0.1) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}

.different-mock-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(121, 42, 201, 0.4)) drop-shadow(0 0 60px rgba(187, 60, 120, 0.2));
}

.different-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.different-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.different-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(121, 42, 201, 0.3);
}

.different-check svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
}

.different-feature-text h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 6px;
}

.different-feature-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Stats */
.about-stats {
  background: var(--color-bg);
  border-top: 1px solid var(--color-surface-border);
  border-bottom: 1px solid var(--color-surface-border);
  position: relative;
}

.about-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 42, 201, 0.3), rgba(187, 60, 120, 0.3), transparent);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Quiktiv Section */
.about-quiktiv {
  background: var(--color-bg);
  border-top: 1px solid var(--color-surface-border);
  position: relative;
}

.about-quiktiv::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 42, 201, 0.4), rgba(187, 60, 120, 0.3), transparent);
}

.quiktiv-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.quiktiv-heading-col {
  position: sticky;
  top: 120px;
}

.quiktiv-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-purple-light);
  margin-bottom: 12px;
}

.about-quiktiv-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.quiktiv-accent-line {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
}

.quiktiv-body-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quiktiv-body-col p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.quiktiv-body-col .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white);
}

.required {
  color: var(--color-gradient-end);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-white);
  transition: border-color 0.25s ease;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(121, 42, 201, 0.5);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b0' stroke-width='2'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--color-bg-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

.contact-info-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 24px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-channel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  transition: border-color 0.25s ease;
}

.contact-channel:hover {
  border-color: rgba(121, 42, 201, 0.3);
}

.channel-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgba(121, 42, 201, 0.3);
  background: rgba(121, 42, 201, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-purple-light);
}

.channel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
}

.channel-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
}

.channel-note {
  font-size: 12px;
  color: var(--color-text-muted);
}

.contact-reassurance {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reassurance-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.reassurance-star {
  font-size: 14px;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-top: 2px;
}

.reassurance-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 2px;
}

.reassurance-item p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   WHAT HAPPENS NEXT (Contact)
   ============================================ */
.next-steps {
  background: var(--color-bg-dark);
}

.next-steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.next-step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
}

.next-step-divider {
  width: 1px;
  height: 80px;
  background: var(--color-surface-border);
  flex-shrink: 0;
}

.next-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(121, 42, 201, 0.08);
  border: 1px solid rgba(121, 42, 201, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--color-purple-light);
  margin: 0 auto 16px;
}

.next-step-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.next-step-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE , TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .page-hero-container {
    padding: calc(var(--header-height) + 44px) 24px 56px;
  }

  .service-detail-grid {
    gap: 40px;
  }

  .service-detail-meta {
    flex-direction: column;
  }

  .about-story-grid {
    gap: 48px;
  }

  .about-different-grid {
    gap: 40px;
  }

  .quiktiv-layout {
    gap: 48px;
  }

  .contact-grid {
    gap: 40px;
  }
}

/* ============================================
   RESPONSIVE , TABLET PORTRAIT (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  .page-hero-container {
    padding: calc(var(--header-height) + 36px) 24px 48px;
  }

  .service-detail-grid,
  .service-detail-grid--reverse {
    grid-template-columns: 1fr;
  }

  .service-detail-grid--reverse .service-detail-content {
    order: 1;
  }

  .service-detail-grid--reverse .service-detail-visual {
    order: 2;
  }

  .service-visual-placeholder {
    aspect-ratio: 16 / 9;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-different-grid {
    grid-template-columns: 1fr;
  }

  .different-visual-wrap {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .quiktiv-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quiktiv-heading-col {
    position: static;
  }

  .values-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid--full {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline-step {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .timeline-meta {
    grid-template-columns: 1fr;
  }

  .timeline-output {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-surface-border);
    padding-top: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .next-steps-grid {
    flex-direction: column;
    gap: 0;
  }

  .next-step-divider {
    width: 80px;
    height: 1px;
  }

  .inline-cta-card {
    padding: 32px 24px;
  }
}

/* ============================================
   RESPONSIVE , PHONE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .page-hero-container {
    padding: calc(var(--header-height) + 28px) 16px 40px;
  }

  .page-hero-title {
    font-size: 30px;
  }

  .portfolio-grid--full {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-btn {
    font-size: 13px;
    padding: 7px 14px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .quiktiv-layout {
    gap: 24px;
  }

  .process-timeline-step {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
}
