/*
  Fashion Tech page styles.
  Rebuilt to match the home page's glassmorphism design system
  (applications/DESIGN.md): canvas #1a1a1a, purple gradient, glass
  surfaces with hairline borders + blur, Dela Gothic One / Space Grotesk
  type. Hero and final CTA reuse home.css classes (hm-hero-split,
  hm-final-cta, hm-solutions-grid) directly instead of duplicating them.
*/

.fashion-tech-main {
  padding: 2rem;
  color: #fff;
  background-color: #1a1a1a; /* colors.canvas */
}

.section-fashion-tech {
  max-width: 1100px;
  margin: 0 auto;
}

.ft-section {
  padding: 64px 0; /* spacing.section */
}

.section-fashion-tech h2 {
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
  font-size: 2.5rem; /* display-sm */
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.ft-section-intro {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* body-lg */
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #a0a0a0; /* ink-muted */
}

.section-fashion-tech p {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
}

/* Hero badge (hero itself reuses hm-hero-split / hm-hero-split-media from home.css) */
.ft-badge {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem; /* typography.caption */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d9c7f0; /* hm-accent */
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2); /* hairline-strong */
  border-radius: 9999px; /* rounded.pill */
  padding: 6px 16px;
  margin: 0 0 1.25rem;
}

/* Our Solutions / Hardware Excellence grids reuse hm-solutions-grid + hm-solution-card
   from home.css. Only the "wide" span modifier is page-specific. */
.ft-card-wide {
  grid-column: 1 / -1;
}

/* Hardware Excellence: two cards per row instead of the default 3-per-row
   auto-fit wrap (wider minmax so only 2 columns fit at desktop widths;
   still collapses to 1 column on narrow/mobile screens).
   Selector combines both classes to out-specificity home.css's
   .hm-solutions-grid rule, which loads after this stylesheet. */
.hm-solutions-grid.ft-hardware-grid {
  /* min(400px, 100%) keeps the 400px floor on desktop but lets the track
     shrink to the container width on narrow screens, instead of forcing
     a 400px-wide column that overflows a 375px viewport. */
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
}

/* Scanning Process */
.ft-process-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* spacing.lg */
  max-width: 640px;
  margin: 0 auto;
}

.ft-process-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  backdrop-filter: blur(5px); /* glass-blur */
  border-radius: 9999px; /* rounded.pill */
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

.ft-process-item:hover {
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  transform: translateY(-2px); /* hover-lift */
}

.ft-step-number {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #d9c7f0; /* hm-accent */
  flex-shrink: 0;
}

.ft-process-text {
  text-align: left;
}

.ft-step-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.25rem;
}

/* How We Can Collaborate */
.ft-collab-section {
  background-color: #1a1a1a; /* colors.canvas */
  padding: 64px 0; /* spacing.section */
}

.ft-collab-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* spacing.lg */
  max-width: 700px;
  margin: 0 auto;
}

.ft-collab-card {
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 8px; /* rounded.sm */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* card-shadow */
  backdrop-filter: blur(5px); /* glass-blur */
  padding: 1.75rem 2rem;
  transition: all 0.3s ease;
}

.ft-collab-card:hover {
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* card-shadow-hover */
  transform: translateY(-2px); /* hover-lift */
}

.ft-collab-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.ft-collab-card p {
  color: #a0a0a0; /* ink-muted */
}

/* Final CTA reuses hm-final-cta / hm-final-cta-wrapper / hm-final-cta-box from home.css */
