/*
 Theme: Leadmatix SaaS Website
 Notes: Modern, premium, responsive. Uses Bootstrap 5 + AOS.
 Follows accessibility and good contrast; smooth scrolling enabled.
*/

:root {
  --brand-primary: #1e4dd8; /* Royal blue */
  --brand-primary-600: #1539a3;
  --brand-accent: #00c2ff;
  --text-color: #0f172a; /* slate-900 */
  --text-muted: #475569; /* slate-600 */
  --bg-light: #f8fafc; /* slate-50 */
  --bg-dark: #0b1220;
  --rounded-lg: 16px;
  --rounded-md: 12px;
  --shadow-soft: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-hover: 0 16px 40px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  border: none;
  border-radius: var(--rounded-md);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-soft);
}
.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-brand {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  border-radius: var(--rounded-md);
  padding: 0.65rem 1.15rem;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--brand-primary);
  color: #fff;
}

.hero {
  position: relative;
  background: radial-gradient(1200px 400px at 10% -10%, rgba(30,77,216,0.2), transparent),
              linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  overflow: hidden;
}
.hero .hero-badge {
  background: rgba(30,77,216,0.08);
  color: var(--brand-primary-600);
  border: 1px solid rgba(30,77,216,0.15);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
}
.hero h1 {
  letter-spacing: -0.02em;
}
.hero .sub {
  color: var(--text-muted);
}

.section {
  padding: 4.5rem 0;
}
.section-light {
  background: var(--bg-light);
}
.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-lead {
  color: var(--text-muted);
  max-width: 720px;
}

.card-premium {
  border: none;
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-soft);
}
.card-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,77,216,0.08);
  color: var(--brand-primary-600);
  text-align: center;
}

.pricing {
  border-radius: var(--rounded-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.parallax {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}
.parallax .overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.6);
}

.cta-strip {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-soft);
}

.footer {
  background: #0a0f1e;
  color: #cbd5e1;
}
.footer a { color: #cbd5e1; }
.footer a:hover { color: #ffffff; }
.footer .brand { color: #ffffff; font-weight: 800; }

/* Accessibility tweaks */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid rgba(0, 194, 255, 0.6);
  outline-offset: 2px;
}

/* Video responsive */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-soft);
  background-color: #000;
}
.video-wrapper iframe, .video-wrapper video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* Video overlay styles */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-overlay:hover {
  background: rgba(0, 0, 0, 0.5);
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
  background: var(--brand-primary-600);
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.play-button i {
  color: white;
  font-size: 2rem;
  margin-left: 4px; /* Slight offset to center the play icon */
}

.play-text {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Reveal contact buttons */
.reveal-container .masked { filter: blur(5px); user-select: none; }
.reveal-container.revealed .masked { filter: none; }

/* Steps */
.step-box {
  border-radius: var(--rounded-lg);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.step-box .icon-circle {
  border-radius: var(--rounded-md);
  width: auto;
  min-width: 80px;
  padding: 0.5rem 1rem;
}

/* Testimonials */
.quote {
  font-style: italic;
}
.quote:before {
  content: "\201C";
  font-size: 2rem;
  color: var(--brand-primary);
  margin-right: 0.25rem;
}

/* Small utilities */
.text-muted-2 { color: var(--text-muted); }
.rounded-xxl { border-radius: 28px; }

/* Mobile fixes */
@media (max-width: 991.98px) {
  .parallax {
    background-attachment: scroll; /* mobile perf */
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .col-md-6, .col-lg {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .step-box .icon-circle {
    min-width: 70px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Ensure no horizontal overflow */
* {
  box-sizing: border-box;
}

.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}


