/* ==========================================================================
   PDFGO — style.css
   ========================================================================== */

:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --indigo-light: #eef2ff;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --ink: #0f172a;
  --slate: #475569;
  --slate-light: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --green: #16a34a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .15);
  --container: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--slate); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 56px 0; }

.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lead { font-size: 1.15rem; color: var(--slate); max-width: 680px; margin: 0 auto 8px; }
.section-head { max-width: 720px; margin: 0 auto 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.28); }
.btn-primary:hover { background: var(--indigo-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.28); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.4rem; color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo), #7c73f0);
  display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--indigo); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--indigo-light), #fff); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 76px 0; }
.hero h1 span { color: var(--indigo); }
.hero p.lead { margin-left: 0; text-align: left; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: var(--slate); font-size: .9rem; font-weight: 600; }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-media img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; height: 480px; object-fit: cover; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; text-align: center; }
.trust-grid .num { font-size: 2.2rem; font-weight: 900; color: var(--indigo); letter-spacing: -.03em; }
.trust-grid .label { color: var(--slate); font-size: .95rem; font-weight: 600; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--indigo-light);
  display: grid; place-items: center; color: var(--indigo); margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .96rem; }

/* ---------- Split / alternating ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; height: 360px; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--indigo); box-shadow: var(--shadow); position: relative; }
.price-card.featured .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--indigo); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .04em;
}
.price-card h3 { font-size: 1.3rem; }
.price { font-size: 2.6rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; margin: 8px 0 2px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--slate-light); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.price-card ul li { padding: 8px 0 8px 28px; position: relative; color: var(--slate); font-size: .95rem; border-bottom: 1px solid var(--bg-soft); }
.price-card ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900;
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--bg-soft); font-weight: 800; color: var(--ink); font-size: .95rem; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .highlight { color: var(--indigo); font-weight: 800; }
table.compare td .yes { color: var(--green); font-weight: 800; }
table.compare td .no { color: var(--slate-light); }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.quote-card p { color: var(--ink); font-style: italic; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-author .who { font-weight: 700; font-size: .95rem; color: var(--ink); }
.quote-author .role { font-size: .85rem; color: var(--slate-light); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--indigo), #6d64ee); color: #fff; border-radius: 22px; padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 24px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field .error-msg { color: #dc2626; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .82rem; color: var(--slate-light); margin-top: 8px; }

/* ---------- Contact info blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-list .ii { width: 44px; height: 44px; border-radius: 11px; background: var(--indigo-light); color: var(--indigo); display: grid; place-items: center; flex: none; }
.info-list .ii svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); }
.info-list span, .info-list a { color: var(--slate); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; font-size: 1.05rem; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .plus { flex: none; font-size: 1.4rem; color: var(--indigo); transition: transform .2s ease; line-height: 1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
.faq-a p { margin: 0; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { color: var(--slate); }
.prose li { margin-bottom: 8px; }
.updated { color: var(--slate-light); font-size: .9rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--indigo-light); padding: 66px 0; text-align: center; }
.page-hero p { max-width: 620px; margin: 0 auto; }

/* ---------- Thank you ---------- */
.thanks { text-align: center; padding: 100px 0; }
.thanks .badge { width: 92px; height: 92px; border-radius: 50%; background: #dcfce7; color: var(--green); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .badge svg { width: 48px; height: 48px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #94a3b8; font-size: .92rem; margin-top: 14px; max-width: 280px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: #cbd5e1; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #818cf8; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #94a3b8; font-size: .88rem; }
.footer-bottom a { color: #94a3b8; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 320px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
    padding: 18px 20px; gap: 16px; box-shadow: var(--shadow);
  }
  .section { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}
