/* style/tintc.css */

/* Base styles for the page content */
.page-tintc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

/* Hero Section */
.page-tintc__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 20px;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px;
}

.page-tintc__hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-tintc__main-title {
    font-size: 2.8em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFF00;
    max-width: 100%;
}

.page-tintc__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-tintc__btn-primary:hover {
    background-color: #9e0606;
    border-color: #9e0606;
}

.page-tintc__btn-secondary {
    background-color: transparent;
    color: #C30808;
    border: 2px solid #C30808;
}

.page-tintc__btn-secondary:hover {
    background-color: #C30808;
    color: #FFFF00;
}

/* Section Titles */
.page-tintc__section-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFF00;
    padding: 0 15px;
}

/* Latest News Section */
.page-tintc__latest-news-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-tintc__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-tintc__news-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-tintc__news-card:hover {
    transform: translateY(-5px);
}

.page-tintc__news-card-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.page-tintc__news-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tintc__news-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
    flex-grow: 1;
}

.page-tintc__news-card-title a {
    color: #FFFF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__news-card-title a:hover {
    color: #C30808;
}

.page-tintc__news-card-meta {
    font-size: 0.9em;
    color: #cccccc;
    margin-bottom: 15px;
}

.page-tintc__news-card-excerpt {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-tintc__read-more-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #017439;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-tintc__read-more-btn:hover {
    background-color: #005a2e;
}

.page-tintc__view-all-news {
    text-align: center;
}

/* Why Roobet Section */
.page-tintc__why-roobet-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-tintc__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-tintc__feature-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-tintc__feature-item:hover {
    transform: translateY(-5px);
}

.page-tintc__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__feature-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-tintc__feature-description {
    color: #f0f0f0;
    font-size: 1em;
}

.page-tintc__cta-bottom {
    text-align: center;
}

/* FAQ Section */
.page-tintc__faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-tintc__faq-list {
    margin-top: 30px;
}

.page-tintc__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-tintc__faq-item summary {
    list-style: none;
}

.page-tintc__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00;
    cursor: pointer;
    background: #017439;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-tintc__faq-question:hover {
    background: #005a2e;
}

.page-tintc__faq-qtext {
    flex-grow: 1;
}

.page-tintc__faq-toggle {
    font-size: 1.5em;
    margin-left: 10px;
    line-height: 1;
}

.page-tintc__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.05);
}

.page-tintc__faq-answer p {
    margin-bottom: 10px;
}

.page-tintc__faq-answer p:last-child {
    margin-bottom: 0;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-tintc__main-title {
        font-size: 2.4em;
    }

    .page-tintc__hero-description {
        font-size: 1em;
    }

    .page-tintc__section-title {
        font-size: 2em;
    }

    .page-tintc__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-tintc__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile (max-width: 768px) - MUST include all required sections */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-tintc__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }

    .page-tintc__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-tintc__hero-image {
        max-height: 300px;
    }

    .page-tintc__hero-content {
        padding: 0 15px;
    }

    .page-tintc__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 10px;
    }

    .page-tintc__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-tintc__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        flex-wrap: wrap !important;
    }

    .page-tintc__btn-primary,
    .page-tintc__btn-secondary,
    .page-tintc a[class*="button"],
    .page-tintc 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: 12px 15px !important;
        font-size: 1em !important;
    }
    
    .page-tintc__cta-bottom,
    .page-tintc__view-all-news {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-tintc__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-tintc__latest-news-section,
    .page-tintc__why-roobet-section,
    .page-tintc__faq-section {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* 产品展示图区域 (News Grid acts as blog/article display) */
    .page-tintc__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__news-card-image {
        height: 180px;
    }

    .page-tintc__news-card-title {
        font-size: 1.2em;
    }

    /* 其他内容模块 */
    .page-tintc__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-tintc__faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }
}