/* ─────────────────────────────────────────────
   WeDefineApps — components.css
   All homepage & shared section styles
───────────────────────────────────────────── */

/* ── Section Header Utilities ── */
.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }
.section-header { margin-bottom: 3rem; }
.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .section-header--split { flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────────────────────────
   LOGOS / MARQUEE
───────────────────────────────────────────── */
.logos-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.marquee-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
.logo-item {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 1rem;
  opacity: 0.55;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   SERVICES STRIP
───────────────────────────────────────────── */
.strip-scroll-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.strip-track {
  display: flex;
  gap: 1rem;
  min-width: max-content;
  padding-bottom: 0.5rem;
}
@media (min-width: 1025px) {
  .strip-track { min-width: unset; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}
.strip-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  border-left: 3px solid transparent;
}
.strip-card:hover {
  border-left-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.strip-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.strip-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
}
.strip-tags span {
  font-size: 11.5px;
  padding: 3px 8px;
  background: var(--surface-2);
  border-radius: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}
.strip-arrow {
  width: 16px;
  height: 16px;
  color: var(--primary);
  align-self: flex-end;
  transition: transform 0.2s;
}
.strip-card:hover .strip-arrow { transform: translate(2px, -2px); }

/* ─────────────────────────────────────────────
   PROBLEM SECTION
───────────────────────────────────────────── */
.problem-grid { margin-bottom: 2.5rem; }
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}
.problem-card:hover {
  border-color: rgba(248,130,46,0.3);
  box-shadow: var(--shadow-md);
}
.problem-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-bottom: 1rem;
}
.problem-icon [data-lucide] { width: 20px; height: 20px; }
.problem-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.problem-card p { font-size: 14.5px; line-height: 1.7; }

.problem-highlight {
  background: var(--primary-ultra-light);
  border: 1px solid rgba(248,130,46,0.2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}
.problem-highlight p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  box-shadow: 0 4px 16px rgba(248,130,46,0.35);
}
.step-circle [data-lucide] { width: 24px; height: 24px; }
.step-connector {
  position: absolute;
  top: 30px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step:last-child .step-connector { display: none; }
.step-content { margin-top: 1.25rem; }
.step-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}
.step-content h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-content p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .step-connector { display: none; }
}
@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   SERVICES GRID
───────────────────────────────────────────── */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.service-icon [data-lucide] { width: 20px; height: 20px; }
.service-card h3 { font-size: 1.05rem; }
.service-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}
.service-link [data-lucide] { width: 14px; height: 14px; transition: transform 0.2s; }
.service-card:hover .service-link [data-lucide] { transform: translateX(3px); }

/* ─────────────────────────────────────────────
   PORTFOLIO PREVIEW
───────────────────────────────────────────── */
.portfolio-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card-top {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portfolio-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}
.portfolio-placeholder {
  color: rgba(0,0,0,0.12);
}
.portfolio-placeholder [data-lucide] { width: 48px; height: 48px; }
.portfolio-card-body { padding: 1.25rem 1.5rem; }
.portfolio-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 0.4rem;
}
.portfolio-card-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.portfolio-card-body p { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 1rem; }
.portfolio-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.portfolio-stack span {
  font-size: 11.5px;
  padding: 3px 8px;
  background: var(--surface-2);
  border-radius: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   TECH STACK TABS
───────────────────────────────────────────── */
.tech-tabs { margin-top: 2rem; }
.tab-list {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tech-badge {
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s;
}
.tech-badge:hover { border-color: var(--primary); background: var(--primary-ultra-light); }

/* ─────────────────────────────────────────────
   INDUSTRIES
───────────────────────────────────────────── */
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.industry-pill:hover {
  border-color: var(--primary);
  background: var(--primary-ultra-light);
  color: var(--primary);
}
.industry-pill [data-lucide] { width: 16px; height: 16px; color: var(--primary); }

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.testimonial-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
}
.testimonial-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.author-info strong { font-size: 14px; color: var(--text-primary); }
.author-info span { font-size: 12.5px; color: var(--text-muted); }
.author-country { font-size: 12px; color: var(--primary); font-weight: 500; }

/* ─────────────────────────────────────────────
   AWARDS
───────────────────────────────────────────── */
.awards-grid { margin-top: 2rem; }
.award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}
.award-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.award-card [data-lucide] {
  width: 32px;
  height: 32px;
  color: var(--primary);
}
.award-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────── */
.cta-banner-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.cta-email {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cta-email:hover { color: #fff; }

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */
.contact-page { padding: clamp(4rem, 8vw, 6rem) 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}
.contact-form-wrap h1 { margin-bottom: 0.5rem; }
.contact-form-wrap .contact-sub { margin-bottom: 2rem; }

/* Form */
.wda-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text-primary);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(248,130,46,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-status.is-success { display: block; background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.form-status.is-error   { display: block; background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }

/* Contact Info Sidebar */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.contact-info-card h3 { font-size: 0.95rem; margin-bottom: 1rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-item [data-lucide] { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-item a { color: var(--text-secondary); transition: color 0.2s; }
.info-item a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────── */
.about-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.about-story { padding: clamp(4rem, 8vw, 6rem) 0; }
.about-story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-values { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--surface); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.value-card [data-lucide] { width: 24px; height: 24px; color: var(--primary); margin-bottom: 0.75rem; }
.value-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 13.5px; }
.team-section { padding: clamp(3rem, 6vw, 5rem) 0; }

@media (max-width: 768px) {
  .about-story-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   PORTFOLIO PAGE
───────────────────────────────────────────── */
.portfolio-page-header {
  padding: clamp(4rem, 8vw, 6rem) 0 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.filter-btn {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.portfolio-item[hidden] { display: none; }
@media (max-width: 900px) { .portfolio-full-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-full-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────
   SERVICES PAGE
───────────────────────────────────────────── */
.services-page-header {
  padding: clamp(4rem, 8vw, 6rem) 0 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .services-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-list-grid { grid-template-columns: 1fr; } }
