/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-cream: #fdfbf7;
    --text-dark: #4a4b46;
    --text-accent: #7f603d;
    --text-outcome: #7c8674;
    --font-heading: 'Azeret Mono', monospace;
    --font-body: 'Rubik', sans-serif;
    --sidebar-width: 350px;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 125px 100px 100px 100px;
    display: flex;
    flex-direction: column;
    gap: 85px;
    flex-shrink: 0;
    /* Based on design padding/margins */
}

.logo-container {
    width: 248.24px;
    height: 25.94px;
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.logo {
    width: 228.24px;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}

.logo-container:hover .logo {
    opacity: 0.7;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-item {
    font-family: var(--font-body);
    font-size: 20px;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-item:hover,
.nav-item.active {
    color: #7C8674;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 150px 100px 400px 100px;
    display: flex;
    flex-direction: column;
    gap: 200px;
    max-width: 1008px; /* From Figma */
    overflow-y: auto;
    height: 100vh;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
    max-width: 777px; /* From Figma text width */
}

/* Typography & Shared Styles */
.section-label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 20px;
    color: var(--text-accent);
    text-transform: uppercase;
}

.section-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 35px;
    line-height: 1.4;
    color: var(--text-dark);
}

.section-description {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-dark);
}

.section-description p {
    margin-bottom: 1.5rem;
}

.section-description p:last-child {
    margin-bottom: 0;
}

/* Hero Section Specifics */
.hero {
    gap: 50px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 60px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero .subtitle {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-dark);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 33px;
}

/* Buttons */
.btn {
    width: 275px;
    height: 70px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--text-dark);
    color: white;
    border: 1px solid var(--text-dark);
}

.btn-primary:hover {
    background-color: #7C8674;
    border-color: #7C8674;
}

.btn-outline {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    background-color: #7C8674;
    color: white;
    border-color: #7C8674;
}

/* Use Cases Grid */
.use-cases {
    max-width: 100%;
}

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    /* The design shows these as a list of cards */
}

.card {
    background-color: var(--bg-cream);
    border: 1px solid rgba(74, 75, 70, 0.5);
    border-radius: 4px;
    padding: 20px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s;
}

.card:hover {
    border-color: var(--text-dark);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    color: var(--text-dark);
}

.card-text {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.5;
}

.card-outcome {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    color: var(--text-outcome);
}

/* Contact Section */
.contact-actions {
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 40px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        border-bottom: 1px solid rgba(74, 75, 70, 0.1);
    }

    .sidebar-nav {
        flex-direction: row;
        gap: 20px;
    }

    .main-content {
        padding: 60px 20px;
        gap: 100px;
    }

    .section {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .btn {
        width: 100%;
        max-width: 275px;
    }
    
    .contact-actions {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sidebar-nav {
        flex-wrap: wrap;
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }
}
