/* Removes default browser spacing and applies consistent sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* --------------------------
   BODY
-------------------------- */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #111827;
    background-color: #ffffff;
}


/* --------------------------
   MAIN CONTAINER
-------------------------- */

/* Centers page content and limits maximum width */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* --------------------------
   NAVBAR
-------------------------- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}


/* --------------------------
   LOGO
-------------------------- */

.logo img {
    height: 60px;
}


/* --------------------------
   NAVIGATION BUTTONS
-------------------------- */

.nav-buttons a {
    margin-left: 12px;
    text-decoration: none;
    font-weight: 500;
}

/* Login button styling */
.login-btn {
    padding: 8px 18px;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    color: #3b82f6;
}

/* Sign up button styling */
.signup-btn {
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 18px;
}


/* --------------------------
   HERO SECTION
-------------------------- */

.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(to right, #e0f2fe, #dcfce7);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #374151;
}


/* --------------------------
   FEATURES SECTION
-------------------------- */

.features {
    padding: 80px 0;
}


/* --------------------------
   FEATURE ROW
-------------------------- */

/* Layout used for each feature section */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 100px;
}

/* Reverses image and text order for alternating layout */
.feature-row.reverse {
    flex-direction: row-reverse;
}


/* --------------------------
   FEATURE IMAGE SECTION
-------------------------- */

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Feature screenshots displayed on the landing page */
.feature-screenshot {
    width: 100%;
    max-width: 660px;
    height: 275px;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
}

/* Slight zoom effect when hovering over screenshots */
.feature-screenshot-full:hover {
    transform: scale(1.02);
}


/* --------------------------
   FEATURE TEXT SECTION
-------------------------- */

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.feature-text p {
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-text ul {
    list-style: none;
}

.feature-text li {
    margin-bottom: 10px;
    color: #374151;
    font-size: 16px;
}


/* --------------------------
   CHECKMARK ICONS
-------------------------- */

/* Adds a checkmark before each feature list item */
.feature-text li::before {
    content: "✔";
    color: #3b82f6;
    margin-right: 8px;
}


/* --------------------------
   RESPONSIVE DESIGN
-------------------------- */

@media (max-width: 900px) {

    /* Stacks feature content vertically on smaller screens */
    .feature-row {
        flex-direction: column;
        text-align: center;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    /* Reduces hero title size on smaller screens */
    .hero h1 {
        font-size: 36px;
    }
}