/* =========================================================
   ADFORGE Fashion — Page Styles
   你之後可以直接改這個檔案調整視覺
   ========================================================= */

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button, input, select, textarea {
  min-height: 44px;
}

/* ---- Subtle grain texture for hero/CTA backgrounds ---- */
.grain { position: relative; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

/* ---- Feature cards ---- */
.feature-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26,26,26,.15);
  border-color: rgba(201,168,124,.6);
}

/* ---- Pricing highlight card ---- */
.price-highlight {
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7F0 100%);
  border-color: #C9A87C;
}

/* ---- Scroll fade-in animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Form field focus ---- */
.form-input {
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-input:focus {
  outline: none;
  border-color: #1A1A1A;
  box-shadow: 0 0 0 3px rgba(201,168,124,.2);
}

/* ---- Brand trust strip subtle pulse ---- */
@keyframes fade-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
.brand-tag { animation: fade-pulse 6s ease-in-out infinite; }

/* ---- Number tabular formatting ---- */
.tabular { font-variant-numeric: tabular-nums; }

/* ---- Mobile menu (reserved for future hamburger) ---- */
@media (max-width: 768px) {
  .step-card { padding-bottom: 1rem; }
  nav .max-w-7xl { padding-left: 1rem; padding-right: 1rem; }
  #lead-form { padding: 1.25rem; }
  body { overflow-x: hidden; }
}

/* ---- Print-friendly ---- */
@media print {
  nav, .grain::before, #apply, #faq { display: none; }
}
