/* style/nh.css */

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

.page-nh {
    background-color: var(--page-nh-background);
    color: var(--page-nh-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
.page-nh h1, .page-nh h2, .page-nh h3 {
    color: var(--page-nh-text-main);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-nh__main-title {
    /* No fixed large font-size for h1 */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--page-nh-gold); /* Using gold for main title to stand out */
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-nh__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size for H2 */
    text-align: center;
    margin-bottom: 30px;
    color: var(--page-nh-text-main);
    text-shadow: 0 0 5px rgba(34, 199, 104, 0.3);
}

.page-nh__card-title {
    font-size: 1.5rem;
    color: var(--page-nh-text-main);
    margin-bottom: 15px;
}

.page-nh__description, .page-nh__text-block, .page-nh__card-description, .page-nh p, .page-nh li {
    color: var(--page-nh-text-secondary);
}

.page-nh__highlight-text {
    color: var(--page-nh-gold);
    font-weight: bold;
}

/* Layout */
.page-nh__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-nh__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-nh__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for hero image */
    margin-bottom: 30px; /* Space between image and text content */
}

.page-nh__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-nh__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-nh__cta-buttons--center {
    margin-top: 40px;
}

/* Buttons */
.page-nh__btn-primary,
.page-nh__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    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-nh__btn-primary {
    background: var(--page-nh-button-gradient);
    color: #ffffff;
    border: 2px solid var(--page-nh-deep-green);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-nh__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-nh__btn-secondary {
    background-color: transparent;
    color: var(--page-nh-primary);
    border: 2px solid var(--page-nh-primary);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-nh__btn-secondary:hover {
    background-color: var(--page-nh-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.4);
    transform: translateY(-2px);
}

/* Sections */
.page-nh__intro-section,
.page-nh__how-to-section,
.page-nh__faq-section {
    padding: 60px 0;
}

.page-nh__features-section,
.page-nh__promotions-section,
.page-nh__cta-bottom-section {
    padding: 60px 0;
}

.page-nh__dark-section {
    background-color: var(--page-nh-card-bg); /* Use card background for dark sections */
    color: var(--page-nh-text-main);
}

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

.page-nh__feature-card {
    background-color: var(--page-nh-card-bg);
    border: 1px solid var(--page-nh-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-nh__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-nh__feature-icon {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Step Grid */
.page-nh__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-nh__step-card {
    background-color: var(--page-nh-background); /* Lighter background for steps within dark section */
    border: 1px solid var(--page-nh-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__step-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Promotion List */
.page-nh__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-nh__promo-item {
    background-color: var(--page-nh-card-bg);
    border: 1px solid var(--page-nh-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ */
.page-nh__faq-list {
    margin-top: 40px;
    border-top: 1px solid var(--page-nh-divider);
}

.page-nh__faq-item {
    background-color: var(--page-nh-background); /* Lighter background for FAQ items */
    border: 1px solid var(--page-nh-border);
    border-top: none;
    margin-bottom: 10px;
}

.page-nh__faq-item:first-child {
    border-top: 1px solid var(--page-nh-border);
    border-radius: 12px 12px 0 0;
}

.page-nh__faq-item:last-child {
    margin-bottom: 0;
    border-radius: 0 0 12px 12px;
}

.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-weight: bold;
    color: var(--page-nh-text-main);
    background-color: var(--page-nh-card-bg); /* Use card background for question */
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.page-nh__faq-question:hover {
    background-color: rgba(34, 199, 104, 0.1); /* Lighter hover for question */
}

.page-nh__faq-question::-webkit-details-marker {
    display: none;
}

.page-nh__faq-question::marker {
    display: none;
}

.page-nh__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--page-nh-secondary);
}

.page-nh__faq-item[open] .page-nh__faq-question {
    border-bottom: 1px solid var(--page-nh-divider);
    border-radius: 12px 12px 0 0;
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
    content: '−';
}

.page-nh__faq-answer {
    padding: 20px 30px;
    color: var(--page-nh-text-secondary);
    background-color: var(--page-nh-background); /* Lighter background for answer */
    border-radius: 0 0 12px 12px;
}

.page-nh__faq-answer p {
    margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-nh__hero-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-nh__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-nh__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

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

    .page-nh__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-nh__btn-primary,
    .page-nh__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-nh__feature-grid,
    .page-nh__step-grid,
    .page-nh__promo-list {
        grid-template-columns: 1fr;
    }

    .page-nh__hero-section,
    .page-nh__intro-section,
    .page-nh__features-section,
    .page-nh__how-to-section,
    .page-nh__promotions-section,
    .page-nh__faq-section,
    .page-nh__cta-bottom-section {
        padding: 40px 0;
    }

    .page-nh__container {
        padding: 0 15px;
    }

    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-nh__section,
    .page-nh__card,
    .page-nh__container,
    .page-nh__hero-image,
    .page-nh__feature-icon,
    .page-nh__step-image,
    .page-nh__cta-buttons,
    .page-nh__button-group,
    .page-nh__btn-container,
    .page-nh__video-section,
    .page-nh__video-container,
    .page-nh__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-nh__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-nh__faq-question, .page-nh__faq-answer {
        padding: 15px 20px;
    }
}