:root {
    --primary-color: #434fda;
    --primary-hover: #333cb3;
    --text-color: #212b36;
    --text-secondary: #637381;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --font-primary: 'Public Sans', sans-serif;
    --font-heading: 'Public Sans', sans-serif;
    --shadow-sm: 0 0 2px 0 rgba(145, 158, 171, 0.2), 0 12px 24px -4px rgba(145, 158, 171, 0.12);
    --shadow-card: 0 0 2px 0 rgba(145, 158, 171, 0.2), 0 12px 24px -4px rgba(145, 158, 171, 0.12);
    --radius-md: 12px;
    --radius-sm: 8px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
}

a {
    text-decoration: none;
    transition: all 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    /* Semi-bold */
    line-height: 1.2;
    margin-bottom: 8px;
    /* Slightly more space */
    display: block;
    color: #334155;
    /* Slate-700 */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.d-flex {
    display: flex;
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.g-1 {
    gap: 10px;
}

.g-2 {
    margin-bottom: 8px;
    display: none;
    /* Reference shows placeholders only */
    color: #334155;
}

.input-clean {
    width: 100%;
    padding: 14px 16px;
    /* Taller */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s;
    background-color: #fff;
    margin-bottom: 15px;
    /* Spacing between fields */
}

/* Phone Input Split override */
.phone-field {
    margin-bottom: 15px;
}

.code-select {
    margin-bottom: 15px;
}

.input-clean::placeholder {
    color: #94a3b8;
}

.input-clean:focus {
    border-color: #64748b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
}

.phone-input-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.code-select {
    width: 110px;
    flex-shrink: 0;
}

.phone-field {
    flex-grow: 1;
}

/* Modal Footer for Button alignment */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    /* Right align */
    margin-top: 10px;
    gap: 10px;
}

.btn-black-full {
    background-color: #1e293b;
    color: #fff;
    width: auto;
    /* Auto width */
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    margin-top: 0;
    transition: all 0.2s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 16px rgba(67, 79, 218, 0.24);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 16px rgba(67, 79, 218, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--text-color);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-color);
    padding: 0;
}

.btn-ghost:hover {
    text-decoration: underline;
}

.btn-login {
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #000000;
    font-weight: 600;
}

.btn-login:hover {
    background-color: #f4f6f8;
    color: #000000;
}

.btn-dark {
    background: #212b36;
    color: #fff;
    font-weight: 600;
}

.btn-dark:hover {
    background: #000;
}


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hamburger Menu - Default Hidden */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Navigation Group (Right Side) */
.nav-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
    padding-bottom: 0;
}

/* Invisible bridge to prevent menu closing when moving cursor */
.dropdown::after {
    content: '';
    position: absolute;
    bottom: -12px;
    /* Should match the top offset of menu */
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    margin-top: 12px;
    /* Gap */
    border: 1px solid #eee;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.dropdown-header {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-selector:hover {
    color: var(--primary-color);
}


.logo img {
    height: 36px;
}


/* Hero - Redesign Split */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    /* Wider for carousel */
    padding: 0 40px;
}

.hero-content {
    flex: 0 0 450px;
    /* Fixed width for text */
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.hero-carousel-wrapper::before,
.hero-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.hero-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.hero-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.hero-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px 0 50px 0;
    /* Increased bottom padding for shadows */
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-carousel::-webkit-scrollbar {
    display: none;
}

/* Industry Cards */
.industry-card {
    position: relative;
    min-width: 260px;
    width: 260px;
    /* Fixed width for Safari */
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    flex: 0 0 auto;
    /* Safari fix: prevent stretching */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    /* Hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    background: #fff;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(67, 79, 218, 0.9);
    /* Deep Blue/Violet pill matching brand */
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Auto-scroll animation logic */
.hero-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-hero 60s linear infinite;
    pointer-events: none;
    /* Disable all interactions */
    user-select: none;
    /* Safari Fixes */
    /* will-change: transform; Removed to prevent jumpiness */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes scroll-hero {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pain Points Carousel - UPDATED FEEDBACK */
.pain-points-section {
    background-color: #fff;
    /* White Background */
    color: var(--text-color);
    padding: 80px 0;
    overflow: hidden;
}

.pain-points-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

.pain-points-carousel {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.pain-points-track {
    display: flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.pain-card {
    width: 300px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    box-shadow: var(--shadow-card);
    /* Shadow makes them pop on white */
    border: 1px solid #eee;
}

.pain-card-counter {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.pain-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pain-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pain-card-content {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.pain-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.pain-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.pain-points-bottom-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pain-points-bottom-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Authority / Logos - UPDATED */
.authority-section {
    padding: 60px 0;
    text-align: center;
    background: var(--primary-color);
}

/* Ensure text in authority matches bg */
.authority-section h2,
.authority-section p {
    color: white;
}

.authority-section p {
    opacity: 0.9;
    font-size: 1.25rem;
}

.logos-carousel {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.logos-track {
    display: flex;
    gap: 80px;
    /* Increased gap */
    animation: scroll-logos 60s linear infinite;
    /* Slower animation */
    width: max-content;
    align-items: center;
}

.logo-item {
    height: 80px;
    /* Double size */
    width: auto;
    filter: brightness(0) invert(1);
    /* Keep them white */
    opacity: 0.8;
    transition: all 0.3s;
}

.logo-item:hover {
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Implementation Section (formerly Speed) */
.implementation-section {
    padding: 100px 0;
    background-color: #fff;
}

.impl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.impl-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.impl-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 50%;
    /* overflow: hidden; Removed to allow absolute positioning leaking if needed, though mostly internal */
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.online-indicator {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border: 1px solid #fff;
    border-radius: 50%;
    animation: blink 2s infinite ease-in-out;
    box-shadow: 0 0 4px rgba(46, 204, 113, 0.5);
    z-index: 10;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #2ecc71;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: blink 2s infinite ease-in-out;
}

.impl-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impl-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.impl-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    flex: 1;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-section {
    background-color: var(--bg-secondary);
    padding-top: 100px;
    padding-bottom: 60px;
    /* Reduced bottom padding */
}

/* Pricing Toggle */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
}

.toggle-label {
    font-size: 0.85rem;
    font-weight: 500;
    /* Normal weight for inactive */
    color: #999;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.toggle-label.active {
    color: #333;
    font-weight: 800;
    /* Bold for active */
}

.pricing-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary-color);
    /* Highlight with primary color */
    color: #fff;
    /* White text */
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(67, 79, 218, 0.3);
    /* Add glow/shadow */
    letter-spacing: 0.5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    /* Default grey */
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

input:checked+.slider {
    background-color: #2ecc71;
    /* Green for Active/Annual */
}

input:focus+.slider {
    box-shadow: 0 0 1px #2ecc71;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.discount-badge {
    display: block;
    margin-top: 15px;
    width: 100%;
    color: #2ecc71;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}

/* Arrow removed */
.discount-badge::before {
    content: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Tighter gap for 4 cols */
    margin-top: 60px;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: transform 0.3s;
    position: relative;
    text-align: left;
    /* Force left alignment */
}

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

.pricing-card.popular {
    border-color: var(--primary-color);
}

.pricing-card.enterprise {
    background: var(--primary-color);
    color: #fff;
}

.pricing-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #E8EAF6;
    /* Light Violet */
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-card.enterprise .plan-name {
    color: #fff;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 90px;
    /* Align styles */
}

.pricing-card.enterprise .plan-desc {
    color: rgba(255, 255, 255, 0.8);
}

.old-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #999;
    margin-bottom: 4px;
}

.pricing-card.enterprise .old-price {
    color: rgba(255, 255, 255, 0.5);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-price span,
.currency {
    font-size: 1rem;
    font-weight: 500;
    color: #777;
}

.pricing-card.enterprise .currency {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card.enterprise .plan-price span {
    color: rgba(255, 255, 255, 0.7);
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
    flex: 1;
}

.feature-list li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-color);
}

.pricing-card.enterprise .feature-list li {
    color: #fff;
}

/* Ensure features are always left aligned */
.pricing-card .feature-list {
    width: 100%;
}

.pricing-card .feature-list li {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}

/* Ensure the benefits header is full width to respect text-align: left */
.pricing-card div[style*="text-align: left"] {
    width: 100%;
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card.enterprise .check-icon {
    color: #fff;
}


/* Meeting Section */
.meeting-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.meeting-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-sm);
}

.meeting-avatar-container {
    position: relative;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.meeting-avatar {
    width: 100px;
    /* Slightly larger */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    /* Fix Aspect Ratio */
    aspect-ratio: 1 / 1;
    /* Force Square */
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #2ecc71;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.meeting-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Payment Methods */
.payment-method-tag {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.meeting-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.meeting-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
    flex-wrap: wrap;
    /* specific for responsiveness */
}

.slots-badge {
    background: #FEF9C3;
    color: #854D0E;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Security Section */
.security-section {
    padding: 60px 0;
    background-color: var(--bg-secondary);
    padding-bottom: 100px;
}

.justify-center {
    justify-content: center;
}

.security-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    /* Clean border */
    border-radius: 12px;
    padding: 30px;
    max-width: 900px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    box-shadow: var(--shadow-sm);
}

.security-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #A855F7;
    /* Violet base */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.security-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.security-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.security-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 24px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-weight: 300;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 500px;
    /* Arbitrary large height */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--primary-color);
    /* Violet */
    color: #fff;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #fff;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    /* Pure White */
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-social-icon:hover {
    opacity: 1;
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.footer-col a:hover {
    color: #fff;
}

.footer .logo img {
    filter: brightness(0) invert(1);
    /* Make logo white */
}

/* Responsive */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 800px;
        margin: 50px auto;
    }
}

@media (max-width: 1100px) {
    .impl-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        max-width: 100%;
        margin: 50px 0;
        padding-bottom: 20px;
        /* Space for scrollbar if any/touch buffer */
        padding-left: 20px;
        /* Peek effect */
        padding-right: 20px;
    }

    .pricing-card {
        min-width: 85%;
        /* Show part of next card */
        scroll-snap-align: center;
        margin: 0;
    }

    /* Meeting Card Mobile Fix */
    .meeting-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .meeting-footer {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .meeting-footer .btn {
        width: 100%;
        /* Full width button on mobile */
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero .container {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }

    .hero-content {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 0;
        max-width: 100%;
    }

    .hero-carousel-wrapper {
        width: 100vw;
        margin-left: -20px;
        /* Offset container padding */
        padding-left: 20px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-group {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 24px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-group.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 4px;
        margin-bottom: 32px;
    }

    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        justify-content: space-between;
    }

    /* Dropdown in mobile */
    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-left: 12px;
        margin-top: 0;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .lang-selector {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1.125rem;
    }

    .btn-login {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        padding: 12px;
    }

    /* Hamburger Animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }


    /* Simplified mobile nav for now */
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Ticker Banner */
.ticker-wrap {
    position: fixed;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    height: 40px;
    background-color: #FF5630;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.ticker {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    white-space: nowrap;
    padding-left: 100%;
    padding-right: 100%;
    box-sizing: content-box;
    animation: ticker 60s linear infinite;
    color: #fff;
    font-weight: 600;
}

.ticker-close {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 36px;
    /* Adjusting line-height to vertically center the larger character */
    z-index: 10000;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.9rem;
}

/* Pricing Table Styles */
.pricing-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    background: #fff;
    border: 1px solid #e0e0e0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.pricing-table th,
.pricing-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-table th {
    background: #f9fafb;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    padding-top: 24px;
    padding-bottom: 24px;
}

.pricing-table th.feature-col {
    text-align: left;
    width: 40%;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-color);
}

.category-row td {
    background: #E8EAF6;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 12px 24px;
    text-align: left;
}

.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #00a650;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

.feature-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
    /* Gap between icon and text */
    object-fit: contain;
    display: inline-block;
}

.icon-lightning {
    color: #f59e0b;
    margin-right: 4px;
    vertical-align: middle;
    font-size: 1.1rem;
    display: inline-block;
}

.icon-cross {
    color: #e0e0e0;
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-table tr:hover {
    background-color: #fcfcfc;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}


/* Autopilot Section Styles */
.autopilot-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.autopilot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.autopilot-content {
    text-align: left;
}

.autopilot-badge {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.autopilot-title {
    font-size: 3rem;
    font-weight: 600;
    /* Semi-bold */
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-color);
}

.autopilot-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 90%;
}

/* Right Visual Component */
.autopilot-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.autopilot-card-wrapper {
    background-color: #e0e4fc;
    /* Light lavender-ish background like reference */
    padding: 60px;
    border-radius: 24px;
    position: relative;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(67, 79, 218, 0.1);
}

.autopilot-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.header-icon {
    margin-right: 12px;
    display: flex;
}

.header-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    flex-grow: 1;
}

.header-dots {
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #4a5568;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.check-circle {
    width: 20px;
    height: 20px;
    background: #10b981;
    /* Success Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
}

.autopilot-status-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #d1fae5;
    /* Light green bg */
    color: #059669;
    /* Green text */
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #059669;
    border-radius: 50%;
}

/* Grid lines background effect (subtle) */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(#ccc 1px, transparent 1px),
        linear-gradient(90deg, #ccc 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    border-radius: 24px;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 900px) {
    .autopilot-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .autopilot-content {
        text-align: center;
    }

    .autopilot-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .autopilot-visual {
        padding: 0;
    }

    .autopilot-card-wrapper {
        padding: 16px;
        border-radius: 20px;
    }
}

.autopilot-grid.reverse {
    direction: rtl;
    /* Quick way to swap columns in simple grid */
}

.autopilot-grid.reverse>* {
    direction: ltr;
    /* Reset direction for content */
}

@media (max-width: 900px) {
    .autopilot-grid.reverse {
        direction: ltr;
        /* Reset on mobile to stack normally */
    }
}

/* Scroll Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Statistics Section Styles */
.stats-section {
    padding: 80px 0;
    background-color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: #f9fafb;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 cols on tablet */
    }
}

.stats-grid {
    grid-template-columns: 1fr;
    /* 1 col on mobile */
}


/* ROI Section Styles */
.dynamic-stats-container {
    padding: 60px 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.roi-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 40px;
    font-family: var(--font-primary);
}

.roi-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    max-width: 1000px;
    margin: 0 auto;
}

.roi-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.roi-phrase {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-color);
    font-family: var(--font-heading);
    /* Public Sans */
    line-height: 1.1;
    text-align: center;
}

@media (max-width: 768px) {
    .roi-phrase {
        font-size: 2.5rem;
    }

    .roi-icon {
        font-size: 3.5rem;
    }

    .dynamic-stats-container {
        padding: 40px 0;
        min-height: 350px;
    }
}

/* Feature Icons in Pricing Table */
.feature-icon {
    font-size: 1.4rem;
    vertical-align: middle;
    margin-right: 12px;
    color: var(--primary-color);
    display: inline-block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Currency Selector */
.currency-trigger {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.currency-trigger:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.currency-icon {
    font-weight: bold;
}

.currency-modal-content {
    max-width: 800px;
    /* Wider for grid */
    padding: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.currency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    max-height: 60vh;
    overflow-y: auto;
}

.currency-item {
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.currency-item:hover {
    background-color: #f5f5f5;
}

.currency-item.active {
    background-color: #e6f7ff;
    border: 1px solid #1890ff;
}

.currency-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}


/* Feature Tag Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: inline-flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.carousel-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 50px;
    background-color: rgba(67, 79, 218, 0.05);
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s, background-color 0.2s;
    user-select: none;
    border: 1px solid rgba(67, 79, 218, 0.2);
}

.carousel-item:hover {
    background-color: rgba(67, 79, 218, 0.1);
    transform: translateY(-2px);
    color: var(--primary-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Moves half the width (the first set) */
    }
}

/* Investing in Results Section (Refined) */
.invest-section {
    padding: 100px 0;
    background-color: #e0e7ff;
    /* Fallback */
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

/* Optional soft background blobs if desired, but keeping clean for now matching reference */

.invest-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 24px;
}

.invest-title-col {
    width: 100%;
}

.invest-desc-col {
    width: 100%;
    max-width: 700px;
    /* Improve readability of long text */
}

.section-title.text-left {
    text-align: left;
    font-size: 2.5rem;
    color: #1e1b4b;
    /* Deep Indigo */
    margin-bottom: 0;
    line-height: 1.2;
}

.section-subtitle.text-left {
    text-align: left;
    color: #4338ca;
    /* Indigo-700 */
    font-size: 1.1rem;
    line-height: 1.6;
}


.invest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.invest-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.invest-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.invest-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 24px 0;
}

.invest-icon {
    font-size: 2rem;
    /* Increased size for visibility */
    color: var(--primary-color);
    /* Violeta RentalPortal */
}

.invest-card h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1e1b4b;
    letter-spacing: -0.02em;
}

.invest-card p {
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Demo Modal Specific Styles */
#demoModal .modal-content {
    max-width: 700px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: none;
}

#demoModal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

#demoModal .modal-subtitle {
    text-align: center;
    margin-bottom: 25px;
}

#demoModal .form-group label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.question-number {
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 4px;
}

#demoModal .input-clean {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.2s;
    width: 100%;
}

#demoModal .input-clean:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 79, 218, 0.1);
}

#demoModal .btn-primary {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(67, 79, 218, 0.3);
}

#demoModal .btn-primary:hover {
    box-shadow: 0 6px 16px rgba(67, 79, 218, 0.4);
    transform: translateY(-2px);
}

#demoModal .close-modal {
    background: #f1f5f9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    font-weight: 400;
    transition: all 0.2s;
}

#demoModal .close-modal:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Circular Score Chart */
.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.circular-chart.orange .circle {
    stroke: var(--primary-color);
}

.percentage {
    fill: #1e293b;
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 0.5em;
    text-anchor: middle;
}

/* Demo Modal Specifics */
#demoModal .modal-content {
    min-height: 650px;
    /* Fixed height to prevent layout shifts */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align content to top */
    position: relative;
    /* For absolute positioning if needed */
    overflow-y: auto;
    /* Enable scrolling for tall content */
    max-height: 90vh;
    /* Ensure it fits in viewport */
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #f1f5f9;
    /* Slate 100 */
    border-radius: 4px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    /* Ensure it doesn't overlap with close button if placed high */
    margin-top: 10px;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    /* Initial width */
    transition: width 0.4s ease;
    border-radius: 4px;
}

/* Result Form (Lead Capture) */
.result-form-container {
    text-align: left;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;

    /* Grid Layout */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

/* Option Cards Styles */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}

.option-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    border-color: var(--primary-color);
    background-color: #f0fdfa;
    /* Very light teal/primary tint */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 79, 218, 0.1);
}

.option-card.selected {
    border-color: var(--primary-color);
    background-color: #e6f7ff;
    box-shadow: 0 0 0 2px rgba(67, 79, 218, 0.2);
}

.option-icon {
    font-size: 1.5rem;
    margin-right: 16px;
}

.option-label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #212B36;
    margin-bottom: 15px;
    text-align: left;
    font-family: 'Public Sans', sans-serif;
}

@media (max-width: 768px) {
    .result-form-container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 15px;
    }

    .step-title {
        font-size: 1rem;
        /* Smaller on mobile */
        margin-bottom: 15px;
    }

    /* Reduce form spacing in Result Modal */
    .result-form-container .form-group {
        margin-bottom: 8px !important;
    }

    .result-form-container .input-clean {
        margin-bottom: 0 !important;
        padding: 10px 12px !important;
    }

    .result-form-container label {
        margin-bottom: 2px !important;
        font-size: 0.85rem !important;
    }

    /* Compact Country Selector */
    .phone-input-group .code-select {
        flex: 0 0 75px !important;
        padding: 10px 2px !important;
        appearance: none;
        -webkit-appearance: none;
        background-image: none !important;
        text-align: center;
        background-color: #fff;
        font-size: 0.9rem !important;
    }

    #resultTitle {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        /* Override inline styles */
    }

    /* Maximize horizontal space for text */
    #demoModal .modal-content {
        padding: 24px 16px !important;
        /* Reduce padding significantly */
    }

    #qualificationResult {
        padding: 10px 0 !important;
    }

    #resultMessage {
        padding: 0 !important;
        /* Remove inline padding */
        margin-bottom: 16px !important;
    }
}

/* =========================================
   Hero CTA Enlargement (User Request)
   ========================================= */
/* =========================================
   Hero CTA Rotating Neon Border (User Request)
   ========================================= */
.hero-cta-wrapper .btn {
    padding: 18px 36px;
    /* Slightly smaller */
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: transparent !important;
    /* Let ::after show */
    box-shadow: 0 10px 25px rgba(67, 79, 218, 0.4);
    border: none;
}

/* The Rotating Light */
.hero-cta-wrapper .btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Solid violet base with moving pink/violet segment - No white/transparent */
    background: conic-gradient(from 0deg, #434fda 0%, #434fda 35%, #ff00ff 50%, #8a2be2 65%, #434fda 80%, #434fda 100%);
    animation: rotate-border 8s linear infinite;
    /* Slower */
    z-index: -2;
}

/* The Button Background (Inner) */
.hero-cta-wrapper .btn::after {
    content: '';
    position: absolute;
    inset: 4px;
    /* Thickness of the glowing border */
    background: var(--primary-color);
    border-radius: 50px;
    z-index: -1;
}

/* Ensure text and icon are on top */
.hero-cta-wrapper .btn span,
.hero-cta-wrapper .btn svg,
.hero-cta-wrapper .btn img {
    position: relative;
    z-index: 5;
}

/* =========================================
   Invest Cards Animation (User Request)
   ========================================= */
.invest-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.invest-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.invest-card:nth-child(1) {
    transition-delay: 0.1s;
}

.invest-card:nth-child(2) {
    transition-delay: 0.3s;
}

.invest-card:nth-child(3) {
    transition-delay: 0.5s;
}

.invest-card:nth-child(4) {
    transition-delay: 0.7s;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.result-form-container .form-group {
    width: 100%;
}

.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-input-group .code-select {
    width: auto;
    flex: 0 0 120px;
    padding-right: 30px;
    /* Space for arrow */
    /* Fixed width for country code */
}

.phone-input-group .phone-field {
    flex: 1;
}

.result-form-container label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #475569;
}

.btn-disabled {
    opacity: 0.5;
    pointer-events: none;
    /* Prevent clicking */
    cursor: not-allowed;
    background-color: #94a3b8 !important;
    /* Visual cue */
    box-shadow: none !important;
}

/* Fix Phone Input Layout */
.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-input-group .code-select {
    width: auto !important;
    min-width: 100px;
    flex: 0 0 auto;
}

.phone-input-group .phone-field {
    flex: 1;
}

/* Loader */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Analysis State Centering */
#qualificationResult.analyzing {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    text-align: center;
}

/* Modal Enhancements */
.step-title {
    font-size: 1.5rem !important;
    /* Increased size */
}

.btn-back {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 15px;
    /* Moved to bottom, needs top margin */
    margin-bottom: 0px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--primary-color);
}

/* Fix Country Code Arrow */
.code-select {
    padding-right: 20px;
    /* Make room for arrow if needed */
    /* Adjust based on browser default appearance or custom background */
}

/* Calendar UI Styles */
.calendar-step-container {
    padding: 10px;
}

.calendar-dates-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.calendar-dates-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.date-card {
    min-width: 60px;
    padding: 10px 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date-card strong {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
}

.date-card span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.date-card:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.date-card.selected {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.date-card.selected strong,
.date-card.selected span {
    color: white;
}

.calendar-slots-wrapper {
    margin-top: 20px;
    text-align: center;
}

.calendar-slots-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    justify-content: flex-start;
    /* Standard scroll behavior */
}

.slot-card {
    padding: 8px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 0 auto;
    /* Prevent shrinking */
    min-width: 80px;
}

.slot-card:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.slot-card.selected {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Skeleton Loading */
.skeleton {
    background: #e2e8f0;
    color: transparent;
    animation: pulse 1.5s infinite;
    min-height: 40px;
    border-radius: 6px;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #94a3b8 !important;
    border-color: #94a3b8 !important;

    /* Calendar Centered Slots */
    .calendar-slots-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        /* Centered as requested */
        margin-top: 10px;
    }
}

/* --- Video Bubble Widget --- */
#videoBubbleContainer {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;

    /* Animation Initial State */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#videoBubbleContainer.visible {
    opacity: 1;
    pointer-events: all;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.video-bubble-btn {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: floatBubble 3s ease-in-out infinite;
}

.video-bubble-btn.active,
.video-bubble-btn:hover {
    animation-play-state: paused;
}

.video-bubble-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff3b30;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

.video-bubble-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.video-bubble-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Menu */
.video-menu {
    background: white;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    bottom: 80px;
    right: 0;
}

.video-menu.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.video-menu-header {
    background: #f4f6f8;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.video-menu-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.video-menu-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.video-menu-list {
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

.video-menu-list li {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
}

@keyframes pulse-orange {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Orange Dot for Unwatched Videos */
.video-dot {
    width: 8px;
    height: 8px;
    background-color: #ff9800;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-left: -4px;
    animation: pulse-orange 1.5s infinite ease-in-out;
    flex-shrink: 0;
}

.video-menu-list li:hover {
    background-color: #f0f4ff;
    color: var(--primary-color);
}

.video-menu-list li span {
    font-size: 1.2rem;
}

/* Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.video-iframe-container {
    width: 100%;
    height: 100%;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 100%;
        border-radius: 0;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        z-index: 10;
        background: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
    }
}

/* =========================================
   Animations
   ========================================= */
@keyframes gentle-wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.invest-icon {
    display: inline-block;
    animation: gentle-wobble 4s ease-in-out infinite;
    transform-origin: center;
}