:root {
    --bg-dark: #1a1a2e;
    --bg-light: #f0f0f0;
    --primary-accent: #00a8ff;
    --primary-accent-hover: #008fdb;
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-color: #3e3e5a;
    --card-bg: #282844;
    --font-family: 'Poppins', sans-serif;
}
/* Base styles ... */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-family); background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; font-size: 16px; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
/* ... (h1, h2, other base styles are the same) */
a { text-decoration: none; color: var(--primary-accent); transition: color 0.3s ease; }
a:hover { color: var(--primary-accent-hover); }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: 3rem; } h2 { font-size: 2.2rem; margin-bottom: 1rem; text-align: center; }


/* --- Call to Action Buttons --- */
.cta-button { padding: 12px 28px; border-radius: 8px; font-weight: 600; text-align: center; transition: all 0.3s ease; display: inline-block; cursor: pointer; font-family: var(--font-family); font-size: 1rem; }
.cta-button.primary { background-color: var(--primary-accent); color: var(--text-light); border: 2px solid var(--primary-accent); }
.cta-button.primary:hover { background-color: var(--primary-accent-hover); border-color: var(--primary-accent-hover); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 168, 255, 0.2); }
.cta-button.secondary { background-color: transparent; color: var(--text-light); border: 2px solid var(--border-color); }
.cta-button.secondary:hover { background-color: var(--border-color); color: var(--text-light); }
.cta-button:disabled { background-color: #3e3e5a; border-color: #3e3e5a; color: #9e9ec1; cursor: not-allowed; transform: none; box-shadow: none; }


/* --- Header --- */
.site-header { padding: 1rem 0; border-bottom: 1px solid var(--border-color); position: relative; z-index: 1001; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; z-index: 10; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
/* Hide the hamburger button on desktop */
.nav-toggle { display: none; }


/* --- Hero, How-it-works, Products, etc. --- */
/* ... (these sections remain identical) ... */
.hero { text-align: center; padding: 6rem 0; }
.hero h1 { font-weight: 700; margin-bottom: 1rem; }
.hero .subtitle { font-size: 1.2rem; color: #b0b0d0; max-width: 600px; margin: 0 auto 2rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.how-it-works { padding: 5rem 0; background-color: var(--card-bg); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.step { text-align: center; }
.step span { display: inline-block; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background-color: var(--primary-accent); color: var(--text-light); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; }
.product-section { padding: 5rem 0; }
.product-section > .container > p { text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; color: #b0b0d0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.product-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; padding: 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.3s ease; }
.product-card:hover { transform: translateY(-5px); border-color: var(--primary-accent); }
.product-icon { font-size: 3rem; margin-bottom: 1rem; } .product-name { margin-top: 0; } .product-description { font-size: 0.9rem; margin-bottom: 0; }
.product-specs { list-style: none; padding: 0; text-align: left; width: 100%; margin-top: 1rem; margin-bottom: 2rem; font-size: 0.85rem; flex-grow: 1; }
.product-specs li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.product-specs li:last-child { border-bottom: none; }
.product-specs .spec-label { font-weight: 600; color: #b0b0d0; } .product-specs .spec-value { color: var(--text-light); font-weight: 500; }
.product-download-button { width: 100%; }


/* --- AdSense, Footer, Modal, Utility classes are identical --- */
.ad-container { padding: 2rem 0; } .ad-label { text-align: center; font-size: 0.8rem; color: #888; }
.site-footer { padding: 2rem 0; background-color: #111122; border-top: 1px solid var(--border-color); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.modal-overlay:not(.hidden) { opacity: 1; pointer-events: auto; }
.modal-content { background: var(--card-bg); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border-color); width: 90%; max-width: 500px; position: relative; transform: scale(0.95); transition: transform 0.3s ease; text-align: center; }
.modal-overlay:not(.hidden) .modal-content { transform: scale(1); }
.modal-close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; } .modal-content h2 { margin-top: 0; }
.code-container { display: flex; align-items: stretch; justify-content: center; gap: 0.5rem; margin: 1rem 0 0.5rem; width: 100%; }
.generated-code-display { background: var(--bg-dark); padding: 1rem; font-size: 2rem; font-weight: 600; letter-spacing: 4px; border-radius: 8px; color: var(--primary-accent); flex-grow: 1; text-align: center; display: flex; align-items: center; justify-content: center; }
.copy-button { padding: 1rem; font-size: 1.5rem; background-color: var(--border-color); color: var(--text-light); border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; width: 100px; flex-shrink: 0; }
.copy-button:hover { background-color: #5a5a7a; } .copy-button span { margin-left: 0.5rem; font-size: 1rem; }
.code-expiry-notice { font-size: 0.9rem; color: #b0b0d0; margin-top: 1rem; } #modal-generate-code-btn { margin-top: 1.5rem; width: 100%; }
.hidden { display: none !important; }


/* ================================================================== */
/*             REVISED MOBILE RESPONSIVENESS (for < 768px)             */
/* ================================================================== */
@media (max-width: 768px) {
    /* --- Typography & Layout --- */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero { padding: 4rem 0; }
    
    /* --- NEW Hamburger Menu Logic --- */
    .nav-toggle {
        display: block; /* Show the button on mobile */
        background: transparent;
        border: 1px solid var(--border-color);
        color: var(--text-light);
        font-size: 1.5rem;
        padding: 0.5rem 0.8rem;
        border-radius: 8px;
        cursor: pointer;
        z-index: 1002;
    }
    
    .main-nav {
        /* Hide the nav by default, position it absolutely to overlay content */
        display: none; /* Hide it completely at first */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Position it right below the header */
        left: 0;
        background-color: var(--bg-dark); /* Solid background */
        padding: 1rem 0;
    }

    /* This class will be toggled by JavaScript */
    .main-nav.is-active {
        display: flex; /* Show the menu when active */
    }

    .main-nav a,
    .main-nav .cta-button {
        width: 90%; /* Use the container width */
        margin: 0.5rem auto; /* Center the items and add space */
        text-align: center;
    }
    .main-nav .cta-button { padding: 12px 28px; } /* Restore padding for button */

    
    /* --- Other Mobile Adjustments --- */
    .footer-content { flex-direction: column; text-align: center; }
    .modal-content { padding: 2rem 1.5rem; }
    .generated-code-display { font-size: 1.4rem; letter-spacing: 2px; }
}
/* ADD THIS to the bottom of your CSS file */

.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    width: 100%;
    flex-grow: 1; /* Aligns buttons at bottom */
}

.product-features li {
    padding: 0.3rem 0;
    color: #d0d0e0;
}

.product-features li::before {
    content: '✓'; /* Checkmark icon */
    color: var(--primary-accent);
    font-weight: 600;
    margin-right: 0.75rem;
}

/* Make sure spec list margin is consistent */
.product-specs {
    margin-bottom: 0;
    margin-top: 2rem;
}
/* ADD THIS to the bottom of css/style.css */

/* --- Styling for Text-Heavy Pages (Privacy, Terms, About) --- */
.text-content-section {
    padding: 4rem 0; /* Add some vertical space */
}

/* This makes the container for text narrower, which is better for reading long paragraphs */
.text-content-section .container {
    max-width: 800px; 
}

.text-content-section h1,
.text-content-section h2,
.text-content-section h3 {
    text-align: left; /* Align headings to the left for readability */
    color: var(--primary-accent);
}

.text-content-section h1 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.text-content-section h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
}

.text-content-section p, 
.text-content-section li {
    color: #d0d0e0; /* A slightly softer white for better contrast */
    line-height: 1.8;
}

.text-content-section a {
    text-decoration: underline; /* Make links in paragraphs more obvious */
}

.text-content-section ul {
    padding-left: 20px;
}
/* ADD THIS to the bottom of css/style.css */

/* --- Style for legal disclaimers on text pages --- */
.text-content-section .legal-disclaimer {
    background-color: #4a4a68;
    color: #f0f0f0;
    padding: 1rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-accent);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-style: italic;
}
/* ADD THIS to the bottom of your existing css/style.css file */

/* --- Styling for New Homepage Sections --- */

/* Video Showcase Section */
.video-section {
    padding: 5rem 0;
    background-color: var(--card-bg); 
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.gallery-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background-color: var(--card-bg);
}
.gallery-item img {
    max-width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.gallery-item p.caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #b0b0d0;
    margin: 0;
}

/* Tutorial Section */
.tutorial-section {
    padding: 5rem 0;
    background-color: var(--card-bg); /* Use the darker background for variety */
}
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.tutorial-step {
    text-align: center;
}
.tutorial-step span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-accent);
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* FAQ Teaser Section */
.faq-teaser-section {
    padding: 5rem 0;
}
.faq-list {
    max-width: 800px;
    margin: 3rem auto;
}
.faq-item {
    margin-bottom: 2rem;
    border-left: 3px solid var(--border-color);
    padding-left: 1.5rem;
}
.faq-item h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-accent);
}
.faq-item p {
    margin: 0;
    color: #b0b0d0;
}
.faq-teaser-section .container {
    text-align: center;
}

/* --- Styling for Text-Heavy Pages (Privacy, Terms, About, FAQ) --- */
.text-content-section {
    padding: 4rem 0; 
}
.text-content-section .container {
    max-width: 800px; 
}
.text-content-section h1,
.text-content-section h2,
.text-content-section h3,
.text-content-section h4 {
    text-align: left; 
    color: var(--primary-accent);
}
.text-content-section h1 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.text-content-section h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.text-content-section p, 
.text-content-section li {
    color: #d0d0e0;
    line-height: 1.8;
}
.text-content-section a {
    text-decoration: underline;
}
.text-content-section ul {
    padding-left: 20px;
}
.text-content-section .legal-disclaimer {
    background-color: #4a4a68;
    color: #f0f0f0;
    padding: 1rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-accent);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-style: italic;
}