/* Shared components: sections, cards, grids */

.container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.2; }
.section-header h2 span { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { font-size: 1.2rem; color: var(--text-light); max-width: 700px; margin: 0 auto; }

.features { padding: 120px 2rem; background: var(--bg-light); position: relative; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.feature-card { background: white; padding: 2.5rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: all .4s cubic-bezier(.4,0,.2,1); border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(51,81,119,.1), rgba(64,101,149,.1)); border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-dark); font-weight: 700; }
.feature-card p { color: var(--text-light); line-height: 1.8; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* How It Works */
.how-it-works { padding: 120px 2rem; background: #fff; position: relative; overflow: hidden; }
.process-container { max-width: 1200px; margin: 4rem auto 0; position: relative; }
.process-line { position: absolute; top: 35px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); z-index: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.step { text-align: center; position: relative; }
.step-number { width: 70px; height: 70px; background: #fff; border: 3px solid var(--primary); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem; position: relative; transition: all .3s ease; }
.step:hover .step-number { background: var(--primary); color: #fff; transform: scale(1.1); }
.step h3 { font-size: 1.2rem; margin-bottom: .8rem; color: var(--text-dark); font-weight: 700; }
.step p { color: var(--text-light); font-size: .95rem; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}

/* Demo Section */
.demo { padding: 120px 2rem; background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%); }
.demo-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.demo-text h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.2; }
.demo-features { margin: 2rem 0; }
.demo-feature { display: flex; align-items: start; gap: 1rem; margin-bottom: 1.5rem; }
.check-icon { width: 24px; height: 24px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; flex-shrink: 0; margin-top: 2px; }
.demo-feature-text h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: .3rem; font-weight: 600; }
.demo-feature-text p { color: var(--text-light); font-size: .95rem; }
.demo-visual { position: relative; }
.demo-image { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.15); }

@media (max-width: 1024px) {
  .demo-content { grid-template-columns: 1fr; }
}

/* Pricing */
.pricing { padding: 120px 2rem; background: #fff; position: relative; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1000px; margin: 4rem auto 0; }
.pricing-card { background: #fff; border: 2px solid rgba(0,0,0,0.08); padding: 3rem 2rem; border-radius: 20px; text-align: center; position: relative; transition: all .3s ease; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,.1); }
.pricing-card.featured { border-color: var(--primary); transform: scale(1.05); box-shadow: 0 20px 50px rgba(51,81,119,.15); }
.pricing-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: .4rem 1.5rem; border-radius: 50px; font-size: .75rem; font-weight: 700; letter-spacing: 1px; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: .5rem; color: var(--text-dark); font-weight: 700; }
.price { font-size: 3.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 1rem 0; }
.price span { font-size: 1rem; color: var(--text-light); font-weight: 400; -webkit-text-fill-color: var(--text-light); }
.pricing-features { list-style: none; margin: 2rem 0; text-align: left; }
.pricing-features li { padding: .8rem 0; color: var(--text-dark); display: flex; align-items: center; gap: .8rem; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: bold; font-size: 1.2rem; }
.pricing-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 1rem 3rem; border-radius: 50px; text-decoration: none; display: inline-block; font-weight: 600; transition: all .3s ease; box-shadow: 0 10px 30px rgba(51,81,119,.2); }
.pricing-cta:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(51,81,119,.3); }
.featured .pricing-cta { background: linear-gradient(135deg, var(--accent), #ff6b6b); }

/* Calculator inside pricing card */
.pricing-card .state-calculator { margin-top: 1rem; padding: .75rem 1rem; background: var(--bg-light); border: 1px solid var(--border, #e2e8f0); border-radius: 12px; text-align: left; }
.state-calculator label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.state-calculator input[type="number"] { width: 120px; height: 42px; padding: .35rem .5rem; border: 1px solid var(--border, #e2e8f0); border-radius: 10px; background: #fff; color: var(--text-dark); }
.state-calculator input[type="number"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(64,101,149,.12); }
.state-calculator .calc-meta { margin-top: .5rem; display: grid; gap: .25rem; color: var(--text-light); }
.state-calculator .calc-meta strong { color: var(--text-dark); }
.qty { display: inline-flex; align-items: center; gap: .35rem; }
.qty-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border, #e2e8f0); background: #fff; color: var(--text-dark); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.qty-btn:hover { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(64,101,149,.12); }
.state-calculator input[type="number"] { width: 88px; text-align: center; }

/* CTA */
.cta { padding: 120px 2rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%); transform: translate(-50%, -50%); }
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; color: #fff; font-weight: 800; }
.cta p { font-size: 1.3rem; color: rgba(255,255,255,.9); margin-bottom: 2.5rem; }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* Small stat blocks */
.stat-mini { display: flex; align-items: center; gap: 1rem; }
.stat-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.stat-info h4 { font-size: 1.5rem; color: var(--text-dark); margin: 0; }
.stat-info p { font-size: .85rem; color: var(--text-light); margin: 0; }

/* Briefs grid */
.briefs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 18px; }
.brief-card { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.brief-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0,0,0,0.08); }
.brief-thumb { background: linear-gradient(135deg, var(--primary), var(--secondary)); height: 140px; display: flex; align-items: center; justify-content: center; }
.brief-thumb img { height: 56px; filter: brightness(0) invert(1); opacity: .95; }
.brief-body { padding: 16px; }
.brief-title { font-weight: 700; color: var(--text-dark); margin-bottom: 6px; font-size: 1.1rem; }
.brief-sub { color: var(--text-light); font-size: .95rem; }

/* One-sheeter (doc) shared styles */
.page { max-width: 960px; margin: 32px auto; padding: 24px; }
.page > .header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; }
.brand-name { font-size: 1.5rem; }
.actions { display: flex; gap: 10px; }

.doc { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,0.06); }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: #fff; background: var(--gradient); padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 6px; }
.subtitle { color: var(--text-light); font-size: 1.05rem; }
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.doc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
/* Force single-column flow inside printable pages */
.page .grid { grid-template-columns: 1fr !important; }
.page .hero .grid { display: grid; grid-template-columns: 1fr !important; }
.card { background: #fff; border-radius: 16px; padding: 18px 18px 16px; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.card p { color: var(--text-dark); }
.list { margin-top: 6px; padding-left: 18px; }
.list li { margin: 6px 0; color: var(--text-dark); }
.stats { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
.page .stats { grid-template-columns: 1fr; }
.page .hero .stats { display: grid; grid-template-columns: 1fr; }
.stat { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 16px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.stat .value { font-size: 1.65rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 4px; }
.stat .label { color: var(--text-light); font-size: .95rem; }
.roi { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
.page .roi { grid-template-columns: 1fr !important; }
.page .hero .roi { display: grid; grid-template-columns: 1fr !important; }
.roi-emphasis { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
.footnote { color: var(--text-light); font-size: .9rem; margin-top: 2px; }
.doc-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.doc-footer .small { color: var(--text-light); font-size: .9rem; }

@media (max-width: 900px) {
  .doc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .roi { grid-template-columns: 1fr; }
  .page > .header { flex-direction: column; align-items: flex-start; }
  .actions { width: 100%; }
  .btn { width: 100%; text-align: center; }
}

/* Two-column stats on wider screens for briefs */
@media (min-width: 900px) {
  .page .stats { grid-template-columns: repeat(2, 1fr); }
}

