/* Reset & Base Styles */
:root {
    --primary-color: #f43f5e; /* Pink */
    --primary-hover: #e11d48;
    --secondary-color: #1e3a8a; /* Blue */
    --support-color: #FFDD00; /* Buy Me a Coffee Yellow */
    --bg-color: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
	line-height: 0.5;
}

a { text-decoration: none; color: inherit; }

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.logo .tag {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-left: 8px;
    vertical-align: middle;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); }

.btn-secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid #e2e8f0;
}
.btn-secondary:hover { border-color: var(--secondary-color); background-color: #f1f5f9; }

.btn-support {
    background-color: var(--support-color);
    color: #000;
}
.btn-support:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    font-size: 0.9rem;
}
.btn-outline-primary:hover { background-color: var(--primary-color); color: white; }

.hero {
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
    
    /* NEW: Makes it take up 100% of the viewport height */
    min-height: 100vh; 
    
    /* NEW: Centers content vertically and horizontally */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: 20px; /* Keeps safe space on small mobile screens */
}

/* The Background Image Layer */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* The Image */
    background-image: url('https://d2v55crl1k4v3v.cloudfront.net/uploads/files/3e8ad1d140102fd4535234afa1f40aa9.jpg');
    background-size: cover;
    background-position: center;
    
    /* The Effects */
    filter: blur(4px) brightness(0.8); /* Blurs and darkens the image */
    z-index: -1; /* Puts it behind the text */
}

/* Ensure text stays legible and on top */
.hero h1 {
    font-size: 3rem;
    color: white; /* Override any previous color */
    margin-bottom: 16px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Adds readability */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Feature Section */
.feature-section {
    padding: 60px 0;
    text-align: center;
}

.feature-header { margin-bottom: 40px; }

.badge {
    display: inline-block;
    background: #fee2e2;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-wrapper {
    max-width: 350px; /* Shorts are vertical */
    margin: 0 auto;
    background: black;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.video-wrapper iframe {
    width: 100%;
    height: 600px; /* Adjust based on aspect ratio */
}

.text-link {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
	line-height: 2.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.site-footer {
    background: #f8f9fa; /* Matches original light footer look or use dark if preferred */
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

.trademark {
    margin-bottom: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dark);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 10px;
    color: var(--secondary-color);
    /* text-decoration: underline; */
}

.separator { margin: 0 5px; color: #ccc; }

.copyright { font-size: 0.8rem; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* --- Add these to the bottom of your styles.css --- */

/* Legal Page Layout */
.legal-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    position: relative;
}

/* Sidebar / Table of Contents */
.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    border-right: 1px solid #e2e8f0;
    padding-right: 20px;
}

.legal-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    padding: 4px 0;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Main Content Area */
.legal-content {
    min-width: 0; /* Prevents overflow */
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
    display: block;
}

.legal-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px; /* Offset for sticky header */
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.legal-section p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-section ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
    .legal-container {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* --- Feature Section & Neon Glow Updates --- */

.video-container {
    position: relative;
    width: 100%;
    max-width: 350px; /* Optimal max width for a mobile Short */
    aspect-ratio: 9 / 16; /* Locks the container to TikTok/Shorts shape */
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden; /* Crops the corners of the video */
    background: #000; /* Black background prevents gaps */
    
    /* Pre-glow state */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* The "Bigger & Fine" Neon Glow */
.video-container.active-glow {
    border-color: rgba(244, 63, 94, 0.8); /* Semi-transparent pink border */
    transform: scale(1.02); /* Slight pop out effect */
    
    /* Layered shadows for a "fine," deep glow */
    box-shadow: 
        0 0 15px rgba(244, 63, 94, 0.6),   /* Inner bright core */
        0 0 40px rgba(244, 63, 94, 0.4),   /* Mid glow */
        0 0 100px rgba(244, 63, 94, 0.3),  /* Wide ambient wash */
        0 0 200px rgba(244, 63, 94, 0.15); /* Very wide atmosphere */
    
    animation: finePulse 4s infinite ease-in-out;
}

/* A slower, more subtle pulse for a "fine" look */
@keyframes finePulse {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(244, 63, 94, 0.6),
            0 0 40px rgba(244, 63, 94, 0.4),
            0 0 100px rgba(244, 63, 94, 0.3);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(244, 63, 94, 0.8),
            0 0 60px rgba(244, 63, 94, 0.5),
            0 0 120px rgba(244, 63, 94, 0.4);
    }
}