/* POD Prompt AI — site styles */
:root {
  --ink: #1b1630;
  --ink-2: #4a4466;
  --muted: #7b7596;
  --violet: #6d5bf0;
  --violet-deep: #553fe0;
  --lilac: #f1eeff;
  --lilac-2: #e5dfff;
  --paper: #fbfaff;
  --white: #ffffff;
  --line: #e6e2f4;
  --mint: #22c55e;
  --check-a: #ffffff;
  --check-b: #ebe8f5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(27, 22, 48, 0.08), 0 2px 6px rgba(27, 22, 48, 0.05);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}
.btn-primary { background: var(--violet); color: var(--white); box-shadow: 0 8px 20px rgba(109, 91, 240, .3); }
.btn-primary:hover { background: var(--violet-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 255, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--violet); display: grid; place-items: center; color: #fff; font-size: 15px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 .accent { color: var(--violet); }
.hero .lead { margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* Demo: browser window with checkerboard canvas */
.demo { position: relative; }
.browser {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--lilac-2); }
.url { flex: 1; margin-left: 8px; height: 26px; border-radius: 8px; background: var(--lilac); font-family: var(--font-mono); font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.canvas {
  position: relative; height: 400px;
  background-color: var(--check-a);
  background-image:
    linear-gradient(45deg, var(--check-b) 25%, transparent 25%),
    linear-gradient(-45deg, var(--check-b) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--check-b) 75%),
    linear-gradient(-45deg, transparent 75%, var(--check-b) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}
.art {
  position: absolute; left: 28px; top: 30px; width: 190px; height: 190px;
  display: grid; place-items: center;
  filter: drop-shadow(0 10px 18px rgba(27,22,48,.18));
}
.cursor {
  position: absolute; left: 150px; top: 140px; width: 22px; height: 22px;
  color: var(--ink);
}
.ctx {
  position: absolute; left: 162px; top: 152px; width: 196px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 30px rgba(27,22,48,.18); padding: 6px; font-size: 13px;
}
.ctx div { padding: 7px 10px; border-radius: 6px; color: var(--ink-2); }
.ctx .sep { height: 1px; padding: 0; margin: 4px 6px; background: var(--line); }
.ctx .hl { background: var(--violet); color: #fff; font-weight: 600; display: flex; justify-content: space-between; }
.submenu {
  position: absolute; left: 340px; top: 210px; width: 166px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 30px rgba(27,22,48,.18); padding: 6px; font-size: 13px;
}
.submenu div { padding: 7px 10px; border-radius: 6px; color: var(--ink-2); }
.submenu .hl { background: var(--lilac); color: var(--violet-deep); font-weight: 600; }
@media (max-width: 560px) {
  .canvas { height: 300px; }
  .art { width: 150px; height: 150px; }
  .cursor { left: 140px; top: 150px; }
  .ctx { left: 150px; top: 162px; width: 190px; }
  .submenu { display: none; }
}

.output {
  position: absolute; left: -24px; bottom: -66px; width: min(300px, 90%);
  background: var(--ink); color: #e9e5ff; border-radius: var(--radius);
  padding: 16px 18px; box-shadow: 0 20px 40px rgba(27,22,48,.3);
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55;
}
.output-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-body); font-size: 12px; color: #b8b0e8; margin-bottom: 8px; }
.output-head .pill { background: rgba(109,91,240,.35); color: #d9d3ff; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.output .caret { display: inline-block; width: 7px; height: 14px; background: #c7bfff; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .output { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 16px; } }
@media (prefers-reduced-motion: reduce) { .output .caret { animation: none; } }

/* Logos strip */
.strip { padding: 56px 0 8px; text-align: center; color: var(--muted); font-size: .92rem; }
.strip .tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 12px; font-weight: 600; color: var(--ink-2); }
.strip .tools span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head .lead { margin-top: 14px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--lilac); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 26px 26px 26px; background: var(--lilac); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--violet); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .98rem; }

/* Pricing */
.pricing-bg { background: var(--lilac); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 440px; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--violet); box-shadow: 0 18px 40px rgba(109,91,240,.18); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--violet); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.plan .name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.plan .price b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .price span { color: var(--muted); }
.plan .credits { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 18px; }
.plan .credits b { color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; color: var(--ink-2); font-size: .96rem; flex: 1; }
.plan li::before { content: "✓"; color: var(--mint); font-weight: 800; margin-right: 8px; }
.plan .btn { justify-content: center; }
.pricing-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--violet); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* CTA band */
.cta { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; }
.cta p { color: #c7bfff; margin-top: 8px; }

/* Footer */
footer { padding: 40px 0 48px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--ink-2); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal article { max-width: 720px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
