/*
    VideoJetMart - Premium Dark Theme CSS
    Author: Gemini AI
    Version: 1.0
*/

/* --- 1. VARIABLES & GLOBAL STYLES --- */
:root {
    --bg-color: #0b0b0b;
    --text-color: #f5f5f5;
    --text-muted: #888;
    --accent-color: #00c853;
    --accent-glow: rgba(0, 200, 83, 0.4);
    --card-bg: rgba(26, 26, 26, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Poppins', -apple-system, sans-serif;
    --border-radius: 16px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- 2. HEADER & NAVIGATION --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item a:hover, .nav-item a.active {
    color: var(--text-color);
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-item a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Mobile Menu Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-item a {
        font-size: 1.2rem;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* --- 3. HERO & SECTIONS --- */
.hero-section {
    text-align: center;
    padding: 6rem 1rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
}

.hero-subheading {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

.featured-bundles, .page-padding {
    padding: 5rem 0;
}

.section-title, .page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* --- 4. CTA BUTTON --- */
.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow);
}

.cta-button.large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* --- 5. PRODUCT CARD (Glassmorphism) --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    min-height: 45px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 1rem 0;
}

.buy-button {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.buy-button:hover {
    background-color: #00e676;
}

/* --- 6. TRUST SECTION --- */
.trust-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
}

/* --- 7. PRODUCT DETAIL PAGE --- */
.product-detail-layout {
    display: grid;
    gap: 3rem;
}

.product-detail-image {
    width: 100%;
    border-radius: var(--border-radius);
}

.product-detail-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

.product-detail-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

.product-detail-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.details-group {
    margin-top: 2rem;
}

.details-group h3 {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.details-group ul {
    list-style: none;
}

.details-group li {
    margin-bottom: 0.5rem;
}

.details-group .icon {
    color: var(--accent-color);
    margin-right: 0.75rem;
}

/* --- 8. FOOTER --- */
.main-footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

.footer-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 1.5rem;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- 9. STATUS & ANIMATION --- */
.status-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 1rem;
}

.status-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.status-icon.success {
    background: var(--accent-color);
    color: #000;
}

.status-icon.failure {
    background: #ff4d4d;
    color: #fff;
}

.status-page h1 {
    margin-bottom: 1rem;
}

.status-page p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 10. RESPONSIVE DESIGN (Mobile-First) --- */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* --- 11. SUCCESS PAGE ENHANCEMENTS --- */

.status-card .button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
}

.status-card .cta-button {
    width: 100%;
    text-align: center;
}

/* Secondary button style for WhatsApp */
.cta-button.secondary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    box-shadow: none; /* No glow for secondary button */
}

.cta-button.secondary:hover {
    background: rgba(0, 200, 83, 0.1);
    transform: scale(1.05); /* Keep the scale effect */
    box-shadow: none;
}

.status-card .small-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* Make buttons side-by-side on larger screens */
@media (min-width: 500px) {
    .status-card .button-group {
        flex-direction: row;
    }
}

/* --- 11. ENHANCED PRODUCT PAGE SECTIONS --- */

/* Video Preview Section */
.video-preview-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.video-grid {
    display: grid;
    /* On mobile, 1 column. On desktop, 3 columns. */
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden; /* This is important to contain the video corners */
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 9 / 16; /* Ensures all videos have a consistent shape */
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the container without distortion */
}

/* Trust Enhancer Section */
.trust-enhancer-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

/* Guarantee Badge Styling */
.guarantee-badge {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.guarantee-icon {
    font-size: 3rem;
    line-height: 1;
}

.guarantee-title {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.guarantee-text {
    color: var(--text-muted);
}

/* Testimonials Styling */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
}

/* --- 12. ADDITIONAL TRUST AND POLICY INFO SECTION --- */

.additional-trust-info {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2rem;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem; /* Space above this section */
}

@media (min-width: 768px) {
    .additional-trust-info {
        grid-template-columns: repeat(3, 1fr); /* Three columns on larger screens */
    }
}

.info-block {
    display: flex;
    flex-direction: column; /* Stack icon and text vertically on mobile */
    align-items: center;
    gap: 1rem;
    padding: 1.5rem; /* Padding inside each block */
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.info-block .info-icon {
    font-size: 2.5rem; /* Size of the emoji icon */
    line-height: 1;
}

.info-block h3 {
    font-size: 1.2rem;
    color: var(--text-color);
}

.info-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- 13. UPGRADED CONTACT PAGE --- */

.contact-page-container {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 4rem;
}

.contact-subheading {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-options-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

.contact-option-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px var(--accent-glow);
}

.contact-option-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.contact-option-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-option-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.response-time-notice {
    margin-top: 1.5rem;
    color: var(--text-muted);
}

/* --- 14. STATIC PAGE CONTENT FIX --- */

/* This ensures that all text within the main content containers
   on pages like FAQ, Policy, and Contact defaults to the correct color. */
.document-page,
.faq-page-container,
.contact-page-container {
    color: var(--text-color); /* Uses the main light text color */
}

/* This specifically targets paragraphs within those containers */
.document-page p,
.faq-page-container p,
.contact-page-container p {
    color: var(--text-muted); /* Uses the slightly dimmer gray for readability */
}

/* This ensures headings are always bright */
.document-page h1, .document-page h2, .document-page h3,
.faq-page-container h1,
.contact-page-container h1 {
    color: var(--text-color);
}

/* --- 15. FAQ ACCORDION STYLING --- */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Remove default arrow in Webkit browsers */
}

.faq-item summary::before {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::before {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Style links inside FAQ answers */
.faq-answer .inline-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.faq-answer .inline-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* --- 16. POLICY PAGE STYLING --- */

.document-page {
    max-width: 900px;
    margin: 0 auto;
}

.document-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.document-page h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.document-page p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.document-page ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.document-page li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.document-last-updated {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}