:root {
/* ==========================================================================
    GLOBAL PAGE & BODY STYLES VARIABLES
    Target elements: body, main, html
========================================================================== */
    --bg-page: #0f172a;
    /* Main site background (body) */
    --text-main: #f8fafc;
    /* Primary text color for h1, h2, p, labels */
    --text-muted: #94a3b8;
    /* #hero-text, subtext, input placeholders */
    --border-color: #334155;
    /* Borders for fieldsets, card dividers, header bottom */

/* ==========================================================================
    HEADER & NAVIGATION VARIABLES
    Target elements: header, nav, #nav, .navigation, .nav-links
========================================================================== */
    --nav-bg: #1e293bE6;
    /* Background for fixed/sticky top nav bar */
    --nav-link: #f8fafc;
    /* Color for nav bar anchor links */
    --nav-link-hover: #38bdf8;
    /* Hover color for nav bar anchor links */

/* ==========================================================================
    HERO SECTION VARIABLES
    Target elements: section.hero, #hero, #hero-text, #hero-image
========================================================================== */
    --hero-bg: #1e293b80;
    /* Background for hero section container */
    --hero-title: #38bdf8;
    /* Accent color for main h1 heading */

/* ==========================================================================
    PRICING CARDS & FEATURE GRID VARIABLES
    Target elements: .price-cards, .plan-card-container, .feature-grid, 
    #feature-items, .checklist, #starter, #growth, #bus-pro
========================================================================== */
    --card-bg: #1e293b;
    /* Standard background for .price-cards & .feature-grid */
    --card-title: #38bdf8;
    /* Color for .card-plan and .chk-list-package text */
    --card-price: #f8fafc;
    /* Color for .price text ($699 + $49/month) */

    /* FEATURED CARD HIGHLIGHTS */
    /* Target elements: .price-cards.featured (Middle "Growth" card) */
    --featured-card-bg: #1e293b;
    /* Elevated background for featured pricing card */
    --featured-border: #0284c7;
    /* High-contrast border for featured card highlight */
    --featured-accent: #38bdf8;
    /* Accent badge or title highlight for featured card */
    /* Warm Gold sampled directly from logo text/emblem */
    --accent-gold: #d4af37;
    /* Soft translucent gold for badge/pill backgrounds */
    --gold-pill-bg: rgba(212, 175, 55, 0.15);
    /* Subtle border glow for the badge */
    --gold-pill-border: rgba(212, 175, 55, 0.4);

    /* CHECKLIST STATES */
    /* Target elements: li.included, li.not-included */
    --icon-included: #22c55e;
    /* Green checkmarks or text for .included list items */
    --icon-not-included: #64748b;
    /* Muted gray dashes/crosses for .not-included list items */

/* ==========================================================================
    SIGN-UP FORM & INPUTS VARIABLES
    Target elements: form#sign-up, fieldset, legend, input, label
========================================================================== */
    --form-bg: #1e293b;
    /* Background for form#sign-up container */
    --fieldset-bg: #0f172a;
    /* Inner background for fieldsets */
    --legend-color: #38bdf8;
    /* Color for fieldset <legend> titles */
    --input-bg: #0f172a;
    /* Background for all text, tel, email inputs */
    --input-text: #f8fafc;
    /* Typed text color inside inputs */
    --input-border: #334155;
    /* Default border around input fields */
    --input-focus-border: #38bdf8;
    /* Border color when input is active/focused */

/* ==========================================================================
    BUTTONS & CALLS TO ACTION VARIABLES
    Target elements: .cta-btn, .btn, button, form submit button
========================================================================== */
    --btn-bg: #2563eb;
    /* Default background for CTAs and submit buttons */
    --btn-text: #ffffff;
    /* Button text color */
    --btn-border: #3b82f6;
    /* Default button border */

    /* HOVER & FOCUS STATES */
    --btn-hover-bg: #1d4ed8;
    /* Hover background for buttons */
    --btn-hover-text: #ffffff;
    /* Hover text color */
    --btn-hover-border: #60a5fa;
    /* Brightened border highlight on hover */
/* ==========================================================================
    FOOTER VARIABLES
    Target elements: footer, .footer-content
========================================================================== */
    --footer-bg: #0f172a;
    /* Footer section background */
    --footer-text: #94a3b8;
    /* Copyright and description text color */
}

/* ==========================================================================
    RESETS
========================================================================== */
*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    box-sizing: border-box;
    
}


/* ==========================================================================
    GENERIC STYLING
========================================================================== */
body {
    background-color: var(--bg-page);
    min-height: 100vh;
}

main {
    margin-top: 65px;
}

h1,
h2,
p,
label {
    color: var(--text-main);
}

/* ==========================================================================
    HEADER AND NAVIGATION
========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    background-color: var(--nav-bg);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

/*Navigation -  Hidden Nav*/
/*Hide the actual checkbox input completely */
.nav-toggle {
    display: none;
}

/*Style the Hamburger Icon Button */
.hamburger-btn {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

/*The 3 visible lines */
.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/*Off-Canvas Mobile Navigation Setup */
nav.navigation {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -280px;
    width: 280px;
    max-width: 80vw;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #1e2638;
    padding: 80px 24px 30px;
    transition: left 0.4s ease-in-out;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 999;
    box-sizing: border-box;
    touch-action: pan-y;
    overscroll-behavior: contain;
    overflow-y: auto;
}

/*Link visibility & styling inside the drawer */
nav.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

nav.navigation ul li a {
    color: var(--nav-link);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 8px 0;
}

nav.navigation a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: opacity 0.2s;
}

/*Slide active drawer in - Open State */
.nav-toggle:checked~nav.navigation {
    left: 0;
}

nav.navigation ul li a:hover {
    color: var(--nav-link-hover);
}

nav.navigation a:hover {
    opacity: 0.8;
}


/* ==========================================================================
    LIST STYLING
========================================================================== */
ul {
    list-style: none;
}

/* ==========================================================================
    HERO SECTION
========================================================================== */
.hero {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 2px auto;
    width: 85%;
    max-width: 1150px;
}

#hero-image {
    width: 30%;
    max-width: 500px;
    margin: 2px 100px 0 auto;
    z-index: -1;
    min-width: 200px;
}

#hero-text,
input::placeholder {
    color: var(--text-muted);
}


/* ==========================================================================
    ABOUT SECTION
========================================================================== */

.about{
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-evenly;
    align-items:center;
    padding: 20px;
    margin-bottom: 25px;
}

#about-founder p{
    margin: 10px auto;
}

#founder-headshot{
    height: 300px;
    border-radius:50%;
}

.about h2{
    margin-bottom: 10px;
}

.about ul li{
    color: var(--text-muted);
    margin: 5px;
    list-style: circle;
}

/* ==========================================================================
    PLAN CARDS
========================================================================== */
.plan-card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    padding: 20px;
    margin: 0 auto 35px;
}

.plan-card-container,
.features,
.feature-grid {
    width: 98%;
}

/*Individual Card Styling */
.price-cards {
    background-color: var(--card-bg, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: 0.2s ease-in-out;
    min-width: 150px;
    max-width: 250px;
}

/*Highlight the middle featured card (Growth) */
.price-cards.featured {
    border-color: var(--featured-border, #0284c7);
    transform: scale(1.03);
    transition: 0.2s ease-in-out;
    /* Slightly elevates the middle card */
}

#growth-price {
    color: var(--accent-gold);
    font-weight: 700;
}

#old-price {
    color: #64748b;
    font-size: 0.9em;
}

#intro-pill {
    border: 1px solid var(--gold-pill-border);
    border-radius: 15px;
    text-align: center;
    background: var(--gold-pill-bg);
    color: var(--accent-gold);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    align-self: flex-start;
    margin-bottom: 8px;
}

.price-cards:hover {
    transform: scale(1.01);
    box-shadow: 1px 1px 8px 1px whitesmoke;
    transition: 0.2s ease-in-out;
}

.price-cards.featured:hover {
    transform: scale(1.04);
    box-shadow: 1px 1px 8px 1px gold;
    transition: 0.2s ease-in-out;
}

/* ==========================================================================
    FEATURES TABLE
========================================================================== */
.features h2 {
    margin-left: 20px;
}

/* SVG Icon Styling */
.icon-included,
.icon-not-included {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.icon-included {
    color: #22c55e;
}

.icon-not-included {
    color: #ef4444;
}

.comparison-table {
    margin: auto auto 10px auto;
    width: 97%;
    border-collapse: collapse;
    background-color: #1e293b;
    text-align: center;
}

.comparison-table thead th {
    background-color: #0f172a;
    color: #ffffff;
    padding: 16px;
    font-size: 1rem;
    border-bottom: 2px solid #334155;
}

.comparison-table th.feature-col {
    text-align: left;
    width: 40%;
}

.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #334155;
}

.comparison-table td.feature-name {
    color: var(--text-muted);
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #172033;
}

/* ==========================================================================
    CONTACT BUTTON
     ========================================================================== */

.contact-btn-container{
    text-align: center;
    padding: 15px;
}
#contact-btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: 1px solid var(--btn-border);
    border-radius: 3px;
    transition: 0.2s ease-in-out;
    font-size: 1.1rem;
    padding: 10px 20px;
    margin: 15px;
}

#contact-btn:hover {
    transform: scale(1.05) translate(-1px, -1px);
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: 1px solid var(--btn-border);
    border-radius: 3px;
    box-shadow: 1px 1px 8px 1px rgba(56, 189, 248, 0.4);
    transition: 0.2s ease-in-out;
}

/* ==========================================================================
    FOOTER
========================================================================== */
footer {
    text-align: center;
    vertical-align: middle;
    background-color: #0b111f;
    color: var(--footer-text);
    padding: 10px;
    border-top: 1px solid var(--input-border);
}

.footer-content{
    display: grid;
    grid-template-columns: auto auto;
}

/* ==========================================================================
    MOBILE STYLING
========================================================================== */
@media screen and (max-width: 576px) {
    body {
        width: 98vw;
    }

    .hero {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        margin: 2px auto;
        width: 85%;
        max-width: 1150px;
    }

    #hero-image {
        width: 60%;
        max-width: 500px;
        margin: 2px auto;
        z-index: -1;
        min-width: 200px;
    }

    .about {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        padding: 20px;
        margin-bottom: 25px;
    }

    #about-founder p {
        margin: 10px auto;
    }

    #founder-headshot {
        height: 185px;
        border-radius: 50%;
    }

    .plan-card-container {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        gap: 20px;
        padding: 20px;
        margin: 0 auto;
    }

    .table-wrapper {
        border-radius: 8px;
        border: 1px solid #334155;
    }

    .comparison-table thead th {
        padding: 5px;
    }

    .comparison-table td {
        padding: 5px 5px;
    }

    input {
        width: 100%;
    }

    .comparison-table {
        table-layout: fixed;
        margin: auto auto 10px auto;
        width: 90vw;
        border-collapse: collapse;
        background-color: #1e293b;
        text-align: center;
    }

    fieldset {
        width: 100%;
    }

    img {
        min-width: 200px;
    }
}