/* ==========================================================================
   TinyScapes - Homepage Specific Stylesheet
   Path: css/index.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: 30px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    linear-gradient(90deg, #080b11 0%, rgba(8, 11, 17, 0.92) 38%, rgba(8, 11, 17, 0.45) 65%, rgba(8, 11, 17, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 11, 17, 0.7) 0%, transparent 20%, transparent 80%, #080b11 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(49, 134, 240, 0.4);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 4.8rem;
}

.hero-subtitle {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 36px;
  font-weight: 300;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px 10px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(49, 134, 240, 0.4);
  background: var(--brand-blue-bg);
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.btn-hero .icon-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(49, 134, 240, 0.5);
  background: rgba(49, 134, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn-hero:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 0 20px var(--brand-blue-glow);
}

.btn-hero:hover .icon-arrow-circle {
  transform: translateX(4px);
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.hero-scroll-indicator {
  margin-top: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.hero-scroll-indicator:hover span {
  color: var(--brand-blue);
  text-shadow: 0 0 8px rgba(49, 134, 240, 0.5);
}

.hero-scroll-line {
  position: relative;
  width: 2px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.hero-scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(180deg, transparent 0%, var(--brand-blue) 70%, #ffffff 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--brand-blue-glow), 0 0 4px #ffffff;
  animation: scrollBeamFlow 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollBeamFlow {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(260%);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   2. Category Cards Section (STRICT 1:1 ISOMETRIC SQUARE ASPECT-RATIO)
   -------------------------------------------------------------------------- */
.categories-section {
  padding: 50px 0;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.category-card {
  position: relative;
  flex: 1 1 240px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(49, 134, 240, 0.15);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform var(--transition-normal);
}

.category-card:hover .category-card-bg img {
  transform: scale(1.05);
  opacity: 0.85;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 17, 0.25) 0%, rgba(8, 11, 17, 0.88) 100%);
  z-index: 1;
}

.category-card-header {
  position: relative;
  z-index: 2;
}

.category-title {
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.2;
}

.category-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.4;
}

.category-card-footer {
  position: relative;
  z-index: 2;
}

/* Morphing Button: Default Circle (38px x 38px) -> Morphs into Pill Badge on Hover */
.circle-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  height: 38px;
  width: 38px;
  padding: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: blur(8px);
}

.circle-arrow-btn .btn-text {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.circle-arrow-btn .arrow-svg {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card Hover State: Morph Circle to Pill & Pulsing Aura Ring */
.category-card:hover .circle-arrow-btn {
  width: auto;
  min-width: 122px;
  padding: 0 16px;
  gap: 8px;
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 24px var(--brand-blue-glow), 0 0 10px rgba(255, 255, 255, 0.4);
}

.category-card:hover .circle-arrow-btn .btn-text {
  opacity: 1;
  max-width: 120px;
  transform: translateX(0);
}

.category-card:hover .circle-arrow-btn .arrow-svg {
  transform: translateX(3px);
}

/* Pulsing Aura Ring Effect Guiding User Click */
.category-card:hover .circle-arrow-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--brand-blue);
  animation: pulseGlowRing 1.6s infinite ease-out;
  pointer-events: none;
}

@keyframes pulseGlowRing {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   3. How It Works Section
   -------------------------------------------------------------------------- */
.process-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 400;
}

.link-action {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.link-action:hover {
  color: var(--brand-blue);
}

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  width: 100%;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--border-light);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
}

.step-num-pill {
  font-size: 0.78rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  background: var(--bg-dark);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.process-step:hover .step-num-pill, .process-step.active .step-num-pill {
  color: #ffffff;
  background: var(--brand-blue-bg);
  border-color: var(--brand-blue);
  box-shadow: 0 0 12px var(--brand-blue-glow);
}

.step-title {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.step-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.step-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  transition: all var(--transition-normal);
}

.process-step:hover .step-thumb {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.step-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   4. Our Advantages Section
   -------------------------------------------------------------------------- */
.advantages-section {
  padding: 70px 0;
  background: rgba(255, 255, 255, 0.005);
  border-bottom: 1px solid var(--border-light);
}

.advantages-header {
  margin-bottom: 44px;
  text-align: left;
}

.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.advantage-card {
  flex: 1 1 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(49, 134, 240, 0.15);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-bg);
  border: 1px solid rgba(49, 134, 240, 0.35);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(49, 134, 240, 0.2);
  transition: all var(--transition-fast);
}

.advantage-card:hover .advantage-icon {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 0 20px var(--brand-blue-glow);
}

.advantage-card-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
}

.advantage-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   5. Featured Works Section
   -------------------------------------------------------------------------- */
.featured-section {
  position: relative;
  width: 100%;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 50px 0;
}

.featured-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: background-image 0.5s ease-in-out;
}

.featured-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #080b11 0%, rgba(8, 11, 17, 0.88) 32%, rgba(8, 11, 17, 0.4) 60%, rgba(8, 11, 17, 0.1) 100%);
  pointer-events: none;
}

.featured-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.featured-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.featured-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 480px;
  min-height: 300px;
}

.featured-title {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
}

.featured-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.featured-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.carousel-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.carousel-counter .current-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 12px rgba(49, 134, 240, 0.6);
}

.carousel-counter .slash-num {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  margin: 0 2px;
}

.carousel-counter .total-num {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.carousel-nav-btns {
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  background: var(--brand-blue-bg);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.featured-thumbs-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-thumbs-column::-webkit-scrollbar {
  display: none;
}

.thumb-item {
  flex-shrink: 0;
  width: 96px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition-fast);
  background: var(--bg-surface);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item:hover, .thumb-item.active {
  opacity: 1;
  border-color: var(--brand-blue);
  box-shadow: 0 0 12px var(--brand-blue-glow);
  transform: scale(1.05);
}



/* --------------------------------------------------------------------------
   4.6 Materials & Safety Guide Section
   -------------------------------------------------------------------------- */
.materials-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 20%, rgba(49, 134, 240, 0.05) 0%, transparent 60%), #05070a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.materials-header {
  margin-bottom: 48px;
  text-align: left;
  max-width: 800px;
}

.materials-header .section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
  margin-top: 10px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}

.material-card {
  background: linear-gradient(135deg, rgba(16, 23, 36, 0.7) 0%, rgba(10, 14, 22, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.material-card:hover {
  transform: translateY(-6px);
  border-color: rgba(49, 134, 240, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 24px rgba(49, 134, 240, 0.15);
}

.material-card:hover::before {
  opacity: 1;
}

.material-card-custom {
  border-style: dashed;
  border-color: rgba(226, 209, 166, 0.35);
  background: linear-gradient(135deg, rgba(24, 22, 18, 0.6) 0%, rgba(12, 14, 18, 0.9) 100%);
}

.material-card-custom::before {
  background: linear-gradient(90deg, transparent, #e2d1a6, transparent);
}

.material-card-custom:hover {
  border-color: #e2d1a6;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 24px rgba(226, 209, 166, 0.2);
}

.material-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mat-badge {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(49, 134, 240, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(49, 134, 240, 0.3);
}

.mat-badge-gold {
  background: rgba(226, 209, 166, 0.15);
  color: #f3dfb0;
  border-color: rgba(226, 209, 166, 0.35);
}

.mat-num {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  font-family: var(--font-sans);
}

.mat-num-gold {
  color: #a39572;
}

.mat-hero-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 22px;
}

.mat-code-hero {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  display: inline-block;
}

.mat-code-pla {
  color: #ffffff;
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.mat-code-petg {
  color: #ffffff;
  text-shadow: 0 0 30px rgba(96, 165, 250, 0.4);
}

.mat-code-sla {
  color: #ffffff;
  text-shadow: 0 0 30px rgba(243, 223, 176, 0.4);
}

.mat-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.mat-subname {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
  font-weight: 300;
}

.mat-props-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mat-prop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 400;
}

.mat-prop-icon {
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.material-card-custom .mat-prop-icon {
  color: #e2d1a6;
}

.mat-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  font-weight: 300;
  margin-bottom: 24px;
  flex-grow: 1;
}

.mat-ideal-tag {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}

.mat-ideal-label {
  color: #ffffff;
  font-weight: 600;
  margin-right: 6px;
}


/* --------------------------------------------------------------------------
   4.7 FAQ Section (2-Column High-Hierarchy Knowledge Matrix)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 120px 0;
  background: #080b11;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px auto;
}

.faq-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
}

.faq-card {
  background: rgba(16, 23, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 38px 34px 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: blur(12px);
}

.faq-card:hover {
  background: rgba(16, 23, 36, 0.85);
  border-color: rgba(49, 134, 240, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(49, 134, 240, 0.08);
}

.faq-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-card-num {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-blue, #3186f0);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 20px rgba(49, 134, 240, 0.3);
}

.faq-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fe3f8;
  background: rgba(49, 134, 240, 0.12);
  border: 1px solid rgba(49, 134, 240, 0.28);
  padding: 5px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.faq-card-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(49, 134, 240, 0.35) 0%, rgba(255, 255, 255, 0.08) 60%, transparent 100%);
  margin: 18px 0 20px;
}

.faq-card-question {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 14px;
}

.faq-card-answer p {
  font-size: 0.93rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   Homepage Responsive Adaptations (多端响应式适配)
   ========================================================================== */

/* --- Tablet / Medium Screens (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 100%;
  }
  .process-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  .process-step {
    flex: 1 1 45%;
  }
  .advantages-grid {
    flex-direction: column;
  }
  .advantage-card {
    flex: 1 1 100%;
  }
  .materials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured-layout {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .faq-editorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- Mobile Landscape & Portrait (<= 768px) --- */
@media (max-width: 768px) {
  /* Hero Section */
  .hero-section {
    min-height: auto !important;
    padding-top: calc(62px + 28px) !important;
    padding-bottom: 56px !important;
  }

  .hero-title {
    font-size: 2.4rem !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
  }

  .hero-title .serif-italic {
    font-size: 2.5rem !important;
  }

  .hero-subtitle {
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }

  .btn-hero {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    text-align: center !important;
  }

  .hero-scroll-indicator {
    display: none !important;
  }

  /* Section Titles & Spacings */
  .categories-section,
  .process-section,
  .advantages-section,
  .materials-section,
  .featured-section {
    padding: 56px 0 !important;
  }

  .section-title {
    font-size: 1.9rem !important;
    line-height: 1.25 !important;
  }

  /* Category Cards Grid */
  .category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .category-card {
    flex: none !important;
    aspect-ratio: auto !important;
    min-height: 200px !important;
    padding: 20px 16px !important;
    border-radius: var(--radius-md) !important;
  }

  .category-title {
    font-size: 1.25rem !important;
  }

  .category-desc {
    font-size: 0.78rem !important;
  }

  .circle-arrow-btn {
    width: auto !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    gap: 6px !important;
  }

  .circle-arrow-btn .btn-text {
    opacity: 1 !important;
    max-width: 100px !important;
    transform: none !important;
    font-size: 0.76rem !important;
  }

  /* How It Works (Process) */
  .process-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px !important;
  }

  .process-grid::before {
    display: none !important;
  }

  .process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .process-step {
    flex: none !important;
    width: 100% !important;
  }

  /* Advantages */
  .advantages-header {
    margin-bottom: 28px !important;
  }

  .advantage-card {
    padding: 24px 20px !important;
    border-radius: var(--radius-md) !important;
  }

  /* Materials */
  .materials-header {
    margin-bottom: 28px !important;
  }

  .material-card {
    padding: 26px 20px !important;
    border-radius: var(--radius-md) !important;
  }

  /* Featured Showcase */
  .featured-section {
    min-height: 580px !important;
    padding: 48px 0 36px 0 !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .featured-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 11, 17, 0.94) 0%,
      rgba(8, 11, 17, 0.72) 26%,
      rgba(8, 11, 17, 0.35) 52%,
      rgba(8, 11, 17, 0.85) 76%,
      rgba(8, 11, 17, 0.98) 100%
    ) !important;
  }

  .featured-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
  }

  .featured-layout {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0 !important;
    flex-grow: 1 !important;
  }

  .featured-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 380px !important;
    flex-grow: 1 !important;
  }

  .featured-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em !important;
    white-space: normal !important;
  }

  .featured-desc {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    margin-bottom: 12px !important;
  }

  .featured-info .link-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    color: #38bdf8 !important;
  }

  .featured-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: auto !important;
    margin-bottom: 14px !important;
    padding: 12px 2px 0 2px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .carousel-counter {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
  }

  .carousel-counter .current-num {
    font-size: 1.6rem !important;
    color: #ffffff !important;
  }

  .carousel-nav-btns {
    display: flex !important;
    gap: 10px !important;
  }

  .nav-btn {
    width: 40px !important;
    height: 40px !important;
    background: rgba(16, 24, 40, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }

  .nav-btn:active {
    background: var(--brand-blue) !important;
    color: #ffffff !important;
    border-color: var(--brand-blue) !important;
  }

  /* Horizontal thumbnail selector grid */
  .featured-thumbs-column {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .thumb-item {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(16, 24, 40, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    opacity: 0.65 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
    transition: all var(--transition-fast) !important;
  }

  .thumb-item.active {
    opacity: 1 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.5), 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-2px) !important;
  }

  .thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  /* FAQ */
  .faq-section {
    padding: 64px 0 !important;
  }

  .faq-header {
    margin-bottom: 36px !important;
  }

  .faq-card {
    padding: 24px 18px !important;
    border-radius: var(--radius-md) !important;
  }

  .faq-card-num {
    font-size: 1.8rem !important;
  }

  .faq-card-question {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
  }
}

/* --- Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.0rem !important;
  }

  .hero-title .serif-italic {
    font-size: 2.1rem !important;
  }

  .hero-subtitle {
    font-size: 0.90rem !important;
  }

  .section-title {
    font-size: 1.65rem !important;
  }

  .category-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .advantage-card,
  .material-card,
  .faq-card {
    padding: 20px 16px !important;
  }

  .featured-title {
    font-size: 1.85rem !important;
  }

  .featured-info {
    min-height: 350px !important;
  }

  .thumb-item {
    border-radius: 10px !important;
  }
}