/* --- CS MINDSPACE Homepage Styles --- */

/* 1. Import all color and font variables from your style.css */
:root {
    --primary-color: #1E40AF;
    --primary-light-color: #2563EB;
    --accent-color: #10B981;
    --accent-hover-color: #059669;
    --dark-bg: #0F172A;
    --dark-card: #1E293B;
    --dark-nav: #1A2332;
    --text-color: #E2E8F0;
    --text-secondary-color: #94A3B8;
    --border-color: #374151;
    --border-light-color: #4B5563;
}

html, body {
    /* OPTION 1: If index.css is in the SAME folder as index.html */
    cursor: url('images/cursor.png'), auto;

    /* OPTION 2: If index.css is inside a 'css' or 'src' folder */
    /* cursor: url('../images/cursor.png'), auto; */
}

/* Ensure links and buttons still show the pointer hand */
a, button, .btn, input[type="submit"], select, .clickable {
    cursor: pointer;
}

/* 2. Base Body Styles (matching your app) */
html { 
    box-sizing: border-box; 
}
*, *:before, *:after { 
    box-sizing: inherit; 
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 600;
}

a {
    color: var(--primary-light-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    text-decoration: underline;
    color: #60a5fa;
}

img {
    max-width: 100%;
    height: auto;
}

/* 3. Utility Container */
.container {
    width: 100%;
    max-width: 1140px; /* Standard page width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* 4. Header & Navigation */
.navbar {
    padding: 1.25rem 0;
    background-color: var(--dark-nav);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Re-using your app's logo styles */
.app-logo-title-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-img-header {
    height: 40px; /* 2.5rem */
    width: 40px;
    object-fit: contain;
}
.app-title {
    font-size: 1.75rem; /* Slightly larger for the homepage */
    font-weight: 700;
    color: white; /* Brighter on the nav */
    margin-bottom: 0;
}

/* Nav Link Styles */
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: white;
    text-decoration: none;
}
.nav-link.active {
    color: var(--primary-light-color);
    font-weight: 600;
}

/* 5. Main Hero Section */
main {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Re-using your .card style */
.card {
    background-color: var(--dark-card);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-section {
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px; /* Center the hero content */
    margin: 0 auto;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}
.hero-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary-color);
    margin-bottom: 2rem;
    max-width: 650px; /* Keep text readable */
    margin-left: auto;
    margin-right: auto;
}

/* 6. Button Styles (Copied from style.css) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
}
.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-light-color);
    transform: scale(1.02);
    text-decoration: none;
    color: white;
}
.btn-large {
    padding: 0.875rem 2rem; /* Bigger button for the main CTA */
    font-size: 1rem;
}

/* 7. Footer */
footer {
    padding: 2.5rem 0;
    margin-top: 2rem;
    background-color: var(--dark-nav);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary-color);
}
footer p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

/* 8. Responsive (Mobile) */
@media (max-width: 640px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-tagline {
        font-size: 1rem;
    }
    .hero-section {
        padding: 2rem 1.5rem;
    }
}