/* style/resources-chat-sunwin-features.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --button-login-bg: #EA7C07;
    --background-color: #121212; /* Body background from shared.css */
}

.page-resources-chat-sunwin-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for dark body background */
    background-color: var(--background-color);
    padding-top: var(--header-offset, 120px);
}

.page-resources-chat-sunwin-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-chat-sunwin-features__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-chat-sunwin-features__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-resources-chat-sunwin-features__btn-primary,
.page-resources-chat-sunwin-features__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-chat-sunwin-features__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-chat-sunwin-features__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-chat-sunwin-features__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-chat-sunwin-features__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-chat-sunwin-features__btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-chat-sunwin-features__btn-text:hover {
    color: darken(var(--primary-color), 10%);
}

/* Hero Section */
.page-resources-chat-sunwin-features__hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 0; /* Handled by main container */
}

.page-resources-chat-sunwin-features__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-chat-sunwin-features__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-resources-chat-sunwin-features__hero-content {
    position: relative;
    z-index: 3;
    color: var(--secondary-color);
    max-width: 800px;
    padding: 20px;
}

.page-resources-chat-sunwin-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-chat-sunwin-features__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-resources-chat-sunwin-features__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Intro Section */
.page-resources-chat-sunwin-features__intro-section {
    padding: 80px 0;
    background-color: var(--background-color);
    color: var(--text-on-dark);
}

.page-resources-chat-sunwin-features__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.page-resources-chat-sunwin-features__text-block {
    flex: 1;
    text-align: justify;
}

.page-resources-chat-sunwin-features__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources-chat-sunwin-features__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Features Section */
.page-resources-chat-sunwin-features__features-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-resources-chat-sunwin-features__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-chat-sunwin-features__feature-item.page-resources-chat-sunwin-features__card {
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
}

.page-resources-chat-sunwin-features__feature-item.page-resources-chat-sunwin-features__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-resources-chat-sunwin-features__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-resources-chat-sunwin-features__feature-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources-chat-sunwin-features__feature-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-chat-sunwin-features__feature-content p {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Advantages Section */
.page-resources-chat-sunwin-features__advantages-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-chat-sunwin-features__advantage-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-resources-chat-sunwin-features__advantage-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-resources-chat-sunwin-features__advantage-item::before {
    content: '✅';
    font-size: 1.2em;
    line-height: 1;
}

/* Getting Started Section */
.page-resources-chat-sunwin-features__getting-started-section {
    padding: 80px 0;
    background-color: var(--background-color);
    color: var(--text-on-dark);
}

.page-resources-chat-sunwin-features__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-chat-sunwin-features__step-item.page-resources-chat-sunwin-features__card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-chat-sunwin-features__step-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-chat-sunwin-features__step-item p {
    font-size: 1.05em;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Promotions Section */
.page-resources-chat-sunwin-features__promotions-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--text-on-dark);
}

.page-resources-chat-sunwin-features__promotions-section .page-resources-chat-sunwin-features__content-wrapper {
    flex-direction: row;
    align-items: flex-start;
}

.page-resources-chat-sunwin-features__promotions-section .page-resources-chat-sunwin-features__content-image {
    order: 2;
    flex: 0 0 45%;
    max-width: 45%;
    margin-left: 40px;
}

.page-resources-chat-sunwin-features__promotions-section .page-resources-chat-sunwin-features__text-block {
    order: 1;
    flex: 1;
}

.page-resources-chat-sunwin-features__promotions-section .page-resources-chat-sunwin-features__text-block .page-resources-chat-sunwin-features__btn-primary {
    margin-top: 20px;
}

/* Video Section */
.page-resources-chat-sunwin-features__video-section {
    padding: 80px 0;
    background-color: var(--background-color);
    color: var(--text-on-dark);
    text-align: center;
}

.page-resources-chat-sunwin-features__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.page-resources-chat-sunwin-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* FAQ Section */
.page-resources-chat-sunwin-features__faq-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-chat-sunwin-features__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-chat-sunwin-features__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-chat-sunwin-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-resources-chat-sunwin-features__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.page-resources-chat-sunwin-features__faq-title {
    margin: 0;
    color: var(--secondary-color);
}

.page-resources-chat-sunwin-features__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-chat-sunwin-features__faq-item.active .page-resources-chat-sunwin-features__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-chat-sunwin-features__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.1);
}

.page-resources-chat-sunwin-features__faq-item.active .page-resources-chat-sunwin-features__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-resources-chat-sunwin-features__faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* Conclusion Section */
.page-resources-chat-sunwin-features__conclusion-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--text-on-dark);
    text-align: center;
}

.page-resources-chat-sunwin-features__conclusion-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-resources-chat-sunwin-features__conclusion-actions {
    margin-top: 30px;
}

/* General Image Styling */
.page-resources-chat-sunwin-features img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-chat-sunwin-features__hero-title {
        font-size: 3em;
    }

    .page-resources-chat-sunwin-features__section-title {
        font-size: 2em;
    }

    .page-resources-chat-sunwin-features__promotions-section .page-resources-chat-sunwin-features__content-wrapper {
        flex-direction: column;
    }
    .page-resources-chat-sunwin-features__promotions-section .page-resources-chat-sunwin-features__content-image {
        order: 1;
        flex: 1;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }
    .page-resources-chat-sunwin-features__promotions-section .page-resources-chat-sunwin-features__text-block {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-resources-chat-sunwin-features {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-chat-sunwin-features__hero-section {
        height: 450px;
    }
    .page-resources-chat-sunwin-features__hero-title {
        font-size: 2.2em;
    }
    .page-resources-chat-sunwin-features__hero-description {
        font-size: 1em;
    }
    .page-resources-chat-sunwin-features__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-chat-sunwin-features__btn-primary,
    .page-resources-chat-sunwin-features__btn-secondary {
        padding: 10px 20px;
        width: 100%; /* Ensure buttons stack */
    }

    .page-resources-chat-sunwin-features__section-title {
        font-size: 1.8em;
    }

    .page-resources-chat-sunwin-features__intro-section,
    .page-resources-chat-sunwin-features__features-section,
    .page-resources-chat-sunwin-features__advantages-section,
    .page-resources-chat-sunwin-features__getting-started-section,
    .page-resources-chat-sunwin-features__promotions-section,
    .page-resources-chat-sunwin-features__video-section,
    .page-resources-chat-sunwin-features__faq-section,
    .page-resources-chat-sunwin-features__conclusion-section {
        padding: 60px 0;
    }

    /* Mobile image and video responsiveness */
    .page-resources-chat-sunwin-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-resources-chat-sunwin-features__section,
    .page-resources-chat-sunwin-features__card,
    .page-resources-chat-sunwin-features__container,
    .page-resources-chat-sunwin-features__video-section,
    .page-resources-chat-sunwin-features__video-container,
    .page-resources-chat-sunwin-features__video-wrapper,
    .page-resources-chat-sunwin-features__cta-buttons,
    .page-resources-chat-sunwin-features__button-group,
    .page-resources-chat-sunwin-features__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-resources-chat-sunwin-features video,
    .page-resources-chat-sunwin-features__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-chat-sunwin-features__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct offset */
    }

    .page-resources-chat-sunwin-features__cta-button,
    .page-resources-chat-sunwin-features__btn-primary,
    .page-resources-chat-sunwin-features__btn-secondary,
    .page-resources-chat-sunwin-features a[class*="button"],
    .page-resources-chat-sunwin-features a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-resources-chat-sunwin-features__cta-buttons,
    .page-resources-chat-sunwin-features__button-group,
    .page-resources-chat-sunwin-features__btn-container {
      flex-wrap: wrap !important;
      gap: 10px;
    }

    .page-resources-chat-sunwin-features__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-chat-sunwin-features__faq-answer {
        padding: 0 20px;
    }
    .page-resources-chat-sunwin-features__faq-item.active .page-resources-chat-sunwin-features__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-chat-sunwin-features__hero-title {
        font-size: 1.8em;
    }
    .page-resources-chat-sunwin-features__hero-description {
        font-size: 0.9em;
    }
    .page-resources-chat-sunwin-features__hero-section {
        height: 400px;
    }
    .page-resources-chat-sunwin-features__section-title {
        font-size: 1.5em;
    }
    .page-resources-chat-sunwin-features__feature-title {
        font-size: 1.4em;
    }
    .page-resources-chat-sunwin-features__step-title {
        font-size: 1.6em;
    }
    .page-resources-chat-sunwin-features__feature-image {
        height: 200px;
    }
}