/* ============================================
   Stupid Owl — Theme derived from logo colors
   Navy:   #0a1f44 (deep navy background)
   Cream:  #fdfaf3 (owl belly / light surface)
   Purple: #6e47e2 (accent / primary action)
   Blue:   #3b6bd4 (secondary accent)
   Teal:   #1bb2c1 (highlight / eyes)
   ============================================ */

:root {
  --navy-900: #050d24;
  --navy-800: #0a1633;
  --navy-700: #0f1f42;
  --navy-600: #17305f;
  --cream: #fdfaf3;
  --cream-soft: #f4efe3;
  --purple: #6e47e2;
  --purple-dark: #5936c2;
  --blue: #3b6bd4;
  --teal: #1bb2c1;
  --text-light: #eef1f8;
  --text-muted: #aab4cc;
  --text-dark: #12172a;
  --text-dark-muted: #545b72;
  --border-soft: rgba(255, 255, 255, 0.1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 20px 45px -20px rgba(5, 13, 36, 0.55);
  --shadow-glow: 0 0 60px rgba(110, 71, 226, 0.35);
  --gradient-primary: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
}

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; }

p { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(110, 71, 226, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(110, 71, 226, 0.75); }
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border-soft);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--teal); }
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--teal); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 36, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-light);
}
.main-nav ul {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--teal); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Section basics ---------- */
.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--navy-800); }
.section-head {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-head.align-left { margin: 0 0 30px; text-align: left; }
.section-head p { margin-top: 12px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(27, 178, 193, 0.1);
  border: 1px solid rgba(27, 178, 193, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle, rgba(110, 71, 226, 0.35), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 16px; }
.hero-sub { color: var(--teal); font-weight: 600; font-size: 1.15rem; margin-bottom: 16px; }
.hero-desc { max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-cta.center { justify-content: center; margin-bottom: 0; }

.trusted-by { border-top: 1px solid var(--border-soft); padding-top: 22px; }
.trusted-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.trusted-by ul { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.trusted-by li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); }
.trusted-by i { color: var(--teal); }

.mockup-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.mockup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-light);
}
.mockup-head i { color: var(--teal); font-size: 1.1rem; }
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mockup-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mockup-item:hover { border-color: var(--purple); transform: translateY(-3px); }
.mockup-item i { display: block; font-size: 1.3rem; color: var(--purple); margin-bottom: 8px; }
.mockup-item span { color: var(--text-light); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card, .feature-card, .mini-card, .price-card, .testimonial-card {
  background: var(--navy-700);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .feature-card:hover { transform: translateY(-4px); border-color: rgba(110, 71, 226, 0.4); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 18px;
}
.card h3, .feature-card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }

.feature-card ul { margin-top: 4px; }
.feature-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}
.feature-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 16px;
}
.mini-card i { font-size: 1.6rem; color: var(--teal); }
.mini-card span { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }

/* ---------- Chips ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy-700);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-light);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.chip:hover { border-color: var(--purple); transform: translateY(-2px); }
.chip i { color: var(--teal); }

/* ---------- How It Works ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.step {
  background: var(--navy-700);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  width: 190px;
}
.step-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.step h3 { font-size: 0.98rem; }

/* ---------- Two column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---------- Testimonials ---------- */
.stars { color: var(--teal); margin-bottom: 12px; font-size: 0.85rem; letter-spacing: 3px; }
.testimonial-card p { color: var(--text-light); font-style: italic; margin-bottom: 16px; }
.testimonial-role { font-size: 0.85rem; color: var(--purple); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; text-align: left; position: relative; }
.price-card.featured {
  border-color: var(--purple);
  background: linear-gradient(160deg, var(--navy-600), var(--navy-700));
  box-shadow: var(--shadow-glow);
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { margin-bottom: 10px; }
.price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
}
.price span { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-card ul { margin-bottom: 24px; flex-grow: 1; }
.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.price-card li i { color: var(--teal); font-size: 0.85rem; }

/* ---------- Comparison Table ---------- */
.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--navy-700);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.92rem;
}
.compare-table th { background: var(--navy-600); color: var(--text-light); font-family: var(--font-heading); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: var(--text-light); }
.compare-table td.yes i { color: var(--teal); font-size: 1.05rem; }
.compare-table td.no i { color: #ef5b6b; font-size: 1.05rem; }
.compare-table td.partial { color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }

/* ---------- Accordion ---------- */
.accordion { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--navy-700);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 18px 22px;
  cursor: pointer;
  text-align: left;
}
.accordion-trigger i { transition: transform 0.25s ease; color: var(--teal); }
.accordion-item.open .accordion-trigger i { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}
.accordion-item.open .accordion-panel { max-height: 220px; }
.accordion-panel p { padding-bottom: 18px; font-size: 0.92rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800) 60%, var(--navy-700));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { max-width: 560px; margin: 0 auto 34px; }

/* ---------- Contact Form ---------- */
.contact-form {
  background: var(--navy-700);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.form-row input, .form-row textarea {
  background: var(--navy-800);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.94rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-status { font-size: 0.88rem; color: var(--teal); min-height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-800);
  border-top: 1px solid var(--border-soft);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand p { font-size: 0.9rem; margin-top: 4px; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-light); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 26px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-fine { max-width: 780px; margin: 0 auto; font-size: 0.78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--navy-800); border-bottom: 1px solid var(--border-soft); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px; }
  .main-nav li { border-bottom: 1px solid var(--border-soft); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-5, .analytics-grid { grid-template-columns: 1fr; }
  .mockup-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .header-inner { padding: 12px 18px; }
}
