/* style/index-security-guarantee.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-index-security-guarantee {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-index-security-guarantee__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    background-color: var(--background-color);
}

.page-index-security-guarantee__hero-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.page-index-security-guarantee__hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin-top: -150px; /* Adjust to slightly overlap the image for visual flow, but not text on image */
    padding: 20px;
    background: linear-gradient(to bottom, transparent, var(--background-color) 80%);
    width: 100%;
    box-sizing: border-box;
}

.page-index-security-guarantee__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: bold;
    color: var(--text-main-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-index-security-guarantee__hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

.page-index-security-guarantee__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid var(--primary-color);
}

.page-index-security-guarantee__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color), 0.4);
}

.page-index-security-guarantee__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index-security-guarantee__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color), 0.4);
}

.page-index-security-guarantee__section {
    padding: 80px 20px;
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-index-security-guarantee__dark-section {
    background-color: var(--card-bg);
}

.page-index-security-guarantee__dark-bg {
    background-color: var(--background-color);
}

.page-index-security-guarantee__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-index-security-guarantee__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-security-guarantee__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-index-security-guarantee__features-grid,
.page-index-security-guarantee__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-security-guarantee__feature-card,
.page-index-security-guarantee__content-block,
.page-index-security-guarantee__method-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-security-guarantee__feature-card:hover,
.page-index-security-guarantee__content-block:hover,
.page-index-security-guarantee__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.page-index-security-guarantee__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Ensure min size for all images */
    min-height: 200px;
}

.page-index-security-guarantee__feature-title,
.page-index-security-guarantee__content-subtitle,
.page-index-security-guarantee__method-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-security-guarantee__feature-text {
    font-size: 1rem;
    color: var(--text-secondary-color);
}

.page-index-security-guarantee__content-block p {
    color: var(--text-secondary-color);
    font-size: 1rem;
}

.page-index-security-guarantee__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-security-guarantee__method-card .page-index-security-guarantee__btn-primary {
    margin-top: 20px;
    display: inline-block;
    width: auto;
}

.page-index-security-guarantee__faq-section {
    padding: 80px 20px;
}

.page-index-security-guarantee__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-index-security-guarantee__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-index-security-guarantee__faq-item[open] {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.page-index-security-guarantee__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For details/summary */
}

.page-index-security-guarantee__faq-question::-webkit-details-marker {
    display: none;
}

.page-index-security-guarantee__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-index-security-guarantee__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-index-security-guarantee__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

.page-index-security-guarantee__cta-section {
    background-color: var(--deep-green-color);
    padding: 60px 20px;
    text-align: center;
}

.page-index-security-guarantee__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold-color);
    margin-bottom: 20px;
}

.page-index-security-guarantee__cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-index-security-guarantee__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-security-guarantee__hero-content {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .page-index-security-guarantee {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-security-guarantee__hero-section {
        padding-bottom: 40px;
    }

    .page-index-security-guarantee__hero-image {
        max-height: 400px;
    }

    .page-index-security-guarantee__hero-content {
        margin-top: -80px;
        padding: 15px;
    }

    .page-index-security-guarantee__hero-title {
        font-size: 2rem;
    }

    .page-index-security-guarantee__hero-description {
        font-size: 1rem;
    }

    .page-index-security-guarantee__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-security-guarantee__btn-primary,
    .page-index-security-guarantee__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-index-security-guarantee__section,
    .page-index-security-guarantee__faq-section,
    .page-index-security-guarantee__cta-section {
        padding: 40px 15px;
    }

    .page-index-security-guarantee__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-index-security-guarantee__section-title {
        font-size: 1.8rem;
    }

    .page-index-security-guarantee__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-index-security-guarantee__features-grid,
    .page-index-security-guarantee__content-grid,
    .page-index-security-guarantee__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-security-guarantee__feature-card,
    .page-index-security-guarantee__content-block,
    .page-index-security-guarantee__method-card {
        padding: 25px;
    }

    .page-index-security-guarantee__feature-title,
    .page-index-security-guarantee__content-subtitle,
    .page-index-security-guarantee__method-title {
        font-size: 1.3rem;
    }

    .page-index-security-guarantee__feature-icon {
        width: 60px;
        height: 60px;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-index-security-guarantee__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .page-index-security-guarantee__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .page-index-security-guarantee__cta-title {
        font-size: 2rem;
    }

    .page-index-security-guarantee__cta-description {
        font-size: 1rem;
    }

    /* Mobile image responsive */
    .page-index-security-guarantee img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-security-guarantee__section,
    .page-index-security-guarantee__card,
    .page-index-security-guarantee__container,
    .page-index-security-guarantee__hero-section,
    .page-index-security-guarantee__cta-section,
    .page-index-security-guarantee__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}