/* YAFAI — Yet Another Fashion AI */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-2: #161616;
  --text: #f0f0f0;
  --text-muted: #888;
  --accent-1: #7c3aed;
  --accent-2: #2563eb;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --gradient: linear-gradient(135deg, #7c3aed, #2563eb);
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

/* ── SECTIONS ── */
section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

section.full-bleed {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 8rem;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-trust {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-trust span {
  color: var(--text);
  font-weight: 600;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* ── PROBLEM ── */
#problem {
  text-align: center;
}

.problem-intro {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: none;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3.5rem;
  line-height: 1.05;
}

.problem-statements {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.problem-line {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.problem-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-line strong {
  color: var(--text);
  font-weight: 700;
}

.problem-climax {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.3s, transform 0.8s 0.3s;
}

.problem-climax.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── AI ENGINE ── */
#ai-engine {
  text-align: center;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 1rem;
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

#generate-btn-wrap {
  margin-bottom: 2.5rem;
}

.generate-status {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-1);
  font-weight: 600;
}

/* ── LOADING ── */
#loading-sequence {
  display: none;
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: left;
}

.loading-steps {
  list-style: none;
  margin-bottom: 1.5rem;
}

.loading-step {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.loading-step.active {
  opacity: 1;
}

.step-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
}

.step-icon.done {
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.progress-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

#progress-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

/* ── PROMPT INPUT ── */
#prompt-section {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.6s;
}

#prompt-section.fade-in {
  opacity: 1;
}

.prompt-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.prompt-row {
  display: flex;
  gap: 0.75rem;
}

#prompt-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

#prompt-input::placeholder {
  color: var(--text-muted);
}

#prompt-input:focus {
  border-color: var(--accent-1);
}

/* ── OUTPUT ── */
#output-section {
  display: none;
  margin-top: 4rem;
  opacity: 0;
  transition: opacity 0.6s;
}

#output-section.fade-in {
  opacity: 1;
}

.output-header {
  text-align: center;
  margin-bottom: 2rem;
}

.output-title-block h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.output-badge {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.output-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.output-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.output-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.output-card-value.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.3rem;
}

.techpack-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-align: left;
}

.techpack-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.techpack-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.techpack-table tr:last-child td {
  border-bottom: none;
}

.techpack-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

#export-wrap {
  text-align: center;
}

#export-msg {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── FEATURES ── */
#features {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: left;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 0 30px rgba(124,58,237,0.1);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
#testimonials {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-style: italic;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.testimonial-author strong {
  color: var(--text);
  font-style: normal;
}

/* ── POC PROGRAM ── */
#poc {
  text-align: center;
}

.poc-timeline {
  position: relative;
  max-width: 720px;
  margin: 3rem auto 3.5rem;
  text-align: left;
}

.poc-timeline::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
}

.poc-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.poc-step--last {
  margin-bottom: 0;
}

.poc-step-num {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-1);
  position: relative;
  z-index: 1;
}

.poc-step-body {
  padding-top: 1.1rem;
}

.poc-step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.poc-step-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.poc-total {
  margin-top: 0.75rem;
  font-size: 0.9rem !important;
  color: var(--text) !important;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-left: 2px solid var(--accent-1);
  border-radius: 0 6px 6px 0;
}

.poc-total strong {
  color: var(--text);
}

.poc-cta-block {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.poc-cta-label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.poc-start-btn {
  margin-bottom: 1rem;
}

.poc-fine-print {
  font-size: 0.72rem;
  color: rgba(136,136,136,0.6);
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* ── PRICING ── */
#pricing {
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-1);
  box-shadow: 0 0 40px rgba(124,58,237,0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.875rem;
  padding: 0.4rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: '—';
  color: var(--accent-1);
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 5rem 2rem 3rem;
  border-top: 1px solid var(--border);
}

.footer-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.footer-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(136,136,136,0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── DIVIDER ── */
.section-divider {
  width: 40px;
  height: 3px;
  background: var(--gradient);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
