/* --- TABLE OF CONTENTS ---
1.  Global Styles & Variables
2.  Utility Classes
3.  Navbar
4.  Hero Section
5.  Features Section
6.  Why Slate? Section
7.  Get Slate Section (Pricing)
8.  Footer
9.  Responsive Design
-------------------------- */

/* 1. Global Styles & Variables
-------------------------- */
:root {
    --bg-dark: #111318;
    --bg-medium: #1D2026;
    --accent-color: #3A7DFF;
    --accent-hover: #5A91FF;
    --text-light: #E1E4E8;
    --text-muted: #8B949E;
    --border-color: #30363D;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

/* 2. Utility Classes
-------------------------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.25rem; }

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

section {
    padding: 6rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 125, 255, 0.2);
}

.btn i {
    margin-right: 0.5rem;
}

/* 3. Navbar
-------------------------- */
.navbar {
    background-color: rgba(17, 19, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.navbar .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 32px;
    margin-right: 0.75rem;
}

.navbar nav ul {
    list-style: none;
    display: flex;
}

.navbar nav li {
    margin-left: 2rem;
}

.navbar nav a {
    color: var(--text-muted);
    font-weight: 600;
}

.navbar nav a:hover {
    color: var(--text-light);
}

/* 4. Hero Section
-------------------------- */
#hero {
    padding-top: 10rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 19, 24, 0.7) 0%, rgba(17, 19, 24, 1) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 1.5rem auto 2.5rem;
}

/* 5. Features Section
-------------------------- */
#features {
    background-color: var(--bg-medium);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

#features h2 {
    margin-bottom: 4rem;
}

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

.feature-card {
    background-color: var(--bg-dark);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* 6. Why Slate? Section
-------------------------- */
#why-slate {
    background-color: var(--bg-dark);
}

.why-slate-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-slate-content > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

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

.why-item {
    background-color: var(--bg-medium);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.why-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* 7. Get Slate Section (Pricing)
-------------------------- */
#get-slate {
    background-color: var(--bg-medium);
    border-top: 1px solid var(--border-color);
}

.get-slate-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.get-slate-header h2 {
    margin-bottom: 0.5rem;
}

.pricing-options {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.recommended {
    border-color: var(--accent-color);
}

.pricing-card .badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    font-family: var(--font-heading);
}

.pricing-card h3 {
    font-size: 1.5rem;
}

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem 0;
    color: var(--text-light);
}

.pricing-card .price-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.pricing-card li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.pricing-card li i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    width: 20px;
}

.pricing-card .btn {
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 125, 255, 0.2);
}

.community-note {
    max-width: 700px;
    margin: 3rem auto 0 auto;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 8. Footer
-------------------------- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 9. Responsive Design
-------------------------- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    section {
        padding: 4rem 0;
    }

    #hero {
        padding-top: 8rem;
        min-height: 70vh;
        background-attachment: scroll; /* Parallax is often jittery on mobile */
    }
    
    .navbar .container {
        flex-direction: column;
    }

    .navbar .logo {
        margin-bottom: 1rem;
    }
    
    .navbar nav li {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1 { font-size: 2.2rem; }
    
    .btn {
        width: 100%;
    }

    .navbar {
        padding: 1rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}