/* PresentTool™ — Landing page styles
   GSAP + ScrollTrigger animations added via main.js
*/

/* ─── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --pt-primary:   #8B4513;
  --pt-secondary: #C8956C;
  --pt-accent:    #A0522D;
  --pt-text:      #1A1A1A;
  --pt-muted:     #6B6B6B;
  --pt-bg:        #FAFAF8;
  --pt-surface:   #FFFFFF;
  --pt-border:    #E5E5E0;
  --pt-grid:      rgba(0,0,0,0.035);
  --pt-max:       1200px;
  --pt-radius:    10px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--pt-text);
  background: var(--pt-bg);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--pt-bg); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ─── Grid background ─────────────────────────────────────────────────────── */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--pt-grid) 0, var(--pt-grid) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(90deg, var(--pt-grid) 0, var(--pt-grid) 1px, transparent 1px, transparent 32px);
}

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.container { max-width: var(--pt-max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section    { padding: 96px 0; }
.section-title { font-family: "Source Serif 4", serif; font-size: clamp(28px, 4vw, 44px); font-weight: 600; text-align: center; margin-bottom: 12px; }
.section-sub   { font-size: 17px; color: var(--pt-muted); text-align: center; margin-bottom: 56px; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--pt-border); background: var(--pt-surface); color: var(--pt-text);
  cursor: pointer; transition: all 200ms ease-out; white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn--primary { background: var(--pt-primary); color: white; border-color: var(--pt-primary); }
.btn--primary:hover { background: var(--pt-accent); border-color: var(--pt-accent); }
.btn--outline { border-color: var(--pt-primary); color: var(--pt-primary); }
.btn--outline:hover { background: rgba(139,69,19,0.06); }
.btn--ghost { background: none; border-color: var(--pt-border); color: var(--pt-muted); }
.btn--ghost:hover { background: var(--pt-border); color: var(--pt-text); }
.btn--lg  { padding: 14px 28px; font-size: 15px; }
.btn--xl  { padding: 16px 36px; font-size: 16px; }
.btn--sm  { padding: 7px 14px; font-size: 12px; }
.btn--full { width: 100%; justify-content: center; }

.badge-no-install {
  display: inline-block; font-size: 10px; font-weight: 600;
  background: rgba(139,69,19,0.1); color: var(--pt-primary);
  padding: 2px 7px; border-radius: 20px; margin-left: 4px;
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(250,250,248,0.9);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--pt-border);
}
.nav { display: flex; align-items: center; gap: 32px; height: 60px; }
.nav-logo { flex-shrink: 0; }
.logo { height: 32px; width: auto; }
.logo--dark { display: none; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--pt-muted); transition: color 150ms; }
.nav-links a:hover { color: var(--pt-text); }
.nav-cta { display: flex; gap: 10px; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero { min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 80px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pt-secondary); margin-bottom: 16px; }
.hero-headline {
  font-family: "Source Serif 4", serif;
  font-size: clamp(32px, 5vw, 60px); font-weight: 600; line-height: 1.1;
  margin-bottom: 24px; color: var(--pt-text);
}
.hero-sub { font-size: 18px; color: var(--pt-muted); line-height: 1.6; margin-bottom: 32px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-sub2 { font-size: 12px; color: var(--pt-muted); }
.hero-visual { position: relative; }
.hero-placeholder {
  background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: 12px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
}
.hero-placeholder-inner { text-align: center; color: var(--pt-muted); font-size: 13px; line-height: 1.6; }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* ─── Compare ─────────────────────────────────────────────────────────────── */
.compare { background: var(--pt-surface); }
.compare-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 48px; align-items: start; }
.compare-label { font-family: "Source Serif 4", serif; font-size: 22px; font-weight: 600; margin-bottom: 24px; }
.compare-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.flow-item { padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.flow-item--messy  { background: rgba(239,68,68,0.08); color: #DC2626; border: 1px solid rgba(239,68,68,0.2); }
.flow-item--clean  { background: rgba(139,69,19,0.08); color: var(--pt-primary); border: 1px solid rgba(139,69,19,0.2); }
.flow-arrow { color: var(--pt-muted); font-size: 14px; }
.compare-quote { font-family: "Source Serif 4", serif; font-style: italic; color: var(--pt-muted); font-size: 15px; }
.compare-divider { background: var(--pt-border); }

/* ─── Steps grid ──────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.step-card {
  background: var(--pt-surface); border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius); padding: 24px;
  transition: transform 200ms, box-shadow 200ms;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.step-card--pivot { border-color: var(--pt-secondary); border-top: 2px solid var(--pt-secondary); }
.step-pivot-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--pt-secondary); text-transform: uppercase; margin-bottom: 8px; }
.step-num { font-size: 32px; font-family: "Source Serif 4", serif; font-weight: 600; color: var(--pt-secondary); margin-bottom: 10px; }
.step-name { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--pt-muted); line-height: 1.6; }

/* ─── Quotes strip ────────────────────────────────────────────────────────── */
.quotes { background: rgba(139,69,19,0.04); overflow: hidden; padding: 48px 0; }
.quotes-track { display: flex; gap: 24px; width: max-content; }
.quote-card {
  background: var(--pt-surface); border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius); padding: 24px 28px; min-width: 320px;
  font-family: "Source Serif 4", serif; font-style: italic; font-size: 15px; line-height: 1.6;
}
.quote-author { display: block; margin-top: 10px; font-style: normal; font-size: 12px; color: var(--pt-muted); font-family: "Inter", sans-serif; }

/* ─── Features grid ───────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius); padding: 28px; }
.feature-icon { color: var(--pt-primary); margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--pt-muted); line-height: 1.6; }

/* ─── Pricing ─────────────────────────────────────────────────────────────── */
.pricing { background: var(--pt-surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.pricing-card { background: var(--pt-bg); border: 1px solid var(--pt-border); border-radius: var(--pt-radius); padding: 28px; position: relative; }
.pricing-card--featured { border-color: var(--pt-primary); border-width: 2px; background: var(--pt-surface); }
.pricing-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--pt-primary); color: white; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; white-space: nowrap; animation: pt-popular-pulse 3s ease-in-out infinite; }
@keyframes pt-popular-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(139,69,19,0.3); } 50% { box-shadow: 0 0 0 6px rgba(139,69,19,0); } }
.pricing-tier { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pt-muted); margin-bottom: 8px; }
.pricing-price { font-family: "Source Serif 4", serif; font-size: 40px; font-weight: 600; margin-bottom: 20px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--pt-muted); font-family: "Inter", sans-serif; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li { font-size: 13px; color: var(--pt-muted); padding: 6px 0; border-bottom: 1px solid var(--pt-border); }
.pricing-features li::before { content: "✓ "; color: var(--pt-primary); font-weight: 700; }
.pricing-note { text-align: center; font-size: 13px; color: var(--pt-muted); }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-inner { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--pt-border); border-radius: 8px; overflow: hidden; }
.faq-item summary { padding: 18px 20px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 18px; color: var(--pt-primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; font-size: 14px; color: var(--pt-muted); line-height: 1.6; }

/* ─── Final CTA ───────────────────────────────────────────────────────────── */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final-bg { position: absolute; inset: 0; background: rgba(139,69,19,0.06); z-index: 0; }
.cta-final-inner { position: relative; z-index: 1; }
.cta-final-title { font-family: "Source Serif 4", serif; font-size: clamp(28px, 4vw, 48px); font-weight: 600; margin-bottom: 16px; }
.cta-final-sub { font-size: 16px; color: var(--pt-muted); margin-bottom: 32px; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--pt-surface); border-top: 1px solid var(--pt-border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo { height: 28px; margin-bottom: 8px; }
.footer-brand p { font-size: 12px; color: var(--pt-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--pt-muted); }
.footer-links a:hover { color: var(--pt-text); }
.footer-version { font-size: 11px; color: var(--pt-muted); }

/* ─── Cookie banner ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 500px;
  background: var(--pt-surface); border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius); padding: 16px 20px; z-index: 1000;
  display: flex; align-items: center; gap: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 13px; flex: 1; line-height: 1.5; }
.cookie-banner a { color: var(--pt-primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-visual    { display: none; }
  .compare-grid   { grid-template-columns: 1fr; }
  .compare-divider{ display: none; }
  .pricing-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .section   { padding: 64px 0; }
}

/* --- NL-specific additions ----------------------------------------------- */
.logo-text { font-size: 18px; font-weight: 700; color: var(--pt-primary); letter-spacing: -.02em; }
.footer-logo-text { font-size: 16px; font-weight: 700; color: var(--pt-primary); }
.lang-switch { font-size: 12px; font-weight: 600; padding: 4px 10px; border: 1px solid var(--pt-border); border-radius: 100px; color: var(--pt-muted); }
.lang-switch:hover { border-color: var(--pt-primary); color: var(--pt-primary); }
.hero-badges { margin: 14px 0 0; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 500; color: var(--pt-primary); background: rgba(139,69,19,.08); border: 1px solid rgba(139,69,19,.2); border-radius: 100px; padding: 5px 14px; }
.skip-link { position: absolute; top: -9999px; left: 12px; background: var(--pt-primary); color: #fff; padding: 8px 16px; border-radius: 0 0 6px 6px; font-size: 13px; font-weight: 600; z-index: 9999; text-decoration: none; }
.skip-link:focus { top: 0; }
