/* style.css */
:root {
  --bg: #0b0e13;
  --primary: #00ff84;
  --accent: #2de2a6;
  --text: #e6f1f5;
  --muted: #a8bdcc;
  --card: #121722;
  --border: rgba(255, 255, 255, 0.09);
  --ring: rgba(0, 255, 132, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(1000px 500px at 85% -10%, rgba(0, 255, 132, .12), transparent), radial-gradient(600px 400px at 10% 110%, rgba(45, 226, 166, .10), transparent), var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 10px;
}
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 28px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 14, 19, .78);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}
header .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.badge { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; }

/* Nav */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 0; }
.hamburger div { width: 25px; height: 3px; background: var(--primary); }
nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ghost { padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); }
.ghost:hover { background: rgba(255, 255, 255, .03); }

/* Buttons & CTAs */
.cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px;
  background: #ffffff; color: #111; font-weight: 800;
  box-shadow: 0 10px 28px rgba(255, 255, 255, .08);
  transition: transform .15s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(255, 255, 255, .14); }
.cta img { display: inline-block; width: 18px; height: 18px; vertical-align: middle; filter: brightness(0) saturate(100%); }
.btn-ghost { display: inline-block; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .03); }

/* Hero */
.hero { padding: 86px 0 64px; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 46px; line-height: 1.1; margin: 14px 0; display: inline-block; position: relative; }
.hero h1:after {
  content: ""; position: absolute; left: 0; bottom: -8px; height: 3px; width: 100%;
  background: linear-gradient(90deg, #2de2a6, #00ff84, #2de2a6); background-size: 200% 100%;
  animation: underline 4s ease infinite; border-radius: 999px; opacity: .6;
}
@keyframes underline {
  0% { background-position: 0 0 } 50% { background-position: 100% 0 } 100% { background-position: 0 0 }
}
.hero p { max-width: 820px; color: var(--muted); font-size: 18px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(0, 255, 132, .08); border: 1px solid var(--border); color: var(--text); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; padding: 3px 8px; border-radius: 8px; background: rgba(45, 226, 166, .1); border: 1px dashed rgba(45, 226, 166, .45); color: var(--accent); }

/* Generic Sections & Cards */
h2 { margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 860px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px;
  transition: transform .25s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.card h3 { margin: 6px 0 8px; font-size: 18px; }
.card p { color: var(--muted); margin: 0; }

/* Steps & Reveal Animations */
.steps { counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step:before {
  counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 10px;
  background: rgba(0, 255, 132, .12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--primary); flex-shrink: 0;
}
.reveal, .stagger-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible, .stagger-reveal.visible { opacity: 1; transform: translateY(0); }
.stagger-reveal.visible .testimonial-card { opacity: 1; transform: translateY(0); }

/* --- Redesigned Testimonials Section (Animation Removed) --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  padding: 24px;
  text-align: center;
  background: rgba(18, 23, 34, 0.6); /* Semi-transparent version of --card */
  backdrop-filter: blur(10px);
  border-radius: 16px;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0; /* Initially hidden for stagger animation */
  transform: translateY(20px);
}
.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
/* Decorative Quote */
.testimonial-card blockquote::before {
  content: '“';
  position: absolute;
  top: 10px; left: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.08;
  z-index: 0;
  line-height: 1;
}
.testimonial-card img {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(0, 255, 132, 0.2);
  position: relative; /* Ensure image is on top of quote */
  z-index: 1;
}
.testimonial-card blockquote { margin: 0 0 16px; font-style: italic; color: var(--muted); position: relative; z-index: 1; }
.testimonial-card cite { font-weight: 800; color: var(--text); font-style: normal; position: relative; z-index: 1; }
.testimonial-card cite span { display: block; font-size: 14px; font-weight: 400; color: var(--accent); opacity: 0.9; }

/* SEO Article Section */
.seo-article { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.seo-article h3 { margin-top: 24px; color: var(--primary); }
.seo-article p, .seo-article li { color: var(--muted); }
.seo-article ul { padding-left: 20px; }
.seo-article li { margin-bottom: 10px; }

/* FAQ Details */
details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* --- Fixed Footer Columns --- */
.footer-menu {
    text-align: left;
}
.footer-column {
    display: inline-block;
    width: 32%;
    vertical-align: top;
    padding: 0 15px;
}
.footer-column h4 { color: var(--text); margin: 0 0 12px; font-size: 16px; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin-bottom: 8px; }
.footer-column a { color: var(--muted); transition: color .2s ease; }
.footer-column a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 30px; padding: 30px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px;
}
footer { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 30px; color: var(--muted); }

/* Misc */
.backed { background: #f26522; color: white; padding: 4px 8px; border-radius: 4px; margin-right: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 40px; }
}
@media (max-width: 768px) {
  .container { padding: 18px; }
  .hero { padding: 72px 0 54px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  nav {
    display: none; flex-direction: column; gap: 10px; position: absolute;
    top: 100%; left: 0; width: 100%; background: rgba(11, 14, 19, .94);
    padding: 18px; border-bottom: 1px solid var(--border);
  }
  nav.active { display: flex; }
  .step { flex-direction: column; align-items: center; text-align: center; }
  .step:before { margin-bottom: 10px; }
  /* Make footer columns stack on mobile */
  .footer-column {
      display: block;
      width: 100%;
      padding: 0;
      text-align: center;
      margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta, .card, .testimonial-card { transition: none; }
}