/* ==========================================================================
   Use Case Marketing Pages
   ========================================================================== */

/* Hero Section */
.uc-hero {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.80;
}

.uc-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 60px 20px;
    max-width: 720px;
    margin: 0 auto;
}

.uc-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
    color: #fff;
}

.uc-hero-content p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.95);
}

.uc-hero-content .uc-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.uc-hero-content .uc-btn:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

/* Section Wrappers */
.uc-section {
    padding: 64px 20px;
}

.uc-section-white {
    background: #fff;
}

.uc-section-grey {
    background: #f7f7f7;
}

/* Content Container */
.uc-content {
    max-width: 960px;
    margin: 0 auto;
}

.uc-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #333;
}

.uc-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
}

.uc-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Two-column Feature Rows */
.uc-row {
    display: flex;
    align-items: center;
    gap: 48px;
}

.uc-row-reverse {
    flex-direction: row-reverse;
}

.uc-half-left,
.uc-half-right {
    flex: 1;
    min-width: 0;
}

.uc-feature-image {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.uc-scene-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.uc-feature-text h2 {
    margin-bottom: 16px;
}

.uc-feature-text p {
    margin: 0;
}

/* Three-column Layout */
.uc-thirds {
    display: flex;
    gap: 32px;
}

.uc-third {
    flex: 1;
    text-align: center;
}

.uc-third h3 {
    margin-top: 12px;
}

.uc-third p {
    font-size: 15px;
}

/* Four-column Layout */
.uc-quarters {
    display: flex;
    gap: 24px;
}

.uc-quarter {
    flex: 1;
    text-align: center;
}

/* How It Works Steps */
.uc-steps {
    display: flex;
    gap: 24px;
    counter-reset: step-counter;
}

.uc-step {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.uc-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.uc-step h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.uc-step p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Value Props */
.uc-value-props {
    display: flex;
    gap: 32px;
}

.uc-value-prop {
    flex: 1;
    text-align: center;
    padding: 24px 16px;
}

.uc-value-prop-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.uc-value-prop h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.uc-value-prop p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* CTA Section */
.uc-cta-section {
    padding: 56px 20px;
    text-align: center;
    color: #fff;
}

.uc-cta-section h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
}

.uc-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin-bottom: 24px;
}

.uc-cta-section .uc-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.uc-cta-section .uc-btn:hover {
    opacity: 0.9;
    text-decoration: none;
}

.uc-cta-section .uc-see-all {
    display: block;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.uc-cta-section .uc-see-all:hover {
    color: #fff;
}

/* App Reviews */
.uc-reviews {
    display: flex;
    gap: 24px;
}

.uc-review {
    flex: 1;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px;
}

.uc-review-stars {
    color: #FF9500;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.uc-review-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #333;
}

.uc-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px;
}

.uc-review-author {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Devices Section */
.uc-devices {
    display: flex;
    gap: 32px;
    text-align: center;
}

.uc-device {
    flex: 1;
}

.uc-device img {
    max-width: 200px;
    height: auto;
    margin-bottom: 16px;
}

.uc-device h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.uc-device p {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.uc-device .uc-btn-sm {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.uc-device .uc-btn-sm:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

/* FAQ Accordion */
.uc-faq {
    max-width: 720px;
    margin: 0 auto;
}

.uc-faq h2 {
    text-align: center;
    margin-bottom: 32px;
}

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

.uc-faq-item:first-of-type {
    border-top: 1px solid #e0e0e0;
}

.uc-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    user-select: none;
}

.uc-faq-question h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.uc-faq-toggle {
    font-size: 20px;
    color: #999;
    margin-left: 16px;
    transition: transform 0.2s;
}

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

.uc-faq-answer {
    display: none;
    padding: 0 0 18px;
}

.uc-faq-item.active .uc-faq-answer {
    display: block;
}

.uc-faq-answer p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 8px;
}

.uc-faq-answer a {
    font-size: 14px;
    font-weight: 600;
}

/* Section Headers */
.uc-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.uc-section-header h2 {
    margin-bottom: 8px;
}

.uc-section-header p {
    font-size: 17px;
    color: #666;
}

/* Index Page */
.uc-index-group {
    margin-bottom: 48px;
}

.uc-index-group-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eee;
}

.uc-index-group-header img {
    height: 40px;
    width: auto;
}

.uc-index-group-header h2 {
    margin: 0;
    font-size: 24px;
}

.uc-index-group-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.uc-index-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.uc-index-card {
    flex: 1 1 280px;
    max-width: 450px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.1s;
}

.uc-index-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.uc-index-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.uc-index-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .uc-hero {
        min-height: 340px;
    }

    .uc-hero-content {
        padding: 40px 20px;
    }

    .uc-hero-content h1 {
        font-size: 28px;
    }

    .uc-hero-content p {
        font-size: 16px;
    }

    .uc-section {
        padding: 40px 20px;
    }

    .uc-row,
    .uc-row-reverse {
        flex-direction: column;
        gap: 24px;
    }

    .uc-thirds,
    .uc-value-props {
        flex-direction: column;
        gap: 24px;
    }

    .uc-steps {
        flex-direction: column;
        gap: 16px;
    }

    .uc-reviews {
        flex-direction: column;
        gap: 16px;
    }

    .uc-devices {
        flex-direction: column;
        gap: 32px;
    }

    .uc-quarters {
        flex-direction: column;
        gap: 16px;
    }

    .uc-content h2 {
        font-size: 24px;
    }

    .uc-index-cards {
        flex-direction: column;
    }

    .uc-index-card {
        flex-basis: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .uc-hero-content h1 {
        font-size: 24px;
    }

    .uc-hero-content p {
        font-size: 15px;
    }

    .uc-section {
        padding: 32px 16px;
    }

    .uc-content h2 {
        font-size: 22px;
    }
}
