:root {
  --primary: #0b3c78;
  --primary-light: #1459b0;
  --accent: #1da4ff;
  --bg-light: #f5f7fb;
  --bg-alt: #eff3fa;
  --text-main: #0c1630;
  --text-muted: #5c6477;
  --border-soft: #dde3f2;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(5, 21, 58, 0.11);
}

/* RESET-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  font-size: 18px;
  line-height: 1.6;
}

.mid {
  display: flex;
  justify-content: center;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

/* LAYOUT HELPERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 227, 242, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(11, 60, 120, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.main-nav a:hover {
  color: var(--primary-light);
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 999px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px; /* slightly rounded square */
  border: 1px solid transparent;
  padding: 0.9em 1.7em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-large {
  padding: 1.1em 2.1em;
  font-size: 1.02rem;
}

.btn-small {
  padding: 0.55em 1.1em;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(11, 60, 120, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(11, 60, 120, 0.55);
  text-decoration: none;
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(11, 60, 120, 0.3);
}

.btn-outline:hover {
  background: #f3f6ff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* HERO */
.hero {
  background: radial-gradient(circle at top left, #f0f4ff 0, #ffffff 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--primary);
  margin-bottom: 0.7em;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 0.6em;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.8em;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin-top: 1.2em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.92rem;
  align-items: center;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: rgba(11, 60, 120, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* HERO MOCKUP */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mockup-card {
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: #0f1a32;
  border: 1px solid #1b2650;
}

.mockup-toolbar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #131d3a;
}

.mockup-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.mockup-body {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  min-height: 260px;
}

.mockup-sidebar {
  background: #111a33;
  padding: 18px 14px;
  border-right: 1px solid #202a55;
}

.mockup-logo {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1da4ff, #7cc0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0c1630;
  margin-bottom: 18px;
}

.mockup-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
}

.mockup-sidebar li {
  padding: 7px 9px;
  border-radius: 8px;
  color: #cad3ff;
}

.mockup-sidebar li.active {
  background: rgba(29, 164, 255, 0.13);
  color: #ffffff;
}

.mockup-main {
  padding: 18px 18px 20px;
  background: radial-gradient(circle at top left, #1b2961, #0c1427);
  color: #dbe5ff;
  display: flex;
  flex-direction: column;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.mockup-stats .label {
  display: block;
  font-size: 0.75rem;
  color: #aab7ff;
  margin-bottom: 4px;
}

.mockup-stats .value {
  font-size: 1.05rem;
  font-weight: 600;
}

.mockup-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.mockup-chart .bar {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(to top, rgba(29, 164, 255, 0.25), #7cc0ff);
}

.mockup-chart .bar-1 { height: 55%; }
.mockup-chart .bar-2 { height: 86%; }
.mockup-chart .bar-3 { height: 65%; }
.mockup-chart .bar-4 { height: 40%; }

.mockup-tagline {
  font-size: 0.84rem;
  color: #b2c0ff;
}

.mockup-caption {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* SECTION HEADING */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin-bottom: 0.4em;
}

.section-heading p {
  max-width: 600px;
  margin: 0 auto;
}

/* FEATURES */
.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 20px 20px 22px;
  box-shadow: 0 4px 18px rgba(15, 26, 50, 0.04);
}

.feature-card h3 {
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.98rem;
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 22px 22px 26px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(10, 26, 70, 0.06);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(11, 60, 120, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 10px;
}

/* SCREENSHOTS */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.screenshot-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 20px;
  box-shadow: 0 6px 22px rgba(11, 36, 80, 0.05);
}

.screenshot-placeholder {
  border-radius: var(--radius-md);
  height: 180px;
  overflow: hidden;
  margin-bottom: 14px;
  display: block;
  background: #000; /* fallback while image loads */
  cursor: zoom-in;
}

.screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-lightbox {
  text-decoration: none;
}

/* PRICING */
.pricing-section {
  background: linear-gradient(180deg, #f4f6fc 0, #ffffff 100%);
}

.pricing-grid {
  display: flex;
  justify-content: center;
}

.pricing-card {
  max-width: 440px;
  width: 100%;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 65px rgba(9, 24, 70, 0.18);
  padding: 30px 26px;
  border: 1px solid rgba(11, 60, 120, 0.09);
  text-align: left;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3em;
}

.pricing-tagline {
  font-size: 0.98rem;
  margin-bottom: 1em;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3em;
  font-size: 0.98rem;
}

.pricing-list li {
  margin-bottom: 0.4em;
}

.pricing-note {
  font-size: 0.95rem;
  margin-bottom: 1.2em;
}

.small-print {
  margin-top: 0.9em;
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* CTA STRIP */
.cta-strip {
  background: var(--primary);
  color: #ffffff;
  padding: 34px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  color: #ffffff;
  font-size: 1.55rem;
  margin-bottom: 0.2em;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-strip .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-strip .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 30px;
  align-items: flex-start;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 22px 22px 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(12, 25, 64, 0.06);
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #c9d2eb;
  padding: 10px 11px;
  font-size: 0.96rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(20, 89, 176, 0.16);
  background: #ffffff;
}

.contact-details {
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  background: var(--bg-alt);
  border: 1px solid rgba(11, 60, 120, 0.12);
}

.contact-details h3 {
  margin-bottom: 0.5em;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.contact-list li {
  margin-bottom: 0.7em;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.contact-footnote {
  font-size: 0.92rem;
}

/* ALERTS */
.alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.alert-success {
  background: #e3f7ec;
  color: #10502c;
  border: 1px solid #b8e6c7;
}

.alert-error {
  background: #ffe8e8;
  color: #8c1515;
  border: 1px solid #f3c0c0;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 22px 0 26px;
  background: #fbfcff;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.15em 0;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .features-grid,
  .steps-grid,
  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section-padding {
    padding: 60px 0;
  }

  .header-inner {
    padding: 10px 0;
  }
  .logo-area {
    padding: 10px 20px;
  }

  .main-nav ul {
    position: absolute;
    top: 60px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    gap: 10px;
    padding: 12px 12px 14px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 40px rgba(12, 25, 58, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .main-nav.nav-open ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav .btn-small {
    width: 100%;
    justify-content: center;
  }

  .features-grid,
  .steps-grid,
  .screenshots-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-strip-inner {
    align-items: stretch;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }
}

.btn-stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
}

.btn-stacked .btn-main {
  font-size: 16px;       /* main price size */
  font-weight: 600;
}

.btn-stacked .btn-sub {
  font-size: 11px;       /* smaller text under price */
  opacity: 0.9;
  margin-top: 2px;
  color: #fffb00;
}

/* Honeypot field - hidden from real users, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

.lightbox-content p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

@media (max-width: 720px) {
  .lightbox-content {
    width: 90vw;
    padding: 8px;
  }

  .lightbox-content img {
    max-height: 70vh;
  }
}
