/* Universal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles & Typography */
:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #28a745; /* Green */
    --dark-color: #343a40; /* Dark Grey/Black */
    --light-bg: #f8f9fa; /* Off-White Background */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: white;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 0.5em;
    color: var(--dark-color);
}

h2 { font-size: 2.8em; }
h3 { font-size: 2em; }

/* --- Buttons and Links --- */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

.cta-primary, .cta-primary-dark, .cta-nav-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-primary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    margin-top: 20px;
}

.cta-primary:hover {
    background-color: #218838; /* Darker green */
    transform: translateY(-2px);
}

.cta-primary-dark {
    background-color: var(--dark-color);
    color: white;
}

.cta-primary-dark:hover {
    background-color: #1d2124;
    transform: translateY(-2px);
}

.cta-nav-button {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    margin-left: 25px;
    font-size: 0.9em;
    box-shadow: none;
}

.cta-nav-button:hover {
    background-color: #0056b3;
}

/* --- Header & Navigation --- */
.header {
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: 800;
}

.logo .dot {
    color: var(--secondary-color);
}

.nav a {
    margin-left: 20px;
    color: var(--dark-color);
    font-weight: 600;
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--light-bg);
    padding: 100px 0;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.hero-section p {
    font-size: 1.15em;
    max-width: 700px;
    margin: 15px auto 0;
}

.hero-section .sub-text {
    margin-top: 30px;
    font-size: 0.9em;
    color: #6c757d;
}

/* --- Value Proposition Section --- */
.value-section {
    padding: 60px 0;
    text-align: center;
}

.value-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    text-align: left;
    border-top: 4px solid var(--primary-color);
}

.value-card h4 {
    color: var(--primary-color);
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 10px;
}

/* --- Integrated Tools Section --- */
.tools-section {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.tool-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.tool-card {
    flex: 1;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tool-card h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.landlord-tool {
    background-color: white;
    border: 2px solid var(--primary-color);
}

.landlord-tool h4 {
    color: var(--primary-color);
}

.roommate-tool {
    background-color: white;
    border: 2px solid var(--secondary-color);
}

.roommate-tool h4 {
    color: var(--secondary-color);
}

.tool-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

/* --- Final CTA Section --- */
.cta-banner {
    background-color: #e9ecef;
    padding: 60px 0;
    text-align: center;
}

.cta-banner h3 {
    margin-bottom: 25px;
    color: var(--dark-color);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 25px 0;
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #adb5bd;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .header .container {
        flex-direction: column;
    }
    .nav {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav a {
        margin: 5px 10px;
    }

    .value-grid, .tool-wrapper {
        flex-direction: column;
    }
    .cta-primary, .cta-primary-dark {
        width: 90%;
        margin: 10px auto;
        display: block;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        margin-top: 10px;
    }
    .footer-links a {
        margin: 0 10px;
    }
}