:root {
    /* Colors extracted from logo */
    --primary-color: #DF8531;
    --secondary-color: #C57256;
    --accent-color: #E7A45D;

    /* Neutrals */
    --bg-light: #F9FAFB;
    /* Slightly off-white for better readability */
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #ECF0F1;
    --grey-neutral: #BDC3C7;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;

    /* Fonts */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    /* Adding Outfit for headings for a more modern tech feel */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(223, 133, 49, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 133, 49, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links .btn-primary {
    color: var(--bg-white);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn-primary:hover {
    color: var(--bg-white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    /* Adjusted for better spacing */
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(223, 133, 49, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(197, 114, 86, 0.1), transparent 40%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    /* Prevent it from being too huge */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.topic-card {
    flex: 1 1 300px;
    max-width: 400px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.topic-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.topic-card h3 {
    margin-bottom: 15px;
}

/* Community Section */
.community {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.discord-cta {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    /* Discord Brand Colors Override for this section specifically or mix with theme */
    /* Let's blend it with our theme */
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-cta h2 {
    color: white;
    font-size: 2.5rem;
}

.discord-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.discord-btn {
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.discord-btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: var(--grey-neutral);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .mobile-menu-btn {
        display: block;
        order: 1;
    }

    .nav-links {
        display: none;
        /* Hide for now, script will toggle */
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1a1a1a;
        --bg-white: #242424;
        --text-dark: #ECF0F1;
        --text-light: #BDC3C7;
        --grey-neutral: #95a5a6;
    }

    body {
        color: var(--text-dark);
    }

    header {
        background-color: rgba(36, 36, 36, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .topic-card {
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .hero {
        background: radial-gradient(circle at top right, rgba(223, 133, 49, 0.15), transparent 40%), radial-gradient(circle at bottom left, rgba(197, 114, 86, 0.15), transparent 40%);
    }

    .community {
        background-color: var(--bg-white);
    }

    .discord-btn {
        background-color: #2c2f33;
        color: white;
    }

    .discord-btn:hover {
        background-color: #23272a;
    }

    footer {
        background-color: #0f1214;
        color: var(--text-light);
    }

    .footer-col h4 {
        color: var(--text-light);
    }

    .hero p,
    .section-title p {
        color: var(--text-light);
    }

    .nav-links a {
        color: var(--text-dark);
    }
}