/* ================================
   WizerFlow - Demo / Dark Theme Sections
   ================================ */

/* Section Base */
.demo-section {
    width: 100%;
    min-height: 100vh;
    padding: var(--section-padding) 0;
    display: flex;
    align-items: center;
    position: relative;
}

.demo-section.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-section.dark {
    background-color: rgba(14, 14, 14, 0.75);
}

/* Content Centering */
.content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.content p {
    font-size: 1.125rem;
    color: #d0d0d0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Calendar Bubble */
.calendar-bubble {
    position: relative;
    z-index: 10;
    display: inline-flex;
    padding: 0.6rem;
    background: var(--gradient-primary);
    border-radius: 9999px;
    transform: rotate(3deg);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1.5rem;
}

.calendar-bubble svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

@media (min-width: 768px) {
    .calendar-bubble {
        padding: 0.75rem;
    }
    .calendar-bubble svg {
        width: 2rem;
        height: 2rem;
    }
}

/* Subtitle */
.subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.guarantee-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
    letter-spacing: 0.01em;
}

/* Center Block */
.center-block {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.center-block h2 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Email Comparison Section */
.email-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.email-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--surface-bg);
}

.email-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.email-card.featured {
    border-color: rgba(74, 158, 255, 0.2);
    box-shadow: 0 0 40px rgba(74, 158, 255, 0.06);
}

.email-card.featured:hover {
    box-shadow: 0 12px 50px rgba(74, 158, 255, 0.15);
}

.email-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.email-header.generic {
    background: rgba(255, 255, 255, 0.03);
}

.email-header.featured {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.08), rgba(108, 99, 255, 0.08));
}

.email-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.email-header p {
    font-size: 0.8rem;
    margin: 0;
}

.email-content {
    padding: 1.5rem;
}

.email-content .text-grey {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #c0c0c0;
}

.email-content .text-grey p {
    margin-bottom: 0.8rem;
}

.email-content .text-grey p:last-child {
    margin-bottom: 0;
}

.email-features {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    gap: 10px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-success {
    color: var(--teal);
}

.icon-error {
    color: #ef4444;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 20px;
}

.value-card {
    background: var(--surface-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: 32px 28px;
    transition: all 0.4s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-4px);
    background: var(--surface-bg-hover);
    border-color: var(--border-medium);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.value-content {
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.value-content h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.value-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.value-content img {
    display: block;
    margin-bottom: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.value-card:hover .value-content img {
    opacity: 1;
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(42, 188, 155, 0.1);
    border: 1px solid rgba(42, 188, 155, 0.2);
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.guarantee-badge svg {
    width: 16px;
    height: 16px;
}

/* Section Backgrounds */
.section.dark {
    background-color: var(--dark-bg);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Trust logos row */
.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 8px;
}

.logo-row img {
    max-width: 110px;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
    filter: brightness(0) invert(1);
}

.logo-row img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .logo-row { gap: 28px; }
    .logo-row img { max-width: 90px; }
}

@media (max-width: 767px) {
    .logo-row { gap: 16px; }
    .logo-row img { max-width: 70px; }
}

/* Client Review Section */
.client-review-section {
    padding: 60px 0 40px;
    background: var(--dark-bg);
    text-align: center;
}

.client-review-card {
    max-width: 440px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 224, 102, 0.08), rgba(255, 224, 102, 0.03));
    border-radius: 16px 32px 16px 32px;
    padding: 32px 28px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 60px rgba(255, 224, 102, 0.04);
    border: 1px solid rgba(255, 224, 102, 0.15);
    position: relative;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 80px rgba(255, 224, 102, 0.06);
}

.client-review-text {
    font-size: 1.05rem;
    color: rgba(255, 224, 102, 0.85);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.7;
    font-style: italic;
}

.client-review-author {
    font-size: 0.95rem;
    color: rgba(255, 224, 102, 0.7);
    font-weight: 700;
}

.client-company {
    margin-left: 6px;
    font-weight: 500;
    color: rgba(255, 224, 102, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.06), transparent 70%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content h1 {
        font-size: 2.8rem;
    }

    .content h2 {
        font-size: 2rem;
    }

    .center-block h2 {
        font-size: 2rem;
    }

    .email-comparison {
        grid-template-columns: 1fr;
    }

    .demo-section {
        padding: calc(var(--section-padding) * 0.7) 0;
        min-height: auto;
    }

    .demo-section.hero {
        min-height: 80vh;
    }

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2.2rem;
    }

    .content h2 {
        font-size: 1.75rem;
    }

    .btn-group {
        flex-direction: column;
    }
}
