:root {
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-primary: #2563EB; /* Bright Blue */
    --accent-secondary: #06B6D4; /* Cyan */
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.society-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    max-width: 300px;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
}

.btn-primary {
    background: var(--accent-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-light);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    padding-top: 100px;
    position: relative;
    /* Matching the app login screen gradient */
    background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-content img.hero-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: white !important;
    color: var(--accent-primary) !important;
}
.cta-buttons .btn-primary:hover {
    background: #f1f5f9 !important;
}
.cta-buttons .btn-secondary {
    border-color: rgba(255,255,255,0.3);
    color: white;
    background: transparent;
}
.cta-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Products Section */
.products-section {
    padding: 80px 5%;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title span {
    color: var(--accent-primary);
}

.mt-5 {
    margin-top: 5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Legal Content (Privacy Policy) */
.legal-content {
    min-height: 100vh;
    padding: 120px 5% 60px;
    display: flex;
    justify-content: center;
}

.white-container {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.white-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.white-container section {
    margin-bottom: 2.5rem;
}

.white-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.white-container p, .white-container ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.white-container ul {
    padding-left: 1.5rem;
}

.white-container li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-secondary);
}
footer a {
    color: var(--accent-primary);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
