/* --- Variables & Reset --- */
:root {
    --primary: #2196F3; /* Electric Blue */
    --primary-dark: #1976D2;
    --dark-bg: #1a1a1a;
    --card-bg: #252525;
    --text-light: #f5f5f5;
    --text-dim: #b0b0b0;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Layout Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo img { height: 40px; }

.nav-links { display: flex; gap: 30px; }

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    border: 2px solid rgba(255,255,255,0.2);
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* --- Features Grid --- */
.features { padding: 80px 0; background: #202020; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--text-dim); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* --- Footer Updates --- */
footer {
    padding: 60px 0 20px 0;
    background: #151515; /* Slightly darker than main background */
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto; /* Pushes footer to bottom if page is short */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Brand gets 2x space */
    gap: 40px;
    margin-bottom: 40px;
}

/* Brand Column */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}
.footer-logo-wrap img { height: 30px; }

.footer-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 350px;
}

/* Links Columns */
.footer-links-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links-col a {
    display: block; /* Makes links stack vertically */
    color: var(--text-dim);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-links-col a:hover {
    color: var(--primary);
    transform: translateX(5px); /* Subtle slide effect on hover */
}

/* Bottom Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #555;
}

/* Mobile Footer Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Stack everything in one column */
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo-wrap { justify-content: center; }
}
/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
        display: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-buttons .btn { display: block; margin: 10px 0; width: 100%; text-align: center; }
}

/* --- Legal Pages Styling --- */
.legal-section {
    padding: 80px 0;
    min-height: 80vh; /* Ensures footer stays at bottom */
}

.legal-container {
    max-width: 800px; /* Limits width for readability */
    margin: 0 auto;
}

.legal-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.last-updated {
    color: var(--text-dim);
    margin-bottom: 50px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.legal-block p, .legal-block ul {
    color: var(--text-light);
    line-height: 1.8;
}

.legal-block ul {
    margin-left: 20px;
    margin-top: 10px;
}

.legal-block li {
    margin-bottom: 10px;
    list-style-type: disc;
}