
/* ===================================================
   LeadFlow Automations — Global Stylesheet
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #00e5ff;
  --brand-dark:   #0090a8;
  --bg-primary:   #0b0f1a;
  --bg-mid:       #0d1520;
  --bg-card:      rgba(255,255,255,0.03);
  --border:       rgba(255,255,255,0.08);
  --border-brand: rgba(0,229,255,0.15);
  --text:         #ffffff;
  --text-muted:   rgba(255,255,255,0.65);
  --text-dim:     rgba(255,255,255,0.35);
  --radius:       12px;
  --radius-lg:    16px;
  --shadow:       0 8px 30px rgba(0,0,0,0.3);
  --transition:   all 0.25s ease;
  --max-w:        1100px;
  --nav-h:        72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--dark { background: var(--bg-primary); }
.section--mid  { background: var(--bg-mid); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--text); margin-bottom: 0.75rem; }
.section-header p  { max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,229,255,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--brand);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(11,15,26,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--text); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { flex-shrink: 0; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(11,15,26,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .nav__cta.desktop-only { display: none; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background: linear-gradient(140deg,
    #0b0f1a 0%,
    #0d1f3a 45%,
    #0b2a4a 70%,
    #003d5c 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 25%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,229,255,0.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero__inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero__title { color: var(--text); margin-bottom: 1.25rem; }
.hero__title em { font-style: normal; color: var(--brand); }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.75);
}
.hero__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat__label { font-size: 0.82rem; color: var(--text-muted); }

/* =============================================
   TRUST / WHY US
   ============================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: var(--transition);
}
.trust-card:hover {
  background: rgba(0,229,255,0.05);
  border-color: rgba(0,229,255,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.trust-card__icon {
  width: 48px; height: 48px; min-width: 48px;
  background: rgba(0,229,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.trust-card__body h3 { margin-bottom: 0.35rem; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.step-card:hover {
  background: rgba(0,229,255,0.04);
  border-color: rgba(0,229,255,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-card__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg-primary);
  margin-bottom: 1.1rem;
}
.step-card h3 { margin-bottom: 0.6rem; }

/* =============================================
   TIMELINE — SEE IT IN ACTION
   ============================================= */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), rgba(0,229,255,0.08));
}
.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 1.75rem;
  position: relative;
}
.timeline__dot {
  width: 58px; height: 58px; min-width: 58px;
  background: linear-gradient(135deg, #0d1f3a, #003d5c);
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 20px rgba(0,229,255,0.2);
}
.timeline__content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  flex: 1;
}
.timeline__time {
  font-size: 0.73rem;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.timeline__content h4 { margin-bottom: 0.25rem; }

/* =============================================
   CALENDLY / BOOKING SECTION
   ============================================= */
.booking {
  background: linear-gradient(135deg, #003d5c 0%, #0b2a4a 50%, #0b0f1a 100%);
  padding: 5rem 0;
  text-align: center;
}
.booking h2 { margin-bottom: 0.75rem; }
.booking > .container > p { max-width: 500px; margin: 0 auto 2.5rem; }
.booking__widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.booking__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.booking__icon { font-size: 3rem; }
.booking__placeholder h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.booking__placeholder p { max-width: 380px; margin: 0 auto; font-size: 0.95rem; }
.booking__placeholder .btn { margin-top: 0.5rem; }
/* When you embed Calendly, replace .booking__widget content with:
   <div class="calendly-inline-widget" data-url="https://calendly.com/YOUR_LINK" style="min-width:320px;height:700px;"></div>
   <script src="https://assets.calendly.com/assets/external/widget.js"></script>
*/

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.75rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.contact-detail__icon {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(0,229,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-detail p { margin: 0; font-size: 0.95rem; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.97rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); }
.form-group select { cursor: pointer; }
.form-group select option { background: #0d1520; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.75rem; }

/* =============================================
   FAQ
   ============================================= */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item:hover { border-color: rgba(0,229,255,0.25); }
.faq__question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
  padding: 1.25rem 1.4rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: background 0.2s;
}
.faq__question:hover,
.faq__question[aria-expanded="true"] { background: rgba(0,229,255,0.05); }
.faq__question[aria-expanded="true"] { color: var(--brand); }
.faq__icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; min-width: 24px;
  background: rgba(0,229,255,0.1);
  border-radius: 50%;
  color: var(--brand);
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.faq__question[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__answer.open { grid-template-rows: 1fr; }
.faq__answer-inner {
  overflow: hidden;
  padding: 0 1.4rem;
}
.faq__answer.open .faq__answer-inner { padding: 0 1.4rem 1.25rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #070a12;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.75rem;
}
.footer__brand { font-size: 1.15rem; font-weight: 800; color: var(--brand); margin-bottom: 0.75rem; }
.footer__tagline { font-size: 0.9rem; color: var(--text-muted); max-width: 260px; }
.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--brand); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: 0.83rem; color: var(--text-dim); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: 0.83rem; color: var(--text-dim); transition: color 0.2s; }
.footer__legal a:hover { color: var(--brand); }

/* =============================================
   INNER PAGES (Privacy / Terms / Thank You)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #0b0f1a 0%, #0d1f3a 60%, #0b2a4a 100%);
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-hero p { max-width: 480px; margin: 0 auto; }
.page-content { padding: 4rem 0 6rem; max-width: 820px; margin: 0 auto; }
.page-content h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; color: var(--text); }
.page-content h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; color: var(--brand); }
.page-content p { margin-bottom: 1rem; }
.page-content ul { margin: 0.75rem 0 1rem 1.5rem; }
.page-content ul li { margin-bottom: 0.4rem; color: var(--text-muted); font-size: 0.97rem; }
.page-content a { color: var(--brand); text-decoration: underline; }

/* Thank You page */
.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(140deg, #0b0f1a 0%, #0d1f3a 50%, #003d5c 100%);
  padding: 2rem;
}
.thankyou__box {
  max-width: 600px;
}
.thankyou__icon {
  width: 80px; height: 80px;
  background: rgba(0,229,255,0.1);
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 2rem;
}
.thankyou__box h1 { margin-bottom: 1rem; }
.thankyou__box p { margin-bottom: 2rem; font-size: 1.05rem; max-width: 440px; margin-left: auto; margin-right: auto; }
.thankyou__steps {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem auto;
  text-align: left;
}
.thankyou__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.thankyou__step:last-child { margin-bottom: 0; }
.thankyou__step-num {
  width: 32px; height: 32px; min-width: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--bg-primary);
}
.thankyou__step p { font-size: 0.95rem; margin: 0; padding-top: 4px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: calc(var(--nav-h) + 2rem) 0 3rem; }
  .hero__stats { gap: 1.5rem; }
  .hero__btns { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .timeline::before { left: 22px; }
  .timeline__dot { width: 46px; height: 46px; min-width: 46px; font-size: 1.1rem; }
  .booking__widget { padding: 2rem 1.25rem; }
  .contact-form { padding: 1.5rem; }
}
