/* Light theme — original style (navy on warm off-white).
   Standalone preview: open the HTML files directly in a browser. */

:root {
  --navy:       #12355D;
  --navy-dark:  #0c2440;
  --navy-light: #2a5288;
  --bg:         #FAF8F2;
  --panel:      #FFFFFF;
  --line:       #E5E3DD;
  --grey-text:  #5B6470;
  --ok:         #2F9E5C;
  --warn:       #D9893A;
  --err:        #C44C4C;
  --radius:     8px;
  --maxw:       1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: #1a1f2c;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Header --- */
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 16px 32px;
  gap: 32px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 72px; width: auto; display: block; }
.site-nav { margin-left: auto; display: flex; gap: 24px; }
.site-nav a {
  color: var(--grey-text);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--navy); text-decoration: none; }
.site-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* --- Main layout --- */
.site-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 32px 64px;
}

/* --- Hero (home) --- */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 16px;
}
.lead {
  font-size: 18px;
  color: var(--grey-text);
  margin: 0 0 24px;
  max-width: 540px;
}
.cta-row {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 8px;
}
.cta-note {
  color: var(--grey-text);
  font-size: 13px;
  margin: 8px 0 0;
}
.hero-art {
  display: flex; justify-content: center; align-items: center;
}
.hero-logo {
  height: 200px; width: auto;
  opacity: 0.92;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: rgba(18, 53, 93, 0.06); }

/* --- 3-col cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { color: var(--navy); margin: 0 0 8px; font-size: 18px; }
.card p  { color: var(--grey-text); margin: 0; font-size: 14px; }

/* --- Page head (features/pricing/contact) --- */
.page-head { margin-bottom: 40px; max-width: 640px; }
.page-head h1 { color: var(--navy); font-size: 36px; margin: 0 0 12px; }

/* --- Features --- */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.features article h2 {
  color: var(--navy);
  font-size: 20px;
  margin: 0 0 8px;
}
.features article p {
  color: var(--grey-text);
  margin: 0;
  font-size: 15px;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: 0 4px 24px rgba(18, 53, 93, 0.10);
}
.pricing-card .badge {
  position: absolute; top: -12px; right: 16px;
  background: var(--navy);
  color: white;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pricing-card h3 {
  color: var(--navy); margin: 0 0 12px; font-size: 22px;
}
.pricing-card .price {
  font-size: 16px; color: var(--grey-text); margin-bottom: 16px;
}
.pricing-card .num {
  font-size: 40px; font-weight: 700; color: var(--navy);
}
.pricing-card .per { margin-left: 4px; font-size: 14px; }
.pricing-card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  font-size: 14px; color: var(--grey-text);
}
.pricing-card li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.pricing-card li:last-child { border-bottom: 0; }
.pricing-card .btn { margin-top: auto; text-align: center; }

/* --- FAQ --- */
.faq { max-width: 720px; }
.faq h2 { color: var(--navy); margin-bottom: 16px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 8px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
}
.faq details[open] summary { margin-bottom: 8px; }
.faq p { margin: 4px 0 0; color: var(--grey-text); font-size: 14px; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card h3 { color: var(--navy); margin: 0 0 8px; font-size: 16px; }
.contact-card p  { margin: 0; }

/* --- CTA block --- */
.cta-block {
  text-align: center;
  padding: 48px 0 16px;
}

/* --- Footer --- */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 20px 32px;
  font-size: 13px;
  color: var(--grey-text);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-inner a { color: var(--grey-text); }
.footer-inner .dot { margin: 0 6px; opacity: 0.6; }

/* --- Screenshot showcase --- */
.showcase {
  text-align: center;
  margin: 16px 0 64px;
}
.showcase h2 {
  color: var(--navy);
  font-size: 30px;
  margin: 0 0 12px;
}
.showcase-intro {
  color: var(--grey-text);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 32px;
}
.shot {
  max-width: 920px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(18, 53, 93, 0.08);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  border-bottom: 1px solid var(--line);
}
.shot figcaption {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--grey-text);
}

/* --- Lightbox (click screenshot to enlarge) --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 36, 64, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95%;
  max-height: 92%;
  border-radius: var(--radius);
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* --- Mobile --- */
@media (max-width: 720px) {
  .site-header { padding: 12px 16px; gap: 16px; flex-wrap: wrap; }
  .brand-logo { height: 56px; }
  .site-nav { gap: 12px; width: 100%; justify-content: flex-start; }
  .site-main { padding: 32px 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-art { display: none; }
  .grid-3, .pricing-grid, .features, .contact-grid {
    grid-template-columns: 1fr;
  }
  .showcase h2 { font-size: 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
