:root {
  --clvr-primary: #1F3B82;
  --clvr-accent: #38C172;
  --clvr-light: #F5F7FA;
  --clvr-darktext: #1E1E1E;
}

/* ==================
   GLOBAL
   ================== */
html, body {
  color: var(--clvr-darktext);
  background-color: #fff;
  width: 100%;
  max-width: 100%;
  /*overflow-x: hidden;*/
}
body {
  overflow-x: hidden;
}
img { max-width: 100%; }

/* Headings */
h1 {
  font-size: clamp(56px, 5vw, 85px) !important;
  color: var(--clvr-darktext);
}

footer{
   background: linear-gradient(150deg, #000 30%, #162E6C 90%);
}
.lead {
  font-size: 1.2rem;
}

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(56,193,114,0.1); /* soft green background */
}
.process-image svg {
  max-width: 100%;
  height: auto;
}
.step-number {
  flex-shrink: 0;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}



@media (max-width: 768px) {
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .lead {
    font-size: 1rem;
  }
  .process-image {
    text-align: center;
    margin-top: 1rem;
  }
}
.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #232f64;
  font-size: 1.75rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 70px; /* ensures consistent spacing */
}

.step-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .step-number {
    width: 55px;
    height: 55px;
    font-size: 1.25rem;
    min-width: 50px;
  }
  .step-content {
    gap: 0.75rem;
  }
  .lead {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  h3.h4 {
    font-size: 1.2rem;
  }
}


/* ==================
   HEADER & NAV
   ================== */
.clvrly-header { position: relative; z-index: 1000; }
.clvrly-logo img { height: 60px; }
.clvrly-logo { max-width: 98%; width: 200px; }

.clvrly-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.clvrly-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

.clvrly-slideout {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 4rem 1.5rem;
  transition: left 0.3s ease;
  z-index: 1001;
}
.clvrly-slideout.active { left: 0; }

.clvrly-slideout a,
.clvrly-header nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 0;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.clvrly-slideout a:hover,
.clvrly-header nav a:hover { color: #6ee7b7; }

.clvrly-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
}
.clvrly-overlay.active { display: block; }

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

/* ==================
   HERO
   ================== */
.hero {
  position: relative;
  color: #fff;
  padding-bottom: 1.5rem;
  background: linear-gradient(150deg, #000 30%, #162E6C 90%);
}

.hero {
  min-height: 93vh;
  overflow: visible;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.1975rem;
  font-weight: 800;
  color: #fff;
  line-height: clamp(2.2rem, 5vw, 5rem);
  margin-top: 1rem;
}
.hero .btn {
  font-weight: 600;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* HERO Responsive */
@media (max-width: 768px) {
  .hero { padding-bottom: 3rem; }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-top: 3.5rem;
  }
  .hero .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  .wave-divider svg { height: 60px; }
}
@media (max-width: 480px) {
  .wave-divider svg { height: 40px; }
}

/* ==================
   PRICING
   ================== */
.pricing-card { background: #fff; }
.pricing-card h3 { color: var(--clvr-primary); }
.pricing-card ul li { font-size: 0.95rem; }

table.table td, table.table th {
  vertical-align: middle !important;
  padding: 1rem;
}
.table-hover tbody tr:hover { background-color: #f8f8f8; }

/* ==================
   BUTTONS
   ================== */
.btn-success {
  background-color: var(--clvr-accent);
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 14px rgba(56, 193, 114, 0.3);
}
.btn-success:hover { background-color: #2ebc68; }

/* ==================
   ACCESSIBILITY
   ================== */
input.ring,
input:focus,
.select:focus {
  outline: 3px solid #111;
  outline-offset: 2px;
}

/* ==================
   STEPS / FEATURES
   ================== */
.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgb(35, 47, 100);
  font-size: 1.75rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon { font-size: 2rem; color: var(--clvr-accent); }
.section-heading { font-weight: 700; color: var(--clvr-primary); }

/* ==================
   UTILITIES
   ================== */
.bg-clvr {
  background: url(_assets/img/clvrly.bg.png);
  background-position: top right;
  background-repeat: no-repeat;
  background-color: var(--clvr-light);
}
.bg-clvr-light {
  background-color: var(--clvr-light);
}
.text-clvr-primary { color: var(--clvr-darktext); }
.bg-clvr-primary { background-color: var(--clvr-primary); }
.bg-clvr-accent { background-color: var(--clvr-accent); }

.btn-upgrade { background-color: #0e2967; }

.animate-bounce { animation: bouncer 1.5s infinite; }
@keyframes bouncer {
  0%,20%,50%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

.pulse { --pulse-color: rgba(0, 0, 0, 0.4); animation: pulse-animation 1.7s ease-out infinite; }
@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 var(--pulse-color); }
  100% { box-shadow: 0 0 0 20px rgba(0,0,0,0); }
}
.pulse-green { --pulse-color: rgba(25,135,84,0.4); }
.pulse-blue { --pulse-color: rgba(0,123,255,0.4); }
.pulse-red { --pulse-color: rgba(220,53,69,0.4); }

/* ==================
   ASSISTANT
   ================== */
.assistant {
  padding: 4rem !important;
  background-color: #f9f9f9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ddd;
}
#assistant-title {
  font-size: clamp(30px,5vw,52px);
  letter-spacing: -1px;
  margin-bottom: 2rem;
}
.chat-window {
  max-height: 50vh !important;
  overflow-y: auto;
  margin-bottom: 1em;
}
.chat-message {
  margin: 0.5em 0;
  padding: 0.5em;
  border-radius: 8px;
  line-height: 1.4;
}
.chat-message h1, .chat-message h2, .chat-message h3,
.chat-message h4, .chat-message h5, .chat-message h6 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.5em 0 0.25em;
  line-height: 1.3;
}
.from-user {
  background: #d9f2fd;
  text-align: right;
  margin-left: 5em;
}
.from-clvrly {
  background: #f0f0f0;
  text-align: left;
  margin-right: 5em;
}
.chat-form { gap: 0.5em; }
#chat-input {
  flex: 1;
  padding: 0.5em;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.chat-message.from-clvrly {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}
@keyframes fadeInUp { to { opacity:1; transform: translateY(0); } }

.chat-message.typing .chat-body::after {
  content: '';
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  border: 2px solid #999;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5em;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive Assistant */
@media (max-width:1200px){ .assistant { padding:2rem !important; margin-bottom:2rem; } }
@media (max-width:991px){ .assistant { padding:3rem !important; margin-bottom:2rem; } }
@media (max-width:768px){
  .assistant { padding:1.5rem 1rem !important; margin-bottom:2rem; }
  #step1,#step2,#step3 { margin:0 auto; max-width:90vw; padding:30px; }
  .btn-gh { min-width:unset; }
}




.clvr-register {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(78, 93, 255, 0.14),
            transparent 32%
        ),
        #f5f7fb;
}

.register-card {
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.12);
}

.register-intro {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 48px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(255, 255, 255, 0.18),
            transparent 30%
        ),
        linear-gradient(145deg, #171b3d 0%, #292f72 55%, #4055d8 100%);
}

.register-intro::after {
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.register-brand {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.register-brand:hover {
    color: #fff;
}

.register-intro-content {
    position: relative;
    z-index: 1;
    margin: auto 0;
    padding: 55px 0;
}

.register-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #cbd3ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.register-intro h1 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
}

.register-lead {
    max-width: 520px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.7;
}

.register-benefits {
    display: grid;
    gap: 22px;
}

.register-benefit {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
}

.benefit-check {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e285a;
    background: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.register-benefit strong,
.register-benefit span {
    /*display: block;*/
}

.register-benefit strong {
    margin-bottom: 3px;
    color: #fff;
}

.register-benefit div > span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.91rem;
    line-height: 1.5;
}

.register-intro-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
}

.register-form-panel {
    min-height: 100%;
    padding: 70px 58px;
}

.register-form-panel h2 {
    color: #171b3d;
    font-size: 1.9rem;
    letter-spacing: -0.03em;
}

.register-form-panel .form-control {
    min-height: 54px;
    border-color: #dfe3ec;
    border-radius: 10px;
    font-size: 1rem;
}

.register-form-panel .form-control:focus {
    border-color: #5468e7;
    box-shadow: 0 0 0 4px rgba(84, 104, 231, 0.12);
}

.register-form-panel .btn {
    min-height: 56px;
    border-radius: 10px;
    font-weight: 700;
}

.register-reassurance {
    margin: 14px 0 0;
    color: #7b8190;
    font-size: 0.82rem;
    text-align: center;
}

.register-signin {
    margin-top: 28px;
    padding-top: 24px;
    color: #7b8190;
    text-align: center;
    border-top: 1px solid #eaecf1;
}

.register-signin a {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .clvr-register {
        align-items: flex-start;
        padding: 30px 0;
    }

    .register-card {
        max-width: 680px;
        border-radius: 18px;
    }

    .register-intro {
        padding: 36px;
    }

    .register-intro-content {
        padding: 45px 0 35px;
    }

    .register-intro h1 {
        font-size: 2.5rem;
    }

    .register-form-panel {
        padding: 45px 36px;
    }
}

@media (max-width: 575.98px) {
    .clvr-register {
        padding: 0;
        background: #fff;
    }

    .clvr-register .container {
        padding: 0;
    }

    .register-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .register-intro,
    .register-form-panel {
        padding: 32px 24px;
    }

    .register-intro-content {
        padding: 40px 0 30px;
    }

    .register-intro h1 {
        font-size: 2.15rem;
    }
}