/* ========================================
   1. COLOUR VARIABLES
======================================== */

:root {
    --primary-green: #14532d;
    --secondary-green: #22c55e;
    --light-green: #dcfce7;
    --dark-text: #14231a;
    --grey-text: #5f6f65;
    --white: #ffffff;
    --page-background: #f3f8f4;
    --border-colour: #dce8df;
    --shadow: 0 18px 45px rgba(20, 83, 45, 0.12);
}


/* ========================================
   2. DEFAULT PAGE SETTINGS
======================================== */

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

body {
    min-height: 100vh;
    background: var(--page-background);
    color: var(--dark-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* ========================================
   3. HEADER AND NAVIGATION
======================================== */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-colour);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 80%;
    max-width: 1100px;
    min-height: 75px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--primary-green);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.logo-icon {
    .logo-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    padding: 10px 16px;
    border-radius: 8px;

    color: var(--grey-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background: var(--light-green);
    color: var(--primary-green);
}

.nav-links a.active {
    background: var(--primary-green);
    color: var(--white);
}


/* ========================================
   4. MAIN CONTENT
======================================== */

main {
    width: 90%;
    max-width: 850px;
    margin: 0 auto;
}


/* ========================================
   5. HERO INTRODUCTION
======================================== */

.hero {
    padding: 48px 20px 30px;
    text-align: center;
}
    
.eyebrow {
    margin-bottom: 12px;

    color: var(--secondary-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 700px;
    margin: 0 auto 18px;

    color: var(--primary-green);
    font-size: 48px;
    line-height: 1.15;
}

.hero-description {
    max-width: 650px;
    margin: 0 auto;

    color: var(--grey-text);
    font-size: 18px;
}


/* ========================================
   6. PASSWORD CHECKER CARD
======================================== */

.checker-card {
    margin-bottom: 70px;
    padding: 32px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.checker-heading {
    margin-bottom: 28px;
    text-align: center;
}

.checker-heading h2 {
    margin-bottom: 8px;

    color: var(--primary-green);
    font-size: 30px;
}

.checker-heading p {
    color: var(--grey-text);
}


/* ========================================
   7. PASSWORD INPUT
======================================== */

label {
    display: block;
    margin-bottom: 8px;

    color: var(--dark-text);
    font-weight: 700;
}

input {
    width: 100%;
    margin-bottom: 18px;
    padding: 15px 16px;

    background: var(--white);
    border: 2px solid var(--border-colour);
    border-radius: 10px;

    color: var(--dark-text);
    font-size: 16px;

    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input::placeholder {
    color: #87938b;
}

input:focus {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
    outline: none;
}


/* ========================================
   8. BUTTON
======================================== */

button {
    width: 100%;
    padding: 15px 20px;

    background: var(--primary-green);
    border: none;
    border-radius: 10px;

    color: var(--white);
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #0f4123;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

button:focus {
    outline: 3px solid rgba(34, 197, 94, 0.35);
    outline-offset: 3px;
}

/* Generator page */

.generator-heading {
    margin-bottom: 28px;
    text-align: center;
}

.generator-heading h2 {
    margin-bottom: 8px;
    color: var(--primary-green);
    font-size: 30px;
}

.generator-heading p {
    color: var(--grey-text);
}

.generator-buttons {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

.generator-buttons button {
    flex: 1;
    width: auto;
}

.copy-button {
    background: var(--light-green);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.copy-button:hover {
    background: var(--primary-green);
    color: var(--white);
}

.copy-message {
    min-height: 26px;
    margin-top: 12px;

    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
}

.generator-information {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 22px;
    padding: 16px;

    background: var(--light-green);
    border-radius: 10px;
}

.generator-information p {
    color: var(--primary-green);
    font-size: 14px;
}

.test-password-link {
    display: block;
    margin-top: 18px;
    padding: 14px 20px;

    border: 2px solid var(--primary-green);
    border-radius: 10px;

    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition: background 0.3s ease, color 0.3s ease;
}

.test-password-link:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* ========================================
   9. PASSWORD STRENGTH RESULT
======================================== */

#strength {
    min-height: 36px;
    margin: 22px 0 10px;

    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.generator-link {
    display: block;
    margin-top: 15px;
    padding: 14px 20px;

    background: var(--light-green);
    border: 2px solid var(--primary-green);
    border-radius: 10px;

    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition: background 0.3s ease, color 0.3s ease;
}

.generator-link:hover {
    background: var(--primary-green);
    color: var(--white);
}


/* ========================================
   10. PASSWORD REQUIREMENTS
======================================== */

.requirements {
    margin-top: 28px;
    padding: 24px;

    background: var(--page-background);
    border: 1px solid var(--border-colour);
    border-radius: 12px;
}

.requirements h3 {
    margin-bottom: 14px;

    color: var(--primary-green);
    font-size: 18px;
}

.requirements ul {
    padding-left: 22px;
}

.requirements li {
    margin-bottom: 8px;
    color: var(--grey-text);
}

.requirements li::marker {
    color: var(--secondary-green);
}


/* ========================================
   11. PRIVACY MESSAGE
======================================== */

.privacy-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 22px;
    padding: 16px;

    background: var(--light-green);
    border-radius: 10px;
}

.privacy-message span {
    font-size: 22px;
}

.privacy-message p {
    color: var(--primary-green);
    font-size: 14px;
}


/* ========================================
   12. FOOTER
======================================== */

.site-footer {
    padding: 30px 20px;

    background: var(--primary-green);
    color: var(--white);
    text-align: center;
}

.site-footer p {
    margin: 3px 0;
}

.site-footer p:last-child {
    color: #bbf7d0;
    font-size: 14px;
}


/* ========================================
   13. TEMPORARY STYLING FOR OTHER PAGES
======================================== */

body > header:not(.site-header) {
    padding: 45px 20px 20px;

    background: var(--primary-green);
    color: var(--white);
    text-align: center;
}

body > header:not(.site-header) h1 {
    font-size: 38px;
}

body > nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    padding: 15px 20px;

    background: var(--white);
    border-bottom: 1px solid var(--border-colour);
}

body > nav a {
    padding: 10px 16px;
    border-radius: 8px;

    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
}

body > nav a:hover {
    background: var(--light-green);
}

.container {
    width: 90%;
    max-width: 750px;
    margin: 50px auto;
    padding: 35px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.container h2 {
    margin-bottom: 25px;
    color: var(--primary-green);
    text-align: center;
}

.tip-card {
    margin: 20px 0;
    padding: 20px;

    background: var(--page-background);
    border: 1px solid var(--border-colour);
    border-radius: 12px;
}

.tip-card h3 {
    margin-bottom: 8px;
    color: var(--primary-green);
}

body > footer:not(.site-footer) {
    padding: 25px 20px;

    background: var(--primary-green);
    color: var(--white);
    text-align: center;
}

/* ========================================
   SECURITY TIPS PAGE
======================================== */

.tips-main {
    max-width: 1050px;
}

.tips-hero {
    padding-bottom: 35px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;

    margin-bottom: 30px;
}

.security-tip-card {
    position: relative;
    overflow: hidden;

    padding: 28px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-top: 4px solid var(--secondary-green);
    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(20, 83, 45, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.security-tip-card:nth-child(even) {
    border-top-color: #e5aa17;
}

.security-tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tip-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    margin-bottom: 18px;

    background: var(--light-green);
    border-radius: 14px;

    font-size: 26px;
}

.security-tip-card:nth-child(even) .tip-icon {
    background: #fff6d8;
}

.security-tip-card h2 {
    margin-bottom: 10px;

    color: var(--primary-green);
    font-size: 21px;
    line-height: 1.3;
}

.security-tip-card > p {
    color: var(--grey-text);
    font-size: 15px;
}

.security-tip-card .tip-action {
    margin-top: 18px;
    padding-top: 15px;

    border-top: 1px solid var(--border-colour);

    color: var(--primary-green);
    font-size: 14px;
    font-weight: 700;
}

.security-reminder {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 70px;
    padding: 28px;

    background:
        linear-gradient(
            135deg,
            var(--primary-green),
            #1f7a42
        );

    border-radius: 16px;
    box-shadow: var(--shadow);

    color: var(--white);
}

.reminder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 62px;
    height: 62px;

    background: rgba(255, 255, 255, 0.13);
    border-radius: 14px;

    font-size: 31px;
}

.security-reminder h2 {
    margin-bottom: 5px;
    font-size: 22px;
}

.security-reminder p {
    color: #d7f9e2;
    font-size: 15px;
}


/* Tips page on phones */

@media (max-width: 700px) {

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .security-tip-card {
        padding: 23px;
    }

    .security-reminder {
        align-items: flex-start;
        padding: 22px;
    }

}

/* ========================================
   ABOUT PAGE
======================================== */

.about-main {
    max-width: 1050px;
}

.about-hero {
    padding-bottom: 38px;
}


/* Founder section */

.founder-card {
    display: grid;
    grid-template-columns: 310px 1fr;

    margin-bottom: 25px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 18px;
    box-shadow: var(--shadow);

    overflow: hidden;
}

.founder-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            var(--primary-green),
            #1f7a42
        );

    color: var(--white);
}

.founder-initials {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    background: #f2b719;
    border: 5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    color: var(--primary-green);
    font-size: 27px;
    font-weight: 700;
}

.founder-label {
    margin-bottom: 5px;

    color: #fbd86b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.founder-identity h2 {
    margin-bottom: 3px;
    font-size: 27px;
}

.founder-identity div:last-child > p:last-child {
    color: #d7f9e2;
    font-size: 14px;
}

.founder-story {
    padding: 35px;
}

.founder-story p {
    margin-bottom: 16px;

    color: var(--grey-text);
    font-size: 15px;
}

.founder-story p:first-child {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
}

.founder-story .welcome-message {
    margin-bottom: 0;
    padding: 15px;

    background: var(--light-green);
    border-left: 4px solid var(--secondary-green);
    border-radius: 8px;

    color: var(--primary-green);
    font-weight: 700;
}


/* Mission and information cards */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    margin-bottom: 25px;
}

.about-card {
    padding: 28px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-top: 4px solid var(--secondary-green);
    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(20, 83, 45, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.about-card:nth-child(even) {
    border-top-color: #e5aa17;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.about-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    margin-bottom: 18px;

    background: var(--light-green);
    border-radius: 14px;

    font-size: 26px;
}

.about-card:nth-child(even) .about-icon {
    background: #fff6d8;
}

.about-card h2 {
    margin-bottom: 12px;

    color: var(--primary-green);
    font-size: 21px;
}

.about-card p {
    margin-bottom: 12px;

    color: var(--grey-text);
    font-size: 15px;
}

.about-card p:last-child {
    margin-bottom: 0;
}


/* Vision section */

.about-vision {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-bottom: 25px;
    padding: 30px;

    background:
        linear-gradient(
            135deg,
            var(--primary-green),
            #1f7a42
        );

    border-radius: 16px;
    box-shadow: var(--shadow);

    color: var(--white);
}

.vision-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 68px;
    height: 68px;

    background: rgba(255, 255, 255, 0.13);
    border-radius: 15px;

    font-size: 34px;
}

.vision-label {
    margin-bottom: 4px;

    color: #fbd86b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.about-vision h2 {
    margin-bottom: 5px;
    font-size: 23px;
}

.about-vision p:last-child {
    color: #d7f9e2;
    font-size: 15px;
}


/* Final action section */

.about-cta {
    margin-bottom: 70px;
    padding: 35px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 16px;
    box-shadow: var(--shadow);

    text-align: center;
}

.about-cta h2 {
    margin-bottom: 7px;

    color: var(--primary-green);
    font-size: 27px;
}

.about-cta > p {
    margin-bottom: 22px;
    color: var(--grey-text);
}

.about-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.about-button {
    min-width: 220px;
    padding: 14px 20px;

    border: 2px solid var(--primary-green);
    border-radius: 10px;

    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.about-button:hover {
    transform: translateY(-2px);
}

.primary-about-button {
    background: var(--primary-green);
    color: var(--white);
}

.primary-about-button:hover {
    background: #0f4123;
}

.secondary-about-button {
    background: var(--light-green);
    color: var(--primary-green);
}

.secondary-about-button:hover {
    background: var(--primary-green);
    color: var(--white);
}


/* About page on phones */

@media (max-width: 700px) {

    .founder-card {
        grid-template-columns: 1fr;
    }

    .founder-identity {
        padding: 28px;
    }

    .founder-story {
        padding: 25px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-vision {
        align-items: flex-start;
        padding: 23px;
    }

    .about-actions {
        flex-direction: column;
    }

    .about-button {
        width: 100%;
        min-width: 0;
    }

}
/* ========================================
   ABOUT PAGE — VISUAL UPGRADE
======================================== */

/* Dark-green hero */

.about-hero-feature {
    position: relative;
    overflow: hidden;

    max-width: none;
    margin-top: 45px;
    padding: 70px 60px 85px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(242, 183, 25, 0.25),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0d3b20,
            var(--primary-green),
            #218348
        );

    border-radius: 24px;
    box-shadow: 0 24px 55px rgba(20, 83, 45, 0.25);

    text-align: left;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.about-hero-feature .eyebrow {
    color: #fbd86b;
}

.about-hero-feature h1 {
    max-width: 720px;
    margin: 0;

    color: var(--white);
    font-size: 52px;
}

.about-hero-feature .hero-description {
    max-width: 620px;
    margin: 20px 0 0;

    color: #d7f9e2;
    font-size: 18px;
}

.about-hero-watermark {
    position: absolute;
    right: -45px;
    bottom: -75px;

    width: 320px;
    height: 320px;

    object-fit: contain;
    opacity: 0.16;
    transform: rotate(-8deg);
}


/* Trust statistics */

.impact-strip {
    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: calc(100% - 80px);
    margin: -32px auto 35px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 16px;
    box-shadow: var(--shadow);

    overflow: hidden;
}

.impact-item {
    padding: 24px;
    text-align: center;
}

.impact-item:not(:last-child) {
    border-right: 1px solid var(--border-colour);
}

.impact-item strong {
    display: block;

    color: var(--primary-green);
    font-size: 30px;
    line-height: 1.1;
}

.impact-item span {
    display: block;
    margin-top: 6px;

    color: var(--grey-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* SecurePass origin journey */

.origin-section {
    margin-bottom: 25px;
    padding: 38px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.origin-heading {
    max-width: 700px;
    margin: 0 auto 30px;

    text-align: center;
}

.origin-label {
    margin-bottom: 7px;

    color: #d69a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.origin-heading h2 {
    margin-bottom: 8px;

    color: var(--primary-green);
    font-size: 28px;
}

.origin-heading > p:last-child {
    color: var(--grey-text);
}

.origin-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.origin-step {
    padding: 25px;

    background: var(--page-background);
    border: 1px solid var(--border-colour);
    border-radius: 14px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.origin-step:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-green);
    box-shadow: 0 12px 25px rgba(20, 83, 45, 0.12);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin-bottom: 17px;

    background: #f2b719;
    border-radius: 50%;

    color: var(--primary-green);
    font-size: 14px;
    font-weight: 700;
}

.origin-step h3 {
    margin-bottom: 8px;

    color: var(--primary-green);
    font-size: 18px;
}

.origin-step p {
    color: var(--grey-text);
    font-size: 14px;
}


/* Upgrade on phones */

@media (max-width: 700px) {

    .about-hero-feature {
        margin-top: 25px;
        padding: 50px 25px 70px;

        text-align: center;
    }

    .about-hero-feature h1 {
        font-size: 37px;
    }

    .about-hero-feature .hero-description {
        margin: 18px auto 0;
    }

    .about-hero-watermark {
        right: -70px;
        bottom: -80px;

        width: 240px;
        height: 240px;
    }

    .impact-strip {
        grid-template-columns: 1fr;

        width: calc(100% - 30px);
        margin-top: -28px;
    }

    .impact-item {
        padding: 18px;
    }

    .impact-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-colour);
    }

    .origin-section {
        padding: 27px 20px;
    }

    .origin-steps {
        grid-template-columns: 1fr;
    }

}
/* ========================================
   HOME PAGE — VISUAL UPGRADE
======================================== */

.home-main {
    max-width: 1050px;
}


/* Dark homepage hero */

.home-hero {
    position: relative;
    overflow: hidden;

    margin-top: 45px;
    padding: 70px 60px 100px;

    background:
        radial-gradient(
            circle at 85% 20%,
            #10101040,
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0d3b20,
            var(--primary-green),
            #218348
        );

    border-radius: 24px;
    box-shadow: 0 24px 55px rgba(20, 83, 45, 0.25);
}

.home-hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.home-eyebrow {
    margin-bottom: 12px;

    color: #fbd86b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.home-hero h1 {
    max-width: 700px;
    margin-bottom: 18px;

    color: var(--white);
    font-size: 55px;
    line-height: 1.1;
}

.home-hero-description {
    max-width: 620px;

    color: #d7f9e2;
    font-size: 18px;
}

.home-hero-watermark {
    position: absolute;
    right: -45px;
    bottom: -75px;

    width: 330px;
    height: 330px;

    object-fit: contain;
    opacity: 0.16;
    transform: rotate(-8deg);
}


/* Privacy and speed labels */

.home-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 27px;
}

.home-trust-points span {
    padding: 9px 14px;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;

    color: var(--white);
    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(5px);
}


/* Password checker */

.home-checker-card {
    position: relative;
    z-index: 5;

    max-width: 850px;
    margin: -48px auto 30px;
    padding: 38px;
}

.home-tool-heading {
    display: flex;
    align-items: center;
    gap: 17px;

    margin-bottom: 25px;
}

.home-tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 58px;
    height: 58px;

    background: var(--light-green);
    border-radius: 15px;

    font-size: 27px;
}

.tool-label {
    margin-bottom: 3px;

    color: #d69a00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.home-tool-heading h2 {
    margin-bottom: 2px;

    color: var(--primary-green);
    font-size: 27px;
}

.home-tool-heading div:last-child > p:last-child {
    color: var(--grey-text);
    font-size: 14px;
}


/* Password safety warning */

.password-safety-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 22px;
    padding: 15px;

    background: #fff6d8;
    border: 1px solid #f4d675;
    border-left: 4px solid #e5aa17;
    border-radius: 10px;
}

.password-safety-warning span {
    font-size: 19px;
}

.password-safety-warning p {
    color: #755600;
    font-size: 14px;
}


/* Strength result */

.strength-result {
    min-height: 40px;
    margin: 20px 0 8px;

    text-align: center;
    font-size: 22px;
    font-weight: 700;
}


/* Generator link adjustment */

.home-checker-card .generator-link {
    margin-top: 12px;
}


/* Test, Improve, Protect section */

.home-journey {
    margin-bottom: 70px;
    padding: 38px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.home-journey-heading {
    max-width: 700px;
    margin: 0 auto 30px;

    text-align: center;
}

.home-journey-heading > p {
    margin-bottom: 7px;

    color: #d69a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.home-journey-heading h2 {
    color: var(--primary-green);
    font-size: 28px;
}

.home-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-journey-step {
    padding: 25px;

    background: var(--page-background);
    border: 1px solid var(--border-colour);
    border-radius: 14px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.home-journey-step:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-green);
    box-shadow: 0 12px 25px rgba(20, 83, 45, 0.12);
}

.journey-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin-bottom: 17px;

    background: #f2b719;
    border-radius: 50%;

    color: var(--primary-green);
    font-size: 14px;
    font-weight: 700;
}

.home-journey-step h3 {
    margin-bottom: 8px;

    color: var(--primary-green);
    font-size: 19px;
}

.home-journey-step p {
    color: var(--grey-text);
    font-size: 14px;
}


/* Homepage on phones */

@media (max-width: 700px) {

    .home-hero {
        margin-top: 25px;
        padding: 50px 25px 85px;

        text-align: center;
    }

    .home-hero h1 {
        font-size: 39px;
    }

    .home-hero-description {
        margin: 0 auto;
        font-size: 16px;
    }

    .home-trust-points {
        justify-content: center;
    }

    .home-hero-watermark {
        right: -70px;
        bottom: -80px;

        width: 240px;
        height: 240px;
    }

    .home-checker-card {
        width: calc(100% - 30px);
        margin-top: -45px;
        padding: 25px 20px;
    }

    .home-tool-heading {
        align-items: flex-start;
    }

    .home-tool-heading h2 {
        font-size: 23px;
    }

    .home-journey {
        padding: 27px 20px;
    }

    .home-journey-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 700px) {
    
}

/* ========================================
   GENERATOR PAGE — VISUAL UPGRADE
======================================== */

.generator-main {
    width: 90%;
    max-width: 1050px;
}


/* Generator hero */

.generator-hero {
    position: relative;
    min-height: 440px;
    margin-top: 55px;
    padding: 70px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #0b3d22,
            var(--primary-green) 55%,
            #1f8a49
        );

    border-radius: 24px;
    box-shadow: var(--shadow);

    overflow: hidden;
}

.generator-hero-content {
    position: relative;
    z-index: 2;

    max-width: 680px;
}

.generator-eyebrow,
.generator-section-label {
    margin-bottom: 13px;

    color: #f6bd21;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.generator-hero h1 {
    margin-bottom: 22px;

    color: var(--white);
    font-size: 52px;
    line-height: 1.1;
}

.generator-hero-description {
    max-width: 650px;
    margin-bottom: 30px;

    color: #d7f9e2;
    font-size: 18px;
}

.generator-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.generator-trust-pills span {
    padding: 10px 15px;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 50px;

    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.generator-watermark {
    position: absolute;
    right: 35px;
    bottom: -65px;

    width: 300px;
    height: 300px;

    object-fit: contain;
    opacity: 0.09;
    transform: rotate(-7deg);
}


/* Generator workspace */

.generator-workspace {
    position: relative;
    z-index: 5;

    width: 92%;
    margin: -65px auto 35px;
    padding: 45px;

    border-radius: 22px;
}

.generator-title {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 28px;
}

.generator-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 66px;
    height: 66px;

    background: var(--light-green);
    border-radius: 17px;

    font-size: 30px;
}

.generator-title .generator-section-label {
    margin-bottom: 4px;
    color: #d79400;
}

.generator-title h2 {
    margin-bottom: 4px;

    color: var(--primary-green);
    font-size: 29px;
}

.generator-title > div:last-child > p:last-child {
    color: var(--grey-text);
}


/* Educational safety message */

.generator-safety-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 25px;
    padding: 15px 17px;

    background: #fff7d6;
    border: 1px solid #f2c04b;
    border-left: 5px solid #e5aa17;
    border-radius: 10px;
}

.generator-safety-note span {
    font-size: 20px;
}

.generator-safety-note p {
    color: #755400;
    font-size: 14px;
}


/* Password output */

.password-output-wrapper {
    position: relative;
}

.password-output-wrapper input {
    padding-right: 60px;

    background: #fbfdfb;
    font-family: "Courier New", Courier, monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}

.output-lock {
    position: absolute;
    top: 15px;
    right: 18px;

    font-size: 22px;
}

.generator-buttons {
    display: flex;
    gap: 16px;
}

.generator-buttons button {
    flex: 1;
}

.copy-button {
    background: var(--light-green);
    border: 2px solid var(--primary-green);

    color: var(--primary-green);
}

.copy-button:hover {
    background: var(--primary-green);
    color: var(--white);
}

.copy-message {
    min-height: 30px;
    margin: 14px 0 4px;

    text-align: center;
    font-weight: 700;
}


/* Password character features */

.password-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;

    margin: 22px 0;
}

.password-feature {
    padding: 18px 12px;

    background: var(--page-background);
    border: 1px solid var(--border-colour);
    border-radius: 12px;

    text-align: center;
}

.password-feature span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    margin: 0 auto 8px;

    background: var(--primary-green);
    border-radius: 10px;

    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.password-feature:nth-child(even) span {
    background: #e5aa17;
    color: var(--dark-text);
}

.password-feature p {
    color: var(--grey-text);
    font-size: 13px;
    font-weight: 700;
}


/* Privacy and testing */

.generator-information {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 24px;
    padding: 17px;

    background: var(--light-green);
    border-radius: 11px;
}

.generator-information span {
    font-size: 22px;
}

.generator-information p {
    color: var(--primary-green);
    font-size: 14px;
}

.test-password-link {
    display: block;
    margin-top: 16px;
    padding: 15px;

    border: 2px solid var(--primary-green);
    border-radius: 10px;

    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.test-password-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}


/* Password education */

.password-education {
    margin-bottom: 30px;
    padding: 42px;

    background: var(--white);
    border: 1px solid var(--border-colour);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.education-heading {
    max-width: 650px;
    margin: 0 auto 30px;

    text-align: center;
}

.education-heading .generator-section-label {
    color: #d79400;
}

.education-heading h2 {
    margin-bottom: 8px;

    color: var(--primary-green);
    font-size: 30px;
}

.education-heading > p:last-child {
    color: var(--grey-text);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.education-card {
    position: relative;
    padding: 25px;

    background: var(--page-background);
    border: 1px solid var(--border-colour);
    border-top: 4px solid var(--secondary-green);
    border-radius: 15px;
}

.education-card:nth-child(2) {
    border-top-color: #e5aa17;
}

.education-number {
    position: absolute;
    top: 17px;
    right: 17px;

    color: #a1ada5;
    font-size: 12px;
    font-weight: 700;
}

.education-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;
    margin-bottom: 17px;

    background: var(--light-green);
    border-radius: 13px;

    font-size: 24px;
}

.education-card:nth-child(2) .education-icon {
    background: #fff4ce;
}

.education-card h3 {
    margin-bottom: 9px;

    color: var(--primary-green);
    font-size: 19px;
}

.education-card p {
    color: var(--grey-text);
    font-size: 14px;
}


/* Generator journey */

.generator-journey {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 70px;
    padding: 28px 32px;

    background:
        linear-gradient(
            135deg,
            var(--primary-green),
            #1f7a42
        );

    border-radius: 18px;
    box-shadow: var(--shadow);
}

.journey-step {
    display: flex;
    align-items: center;
    gap: 13px;

    color: var(--white);
}

.journey-step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    background: #f6bd21;
    border-radius: 50%;

    color: var(--primary-green);
    font-weight: 700;
}

.journey-step h3 {
    font-size: 16px;
}

.journey-step p {
    color: #d7f9e2;
    font-size: 12px;
}

.journey-arrow {
    color: #f6bd21;
    font-size: 22px;
    font-weight: 700;
}


/* Generator page on phones */

@media (max-width: 700px) {

    .generator-main {
        width: 94%;
    }

    .generator-hero {
        min-height: auto;
        margin-top: 25px;
        padding: 45px 25px 100px;
        border-radius: 18px;
    }

    .generator-hero h1 {
        font-size: 37px;
    }

    .generator-hero-description {
        font-size: 16px;
    }

    .generator-trust-pills {
        gap: 8px;
    }

    .generator-trust-pills span {
        padding: 8px 11px;
        font-size: 11px;
    }

    .generator-watermark {
        right: -20px;
        bottom: -30px;

        width: 190px;
        height: 190px;
    }

    .generator-workspace {
        width: 92%;
        margin-top: -65px;
        padding: 25px 20px;
    }

    .generator-title {
        align-items: flex-start;
    }

    .generator-title-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .generator-title h2 {
        font-size: 23px;
    }

    .generator-buttons {
        flex-direction: column;
    }

    .password-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .password-education {
        padding: 30px 20px;
    }

    .education-heading h2 {
        font-size: 25px;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .generator-journey {
        align-items: stretch;
        flex-direction: column;
        padding: 25px;
    }

    .journey-arrow {
        display: none;
    }

}

/* ========================================
   14. MOBILE RESPONSIVENESS
======================================== */

/* Logo size on every screen */

img.logo-image {
    width: 90px !important;
    height: 90px !important;
    object-fit: contain;
    flex-shrink: 0;
}


/* Instructions for screens 700px or smaller */

@media (max-width: 700px) {

    .navbar {
        width: 94%;
        padding: 15px 0;

        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links a {
        padding: 8px 11px;
        font-size: 14px;
    }

    .hero {
        padding: 50px 10px 30px;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .checker-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .checker-heading h2 {
        font-size: 25px;
    }

    .privacy-message {
        align-items: flex-start;
    }

    .generator-buttons {
        flex-direction: column;
    }

}