/* --- DEMO PAGE SPECIFIC STYLES --- */

/* Dark Hero Section */
.demo-hero {
    background-color: var(--black);
    color: var(--white);
    padding: 140px 0 80px; 
    position: relative;
    overflow: hidden;
}

.demo-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 194, 15, 0.15), transparent 60%);
    z-index: 0;
}

.demo-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.demo-text {
    flex: 1;
    min-width: 300px;
}

.demo-form-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

/* Typography Enhancements */
.highlight-badge {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.demo-subtitle {
    font-size: 1.2rem;
    color: var(--silver);
    margin-bottom: 30px;
}

.demo-subtitle strong {
    color: var(--white);
}

/* Feature Check List */
.feature-check-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-check-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start; /* Changed to flex-start for better multi-line handling */
}

.feature-check-list i {
    color: var(--yellow);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px; /* Aligns icon with text top */
}

/* FIX: Wraps text to prevent spacing issues */
.feature-check-list span {
    flex: 1;
}

.small-note {
    font-size: 0.9rem;
    color: #888; 
    font-style: italic;
}

/* Form Container Styling */
.form-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 194, 15, 0.15); 
    text-align: center;
}

.form-box h3 {
    color: var(--black);
    margin-bottom: 20px;
}

/* Comparison Section */
.comparison-section {
    background-color: var(--white);
    padding: 80px 0;
}

.comparison-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* FIX: Force centering of the yellow underline for this specific section */
.comparison-intro h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.comparison-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.compare-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s ease;
}

.compare-card:hover {
    transform: translateY(-5px);
}

.compare-card.demo-card {
    background-color: var(--light-gray);
}

/* FIX: Readability for Free Demo Price - Darker Text */
.demo-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--black); /* Changed from yellow to black for contrast */
    font-size: 1.4rem;
    display: block;
    margin-top: 10px;
}

.compare-card.full-card {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 20px;
}

.full-card .card-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.compare-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

/* PRICING STYLES */
.pricing-block {
    margin-top: 15px;
}

.sale-text {
    display: block;
    color: var(--red); /* Or var(--yellow) if you prefer */
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--silver);
    font-size: 1.2rem;
    opacity: 0.7;
}

.new-price {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.license-type {
    display: block;
    color: var(--silver);
    font-size: 0.9rem;
    margin-top: 5px;
}

.compare-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.compare-card li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.compare-card li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #999; /* Darker grey for better visibility on light card */
}

.full-card li i {
    color: var(--yellow);
}

.full-card .highlight-item {
    color: var(--yellow);
    font-weight: 700;
}

.full-width-btn {
    width: 100%;
    display: block;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--yellow);
    color: var(--black);
    padding: 5px 20px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .demo-hero {
        text-align: center;
        padding: 120px 0 60px;
    }

    .demo-layout {
        flex-direction: column;
    }
    
    .feature-check-list {
        display: inline-block;
        text-align: left;
    }

    .form-box {
        padding: 25px;
    }
}