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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, sans-serif; color: #172136;
    font-size: 15px; line-height: 1.6;
}

/* CLICKABLE TEXT LINKS & HOVER */
a {
    text-decoration: none; color: inherit;
    position: relative; transition: color 0.2s ease;
}

img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* NAVIGATION */
.site-header {
    min-height: 68px; width: 100%; position: sticky;
    top: 0; z-index: 1000; background: white;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; border-bottom: 1px solid #e9ecef;
}

.brand-container {
    display: flex; align-items: center; gap: 12px;
}

.brand-img {
    width: 40px; height: 40px;
    object-fit: contain;
}

.brand-title {
    font-size: 20px; font-weight: 500; color: #252525;
}

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

.main-nav a {
    padding: 8px 16px; border-radius: 6px;
    color: #46536a; font-size: 14px; font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #e8f0fe; color: #11182d;
}

/* BUTTONS HOVER EFFECTS */
.button {
    display: inline-block; padding: 12px 22px;
    border: 1px solid #d6e0ec; border-radius: 8px;
    font-size: 14px; text-align: center; font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.button-dark {
    background: #11182d; color: white;
    border-color: #11182d;
}

.button-dark:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.button-light,
.button-white {
    background: white; color: #11182d;
    border-color: #d6e0ec;
}

.button-light:hover,
.button-white:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.nav-button {
    padding: 6px 12px; font-size: 12px;
}

.hero-actions {
    display: flex; gap: 16px; margin-top: 30px;
}

.btn-icon {
    width: 15px; height: 15px;
    object-fit: contain; vertical-align: middle; margin-left: 6px;
}

.hero-tag {
    display: inline-flex; align-items: center;
    gap: 8px; font-size: 12px; font-weight: bold;
    letter-spacing: 1.2px; color: #718097; margin-bottom: 18px;
}

.hero-tag-icon {
    width: 20px; height: 20px; object-fit: contain;
    display: inline-block; vertical-align: middle;
}

.type-heading-wrapper {
    display: inline-flex; align-items: center; gap: 10px;
}

.type-icon-container {
    width: 20px; height: 20px; background-color: #e0edff;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}

.type-icon-container .type-icon {
    width: 11px; height: 11px;
    object-fit: contain; display: block; margin: 0;
}

/* HOME */
.hero {
    min-height: calc(100vh - 68px); padding: 60px 5% 60px 2.5in;
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    align-items: center; gap: 50px;
    background: radial-gradient(circle at 100% 100%, #dff3ff, transparent 25%), #f7f9fc;
    scroll-margin-top: 68px;
}

.hero h1 {
    margin-bottom: 20px; color: #11182d; font-size: 52px; 
    line-height: 1.08; letter-spacing: -0.8px;
}

.hero-description {
    max-width: 480px; color: #58677f; font-size: 17px; 
    line-height: 1.65; margin-bottom: 30px;
}

/* PREVIEW CARD */
.preview-area {
    width: 100%; max-width: 410px; margin: auto;
    position: relative; padding-top: 24px;
}

.preview-label {
    position: absolute; top: 0; right: 12px;
    padding: 4px 12px; border-radius: 15px;
    background: #d9f2fa; font-size: 11px;
    color: #0369a1; font-weight: bold;
}

.preview-card {
    padding: 16px; border: 1px solid #dce6f0;
    border-radius: 18px; background: white;
    box-shadow: 0 12px 30px #e2eaf3;
}

.shirt-photo {
    height: 220px; position: relative;
    overflow: hidden; border-radius: 10px;
}

.image-tag {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 8px; background: white;
    border-radius: 10px; font-size: 10px;
    color: #333; font-weight: bold;
}

.result-box {
    margin-top: 12px; padding: 12px; 
    border: 1px solid #e2eaf3;
    border-radius: 10px; background: #f9fbfe;
}

.result-heading {
    display: flex; justify-content: space-between;
    align-items: center; color: #64748b; font-size: 11px;
}

.result-heading b {
    padding: 3px 8px; border-radius: 10px;
    color: #3274c5; background: #e3efff; font-size: 11px;
}

.result-box h3 {
    font-size: 15px; margin-top: 6px; color: #11182d;
}

.result-box p,
.verified {
    color: #718097; font-size: 12px;
}

.verified {
    margin-top: 12px;  text-align: center; font-size: 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}

.verified-icon {
    width: 16px; height: 16px; object-fit: contain;
    display: inline-block; vertical-align: middle;
}

/* GENERAL SECTIONS */
.section {
    width: 100%; padding: 48px 5%; scroll-margin-top: 80px; height: auto;
    min-height: calc(100vh - 68px);
}

.section-heading {
    margin-bottom: 30px; text-align: center;
}

.section-heading h2 {
    margin-bottom: 8px; color: #11182d;
    font-size: 32px; line-height: 1.25;
}

.section-heading p {
    color: #617089; font-size: 16px;
}

/* CLASSIFICATION CATEGORIES */
.categories {
    background: white;
}

.category-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px; align-items: stretch;
}

.category-card {
    min-width: 0; padding: 12px;
    border: 1px solid #e2eaf3; border-radius: 12px;
    background: #f8fafc; display: flex; flex-direction: column;
}

.category-image {
    width: 100%; height: 145px; flex-shrink: 0; 
    position: relative; overflow: hidden; border: 1px solid #e6ecf3;
    border-radius: 10px; background: white;
}

.category-image img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}

.confidence {
    position: absolute; top: 10px; right: 10px; padding: 3px 8px; color: white;
    background: rgba(17, 24, 45, 0.85); border-radius: 10px;
    font-size: 10px; font-weight: 500;
}

.category-title {
    display: flex; align-items: center; justify-content: space-between; 
    gap: 8px; margin-top: 10px;
}

.category-title h3 {
    font-size: 16px;
}

.tag {
    flex-shrink: 0; padding: 3px 8px;
    border-radius: 12px; font-size: 11px;
}

.tag-green {
    color: #168567; background: #ecfff7;
    border: 1px solid #b6f0dc;
}

.tag-purple {
    color: #a14cdb; background: #fbf2ff;
    border: 1px solid #eed7ff;
}

.category-type {
    margin-top: 6px; color: #718097; font-size: 11px;
}

.category-card > p:last-child {
    margin-top: 6px; color: #637188;
    font-size: 12px; line-height: 1.5;
}

/* HOW IT WORKS */
.how-it-works {
    background: #f7f9fc;
}

.steps-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px; align-items: stretch;
}

.step-card {
    min-width: 0; padding: 22px;
    border: 1px solid #e2eaf3; border-radius: 12px;
    background: white;
}

.step-number {
    display: inline-block; padding: 6px 10px;
    border-radius: 8px; color: white;
    background: #11182d; font-size: 13px;
}

.step-card h3 {
    margin: 14px 0 6px; font-size: 16px;
    line-height: 1.4;
}

.step-card p {
    color: #64748b; font-size: 13px;
    line-height: 1.6;
}

/* CALL TO ACTION */
.call-to-action {
    margin-top: 38px; padding: 36px 24px;
    border-radius: 16px; color: white; text-align: center;
    background:
        radial-gradient(circle at 5% 10%, #252d60, transparent 30%),
        radial-gradient(circle at 100% 100%, #103b56, transparent 30%), #10192e;
}

.cta-icon {
    display: inline-block; margin-bottom: 8px;
}

.call-to-action h2 {
    font-size: 28px; line-height: 1.3;
}

.call-to-action p {
    margin: 12px 0 24px; color: #c4ccda;
    font-size: 16px;
}

.button-white {
    background: white; color: #11182d;
}

/* FOOTER */
.site-footer {
    padding: 40px 5%; background: white;
    border-top: 1px solid #e9edf3;
}

.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 30px; padding-bottom: 25px;
    border-bottom: 1px solid #e9edf3;
}

.footer-about > p {
    max-width: 320px; margin: 10px 0 5px 22px;
    color: #718097; font-size: 13px;
}

.footer-note {
    display: inline-flex; align-items: center;
    gap: 6px; color: #718097; font-size: 13px;
}

.footer-note-icon {
    width: 16px; height: 16px; object-fit: contain;
    display: inline-block; vertical-align: middle;
}

.footer-links a {
    color: #718097; font-size: 13px;
}

.footer-links a:hover {
    color: #168a80; text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-links {
    display: flex; flex-direction: column; gap: 10px;
}

.footer-links h4 {
    font-size: 13px; color: #11182d; margin-bottom: 5px;
}

.copyright {
    padding-top: 30px; color: #7e8ba0;
    text-align: center; font-size: 12px;
}

/* TABLET */
@media (max-width: 1000px) {
    .hero {
        padding: 50px 5%; grid-template-columns: 1fr 0.9fr; gap: 28px;
    }

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

    .category-grid {
        gap: 14px;
    }

    .category-image {
        height: 125px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .site-header {
        height: auto; min-height: 68px;
        padding: 12px 4%; gap: 12px; flex-wrap: wrap;
    }

    .main-nav {
        display: flex; order: 3; width: 100%;
        justify-content: center; flex-wrap: wrap; gap: 4px;
    }

    .main-nav a {
        padding: 7px 10px; font-size: 12px;
    }

    .nav-button {
        margin-left: auto;
    }

    .hero {
        min-height: calc(100vh - 68px); grid-template-columns: 1fr;
        padding: 42px 5%; gap: 32px;
    }

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

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

    .preview-area {
        max-width: 430px;
    }

    .section {
        min-height: auto; padding: 38px 5%;
        scroll-margin-top: 125px;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
    }

    .category-image {
        height: 125px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
    }

    .step-card {
        padding: 18px;
    }

    .call-to-action {
        margin-top: 28px; padding: 30px 18px;
    }

    .call-to-action h2 {
        font-size: 24px;
    }

    .call-to-action p {
        font-size: 14px;
    }

    .desktop-break {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .brand-title {
        font-size: 18px;
    }

    .brand-img {
        width: 34px; height: 34px;
    }

    .category-grid,
    .steps-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 180px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

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

    .hero-actions {
        gap: 10px; flex-wrap: wrap;
    }

    .call-to-action h2 {
        font-size: 22px;
    }
}