/* Onementor Premium Design System */

:root {
    --primary-color: #111111;
    /* Black for High Contrast rep. Indigo */
    --primary-dark: #000000;
    /* Pure Black */
    --secondary-color: #374151;
    /* Gray 700 */
    --text-main: #111111;
    /* Black */
    --text-muted: #4b5563;
    /* Gray 600 */
    --bg-body: #fefefe;
    /* User requested color everywhere */
    --bg-white: #ffffff;
    /* Pure white for cards to pop slightly against #fefefe */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
}

/* --- Components --- */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: #fefefe;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
}

/* --- Header --- */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* --- Main Content --- */

main {
    flex: 1;
    padding-top: 80px;
    /* Header height */
    position: relative;
}

section {
    display: none;
    /* JS toggles this */
    animation: fadeIn 0.5s ease-out;
    padding: 4rem 0;
}

section.active {
    display: block;
}

/* --- Home Section --- */

.hero {
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
    /* Removed gradient based on 'white' theme request for cleaner look */
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* --- Policy Pages --- */

.policy-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    border-bottom: 2px solid var(--bg-body);
    padding-bottom: 1rem;
}

.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* --- Footer --- */

footer {
    background: var(--bg-white);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- Mobile Nav --- */

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        /* Simple default, could expand for full mobile menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        gap: 1rem;
    }

    nav ul.show {
        display: flex;
    }
}

/* --- Data Transparency Section --- */

#transparency {
    background-color: #fefefe;
    /* Ultra-light pattern */
    padding: 5rem 0;
    display: block;
    /* Always visible on homepage when active */
}

.transparency-box {
    text-align: center;
}

.transparency-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.transparency-box>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.t-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.t-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.t-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.t-action {
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}


/* --- Animations --- */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}