/* styles.css - recreate the layout from the provided image */

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

html, body {
    height: 100%;
}

:root {
    --page-bg: #eef0f0; /* light grey sidebars */
    --card-bg: #ffffff; /* main white area */
    --accent: #d93b1a; /* orange/red */
    --muted: #8c8c8c; /* grey heading */
    --footer: #d73915; /* footer bar */
    --max-width: 900px;
    --container-padding: 20px;
    --font-sans: "Montserrat", Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    background: var(--page-bg);
    color: #333;
}

/* center column/card */
.page-bg {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container constrains the centred white card width */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: 10px;
    margin-right: 10px;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* top header with logo */
.header {
    background: var(--card-bg);
}

.logo {
    margin-left: -20px !important;
}


/* main white card area */
.card {
    background: var(--card-bg);
    box-shadow: none;
    min-height: calc(100vh - 120px); /* leave space for header+footer */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 20px;
}

/* hero layout: stack titles above the columns */
.hero {
    width: 100%;
    display: flex;
    flex-direction: column; /* titles on top, columns below */
    align-items: flex-start;
}

/* new wrapper for the two columns */
.columns {
    margin-top: 20px;
    width: 100%;
    display: flex;
    gap: 32px; /* spacing between left and right columns */
    align-items: flex-start; /* top-aligned columns */
}

/* left column: titles and illustration */
.left-col {
/*    flex: 1 1 50%;
    display: grid;
    grid-template-rows: auto;
    align-items: center;
    min-width: 0;*/
}

.title-grey {
    color: var(--muted);
    font-size: 64px;
    font-weight: 550;
    line-height: 0.7;
    letter-spacing: 1px;
    padding: 0;
    margin: 0;
}

.title-orange {
    color: var(--accent);
    font-size: 64px;
    font-weight: 550;
    line-height: 0.85;
    letter-spacing: 1px;
    padding: 0;
    margin-top: 10px;
}

/* bulb */
.bulb-illustration {
    margin-top: 12px;
    width: 320px;
    filter: drop-shadow(0 6px 8px rgba(0,0,0,0.15));
}

    .bulb-illustration img {
        max-width: 100%;
        height: auto;
        display: block;
    }

/* right column: features and CTA */
.right-col {
/*    flex: 1 1 50%;
    display: grid;
    grid-template-rows: auto;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;*/
    margin-top: 80px;
}

.features {
    list-style: none;
    color: var(--accent);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
}

    .features li {
        position: relative;
        padding-left: 18px;
    }

        /* custom bullet */
        .features li::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--accent);
            border-radius: 50%;
            display: inline-block;
            position: absolute;
            left: 0;
            top: 8px;
        }

/* CTA */
.cta {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.12s ease;
}

    .cta:hover {
        filter: brightness(0.95);
    }

/* footer bar */
.footer {
    width: 100%;
    background: var(--footer);
    color: #fff;
    margin-top: auto;
    box-shadow: 0 -2px 0 rgba(0,0,0,0.05);
}

.footer-inner {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 5px var(--container-padding);
    display: flex;
    justify-content: center;
}

.site {
    font-weight: 600;
    letter-spacing: 0.6px;
}

/* responsive tweaks */
@media (max-width: 980px) {
    .title-grey {
        font-size: 42px;
    }

    .title-orange {
        font-size: 44px;
    }

    /* stack the columns under each other on small screens */
    .columns {
        flex-direction: column;
        gap: 20px;
    }

    .left-col, .right-col {
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .right-col {
        padding-top: 0;
        align-items: center;
        text-align: center;
    }

    /* center the custom bullets for the stacked layout */
    .features li::before {
        left: calc(50% - 140px);
        top: 6px;
    }
}
