/* ==========================================================================
   CQV Premium Landing Page CSS (cqv-landing.css) - LIGHT & GRADIENT THEME
   ========================================================================== */

:root {
  --lp-dark: #0f172a;
  --lp-teal: #00c6b5;
  --lp-navy: #004d88;
  --lp-white: #ffffff;
  --lp-gray: #475569;
  --lp-light-gray: #f8fafc;
  --lp-border: #e2e8f0;
}

body.lp-body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--lp-white);
  color: #333333;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Typography
-------------------------------------------------------------------------- */
.lp-body h1, .lp-body h2, .lp-body h3, .lp-body h4 {
  margin: 0 0 15px 0;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--lp-dark);
}

.lp-body p {
  color: var(--lp-gray);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.lp-text-gradient {
  background: linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* For sections with gradient backgrounds */
.lp-section-gradient h1, 
.lp-section-gradient h2, 
.lp-section-gradient h3, 
.lp-section-gradient p {
  color: var(--lp-white);
}

.lp-section-gradient .lp-text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Buttons (Call to Action)
-------------------------------------------------------------------------- */
.lp-btn {
  background: linear-gradient(135deg, var(--lp-teal) 0%, #009c8d 100%);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 198, 181, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 198, 181, 0.4);
}

.lp-btn-outline {
  background: transparent;
  border: 2px solid var(--lp-teal);
  color: var(--lp-teal) !important;
  box-shadow: none;
}
.lp-btn-outline:hover {
  background: var(--lp-teal);
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   Header (Clean Light Header)
-------------------------------------------------------------------------- */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.lp-header-logo img {
  height: 48px;
  transition: transform 0.3s ease;
}
.lp-header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Hero Section
-------------------------------------------------------------------------- */
.lp-hero {
  padding: 130px 5% 40px;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--lp-light-gray);
  position: relative;
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 950px;
  animation: fadeInUp 0.8s ease-out;
}

.lp-hero h1 {
  font-size: clamp(24px, 3vw, 32px) !important;
  margin-bottom: 24px;
}

.lp-flow-badge {
  display: inline-block;
  background: rgba(0, 198, 181, 0.1);
  border: 1px solid rgba(0, 198, 181, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lp-teal);
  margin-bottom: 20px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Layouts: Flex
-------------------------------------------------------------------------- */
.lp-section {
  padding: 100px 5%;
  background: var(--lp-white);
}

.lp-section-gradient {
  background: linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-dark) 100%);
  color: var(--lp-white);
}

.lp-section-light {
  background: var(--lp-light-gray);
}

.lp-section-title {
  text-align: center;
  margin-bottom: 60px;
}

.lp-section-title h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.lp-section-title span {
  display: inline-block;
  font-size: 14px;
  color: var(--lp-teal);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-flex-row-reverse {
  flex-direction: row-reverse;
}

.lp-flex-content {
  flex: 1.1;
}

.lp-flex-img {
  flex: 1;
}

.lp-flex-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   Cards (Grid)
-------------------------------------------------------------------------- */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.lp-section-gradient .lp-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.lp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* --------------------------------------------------------------------------
   Timeline
-------------------------------------------------------------------------- */
.lp-timeline {
  max-width: 800px;
  padding-left: 30px;
  border-left: 2px solid var(--lp-border);
}

.lp-section-gradient .lp-timeline {
  border-color: rgba(255,255,255,0.2);
}

.lp-timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.lp-timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--lp-white);
  border: 3px solid var(--lp-teal);
  border-radius: 50%;
  transition: transform 0.3s;
}

.lp-timeline-item h3 {
  color: var(--lp-teal);
  margin-bottom: 8px;
  font-size: 16px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
  .lp-flex, .lp-flex-row-reverse {
    flex-direction: column;
    text-align: center;
  }
  .lp-timeline {
    text-align: left;
    margin: 0 auto;
  }
}
/* --------------------------------------------------------------------------
   Header Sticky Fix
-------------------------------------------------------------------------- */
.lp-header-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background-color: #ffffff !important;
  margin: 0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}
body.lp-body {
  padding-top: 0 !important; /* Prevent content from hiding behind fixed header */
}
/* Footer Address Fix */
.footer-address-card, .footer-address-card a, .footer-address-card p {
    color: #333333 !important;
}
.footer-address-card h3 {
    color: var(--lp-navy) !important;
}
/* --------------------------------------------------------------------------
   Lead Capture Form Styles
-------------------------------------------------------------------------- */
.lp-form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.lp-section-gradient .lp-form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.lp-form-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
}

.lp-section-gradient .lp-form-card h3,
.lp-section-gradient .lp-form-card label {
  color: #ffffff;
}

.lp-form-group {
  margin-bottom: 12px;
  text-align: left;
}

.lp-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--lp-dark);
}

.lp-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  box-sizing: border-box;
  color: var(--lp-dark);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.lp-section-gradient .lp-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  box-sizing: border-box;
  color: var(--lp-dark);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.lp-section-gradient .lp-form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.lp-form-control:focus {
  outline: none;
  border-color: var(--lp-teal);
  box-shadow: 0 0 0 3px rgba(0, 198, 181, 0.2);
}

textarea.lp-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  box-sizing: border-box;
  color: var(--lp-dark);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.lp-form-submit {
  width: 100%;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Hero Split Tweaks
-------------------------------------------------------------------------- */
.lp-hero {
  padding: 130px 5% 40px;
  min-height: calc(100vh - 80px);
}
.lp-hero .lp-flex {
  align-items: center;
}
.lp-hero .lp-flex-content {
  text-align: left;
}
.lp-hero .lp-flow-badge {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .lp-grid {
    grid-template-columns: 1fr;
  }
}
/* --------------------------------------------------------------------------
   Mobile Responsiveness Overrides
-------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .lp-hero-heading, .lp-hero-text, .lp-hero-btn-container {
    text-align: left;
  }
}

@media (max-width: 991px) {
  .lp-hero {
    padding: 100px 5% 40px;
    text-align: center;
  }
  .lp-hero-heading, .lp-hero-text, .lp-hero-btn-container {
    text-align: center;
  }
  .lp-flex-img {
    margin-top: 40px;
  }
  .lp-hero h1 {
    font-size: clamp(28px, 6vw, 36px) !important;
  }
  .lp-form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
  .lp-section {
    padding: 60px 5%;
  }
  .lp-section-title {
    margin-bottom: 40px;
  }
}

@media (max-width: 575px) {
  .lp-form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
  .lp-form-card h3 {
    font-size: 20px;
  }
  .lp-grid {
    grid-template-columns: 1fr !important;
  }
}
/* Glassmorphism Ambient Effect */
.lp-flex-img {
  position: relative;
}
.lp-flex-img::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 198, 181, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.lp-flex-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 77, 136, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
/* --------------------------------------------------------------------------
   Premium List Styling
-------------------------------------------------------------------------- */
.lp-premium-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}
.lp-premium-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  color: var(--lp-dark);
}
.lp-premium-list li::before {
  content: 'Ã¢Å“â€œ';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--lp-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Premium Timeline Upgrade
-------------------------------------------------------------------------- */
.lp-timeline-item {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  padding: 25px 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: relative;
  transition: all 0.3s ease;
  margin-left: 20px; /* Make space for the line */
}
.lp-timeline-item:hover {
  transform: translateX(10px);
  border-color: var(--lp-teal);
  box-shadow: 0 15px 40px rgba(0, 198, 181, 0.1);
}
.lp-timeline-item::before {
  content: '';
  position: absolute;
  left: -32px; /* Pull the dot out */
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 4px solid var(--lp-teal);
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}
.lp-timeline-item:hover::before {
  background: var(--lp-teal);
  box-shadow: 0 0 15px rgba(0, 198, 181, 0.5);
}
.lp-timeline-item h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--lp-navy);
}

/* --------------------------------------------------------------------------
   Premium Standards Cards Upgrade
-------------------------------------------------------------------------- */
.lp-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.lp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--lp-teal), var(--lp-navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.lp-card:hover::after {
  transform: scaleX(1);
}
/* --------------------------------------------------------------------------
   AI Assistant Bot Standalone CSS (Restored)
-------------------------------------------------------------------------- */
.ai-assistant-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  cursor: pointer;
  z-index: 999999 !important;
  transition: transform 0.3s ease;
}
.ai-assistant-fab:hover {
  transform: scale(1.05);
}
.ai-assistant-window {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 380px;
  height: 550px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999998 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.ai-assistant-window.ai-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ai-header {
  background: var(--lp-navy, #011C38);
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-avatar {
  background: rgba(255,255,255,0.1);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.ai-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  margin-right: 5px;
}
.ai-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.ai-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ai-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  word-wrap: break-word;
}
.ai-msg-bot {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.ai-msg-user {
  background: var(--lp-teal, #00C6B5);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}
.ai-chip {
  background: #ffffff;
  border: 1px solid var(--lp-teal, #00C6B5);
  color: var(--lp-teal, #00C6B5);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.ai-chip:hover {
  background: var(--lp-teal, #00C6B5);
  color: #ffffff;
}
.ai-footer {
  padding: 15px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}
.ai-input-wrapper {
  display: flex;
  background: #f1f5f9;
  border-radius: 24px;
  padding: 6px 15px;
  align-items: center;
}
.ai-input {
  flex: 1;
  border: none;
  background: none;
  padding: 8px 0;
  outline: none;
  font-size: 14px;
  color: #334155;
}
.ai-send {
  background: var(--lp-teal, #00C6B5);
  color: #ffffff;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ai-typing {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 5px;
}
.ai-typing.active {
  display: flex;
}
.ai-dot {
  width: 5px;
  height: 5px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}
.ai-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-dot:nth-child(2) { animation-delay: -0.16s; }
@media (max-width: 575px) {
  .ai-assistant-window {
    width: 90%;
    right: 5%;
    bottom: 100px;
    height: 70vh;
  }
}