:root {
    --kb-primary: #342861;
    --kb-secondary: #befc00;
    --kb-bg: #f8f9fc;
    --kb-white: #ffffff;
    --kb-text: #1a1a1a;
    --kb-text-light: #666666;
    --kb-border: #e2e8f0;
    --kb-radius: 12px;
    --kb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kubicus-funnel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none; /* Shown via JS */
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.kubicus-funnel-trigger {
    padding: 12px 24px;
    background: var(--kb-primary);
    color: var(--kb-white);
    border: none;
    border-radius: var(--kb-radius);
    font-weight: 700;
    cursor: pointer;
	font-family: "Hanken Grotesk", Sans-serif;
    transition: var(--kb-transition);
}

.kubicus-funnel-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 40, 97, 0.2);
}

.kubicus-funnel-container {
    width: 90%;
    max-width: 1000px;
    background: var(--kb-white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.kubicus-funnel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--kb-transition);
}

.kubicus-funnel-close:hover {
    background: #e2e8f0;
}

.kubicus-funnel-flex {
    display: flex;
    min-height: 600px;
}

/* Sidebar Styling */
.kubicus-funnel-sidebar {
    flex: 1;
    background: var(--kb-primary);
    color: var(--kb-white);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.kubicus-funnel-sidebar::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.kubicus-funnel-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.kubicus-funnel-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    align-self: flex-start;
}

.by-text {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-top: 5px;
}

.pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--kb-secondary);
    letter-spacing: 1px;
}

.kubicus-funnel-left-text h1 {
    font-size: 42px;
    line-height: 1.1;
    margin: 20px 0;
}

.kubicus-funnel-left-text h1 span {
    color: var(--kb-secondary);
    display: block;
}

.kubicus-funnel-left-text p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
}

.kubicus-funnel-bullets {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.kubicus-funnel-bullets li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    opacity: 0.9;
}

.kubicus-funnel-bullets li::before {
    content: '•';
    color: var(--kb-secondary);
    position: absolute;
    left: 0;
    font-size: 24px;
    line-height: 1;
}

/* Main Content Styling */
.kubicus-funnel-main {
    flex: 1.2;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    background: var(--kb-white);
 }

.kubicus-funnel-main.inline-form {
    flex: none;
    width: 100%;
     margin: 0 auto;
    box-shadow: none;
 }

.kubicus-funnel-progress {
    margin-bottom: 40px;
}

.progress-bar {
    height: 6px;
    background: #edf2f7;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--kb-primary);
    transition: width 0.5s ease;
}

.step-label {
    color: var(--kb-secondary);
    font-weight: 700;
    letter-spacing: 2.5px;
    display: block;
	text-transform:uppercase;
    margin-bottom: 10px;
    filter: brightness(0.6);
}

.funnel-step h2 {
    font-size: 24px;
	line-height:27px;
	font-weight:700;
	
    margin-bottom: 15px;
    color: rgba(54, 37, 97, 1);
}

.step-desc {
    color:rgba(122, 112, 144, 1);
    margin-bottom: 30px;
    font-size: 14px;
	font-weight:300;
	line-height:22px;
	font-family: "Hanken Grotesk", Sans-serif;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 12px;
	letter-spacing:0.3px;
	color:rgba(54, 37, 97, 1);
	font-family: "Hanken Grotesk", Sans-serif;
}

.phone-input-wrapper {
    display: flex;
    border: 1px solid  rgba(54, 37, 97, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--kb-transition);
}

.phone-input-wrapper:focus-within {
    border-color: var(--kb-primary);
    box-shadow: 0 0 0 4px rgba(52, 40, 97, 0.1);
}

.country-code {
    background: rgba(54, 37, 97, 0.04);
    padding: 14px 15px;
    border-right: 1px solid rgba(54, 37, 97, 0.1);
    font-weight: 600;
	display:flex;
	font-family: "Hanken Grotesk", Sans-serif;
}

input[type="tel"],
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 13px 14px;
	font-family: "Hanken Grotesk", Sans-serif;
    border: 1px solid rgba(54, 37, 97, 0.15);
    border-radius: 8px;
    outline: none;
    font-size: 15px;
	font-weight:400;
	color:rgba(160, 152, 184, 1);
    transition: var(--kb-transition);
/* 	border:0px solid red !important; */
}

input:focus, select:focus {
/*     border-color: var(--kb-primary); */
}

.phone-input-wrapper input {
    border: none;
}

.terms {
    font-size: 11px;
    color: rgba(160, 152, 184, 1);
	line-height:24px;
    font-family: "Hanken Grotesk", Sans-serif;
}

.funnel-btn {
    width: 100%;
    padding: 15px;
    background: rgba(54, 37, 97, 1) !important;
    color: var(--kb-white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--kb-transition);
    display: flex;
    justify-content: center;
	font-family: "Hanken Grotesk", Sans-serif;
    align-items: center;
}

.funnel-btn:hover {
    transform: translateY(-2px);
/*     box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); */
}

/* OTP Inputs */
.otp-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.otp-field {
    width: 60px !important;
    height: 60px;
    text-align: center;
    font-size: 24px !important;
	font-family: "Hanken Grotesk", Sans-serif;
    font-weight: 700;
}

.resend-wrapper {
    margin-bottom: 30px;
    font-size: 14px;
	font-family: "Hanken Grotesk", Sans-serif;
}

#btn-resend-otp {
    background: none;
	font-family: "Hanken Grotesk", Sans-serif;
    border: none;
    color: var(--kb-primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

/* Step 3 - Row */
.form-row {
    display: flex;
    gap: 20px;
	font-family: "Hanken Grotesk", Sans-serif;
}

.form-row .form-group {
    flex: 1;
}

/* Step 4 Summary */
.success-banner {
    display: flex;
    background: rgba(176, 210, 54, 0.1);
    border: 1px solid rgba(176, 210, 54, 0.3);
    padding: 13px 17px;
    border-radius: 8px;
    margin-bottom: 30px;
	font-family: "Hanken Grotesk", Sans-serif;
    align-items: flex-start;
}

.check-icon {
    width: 32px;
    height: 32px;
	font-family: "Hanken Grotesk", Sans-serif;
    background: var(--kb-primary);
    color: var(--kb-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.banner-text strong {
    display: block;
    margin-bottom: 5px;
	font-size: 13px;
    color: rgba(54, 37, 97, 1);
	font-family: "Hanken Grotesk", Sans-serif;
	font-weight:600;
	
}

.banner-text p {
    font-size: 13px;
    color: rgba(54, 37, 97, 1);
    margin: 0;
	font-weight:300;
	font-family: "Hanken Grotesk", Sans-serif;
	line-height:20px;
	color:rgba(122, 112, 144, 1);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.summary-item {
    background: #f8fafc;
    padding: 10px;
	font-family: "Hanken Grotesk", Sans-serif;
    border-radius: 8px;
}

.summary-item small {
    display: block;
    font-size: 10px;
    letter-spacing: 1.3px;
	font-family: "Hanken Grotesk", Sans-serif;
    color: rgba(160, 152, 184, 1);
	font-weight:700;
    margin-bottom: 5px;
}

.summary-item span {
    font-weight: 700;
	font-size:12px
    color:  rgba(54, 37, 97, 1);
	
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.funnel-btn.outline {
    background: transparent !important;
    border: 2px solid var(--kb-primary);
    color: var(--kb-primary) !important;
	font-family: "Hanken Grotesk", Sans-serif;
}

/* Step 5 Instructions */
.instruction-item {
    display: flex;
    margin-bottom: 25px;
	align-items:center;
	font-family: "Hanken Grotesk", Sans-serif;
}

.step-num {
    width: 30px;
    height: 30px;
    background: var(--kb-primary);
    color: var(--kb-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: 700;
}

.instruction-text strong {
    display: block;
	font-size:12px;
	font-weight:700;
	color:rgba(54, 37, 97, 1);
    margin-bottom: 5px;
	font-family: "Hanken Grotesk", Sans-serif;
}

.instruction-text p {
    font-size: 13px;
    color: var(--kb-text-light);
    margin: 0;
	font-size:12px;
	font-weight:300;
	line-height:20px;
	color:rgba(122, 112, 144, 1);
}

.instruction-item.highlight {
    background: #f8fafc;
     padding:5px;
    border-radius: var(--kb-radius);
}

.info-row {
	
    margin-top: 15px;
    display: flex;
    gap: 20px;
    font-size: 10px;
    font-weight: 600;
}

.whatsapp-cta {
    display: flex;
    margin: 30px 0 20px;
    align-items: center;
}

.wa-icon {
    font-size: 32px;
    margin-right: 15px;
}

.wa-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 16px;
    background: #25d366 !important;
    color: #fff;
    text-decoration: none;
    border-radius: var(--kb-radius);
    font-weight: 700;
    transition: var(--kb-transition);
	border-radius:rgba(37, 211, 102, 1) !important;
	font-size:11px;
	
}



.wa-text strong{
	color:rgba(54, 37, 97, 1);
	font-size:12px;
font-family: "Hanken Grotesk", Sans-serif;
	font-weight:700;

}
.wa-text p{
	color:rgba(122, 112, 144, 1);
	font-size:11px;
font-family: "Hanken Grotesk", Sans-serif;
	font-weight:300;}

/* Animations */
.funnel-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.funnel-step.active {
    display: block;
}

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

/* Responsive */
@media (max-width: 768px) {
    .kubicus-funnel-flex {
        flex-direction: column;
    }
    .kubicus-funnel-sidebar {
        padding: 20px;
    }
    .kubicus-funnel-main {
        padding: 20px;
    }
    .kubicus-funnel-left-text h1 {
        font-size: 32px;
    }
    .otp-field {
        width: 50px !important;
        height: 50px;
    }
}










@media (max-width: 768px) {
    .kubicus-funnel-overlay {
        align-items: flex-start;
        padding: 20px 10px;
        overflow-y: auto !important;
    }
    .kubicus-funnel-container {
        width: 100%;
        max-height: none; /* Allow it to grow, overlay will handle scrolling */
        overflow: visible;
    }
    .kubicus-funnel-flex {
        flex-direction: column;
        min-height: auto;
    }
}
