/* ===============================
   WELCOME HOMEPAGE GLOBAL STYLES
   =============================== */

:root {
    --navy:#0A2342;
    --yellow:#F9C846;
    --green:#00C195;
    --muted:#6B7280;
    --light:#F5F9FF;
}

  /* NAVBAR */
    .navbar {
      box-shadow:0 1px 4px rgba(0,0,0,0.04);
    }

    .navbar-brand {
      font-weight:700;
      letter-spacing:0.01em;
    }

    .nav-link {
      color:var(--navy) !important;
      font-weight:500;
      font-size:15px;
    }

    .nav-link:hover {
      opacity:0.8;
    }

    .btn-try-ai {
      background:var(--yellow);
      color:var(--navy);
      font-weight:700;
      padding:9px 22px;
      border-radius:999px;
      border:none;
      font-size:15px;
    }

    .btn-try-ai:hover {
      filter:brightness(0.95);
    }

    /* HERO */
    .hero {
      padding:140px 0 120px 0;
      background:radial-gradient(circle at top left, #E4F1FF 0, #F7FBFF 40%, #FFFFFF 100%);
    }

    .hero-heading {
      font-size:60px;
      font-weight:800;
      line-height:1.05;
    }

    .hero-sub {
      font-size:18px;
      color:var(--muted);
      max-width:520px;
    }

    .hero-form-wrapper {
      background:white;
      border-radius:16px;
      box-shadow:0 12px 40px rgba(0,0,0,0.08);
      padding:24px;
    }

    .btn-talk-ai {
      background:var(--green);
      color:white;
      font-weight:600;
      border-radius:10px;
      border:none;
      font-size:18px;
      padding:12px;
    }

    .btn-talk-ai:hover {
      filter:brightness(0.95);
    }

    /* GENERIC SECTIONS */
    .section {
      padding:90px 0;
    }

    .section-light {
      background:var(--light);
    }

    .section-title-pill {
      display:inline-block;
      padding:7px 18px;
      border-radius:999px;
      border:1px solid rgba(10,35,66,0.12);
      font-size:13px;
      font-weight:600;
      color:var(--navy);
      background:rgba(255,255,255,0.8);
      margin-bottom:18px;
    }

    .section-title {
      font-size:40px;
      font-weight:800;
      line-height:1.15;
    }

    /* VIDEO SECTION */
    .video-frame {
      border-radius:18px;
      overflow:hidden;
      box-shadow:0 20px 60px rgba(0,0,0,0.16);
      background:#0A2342;
    }

    /* CRM GRAPHIC */
    .crm-circle-wrapper {
      position:relative;
      max-width:520px;
      margin:40px auto 0 auto;
    }

    .crm-main-card {
      position:absolute;
      top:50%;
      left:50%;
      transform:translate(-50%, -50%);
      background:#0A2342;
      color:white;
      padding:18px 24px;
      border-radius:18px;
      text-align:left;
      width:260px;
      box-shadow:0 18px 40px rgba(0,0,0,0.25);
      font-size:13px;
    }

    .crm-logo-pill {
      position:absolute;
      background:#0A2342;
      color:white;
      padding:8px 14px;
      border-radius:16px;
      font-size:13px;
      font-weight:600;
      box-shadow:0 12px 30px rgba(0,0,0,0.18);
    }

    /* VALUE BLOCKS */
    .value-section {
      padding:80px 0;
    }

    .value-kicker {
      display:inline-block;
      padding:6px 14px;
      border-radius:999px;
      border:1px solid rgba(10,35,66,0.13);
      font-size:13px;
      font-weight:600;
      margin-bottom:18px;
    }

    .value-title {
      font-size:82px;
      font-weight:800;
      line-height:1.1;
      margin-bottom:18px;
    }

.btn-value {
    background: var(--yellow);
    color: var(--navy);
    font-weight: 700;
    border-radius: 999px;
    border: none;
    padding: 11px 26px;
    font-size: 15px;
}


    /* FEATURE MODULES */
    .pill-card {
      border-radius:32px;
      background:linear-gradient(120deg,#E2F0FF,#FFFFFF);
      padding:35px;
      box-shadow:0 18px 60px rgba(15,23,42,0.16);
    }

    .pill-card-dark {
      border-radius:32px;
      background:linear-gradient(135deg,#0A2342,#1C2F59);
      color:white;
      padding:35px;
    }

    .pill-card h3 {
      font-size:30px;
      font-weight:800;
    }

    .pill-card-dark h3 {
      font-size:30px;
      font-weight:800;
    }

    .benefit-list {
      list-style:none;
      padding-left:0;
      margin-top:15px;
    }

    .benefit-list li::before {
      content:"✓";
      color:#34D399;
      margin-right:8px;
      font-weight:700;
    }

    .benefit-list-dark li::before {
      color:#F9C846;
    }

    /* FEATURE ICON GRID */
    .feature-pill {
      border-radius:30px;
      background:linear-gradient(145deg,#FFFFFF,#E6F0FF);
      padding:16px 20px;
      display:inline-flex;
      align-items:center;
      gap:10px;
      font-weight:600;
      margin:8px;
      box-shadow:0 10px 30px rgba(0,0,0,0.08);
    }

    .feature-icon {
      width:32px;
      height:32px;
      border-radius:50%;
      background:#0A2342;
      display:flex;
      align-items:center;
      justify-content:center;
      color:white;
      font-size:16px;
    }

    /* FINAL CTA */
    .final-cta {
      padding:80px 0 90px 0;
      background:linear-gradient(145deg,#E4F1FF,#FFFFFF);
    }

    .final-bubble {
      background:#E7F1FF;
      border-radius:80px;
      padding:35px 40px;
      display:inline-flex;
      align-items:center;
      gap:30px;
      box-shadow:0 20px 60px rgba(0,0,0,0.18);
    }

    /* FOOTER */
    footer {
      background:#0A2342;
      color:white;
      padding:60px 0 30px 0;
      margin-top:-40px;
    }

    footer h6 {
      font-weight:700;
      font-size:14px;
      margin-bottom:16px;
    }

    footer a {
      color:#E5E7EB;
      text-decoration:none;
      font-size:14px;
      display:block;
      margin-bottom:6px;
    }

    footer a:hover {
      color:white;
    }

    .footer-bottom {
      border-top:1px solid rgba(148,163,184,0.35);
      margin-top:30px;
      padding-top:18px;
      font-size:13px;
      color:#E5E7EB;
    }

    @media (max-width: 991px) {
      .hero {
        padding-top:120px;
      }
      .hero-heading {
        font-size:40px;
      }
      .final-bubble {
        flex-direction:column;
        text-align:center;
        border-radius:36px;
      }
    }
	  
/* Smooth GRADIENT DIVIDER  */
.section-gradient-break {
  width: 100%;
  background: linear-gradient(180deg, #DCEBFA 0%, #F6F9FF 100%);
  padding-top: 30px; /* distance from start of gradient to pill */
  padding-bottom: -90px; /* space before the heading */
}


/* Pill styling */
.section-tag {
  display: inline-block;
  background: #F1F6FF;
  border: 1px solid #D3E4FF;
  color: #0D1A3A;
  font-size: 17px;
  font-weight: 600;
  padding: 12px 38px;
  border-radius: 999px;
	
  animation: pulseTag 3s infinite ease-in-out;
}


/* UPDATED HERO HEADING */
.section-title-hero {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  color: #0D1A3A;
  max-width: 900px;
  margin: 0 auto 20px;
}

.highlight-blue {
  color: #3B82F6;
}

/* VIDEO WRAPPER */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 980px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 18px 45px rgba(0, 36, 77, 0.18);
  margin: 0 auto 40px;
}

.video-frame video {
  width: 100%;
  display: block;
  border-radius: inherit;
}

/* OVERLAY */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

/* PLAY BTN */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105px;
  height: 105px;
  border: none;
  border-radius: 50%;
  background: white;
  font-size: 40px;
  color: #0D1A3A;
  cursor: pointer;
  box-shadow: 0px 12px 34px rgba(0,0,0,0.28);
}

/* MOBILE */
@media (max-width: 768px) {
  .section-title-hero {
    font-size: 36px;
  }
  .video-play-btn {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
  .section-gradient-break {
    height: 120px;
  }
}
	  
/* Pulse animation */
@keyframes pulseTag {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59,130,246,0.22);
  }
  70% {
    transform: scale(1.035);
    box-shadow: 0 0 18px 8px rgba(59,130,246,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59,130,246,0);
  }
}




/* ===============================
   AI DEMO SECTION
   =============================== */

.ai-demo-section {
    padding: 80px 0;
}

/* GRID */
.ai-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ai-demo-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.ai-demo-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 48px 32px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #ffffff;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.4, 1.4);
}

.ai-demo-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 32px 60px rgba(0,0,0,0.12);
}

/* IMAGE BOX */
.ai-demo-image {
    width: 100%;
    height: 185px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 18px;
}

.ai-demo-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* TITLE */
.ai-demo-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy);
}

/* SUBTEXT */
.ai-demo-sub {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* MAIN BUTTON */
.ai-demo-btn {
    background: var(--green);
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    width: 100%;
    transition: 0.25s cubic-bezier(0.25, 0.8, 0.4, 1.4);
}

.ai-demo-btn:hover {
    background: #00A883;
    transform: scale(1.03);
}

/* LINK UNDER BUTTON */
.ai-examples-link {
    margin-top: 12px;
    font-size: 14px;
    color: #949595;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

 

/* MODAL */
.examples-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.examples-modal-box {
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    width: 90%;
    max-width: 460px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
}
.examples-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

/* ===============================
   AI EXAMPLES MODAL — FULL CSS
   =============================== */

.examples-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.25s ease;
}

/* Modal Box */
.examples-modal-box {
    background: #fff;
    width: 90%;
    max-width: 460px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
}

/* Header */
.examples-modal-header {
    background: #d3d6d9; 
    padding: 18px 22px;
    margin: -30px -30px 20px -30px;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid #E5E7EB;
}

.examples-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
	margin-right: 25px;
	padding-right: 20px;
	padding-left: 14px;
}

/* Close Button */
.examples-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: 0.2s;
    z-index: 10;
}

.examples-close-btn:hover {
    transform: scale(1.1);
    background: #111;
}

/* List Items */
.examples-list li {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 10px;
}

/* Phone Field */
.examples-phone {
    width: 100%;
    padding: 14px 16px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 14px 0 16px;
    font-size: 15px;
}

.examples-phone::placeholder {
    color: #BFBFBF;
}

/* Green Main Button */
.examples-action-btn {
    width: 100%;
    padding: 14px 20px;
    background: #00C195;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    transition: 0.2s;
}

.examples-action-btn:hover {
    background: #00A883;
}

/* Disclaimer */
.examples-disclaimer {
    font-size: 12.5px;
    color: #6B7280;
    text-align: center;
    margin-top: 4px;
    line-height: 1.45;
    padding: 0 4px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}



/* ======================
   HERO CAROUSEL VISUAL
   ====================== */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 520px;
    margin: 0 auto;
}

.hero-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    object-fit: cover;
    pointer-events: none;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 30px; /* Adjust to match your PNG shape */
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-photo.active {
    opacity: 1;
}

/* Mobile: hide carousel */
@media (max-width: 992px) {
    .hero-visual {
        display: none;
    }
}


/* ============================
   HERO DUAL BUTTONS (CHAT / CALL)
   ============================ */

..hero-btn {
    display: inline-block;
    width: 100%;
    padding: 18px 22px !important;     /* MATCH HEIGHT */
    font-size: 20px;
    font-weight: 600;
    border-radius: 14px;
    color: #fff;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    line-height: 1.25;                  /* FIX TEXT VERTICAL ALIGNMENT */
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Green / teal chat button */
.hero-btn-chat {
    background: #1CCDAB; /* match your screenshot */
}

/* Green Button */
.hero-btn-chat {
    background: #22c48b;
}
.hero-btn-chat:hover {
    background: #1da976;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .hero-btn {
        font-size: 19px;
        padding: 16px 22px;
        border-radius: 15px;
    }
}


/* HERO VIDEO BACKGROUND */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    min-height: 720px;
    overflow: hidden;
    padding: 120px 0 100px 0; /* adjust spacing */
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Soft fade at the bottom to blend into white */
.hero-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    z-index: 3;
}

/* Ensure all hero content is above the video */
.hero-video-wrapper .container,
.hero-video-wrapper .hero-heading,
.hero-video-wrapper .hero-sub,
.hero-video-wrapper .hero-btn {
    position: relative;
    z-index: 5;
}

/* Desktop only — video disabled on mobile */
@media(max-width: 991px) {
    .hero-bg-video { display: none; }
    .hero-video-overlay { display: none; }
    .hero-video-wrapper {
        background: #f8fafc; /* fallback */
        min-height: auto;
        padding-bottom: 60px;
    }
}


/* HERO VIDEO FIXES */
.hero-video-wrapper {
    position: relative;
    height: 720px;
    padding-top: 120px; /* instead of margin-top */
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* LEFT GRADIENT FADE BEHIND TEXT */
.hero-left-fade {
    position:absolute;
    top:0;
    left:0;
    width:55%;
    height:100%;
    z-index:2;
    background:linear-gradient(
        90deg,
        rgba(246,252,255,0.97) 0%,
        rgba(246,252,255,0.85) 40%,
        rgba(246,252,255,0.0) 100%
    );
    pointer-events:none;
}

/* SOFT WHITE BOTTOM FADE */
.hero-bottom-fade {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:180px;
    background:linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 100%);
    z-index:2;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-heading {
    color:#0D1A3A;
    font-size:52px;
    font-weight:800;
    line-height:1.1;
}

.hero-sub {
    font-size:18px;
    color:#4A5568;
}

/* BUTTONS FROM YOUR DESIGN */
.hero-btn {
    display:block;
    width:280px;
    padding:18px;
    border-radius:14px;
    font-size:20px;
    font-weight:600;
    border:none;
}

.hero-btn-chat {
    background:#1FD2AE;
    color:white;
}

.hero-btn-call {
    background:#69A5FF;
    color:white;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-buttons .hero-btn {
    width: 260px;
}

/* Mobile: stack buttons */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-buttons .hero-btn {
    width: 260px;
}

/* Mobile: stack buttons */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- AI POPUP NOTIFICATION (UPDATED) --- */
.ai-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #f3f7ff; /* soft blue tint */
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid rgba(59,130,246,0.35); /* soft blue border */
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.45s ease-in-out;
    z-index: 999999;
    max-width: 340px;
}

.ai-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ai-popup-icon {
    font-size: 20px;
    color: #3b82f6; /* blue arrow */
    margin-right: 12px;
}

.ai-popup-content {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.35;
}

/* BOTH INPUTS: black background + white text */
.examples-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #000;      /* black background */
    color: #fff;           /* white text */
    margin-bottom: 12px;
    font-size: 15px;
}

/* Placeholder color */
.examples-input::placeholder {
    color: #aaa;
}

/* Shake animation */
.input-shake {
    animation: shake 0.25s;
}

@keyframes shake {
    0% { transform: translateX(0px); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0px); }
}

/* Reduce script example font by 1 level */
.examples-list li {
    font-size: 14px !important;  /* one size smaller */
    line-height: 1.2;
}

/* Inline input row */
.examples-row {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
}

/* Half-width inputs when inline */
.examples-half {
    width: 50%;
}

/* Stack nicely on mobile */
@media (max-width: 520px) {
    .examples-row {
        flex-direction: column;
    }
    .examples-half {
        width: 100%;
    }
}

