/* ===========================================================
   Content Craft — Marketing Site
   Brand tokens match the Content Craft app (login/sidebar):
   primary orange #E66239 / hover #c45330 / tint #fae0d7
   secondary teal  #3cbdc6 / hover #2fa3ab
=========================================================== */

:root {
  --primary: #E66239;
  --primary-hover: #c45330;
  --primary-tint: #fae0d7;
  --primary-tint-soft: #e6623918;
  --secondary: #3cbdc6;
  --secondary-hover: #2fa3ab;
  --text-dark: #1d2327;
  --text-body: #50575e;
  --text-muted: #7d8a99;
  --border: #e5e5e5;
  --bg-soft: #f7f7f8;
  --white: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { color: var(--text-dark); font-weight: 700; letter-spacing: -0.02em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(230, 98, 57, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 98, 57, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo { height: 36px; width: auto; }

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f8 100%);
  z-index: -1;
}

.shape { position: absolute; border-radius: 50%; opacity: 0.5; }

.shape-1 {
  width: 420px; height: 420px; top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(230, 98, 57, 0.10) 0%, transparent 70%);
}

.shape-2 {
  width: 360px; height: 360px; top: 20%; right: -140px;
  background: radial-gradient(circle, rgba(60, 189, 198, 0.10) 0%, transparent 70%);
}

.shape-3 {
  width: 280px; height: 280px; bottom: -120px; left: 30%;
  background: radial-gradient(circle, rgba(230, 98, 57, 0.06) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint-soft);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: 2.85rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero mockup visual */
.mockup-window {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #dcdcde;
}

.mockup-body { padding: 24px; }

.mockup-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  opacity: 0.55;
}

.mockup-step.active { opacity: 1; }
.mockup-step.current {
  background: var(--primary-tint-soft);
  opacity: 1;
}

.mockup-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mockup-step:not(.current) .mockup-step-num { background: #d8dadd; }

.mockup-step strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.mockup-step p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

.mockup-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.mockup-card-row { display: flex; gap: 8px; margin-bottom: 14px; }

.mockup-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  color: #fff;
}

.mockup-tag-unlimited {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  font-size: 0.75rem;
  padding: 5px 12px;
}

.mockup-skeleton-line {
  height: 9px;
  border-radius: 5px;
  background: #e3e5e8;
  margin-bottom: 9px;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-90 { width: 90%; margin-bottom: 0; }

/* ===== Sub-page hero (Features / Pricing / How it Works / FAQ) ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f8 100%);
}

.page-hero .shape { opacity: 0.4; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--text-muted); transition: color 0.15s ease; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--text-dark); font-weight: 600; }

.page-hero h1 { font-size: 2.4rem; margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; color: var(--text-body); max-width: 620px; margin: 0 auto; }

/* ===== Industries ===== */
.industries { padding: 96px 0; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.industry-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.industry-icon { font-size: 1.8rem; margin-bottom: 10px; }

.industry-chip span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.industries-note {
  text-align: center;
  max-width: 560px;
  margin: 36px auto 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== Product tour / screenshots ===== */
.product-tour { padding: 96px 0; background: var(--bg-soft); }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.screenshot-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border);
}

.screenshot-card figcaption {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature-screenshot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.feature-screenshot-row:last-child { border-bottom: none; }

.feature-screenshot-row.reverse .fsr-text { order: 2; }
.feature-screenshot-row.reverse .fsr-image { order: 1; }

.fsr-image img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.fsr-text .eyebrow { background: var(--primary-tint-soft); }
.fsr-text h2 { font-size: 1.7rem; margin-bottom: 14px; }
.fsr-text p { font-size: 1rem; margin-bottom: 16px; }

.fsr-text ul { margin-top: 8px; }
.fsr-text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.93rem;
}

.fsr-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* ===== Stats strip ===== */
.stats-strip {
  background: var(--text-dark);
  padding: 36px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Section heading ===== */
.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-heading .eyebrow { background: var(--primary-tint-soft); }

.section-heading h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-heading p { font-size: 1.02rem; color: var(--text-body); }

/* ===== Features ===== */
.features { padding: 96px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.feature-icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary-tint-soft);
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.93rem; color: var(--text-body); }

/* ===== How it works ===== */
.how-it-works { padding: 96px 0; background: var(--bg-soft); }

.steps-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.step-block {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: left;
}

.step-block-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.step-block h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-block p { font-size: 0.92rem; color: var(--text-body); }

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ===== Pricing ===== */
.pricing { padding: 96px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.price-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price-amount { font-size: 2.4rem; font-weight: 800; color: var(--text-dark); }
.price-period { font-size: 0.9rem; color: var(--text-muted); }

.price-features { margin-bottom: 28px; flex: 1; }

.price-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq { padding: 96px 0; background: var(--bg-soft); }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
}

.faq-toggle {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p { padding: 0 4px 22px; font-size: 0.93rem; color: var(--text-body); }

/* ===== Final CTA ===== */
.final-cta {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  text-align: center;
}

.final-cta-inner h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.final-cta-inner p { color: rgba(255, 255, 255, 0.9); max-width: 520px; margin: 0 auto 28px; }
.final-cta .btn-primary { background: #fff; color: var(--primary); }
.final-cta .btn-primary:hover { background: #f7f7f8; transform: translateY(-2px); }

/* ===== Footer ===== */
.site-footer { background: var(--text-dark); padding: 64px 0 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { max-width: 320px; }
.footer-logo { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; }

.footer-links { display: flex; gap: 56px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card-featured { transform: none; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .tour-grid { grid-template-columns: 1fr; }
  .feature-screenshot-row,
  .feature-screenshot-row.reverse { grid-template-columns: 1fr; }
  .feature-screenshot-row.reverse .fsr-text,
  .feature-screenshot-row.reverse .fsr-image { order: initial; }
  .industries-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 8px 24px;
  }

  .main-nav.mobile-open { display: flex; }

  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }

  .mobile-menu-btn { display: flex; }
  .hero-copy h1 { font-size: 2.1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 32px; }
}
