/* style.css */
:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #7c3aed; /* Lemon Squeezy Purple */
    --accent-hover: #6d28d9;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; text-align: center; }

/* Navbar */
.navbar { padding: 20px 0; border-bottom: 1px solid var(--border); background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.logo a { 
    font-weight: 900; 
    font-size: 1.5rem; 
    letter-spacing: 1px; 
    color: white; 
    text-decoration: none; 
    display: flex !important;        /* Forces them to sit side-by-side */
    align-items: center !important;  /* Locks them to the absolute vertical center */
    gap: 12px;                       /* Space between icon and text */
    line-height: 1;                  /* Removes invisible text padding pushing it down */
}

.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 20px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: white; }

/* Hero Section */
.hero { padding: 80px 0 40px; }
.badge { display: inline-block; padding: 5px 15px; background: rgba(124, 58, 237, 0.2); color: #a78bfa; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.gradient-text { background: linear-gradient(to right, #a855f7, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtext { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; cursor: pointer; transition: 0.2s; border: none; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: white; margin-left: 10px; }
.btn-outline:hover { background: var(--card-bg); }

/* Mockup / Glass Card */
.glass-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 40px; margin: 60px auto; max-width: 800px; text-align: center; }
.section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }

/* Grids */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border); text-align: left; }
.feature-card h3 { margin-bottom: 10px; color: white; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Pricing */
.pricing-card { background: linear-gradient(180deg, var(--card-bg) 0%, rgba(0,0,0,0) 100%); border: 1px solid var(--accent); border-radius: 16px; padding: 50px; max-width: 500px; margin: 0 auto; text-align: center; }
.license-type { color: #a78bfa; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 10px; }
.price-stack { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 10px; }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: 1.5rem; }
.new-price { font-size: 3.5rem; font-weight: 900; color: white; }
.price-sub { color: var(--text-muted); margin-bottom: 30px; }
.benefit-list { list-style: none; margin-bottom: 30px; text-align: left; }
.benefit-list li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #cbd5e1; }
.benefit-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.lemon-tag { font-size: 0.8rem; color: var(--text-muted); margin-top: 15px; }

/* Document Pages (Terms/Privacy) */
/* --- Document Pages (Terms/Privacy/Refund) --- */
.doc-content { 
    text-align: left; 
    max-width: 850px; 
    margin: 40px auto 80px auto; 
    color: #cbd5e1; 
    background: var(--card-bg); /* Puts the text in a nice dark glass card */
    padding: 60px; /* Gives the text room to breathe away from the edges */
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Center the Main Page Heading */
.doc-content h1 { 
    font-size: 2.8rem; 
    margin-bottom: 10px; 
    color: white; 
    text-align: center; 
}

.nav-img {
    height: 36px;           /* Keeps the logo small and professional */
    width: auto;
    border-radius: 8px;     /* Gives the square image slightly rounded, modern corners */
}

/* Center the "Effective Date" and add a separator line */
.doc-content > p:first-of-type {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px; 
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

/* Add major spacing above and below Sub-Headings */
.doc-content h3 { 
    font-size: 1.5rem; 
    margin-top: 50px;    /* Huge space ABOVE the sub-heading */
    margin-bottom: 20px; /* Nice space BELOW the sub-heading */
    color: white; 
}

/* Improve readability of the actual paragraphs */
.doc-content p, .doc-content ul { 
    margin-bottom: 25px; 
    line-height: 1.8; /* Makes the lines of text taller and easier to read */
    font-size: 1.05rem;
}

.doc-content ul { 
    padding-left: 25px; 
}

.doc-content li {
    margin-bottom: 10px;
}

.doc-content a { 
    color: var(--accent); 
    text-decoration: none; 
    font-weight: 600;
}

.doc-content a:hover { 
    text-decoration: underline; 
}

/* Footer */
.footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--border); }

/* --- Mobile Navigation --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

/* The 3 lines of the hamburger */
.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* When the screen is smaller than 768px (Mobile) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show the hamburger */
    }

    .nav-links {
        display: none; /* Hide the standard links */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Drop down right below the navbar */
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98); /* Dark background */
        backdrop-filter: blur(10px);
        padding: 20px 0;
        text-align: center;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    /* This class is added by JS when clicked */
    .nav-links.active {
        display: flex; 
    }

    .nav-links a {
        margin: 15px 0; /* Space out the links vertically */
        font-size: 1.2rem;
    }
    
    /* Cool animation turns the hamburger into an X */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}