/* ========================================
   CraftStudio Landing Page
   Design: Editorial craft aesthetic, warm and premium
   ======================================== */

/* ----- Variables ----- */
:root {
  --bg: #FBF8F3;
  --bg-alt: #F3EEE6;
  --fg: #1C1917;
  --fg-muted: #6B6560;
  --accent: #E25C3C;
  --accent-warm: #C4471F;
  --border: #E2DDD6;
  --white: #FFFFFF;
  --card-shadow: 0 2px 20px rgba(28,25,23,0.08);
  --card-shadow-hover: 0 8px 40px rgba(28,25,23,0.14);
}

/* ----- Reset & Base ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; line-height: 1.2; }

/* ----- Typography ----- */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 1rem;
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 8vw 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(226,92,60,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-kicker {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
}
.hero-meta-item svg { color: var(--accent); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #6dff8e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Hero Visual - Card Stack */
.hero-visual { position: relative; z-index: 2; }
.hero-card-stack {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.hero-card-1 {
  width: 280px;
  top: 20px;
  left: 0;
  z-index: 3;
}
.hero-card-2 {
  width: 240px;
  top: 120px;
  right: 40px;
  z-index: 2;
}
.hero-card-3 {
  width: 220px;
  bottom: 20px;
  left: 60px;
  z-index: 1;
}
.card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}
.card-colors {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.card-colors span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-alt);
}
.card-logo-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}
.card-logo-preview span {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
}
.card-website-preview {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.web-bar {
  background: var(--bg-alt);
  padding: 0.4rem 0.75rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.web-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.web-content { padding: 0.75rem; }
.web-h { height: 14px; background: var(--fg); border-radius: 3px; width: 70%; margin-bottom: 0.5rem; opacity: 0.8; }
.web-t { height: 8px; background: var(--fg-muted); border-radius: 3px; width: 90%; margin-bottom: 0.75rem; opacity: 0.4; }
.web-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.web-b { height: 40px; background: var(--border); border-radius: 4px; }
.card-stats { display: flex; flex-direction: column; gap: 0.75rem; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-family: 'Fraunces', serif; font-size: 1.75rem; font-weight: 600; color: var(--accent); }
.stat-l { font-size: 0.75rem; color: var(--fg-muted); }

/* ----- Problem Section ----- */
.problem {
  background: var(--fg);
  color: white;
  padding: 7rem 8vw;
}
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem .section-label { color: var(--accent); }
.problem .section-headline { color: white; font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.problem-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
}
.problem-icon { margin-bottom: 1rem; color: var(--accent); }
.problem-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: white;
}
.problem-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.7; }
.problem-quote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-top: 3rem;
}
.problem-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.problem-quote cite { font-size: 0.85rem; color: var(--accent); }

/* ----- How It Works ----- */
.howitworks { padding: 7rem 8vw; }
.hiw-inner { max-width: 900px; margin: 0 auto; }
.hiw-steps { position: relative; margin-top: 3rem; }
.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
}
.step-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.step-content p { color: var(--fg-muted); line-height: 1.7; }
.step-connector {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border);
  margin: 0 0 3rem 100px;
}
.hiw-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  margin-top: 2rem;
}

/* ----- Features ----- */
.features {
  background: var(--bg-alt);
  padding: 7rem 8vw;
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.feature-icon { margin-bottom: 1.5rem; color: var(--accent); }
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.feature-card p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.7; }
.features-guarantee {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.guarantee-badge svg { color: var(--accent); }

/* ----- Pricing ----- */
.pricing { padding: 7rem 8vw; }
.pricing-inner { max-width: 1000px; margin: 0 auto; }
.pricing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.pricing-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}
.pricing-card-featured {
  background: var(--fg);
  color: white;
  border-color: var(--fg);
}
.pricing-tier {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pricing-tier-featured {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.pricing-price {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
}
.pricing-card-featured .pricing-price { color: white; }
.pricing-period {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.pricing-card-featured .pricing-period { color: rgba(255,255,255,0.6); }
.pricing-badge-popular {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.pricing-divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.pricing-card-featured .pricing-divider { background: rgba(255,255,255,0.15); }
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}
.pricing-features li {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--fg-muted);
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,0.7); }
.pricing-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-align: center;
  padding: 0.75rem;
  background: var(--border);
  border-radius: 8px;
}
.pricing-cta-featured {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
}
.pricing-note { font-size: 0.85rem; color: var(--fg-muted); text-align: center; }

/* ----- Manifesto ----- */
.manifesto {
  background: var(--fg);
  color: white;
  padding: 8rem 8vw;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2.5rem;
  color: white;
}
.manifesto-body p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mstat { display: flex; flex-direction: column; }
.mstat-n {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent);
}
.mstat-l { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }

/* ----- Closing ----- */
.closing {
  padding: 8rem 8vw;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}
.closing-detail {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--fg-muted);
}

/* ----- Footer ----- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 8vw;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 3rem;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }
.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 1rem;
  grid-column: 1 / -1;
}
.footer-bottom p { font-size: 0.8rem; color: var(--fg-muted); }

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 6vw 3rem;
    min-height: auto;
    gap: 3rem;
  }
  .hero-visual { display: none; }
  .hero-headline { font-size: 3rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .hiw-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-connector { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .features-guarantee { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .hero-meta { flex-direction: column; gap: 0.75rem; }
  .problem-card, .feature-card, .pricing-card { padding: 1.5rem; }
  .features-guarantee { gap: 0.5rem; }
}