:root {
    /* Colors */
    --primary-dark: #142A49;
    --white: #FFFFFF;
    --accent-green: #96E072;
    --accent-green-hover: #85c964;
    --gray-light: #F5F7FA;
    --gray-medium: #E9EDF5;
    --text-dark: #0F172A;
    --text-gray: #64748B;

    /* Shadows & Glows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glow-green: 0 0 20px rgba(150, 224, 114, 0.3);
    --glow-card: 0 0 30px rgba(20, 42, 73, 0.05);

    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s ease-out;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    box-shadow: var(--glow-green);
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(150, 224, 114, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-dark);
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background-color: rgba(20, 42, 73, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-green);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 140px;
    background-color: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20, 42, 73, 1) 0%, rgba(20, 42, 73, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(150, 224, 114, 0.05) 0%, rgba(20, 42, 73, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text h1 span {
    color: var(--accent-green);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    max-width: 540px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-benefits {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.benefit-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-tag svg {
    width: 16px;
    height: 16px;
    color: var(--accent-green);
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    perspective: 1000px;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow:
        20px 20px 60px rgba(0, 0, 0, 0.3),
        -5px -5px 20px rgba(255, 255, 255, 0.02);
    transition: transform 0.5s ease-out;
}

.hero-mockup:hover .mockup-card {
    transform: rotateY(0deg) rotateX(0deg);
}

#leads-list {
    position: relative;
    height: 300px;
    /* Fixed height to prevent layout jumps */
    overflow: hidden;
}

.lead-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Ensure height animates smoothly */
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
}

/* Animation for new leads */
.lead-item-new {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
}

.lead-item-visible {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    margin-bottom: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
}

/* Animation for removing leads */
.lead-item-removing {
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    pointer-events: none;
}

.lead-info h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 4px;
}

.lead-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.lead-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(150, 224, 114, 0.1);
    border-radius: 20px;
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 2s infinite;
}

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

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    .mockup-card {
        transform: none;
        max-width: 400px;
        margin: 0 auto;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-lg);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

/* How It Works */
.how-it-works {
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-medium);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-green);
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gray-light) 0%, rgba(245, 247, 250, 0.5) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-dark);
    transition: all var(--transition-fast);
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3558 100%);
    color: var(--accent-green);
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Why Us */
.why-us {
    background-color: var(--gray-light);
}

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

.benefit-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(150, 224, 114, 0.2) 0%, rgba(150, 224, 114, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Segments */
.segments {
    background-color: var(--white);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.segment-card {
    padding: 40px;
    border-radius: 24px;
    transition: all var(--transition-normal);
}

.segment-card.mortgage {
    background-color: #F0F9FF;
    /* Light Blue */
}

.segment-card.real-estate {
    background-color: #F8FAFC;
    /* Light Gray */
}

.segment-card.subsidies {
    background-color: #F0FDF4;
    /* Light Green */
}

.segment-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.segment-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}

.segment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.segment-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.segment-features li svg {
    color: var(--accent-green-hover);
    /* Darker green for visibility on light bg */
    width: 20px;
    height: 20px;
}

/* Verification Section */
.verification {
    background-color: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.verification .section-header h2 {
    color: var(--white);
}

.verification .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

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

.verification-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.verification-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: var(--glow-green);
    border-color: var(--accent-green);
}

.verification-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.verification-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Results Section */
.results {
    background-color: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 8px;
    opacity: 0.8;
}

/* Pricing Section */
.pricing {
    background-color: var(--gray-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-medium);
    transition: all var(--transition-normal);
    position: relative;
}


.pricing-card.featured {
    border: 2px solid var(--accent-green);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 1;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-green);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.pricing-features li svg {
    color: var(--accent-green);
    width: 18px;
    height: 18px;
}

.pricing-note {
    text-align: center;
    margin-top: 48px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* CRM Integration Section */
.crm-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, #F0F9FF 100%);
    overflow: hidden;
}

.crm-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.crm-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.crm-text p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.crm-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.crm-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--primary-dark);
}

.crm-feature-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(150, 224, 114, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green-hover);
}

.crm-image-container {
    position: relative;
}

.crm-image-card {
    background: var(--white);
    padding: 12px;
    border-radius: 24px;
    box-shadow:
        0 20px 40px -5px rgba(20, 42, 73, 0.1),
        0 10px 20px -5px rgba(20, 42, 73, 0.05);
    transform: perspective(1000px) rotateY(-5deg) translateZ(0);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(20, 42, 73, 0.05);
    backface-visibility: hidden;
    will-change: transform;
    -webkit-font-smoothing: antialiased;
}

.crm-image-container:hover .crm-image-card {
    transform: perspective(1000px) rotateY(0deg) translateZ(0);
}

.crm-image-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Floating badges decoration */
.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.badge-crm {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.badge-api {
    bottom: 40px;
    left: -30px;
    animation-delay: 3s;
}

@keyframes float {

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

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

@media (max-width: 968px) {
    .crm-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .crm-features-list {
        align-items: center;
    }

    .crm-image-card {
        transform: none;
    }

    .crm-image-container:hover .crm-image-card {
        transform: none;
    }
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid var(--gray-medium);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

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

.faq-answer p {
    padding-bottom: 24px;
}

/* Contact Form */
.contact {
    background-color: var(--gray-light);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.form-row {
    display: flex;
    gap: 16px;
}

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

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(150, 224, 114, 0.2);
}

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

.form-submit {
    width: 100%;
    margin-top: 16px;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    display: block;
}

.footer-logo span {
    color: var(--accent-green);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {

    /* Better container padding on mobile */
    .container {
        padding: 0 24px;
    }

    /* Optimize section spacing */
    .section {
        padding: 64px 0;
    }

    /* Hero improvements */
    .hero {
        padding: 120px 0 64px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 32px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .section-header p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    /* Benefit cards */
    .benefit-card {
        padding: 24px 20px;
    }

    .benefit-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .benefit-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Step cards */
    .step-card {
        padding: 32px 24px;
    }

    .step-card h3 {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .step-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Segment cards */
    .segment-card h3 {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .segment-features li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* FAQ */
    .faq-question {
        font-size: 1.05rem;
        line-height: 1.5;
        padding: 20px 48px 20px 20px;
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0 20px 20px;
    }

    /* Pricing cards */
    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card h3 {
        font-size: 1.2rem;
    }

    .price {
        font-size: 2rem;
    }

    .pricing-features li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* Contact form */
    .contact-wrapper {
        padding: 32px 24px;
    }

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

    label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .form-control {
        font-size: 1rem;
        padding: 14px 16px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-links a {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }

    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stat-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.steps-grid .step-card:nth-child(2) {
    transition-delay: 0.1s;
}

.steps-grid .step-card:nth-child(3) {
    transition-delay: 0.2s;
}

.benefits-grid .benefit-card:nth-child(2) {
    transition-delay: 0.1s;
}

.benefits-grid .benefit-card:nth-child(3) {
    transition-delay: 0.2s;
}

.benefits-grid .benefit-card:nth-child(4) {
    transition-delay: 0.3s;
}

.benefits-grid .benefit-card:nth-child(5) {
    transition-delay: 0.4s;
}

.benefits-grid .benefit-card:nth-child(6) {
    transition-delay: 0.5s;
}

.verification-grid .verification-card:nth-child(2) {
    transition-delay: 0.1s;
}

.verification-grid .verification-card:nth-child(3) {
    transition-delay: 0.2s;
}

.verification-grid .verification-card:nth-child(4) {
    transition-delay: 0.3s;
}

.verification-grid .verification-card:nth-child(5) {
    transition-delay: 0.4s;
}

.verification-grid .verification-card:nth-child(6) {
    transition-delay: 0.5s;
}

/* Disable reveal animation transform on mobile to prevent jumping */
@media (max-width: 768px) {
    .reveal {
        transform: none !important;
        transition: opacity 0.6s ease-out !important;
    }

    .reveal.active {
        transform: none !important;
    }
}

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Connecting line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 80px;
    /* 40px padding + 40px half-circle height */
    left: 0;
    width: 0;
    /* Start with 0 width for animation */
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    z-index: 0;
    animation: expandLine 1.5s ease-out forwards;
}

@keyframes expandLine {
    to {
        width: 100%;
    }
}

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

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.2s;
}

.process-step:nth-child(2) {
    animation-delay: 0.4s;
}

.process-step:nth-child(3) {
    animation-delay: 0.6s;
}

.process-step:nth-child(4) {
    animation-delay: 0.8s;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.process-step:hover .step-number {
    background: var(--accent-green);
    color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(132, 204, 22, 0.4);
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.process-step:hover h3 {
    color: var(--accent-green);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
        /* Remove line on mobile */
    }

    @keyframes expandLineVertical {
        to {
            height: 100%;
        }
    }

    .step-number {
        margin-bottom: 16px;
    }
}

/* Contact Section Redesign */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-header.text-left {
    text-align: left;
    margin-bottom: 40px;
}

.section-header.text-left h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-header.text-left p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 100%;
}

/* Personal Profile Card */
.personal-profile {
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    /* Reduced from 40px */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Add a subtle gradient overlay to the card */
.personal-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.personal-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-green);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Reduced from 24px */
    margin-bottom: 24px;
    /* Reduced from 32px */
    position: relative;
    z-index: 1;
}

.profile-image-wrapper {
    position: relative;
    width: 72px;
    /* Reduced from 88px */
    height: 72px;
    /* Reduced from 88px */
    flex-shrink: 0;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.profile-details h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--white);
    letter-spacing: -0.01em;
}

.profile-role {
    display: none;
}

.status-text {
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.status-text::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

.status-text.online {
    color: var(--accent-green);
    background: rgba(150, 224, 114, 0.1);
    border: 1px solid rgba(150, 224, 114, 0.2);
}

.status-text.online::before {
    box-shadow: 0 0 0 2px rgba(150, 224, 114, 0.3);
    animation: pulse 2s infinite;
}

.status-text.offline {
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(150, 224, 114, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(150, 224, 114, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(150, 224, 114, 0);
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Reduced from 20px */
    margin-bottom: 24px;
    /* Reduced from 40px */
    position: relative;
    z-index: 1;
}

.contact-link,
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(150, 224, 114, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

.btn-cal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cal:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(150, 224, 114, 0.3);
}

.form-header-mobile {
    display: none;
    margin-bottom: 24px;
}

.form-header-mobile h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

@media (max-width: 968px) {

    /* How it works - Mobile Line Fix */
    .process-timeline::before {
        display: block;
        /* Restore line */
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        animation: expandLineVertical 1.5s ease-out forwards;
        z-index: 0;
    }

    .process-step {
        background: var(--white);
        /* Mask the line behind text */
        position: relative;
        z-index: 1;
        padding-bottom: 20px;
        /* Add some spacing inside the card */
    }

    @keyframes expandLineVertical {
        to {
            height: 100%;
        }
    }

    .step-number {
        margin-bottom: 16px;
        position: relative;
        z-index: 2;
        /* Ensure number is above everything */
        background: var(--primary-dark);
        /* Ensure background covers line */
    }

    /* Contact Section - Mobile Reordering */
    .contact-grid {
        display: flex;
        /* Use flex for easier ordering with contents */
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        display: contents;
        /* Unwrap container to expose children to flex layout */
    }

    .section-header.text-left {
        order: 1;
        text-align: center;
        margin-bottom: 24px;
    }

    .contact-wrapper {
        order: 2;
        margin-bottom: 24px;
        max-width: none;
        /* Use full width on mobile */
        width: 100%;
        padding: 24px;
        /* Reduce padding on mobile */
    }

    .personal-profile {
        order: 3;
        max-width: 500px;
        margin: 0 auto;
        padding: 24px;
        width: 100%;
    }

    .form-header-mobile {
        display: block;
        text-align: center;
    }
}