/* ===================================
   SMOAK FORMS LANDING PAGE STYLES
   =================================== */

/* --- LP HERO (split: text left, screenshot right) --- */
.lp-hero { padding: 180px 0 100px; background: var(--wolf-darker); position: relative; overflow: hidden; }
.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,102,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0,102,255,0.06) 0%, transparent 50%);
  z-index: 1;
}
.lp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.lp-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.lp-hero h1 { font-size: 54px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.lp-hero .lp-hero-sub { font-size: 18px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.lp-hero-actions { display: flex; gap: 16px; margin-bottom: 24px; }
.lp-hero .lp-hero-note { font-size: 13px; color: rgba(255,255,255,0.7); }

/* Screenshot mockup */
.lp-screenshot { background: var(--wolf-dark); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 32px 64px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08); }
.lp-screenshot__bar { background: rgba(255,255,255,0.06); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.lp-screenshot__dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-screenshot__dot--red { background: #FF5F56; }
.lp-screenshot__dot--yellow { background: #FFBD2E; }
.lp-screenshot__dot--green { background: #27C93F; }
.lp-screenshot__url { margin-left: 12px; background: rgba(255,255,255,0.06); border-radius: var(--radius-full); padding: 4px 16px; font-size: 12px; color: rgba(255,255,255,0.3); flex: 1; }
.lp-screenshot__body { padding: 32px; min-height: 340px; display: flex; flex-direction: column; gap: 16px; }

/* Screenshot form mockup elements */
.lp-mock-form { display: flex; flex-direction: column; gap: 14px; }
.lp-mock-field { height: 44px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); display: flex; align-items: center; padding: 0 16px; }
.lp-mock-field-label { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 500; }
.lp-mock-field-filled { border-color: rgba(0,102,255,0.3); background: rgba(0,102,255,0.05); }
.lp-mock-field-filled .lp-mock-field-label { color: rgba(255,255,255,0.7); }
.lp-mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-mock-btn { height: 44px; background: var(--primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.lp-mock-step { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lp-mock-step-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.lp-mock-step-dot.active { background: var(--primary); color: #fff; }
.lp-mock-step-dot.inactive { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.3); }
.lp-mock-step-line { height: 2px; flex: 1; background: rgba(255,255,255,0.08); border-radius: 1px; }
.lp-mock-step-line.active { background: var(--primary); }

/* --- FEATURE ROWS (alternating image/text) --- */
.lp-features { padding: 100px 0; }
.lp-features.bg-wolf-1 { background: var(--wolf-1); }
.lp-features.bg-wolf-2 { background: var(--wolf-2); }
.lp-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.lp-feature-row:last-child { margin-bottom: 0; }
.lp-feature-row.reverse .lp-feature-visual { order: -1; }
.lp-feature-text .badge { margin-bottom: 16px; }
.lp-feature-text h2 { font-size: 36px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.lp-feature-text p { color: var(--wolf-6); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.lp-feature-list { list-style: none; margin: 20px 0 0; padding: 0; }
.lp-feature-list li { padding: 10px 0; font-size: 15px; color: var(--wolf-6); display: flex; align-items: flex-start; gap: 12px; }
.lp-feature-list li::before { content: "\2713"; color: var(--primary); font-weight: 800; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Feature screenshot */
.lp-feature-visual { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid var(--border-light); }
.lp-feature-screenshot { background: var(--wolf-card); padding: 32px; min-height: 320px; display: flex; flex-direction: column; }
.lp-feature-screenshot__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wolf-5); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--wolf-2); }

/* Mock UI elements for feature screenshots */
.lp-mock-canvas { background: var(--wolf-1); border-radius: var(--radius-lg); padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.lp-mock-widget { background: var(--wolf-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; }
.lp-mock-widget-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wolf-5); margin-bottom: 8px; }
.lp-mock-bar { height: 8px; background: var(--wolf-2); border-radius: 4px; }
.lp-mock-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; }
.lp-mock-tag { display: inline-flex; padding: 4px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.lp-mock-tag-blue { background: var(--primary-light); color: var(--primary); }
.lp-mock-tag-green { background: #ECFDF5; color: #059669; }
.lp-mock-tag-amber { background: #FEF3C7; color: #D97706; }

/* Drag handle indicator */
.lp-mock-drag { display: flex; flex-direction: column; gap: 2px; width: 16px; margin-right: 8px; }
.lp-mock-drag span { width: 16px; height: 2px; background: var(--wolf-3); border-radius: 1px; }

/* --- COMPARISON SECTION --- */
.lp-comparison { padding: 100px 0; background: var(--wolf-1); }
.lp-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
.lp-compare-card { border-radius: var(--radius-2xl); padding: 40px; }
.lp-compare-card.others { background: var(--wolf-2); border: 1px solid var(--border-light); }
.lp-compare-card.smoak { background: var(--wolf-darker); color: #fff; border: 1px solid rgba(0,102,255,0.2); }
.lp-compare-card h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 24px; }
.lp-compare-card.smoak h3 { color: var(--primary); }
.lp-compare-list { list-style: none; padding: 0; }
.lp-compare-list li { padding: 10px 0; font-size: 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.lp-compare-card.others .lp-compare-list li { border-bottom-color: var(--wolf-3); color: var(--wolf-6); }
.lp-compare-card.smoak .lp-compare-list li { color: rgba(255,255,255,0.7); }
.compare-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.compare-icon.bad { background: rgba(239,68,68,0.1); color: #EF4444; }
.compare-icon.good { background: rgba(0,102,255,0.15); color: var(--primary); }

/* --- LP CTA BANNER --- */
.lp-cta { padding: 80px 0; background: var(--primary); text-align: center; position: relative; overflow: hidden; }
.lp-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.lp-cta .wrap { position: relative; z-index: 1; max-width: 700px; }
.lp-cta h2 { font-size: 42px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.lp-cta p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 32px; }
.lp-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--primary); padding: 18px 40px; border-radius: var(--radius-full); font-size: 15px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; transition: all var(--transition); }
.lp-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); color: var(--primary); }
.lp-cta-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===================================
   LIVE DEMOS SECTION
   Spacing matches homepage sections:
   - 100px vertical padding (features, pricing, testimonials)
   - 64px section-header margin (global standard)
   - 36px card padding (plugin-card, pricing-card standard)
   =================================== */
.lp-demos {
  padding: 100px 0;
  background: var(--wolf-darker);
  position: relative;
  overflow: hidden;
}
.lp-demos::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(124,58,237,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,102,255,0.06) 0%, transparent 50%);
  z-index: 1;
}
.lp-demos::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.lp-demos .wrap { position: relative; z-index: 2; }
.lp-demos .section-header { text-align: center; margin-bottom: 64px; }
.lp-demos .section-header h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.lp-demos .section-header p {
  color: rgba(255,255,255,0.5);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.lp-demos .badge {
  background: rgba(124,58,237,0.15);
  color: #a78bfa;
  border: 1px solid rgba(124,58,237,0.3);
}

/* Demo grid — single column, balanced spacing */
.demo-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

/* Demo card — elevated dark card with subtle glow on hover */
.demo-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.demo-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

/* Color accent stripe at the top of each card */
.demo-card--ocean { border-top: 3px solid #2563eb; }
.demo-card--sunset { border-top: 3px solid #f97316; }
.demo-card--purple { border-top: 3px solid #7c3aed; }

/* Card header — icon + title + tags */
.demo-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 36px 0;
}
.demo-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}
.demo-card--ocean .demo-card__icon { background: rgba(37,99,235,0.15); }
.demo-card--sunset .demo-card__icon { background: rgba(249,115,22,0.15); }
.demo-card--purple .demo-card__icon { background: rgba(124,58,237,0.15); }

.demo-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.demo-card__tag {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 20px;
  margin-right: 6px;
}
.demo-card__tag--scoring { background: rgba(37,99,235,0.15); color: #60a5fa; }
.demo-card__tag--pricing { background: rgba(249,115,22,0.15); color: #fb923c; }
.demo-card__tag--skin { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.45); }

/* Description */
.demo-card__desc {
  padding: 16px 36px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 640px;
}

/* Form wrapper — consistent with card padding */
.demo-card__form-wrapper {
  margin: 24px 36px 36px;
  padding: 0;
}

/* The actual form container — sits in a light inset panel */
.demo-card__form {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
}

/* Reset the form container max-width inside demo cards */
.demo-card__form .smoak-form-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Ensure form renders cleanly inside the white panel */
.demo-card__form .smoak-form-container .sf-form-title {
  color: #1a1a2e;
}

/* Tighten form field spacing inside demo cards */
.demo-card__form .sf-field {
  margin-bottom: 16px;
}
.demo-card__form .sf-field:last-child {
  margin-bottom: 0;
}

/* CTA below demos */
.demo-cta {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.demo-cta p {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.demo-cta strong { color: rgba(255,255,255,0.8); }

/* Standalone /demos/ page — first section after nav, needs nav offset */
.demos-page { padding-top: 160px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .lp-demos { padding: 72px 0; }
  .lp-demos .section-header { margin-bottom: 40px; }
  .lp-demos .section-header h2 { font-size: 32px; }
  .demo-grid { gap: 32px; }
  .demo-card { border-radius: 18px; }
  .demo-card__header { padding: 24px 24px 0; gap: 12px; }
  .demo-card__icon { width: 40px; height: 40px; font-size: 20px; }
  .demo-card__title { font-size: 17px; }
  .demo-card__desc { padding: 12px 24px 0; font-size: 13px; }
  .demo-card__form-wrapper { margin: 16px 20px 20px; }
  .demo-card__form { padding: 20px; border-radius: 10px; }
  .demo-cta { margin-top: 40px; padding-top: 28px; }
  .demos-page { padding-top: 120px; }
}
