/* General styling */
.page-index-security-guarantee {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

/* Section styling */
.page-index-security-guarantee__section {
    padding: 60px 0;
    position: relative;
}

.page-index-security-guarantee__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index-security-guarantee__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure image doesn't overflow */
    background-color: #08160F;
}

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

.page-index-security-guarantee__hero-content {
    position: relative; /* Ensure content is above image */
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content up over the image */
    background-color: rgba(17, 39, 27, 0.9); /* Card B G with transparency */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid #2E7A4E; /* Border */
}

.page-index-security-guarantee__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index-security-guarantee__hero-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Titles */
.page-index-security-guarantee__section-title {
    font-size: 2.5em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-security-guarantee__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #13994A, #2AD16F); /* Button gradient for highlight */
    border-radius: 2px;
}

/* Text blocks */
.page-index-security-guarantee__text-block {
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* Feature Grid / Cards */
.page-index-security-guarantee__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-security-guarantee__card {
    background-color: #11271B; /* Card B G */
    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;
    border: 1px solid #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
}

.page-index-security-guarantee__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px #57E38D; /* Glow */
}

.page-index-security-guarantee__card-image {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-width: 150px;
    margin: 0 auto 25px auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index-security-guarantee__card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-index-security-guarantee__card-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-index-security-guarantee__card-text a {
    color: #57E38D; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-security-guarantee__card-text a:hover {
    text-decoration: underline;
    color: #2AD16F; /* Lighter green */
}

/* CTA Buttons */
.page-index-security-guarantee__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index-security-guarantee__cta-buttons--center {
    margin-top: 50px;
}

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box; /* Crucial for max-width 100% */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    max-width: 100%;
}

.page-index-security-guarantee__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-index-security-guarantee__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-index-security-guarantee__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #57E38D; /* Glow */
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-index-security-guarantee__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(87, 227, 141, 0.1);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

/* Darker sections */
.page-index-security-guarantee__dark-section {
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
}

/* Transparent card for dark section */
.page-index-security-guarantee__card--transparent {
    background-color: rgba(17, 39, 27, 0.6); /* Card B G with more transparency */
    border-color: rgba(46, 122, 78, 0.6); /* Border with transparency */
}

.page-index-security-guarantee__card--transparent:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px #57E38D; /* Glow */
}


/* FAQ Section */
.page-index-security-guarantee__faq-section {
    background-color: #08160F; /* Background */
}

.page-index-security-guarantee__faq-list {
    margin-top: 40px;
}

.page-index-security-guarantee__faq-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-index-security-guarantee__faq-item[open] {
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.3); /* Glow */
    border-color: #57E38D; /* Glow */
}

.page-index-security-guarantee__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    position: relative;
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-index-security-guarantee__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-index-security-guarantee__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-index-security-guarantee__faq-toggle {
    font-size: 1.8em;
    font-weight: 300;
    line-height: 1;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

.page-index-security-guarantee__faq-item[open] .page-index-security-guarantee__faq-toggle {
    transform: rotate(45deg);
}

.page-index-security-guarantee__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.0em;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
    margin-top: 10px;
}

.page-index-security-guarantee__faq-answer p {
    margin-top: 10px;
}

.page-index-security-guarantee__faq-answer a {
    color: #57E38D; /* Glow */
    text-decoration: none;
}

.page-index-security-guarantee__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-index-security-guarantee__hero-section {
        padding: 10px 0 40px 0; /* Adjust padding for mobile */
    }

    .page-index-security-guarantee__hero-content {
        margin-top: -80px; /* Adjust overlap for mobile */
        padding: 25px 15px;
        max-width: calc(100% - 30px) !important; /* Ensure content fits within padding */
    }

    .page-index-security-guarantee__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 size for mobile */
    }

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

    .page-index-security-guarantee__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-index-security-guarantee__text-block {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-index-security-guarantee__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-security-guarantee__card {
        padding: 20px;
        max-width: 100% !important; /* Mobile override */
        width: 100% !important; /* Mobile override */
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-security-guarantee__card-image {
        max-width: 120px;
        margin-bottom: 20px;
    }

    .page-index-security-guarantee__card-title {
        font-size: 1.3em;
    }

    .page-index-security-guarantee__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-index-security-guarantee__btn-primary,
    .page-index-security-guarantee__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

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

    /* Mobile image responsiveness */
    .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__container,
    .page-index-security-guarantee__feature-grid,
    .page-index-security-guarantee__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-security-guarantee__hero-image {
        max-height: 400px;
    }
    
    .page-index-security-guarantee__faq-section {
        padding-top: 10px !important;
    }
}

/* Color Contrast Enforcement (based on body background - assumed dark for this design) */
.page-index-security-guarantee {
  color: #F2FFF6; /* Main text color for dark background */
}

/* Specific elements on dark background */
.page-index-security-guarantee__section-title,
.page-index-security-guarantee__card-title {
  color: #F2FFF6; /* Ensure titles are bright */
}

.page-index-security-guarantee__hero-description,
.page-index-security-guarantee__text-block,
.page-index-security-guarantee__card-text,
.page-index-security-guarantee__faq-answer p {
  color: #A7D9B8; /* Secondary text color for readability */
}

/* Links within content */
.page-index-security-guarantee a {
  color: #57E38D; /* Glow color for links */
}

.page-index-security-guarantee a:hover {
  color: #2AD16F; /* Lighter green on hover */
}

/* Buttons already defined with specific colors */
.page-index-security-guarantee__btn-primary {
  color: #F2FFF6;
}

.page-index-security-guarantee__btn-secondary {
  color: #57E38D;
}