/* Call to Action Section */
#call-to-action {
    padding: 80px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

#call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ff7b00" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.cta-content h2 {
    font-size: 3.2em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    backgrounz-index: 1;d-clip: text;
}

.cta-subtitle {
    font-size: 1.3em;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 300;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 123, 0, 0.05);
    border-radius: 12px;
    border-left: 4px solid #ff7b00;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 123, 0, 0.1);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.5em;
    color: #ff7b00;
    width: 24px;
    text-align: center;
}

.benefit-item span {
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff7b00 0%, #ff9933 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.3);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #ff9933 0%, #ffaa44 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 123, 0, 0.4);
}

.cta-button.secondary {
    background: white;
    color: #ff7b00;
    border: 2px solid #ff7b00;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.1);
}

.cta-button.secondary:hover {
    background: #ff7b00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.3);
}

.cta-trust-signals {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.95em;
}

.trust-item i {
    color: #28a745;
    font-size: 1.1em;
}

.cta-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mini-report-container {
    position: relative;
    max-width: 380px;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.mini-report-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mini-report-header {
    background: linear-gradient(135deg, #ff7b00 0%, #ff9933 100%);
    color: white;
    padding: 16px;
    text-align: center;
}

.report-title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 4px;
}

.report-subtitle {
    font-size: 0.85em;
    opacity: 0.9;
    font-weight: 400;
}

.mini-report-content {
    padding: 20px;
    min-height: 240px;
    position: relative;
}

.report-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.report-section.active {
    display: block;
}

.section-title {
    font-size: 1.0em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff7b00;
}

.key-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.metric {
    text-align: center;
    background: rgba(255, 123, 0, 0.05);
    padding: 12px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 123, 0, 0.1);
    transition: all 0.3s ease;
}

.metric:hover {
    background: rgba(255, 123, 0, 0.1);
    transform: translateY(-2px);
}

.metric-value {
    font-size: 1.3em;
    font-weight: 700;
    color: #ff7b00;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.8em;
    color: #6c757d;
    font-weight: 500;
}

.insight-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #ff7b00;
}

.insight-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.insight-text {
    color: #2c3e50;
    font-size: 0.9em;
    line-height: 1.4;
    font-weight: 500;
}

.performance-chart {
    margin-bottom: 16px;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 100px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    position: relative;
}

.bar {
    width: 50px;
    background: linear-gradient(135deg, #ff7b00 0%, #ff9933 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    color: white;
    font-size: 0.7em;
    font-weight: 600;
    padding: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bar:hover {
    background: linear-gradient(135deg, #ff9933 0%, #ffaa44 100%);
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    background: #2c3e50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bar:hover::after {
    opacity: 1;
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    font-size: 0.85em;
    color: #6c757d;
    font-weight: 500;
}

.performance-status {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #2c3e50;
}

.status-item i {
    color: #28a745;
    font-size: 1.1em;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 123, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ff7b00;
    transition: all 0.3s ease;
}

.insight-item:hover {
    background: rgba(255, 123, 0, 0.1);
    transform: translateX(5px);
}

.insight-marker {
    font-size: 1.1em;
    flex-shrink: 0;
}

.insight-detail {
    flex: 1;
}

.insight-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    font-size: 0.85em;
}

.insight-desc {
    color: #6c757d;
    font-size: 0.8em;
    line-height: 1.3;
}

.mini-report-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.nav-btn {
    padding: 6px 12px;
    border: none;
    background: white;
    color: #6c757d;
    border-radius: 16px;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.nav-btn:hover {
    background: #ff7b00;
    color: white;
    border-color: #ff7b00;
}

.nav-btn.active {
    background: #ff7b00;
    color: white;
    border-color: #ff7b00;
}

.report-footer {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
}

.generated-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 0.8em;
    font-weight: 500;
}

.generated-badge i {
    color: #ff7b00;
    font-size: 1.1em;
}

.floating-stats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.stat-bubble {
    position: absolute;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 123, 0, 0.2);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.stat-bubble.stat-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.stat-bubble.stat-2 {
    bottom: 20%;
    left: -15%;
    animation-delay: 1s;
}

.stat-bubble.stat-3 {
    top: 30%;
    right: -20%;
    animation-delay: 2s;
}

.stat-number {
    font-size: 1.8em;
    font-weight: 700;
    color: #ff7b00;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #6c757d;
    font-weight: 500;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #call-to-action {
        padding: 50px 0;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 2.5em;
    }
    
    .cta-subtitle {
        font-size: 1.2em;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Hide the Watch 2-Minute Demo button on mobile */
    .cta-button.secondary {
        display: none;
    }
    
    /* Ensure Get Started button is above the report */
    .cta-button.primary {
        position: relative;
        z-index: 10;
        border: 1px solid white;
    }
    
    /* Remove hover effect on mobile */
    .mini-report-container:hover {
        transform: translateX(40vw); /* Keep same position on hover */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Keep original shadow */
    }
    
    .cta-trust-signals {
        justify-content: center;
        gap: 20px;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .stat-bubble {
        position: static;
        display: inline-block;
        margin: 10px;
        animation: none;
    }
    
    .floating-stats {
        position: static;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    /* Hide mini-report on mobile */
    .cta-visual {
        display: none;
    }
    
    .mini-report-container {
        display: none;
    }
    
    .mini-report-header {
        padding: 12px;
    }
    
    .mini-report-content {
        padding: 16px;
        min-height: auto; /* Let content determine height */
        overflow: visible;
    }
    
    .key-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .metric {
        padding: 10px 6px;
    }
    
    .metric-value {
        font-size: 1.2em;
    }
    
    .chart-bars {
        height: 80px;
        padding: 8px;
    }
    
    .bar {
        width: 40px;
        font-size: 0.65em;
    }
    
    .performance-status {
        flex-direction: row;
        justify-content: space-around;
        gap: 10px;
    }
    
    .mini-report-nav {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 6px;
    }
    
    .nav-btn {
        font-size: 0.75em;
        padding: 5px 10px;
    }
    
    /* Ensure sections fit within fixed height on mobile */
    .insight-item {
        margin-bottom: 8px;
    }
    
    .insight-item:last-child {
        margin-bottom: 0;
    }
    
    .insight-title {
        font-size: 0.9em;
        margin-bottom: 2px;
    }
    
    .insight-desc {
        font-size: 0.8em;
        line-height: 1.3;
    }
    
    .insight-box {
        padding: 10px;
        margin-top: 12px;
    }
    
    .insight-text {
        font-size: 0.85em;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 2em;
    }
    
    .cta-subtitle {
        font-size: 1.1em;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cta-buttons {
        gap: 15px;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1em;
    }
    
    /* Hide the Watch 2-Minute Demo button on small mobile too */
    .cta-button.secondary {
        display: none;
    }
    
    /* Ensure Get Started button is above the report on small mobile */
    .cta-button.primary {
        position: relative;
        z-index: 10;
        border: 1px solid white;
    }
    
    /* Remove hover effect on small mobile */
    .mini-report-container:hover {
        transform: translateX(40vw); /* Keep same position on hover */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Keep original shadow */
    }
    
    /* Hide mini-report on small mobile too */
    .cta-visual {
        display: none;
    }
    
    .mini-report-container {
        display: none;
    }
    
    /* Extra small mobile adjustments for mini-report */
    .mini-report-content {
        min-height: auto; /* Let content determine height */
        padding: 12px;
        overflow: visible;
    }
    
    .section-title {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    
    .key-metrics {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .metric {
        padding: 8px 4px;
    }
    
    .chart-bars {
        height: 70px;
        margin-bottom: 6px;
    }
    
    .performance-status {
        gap: 6px;
    }
    
    .status-item {
        font-size: 0.8em;
    }
}
