:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --light: #f8fafc;
    --dark: #1e293b;
    --gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --white: #ffffff;

    /* Brand color palette (aligned with Boostra’s theme) */
	--chat--color--primary: #2563eb; /* Matches --primary */
	--chat--color--primary-shade-50: #1d4ed8; /* Matches --primary-dark */
	--chat--color--primary--shade-100: #1e40af; /* Slightly darker shade */
	--chat--color--secondary: #64748b; /* Matches Boostra’s secondary */
	--chat--color-secondary-shade-50: #475569; /* Darker gray accent */
	--chat--color-white: #ffffff;
	--chat--color-light: #f8fafc; /* Matches Boostra’s light */
	--chat--color-light-shade-50: #e2e8f0;
	--chat--color-light-shade-100: #cbd5e1;
	--chat--color-medium: #d2d4d9;
	--chat--color-dark: #1e293b; /* Matches Boostra’s dark */
	--chat--color-disabled: #94a3b8; /* Muted gray for disabled states */
	--chat--color-typing: #334155;

	/* Layout + appearance */
	--chat--spacing: 1rem;
	--chat--border-radius: 0.5rem;
	--chat--transition-duration: 0.2s;

	--chat--window--width: 400px;
	--chat--window--height: 600px;

	/* Header styling */
	--chat--header-height: auto;
	--chat--header--padding: var(--chat--spacing);
	--chat--header--background: var(--primary);
	--chat--header--color: var(--chat--color-light);
	--chat--header--border-top: none;
	--chat--header--border-bottom: none;
	--chat--heading--font-size: 1.8em;
	--chat--subtitle--font-size: inherit;
	--chat--subtitle--line-height: 1.6;

	/* Input area */
	--chat--textarea--height: 50px;

	/* Message bubbles */
	--chat--message--font-size: 1rem;
	--chat--message--padding: var(--chat--spacing);
	--chat--message--border-radius: var(--chat--border-radius);
	--chat--message-line-height: 1.6;
	--chat--message--bot--background: var(--chat--color-white);
	--chat--message--bot--color: var(--chat--color-dark);
	--chat--message--bot--border: 1px solid var(--chat--color-light-shade-50);
	--chat--message--user--background: var(--chat--color--primary);
	--chat--message--user--color: var(--chat--color-white);
	--chat--message--user--border: none;
	--chat--message--pre--background: rgba(37, 99, 235, 0.05); /* light blue tint */

	/* Floating button */
	--chat--toggle--background: var(--chat--color--primary);
	--chat--toggle--hover--background: var(--chat--color--primary-shade-50);
	--chat--toggle--active--background: var(--chat--color--primary--shade-100);
	--chat--toggle--color: var(--chat--color-white);
	--chat--toggle--size: 80px;
}

.chatbot-wrapper {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;

    /* Prevent iOS browser UI from affecting position */
    transform: none !important;
    will-change: auto !important;
    pointer-events: none; /* clicks pass through except to the chatbot */
  }
  .chatbot-wrapper > * {
    pointer-events: auto;
  }

.n8n-chat-toggle {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  transform: translateY(0) !important;
  z-index: 999999 !important;
  will-change: transform;
}
/* These need to be removed once implemented correctly*/
#success {
    display: none;
}

.product-pricing {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}
/* ------------------------------------------------------- */

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
}

.hero {
    background: var(--gradient);
    padding: 6rem 0 5rem;
    margin-top: 76px;
}

h1 {
    font-weight: 700;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.section-title {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid;
    border-color: var(--primary);
}

.click-to-learn-more {
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.border-highlight {
    border: 2px solid var(--primary);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--secondary);
    position: relative;
    padding-left: 2rem;
}

.testimonial-text:before {
    content: """;
    position: absolute;
    left: 0;
    top: -1rem;
    font-size: 4rem;
    color: var(--primary);
    font-family: Georgia, serif;
}

.client-info {
    font-weight: 600;
    color: var(--dark);
}

.client-title {
    color: var(--secondary);
    font-size: 0.9rem;
}

.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 5rem 0;
}

.cta-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 2rem;
}

#mailto {
    text-decoration: none;
    color: white;
}

#mailto:hover {
    text-decoration: underline;
    color: var(--primary);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
}

/* Lead Showcase Styles */
.lead-showcase {
    display: none;
    padding: 4rem 0;
    background-color: var(--light);
}

.lead-showcase.active {
    display: block;
}

.support-showcase {
    display: none;
    padding: 4rem 0;
    background-color: var(--light);
}

.support-showcase.active {
    display: block;
}

.custom-showcase {
    display: none;
    padding: 4rem 0;
    background-color: var(--light);
}

.custom-showcase.active {
    display: block;
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-description {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.product-features {
    margin-bottom: 1.5rem;
    list-style: none;
}

.product-features1 {
    margin-bottom: 1.5rem;
    list-style: none;
}

.product-features li:last-child i {
    color: grey !important;
}

.product-features li {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.product-features1 li {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.pricetag {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.7rem;
}

.currency-label {
    font-size: 0.8rem;
    margin-right: 0.2rem;
}

.product-pricing {
    
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.0rem;
}

.close-products {
    display: block;
    margin: 0 auto;
    background: var(--secondary);
    border: none;
}

.close-products:hover {
    background: #475569;
}

.packages {
  padding: 3rem 0;
}
.product-header {
  text-align: center;
  margin-bottom: 2rem;
}
.comparison-table {
  overflow-x: auto;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.comparison-table th,
.comparison-table td {
  border: 1px solid #e5e7eb;
  padding: 1rem;
}
.comparison-table thead {
  background-color: var(--light);
}
.comparison-table th {
  font-weight: 600;
}
.highlight {
  background: #f0f9ff;
  border: 2px solid var(--primary);
}
.badge {
  background: var(--primary);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}
.pricing-row td {
  font-weight: 600;
}

.bundle {
    background: var(--gradient);
}

.toggle-switch {
  display: inline-flex;
  width: 100%;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  padding-bottom: 1rem;
}

.toggle-button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
    background: white;
}

.toggle-switch .toggle-button:hover{
    cursor: pointer;
    border: 1px solid var(--primary);
}

.lead-bundles, .support-bundles {
    display: none;
}

.support-bundles.active {
    display: block;
}

.lead-bundles.active {
    display: block;
}

.highlight-text {
    color: var(--primary-dark);
    font-weight: 700;
}

.bundle-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.bundle-note {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.7rem;
}

.side-by-side {
    display: flex;
    gap: 40px; /* space between lists */
}

.boostra-bundle-card-title
{
    display: flex;
    align-items: center;
    
    gap: 20px; /* space between icon and title */
}

.boostra-product-card {
    background: white;
    border-radius: 1rem;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.side-by-side {
    display: flex;
    text-align: left;
    gap: 40px; /* space between lists */
}

.boostra-product-card:hover {
    transform: translateY(-5px);
}

.center-children{
    width: 50%;
    margin: 0 auto;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
    margin: 0 auto;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: bold;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-required {
    color: #e74c3c;
}

.submit-button {
    margin: 0 auto;
    width: 75%;
    
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.submit-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* center the submit button row only */
.contact-form .form-group:last-child {
    text-align: center;
}

.contact-form .submit-button {
    display: inline-block;
    width: 75%; /* use intrinsic width; change or remove to suit */
    margin: 2rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }

    .center-children{
        width: 100%;
    }
}