/* =========================================================
   JUMPY LOGS — GLOBAL STYLES
   Sky Blue • Faint Pink • Clean Marketplace
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f8fbff;
    color: #172033;

    line-height: 1.6;

    min-height: 100vh;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --sky: #65c7f7;
    --sky-dark: #239bd2;
    --sky-light: #eaf8ff;

    --pink: #f8dce9;
    --pink-light: #fff4f8;
    --pink-dark: #d98aaa;

    --white: #ffffff;

    --text: #172033;
    --muted: #6d7788;

    --border: #e4eaf1;

    --success: #1eaa68;
    --danger: #dc4c5a;

    --shadow:
        0 18px 50px rgba(40, 90, 120, 0.10);

    --radius: 18px;

    --container: 1180px;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);
}


.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.logo {
    display: inline-flex;

    align-items: center;

    flex-shrink: 0;
}


.site-logo {
    width: 155px;
    height: auto;

    object-fit: contain;

    border-radius: 10px;
}


.main-nav {
    display: flex;

    align-items: center;

    gap: 28px;
}


.main-nav > a:not(.btn) {
    color: var(--text);

    font-size: 0.95rem;

    font-weight: 600;

    transition:
        color 0.2s ease;
}


.main-nav > a:not(.btn):hover {
    color: var(--sky-dark);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        0 22px;

    border-radius: 12px;

    border: 1px solid transparent;

    font-weight: 700;

    font-size: 0.95rem;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    white-space: nowrap;
}


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


.btn-primary {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--sky-dark),
            var(--sky)
        );

    box-shadow:
        0 10px 25px rgba(35, 155, 210, 0.22);
}


.btn-primary:hover {
    box-shadow:
        0 14px 30px rgba(35, 155, 210, 0.30);
}


.btn-outline {
    color: var(--sky-dark);

    background: var(--white);

    border-color:
        rgba(35, 155, 210, 0.35);
}


.btn-outline:hover {
    background: var(--sky-light);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding:
        90px 0 100px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(248, 220, 233, 0.70),
            transparent 32%
        ),

        linear-gradient(
            135deg,
            #f1fbff 0%,
            #ffffff 52%,
            #fff6fa 100%
        );

    overflow: hidden;
}


.hero-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, 0.9fr);

    align-items: center;

    gap: 70px;
}


.section-label {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--sky-dark);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}


.hero-content h1 {
    max-width: 720px;

    margin-bottom: 22px;

    font-size:
        clamp(2.8rem, 6vw, 5.2rem);

    line-height: 1.03;

    letter-spacing: -0.045em;
}


.hero-content h1 span {
    display: block;

    color: var(--sky-dark);
}


.hero-content p {
    max-width: 650px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 1.1rem;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   HERO CARD
   ========================================================= */

.hero-card {
    min-height: 430px;

    padding: 28px;

    border:
        1px solid rgba(255, 255, 255, 0.8);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95),
            rgba(235, 248, 255, 0.90)
        );

    box-shadow:
        0 30px 80px rgba(40, 100, 130, 0.16);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    overflow: hidden;
}


.hero-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    top: -80px;

    background: var(--pink);

    border-radius: 50%;

    opacity: 0.65;
}


.hero-card-top,
.hero-card-bottom {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    color: var(--muted);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    position: relative;
}


.hero-card-main {
    text-align: center;

    position: relative;
}


.hero-circle {
    width: 180px;
    height: 180px;

    margin: 0 auto 28px;

    padding: 12px;

    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 20px 45px rgba(40, 100, 130, 0.14);

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.hero-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


.hero-card-main h2 {
    margin-bottom: 5px;

    font-size: 1.5rem;
}


.hero-card-main p {
    color: var(--muted);
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    max-width: 720px;

    margin:
        0 auto 50px;

    text-align: center;
}


.section-heading h2 {
    margin-bottom: 14px;

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.1;

    letter-spacing: -0.03em;
}


.section-heading p {
    color: var(--muted);

    font-size: 1rem;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features-section {
    padding:
        95px 0;

    background: var(--white);
}


.features-grid {
    display: grid;

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

    gap: 22px;
}


.feature-card {
    padding: 32px;

    background: var(--white);

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

    border-radius: var(--radius);

    box-shadow:
        0 10px 35px rgba(30, 60, 90, 0.05);

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


.feature-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(30, 60, 90, 0.10);
}


.feature-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: var(--sky-dark);

    background:
        linear-gradient(
            135deg,
            var(--sky-light),
            var(--pink-light)
        );

    font-size: 1.3rem;

    font-weight: 900;
}


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

    font-size: 1.15rem;
}


.feature-card p {
    color: var(--muted);

    font-size: 0.95rem;
}


/* =========================================================
   PRODUCTS PREVIEW
   ========================================================= */

.home-products {
    padding:
        100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8fbff
        );
}


.product-preview-grid {
    display: grid;

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

    gap: 22px;
}


.product-preview-card {
    padding: 30px;

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

    border-radius: var(--radius);

    background: var(--white);

    box-shadow:
        0 12px 35px rgba(30, 60, 90, 0.06);
}


.product-preview-icon {
    width: 55px;
    height: 55px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--pink-light);

    color: var(--pink-dark);

    font-size: 1.4rem;

    font-weight: 900;
}


.product-preview-card h3 {
    margin-bottom: 9px;
}


.product-preview-card p {
    min-height: 55px;

    margin-bottom: 15px;

    color: var(--muted);

    font-size: 0.92rem;
}


.product-preview-card strong {
    color: var(--sky-dark);
}


.center-action {
    margin-top: 38px;

    text-align: center;
}


/* =========================================================
   ACCOUNT CTA
   ========================================================= */

.account-cta {
    padding:
        80px 0;

    background: var(--white);
}


.cta-card {
    padding:
        42px 48px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #eaf8ff,
            #fff0f6
        );

    border:
        1px solid rgba(35, 155, 210, 0.10);

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.cta-card h2 {
    margin-bottom: 8px;

    font-size: 1.9rem;
}


.cta-card p {
    color: var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 55px;

    background: #111b2d;

    color: #ffffff;
}


.footer-container {
    display: flex;

    justify-content: space-between;

    gap: 50px;
}


.footer-brand .site-logo {
    background: #ffffff;
}


.footer-brand p {
    margin-top: 12px;

    color: #aab5c7;

    font-size: 0.9rem;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 20px;
}


.footer-links a {
    color: #cbd4e1;

    font-size: 0.88rem;

    transition:
        color 0.2s ease;
}


.footer-links a:hover {
    color: var(--sky);
}


.footer-bottom {
    margin-top: 45px;

    padding:
        20px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    color: #8f9bad;

    font-size: 0.82rem;
}


/* =========================================================
   AUTH PAGES
   ========================================================= */

.auth-page {
    background:
        linear-gradient(
            135deg,
            #f1fbff,
            #ffffff 50%,
            #fff4f8
        );
}


.auth-main {
    min-height:
        calc(100vh - 78px);

    padding:
        70px 0;
}


.auth-container {
    width: min(
        calc(100% - 40px),
        1080px
    );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 65px;

    align-items: center;
}


.auth-intro h1 {
    margin-bottom: 18px;

    font-size:
        clamp(2.3rem, 5vw, 4rem);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.auth-intro h1 span {
    display: block;

    color: var(--sky-dark);
}


.auth-intro > p {
    max-width: 540px;

    color: var(--muted);

    margin-bottom: 32px;
}


.auth-benefits {
    display: grid;

    gap: 17px;
}


.
auth-benefit {
    display: flex;

    align-items: flex-start;

    gap: 13px;
}


.auth-benefit > span {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--sky-light);

    color: var(--sky-dark);

    font-weight: 900;
}


.auth-benefit strong {
    display: block;

    margin-bottom: 2px;

    font-size: 0.94rem;
}


.auth-benefit small {
    color: var(--muted);

    font-size: 0.82rem;
}


/* =========================================================
   AUTH CARD
   ========================================================= */

.auth-card {
    padding:
        38px;

    background: var(--white);

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

    border-radius: 24px;

    box-shadow:
        var(--shadow);
}


.auth-card-header {
    margin-bottom: 28px;
}


.auth-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: var(--sky-dark);

    background: var(--sky-light);

    font-size: 1.5rem;

    font-weight: 900;
}


.orange-auth-icon {
    color: #d47c34;

    background: #fff0e5;
}


.auth-card-header h2 {
    margin-bottom: 5px;

    font-size: 1.7rem;
}


.auth-card-header p {
    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-form-group {
    margin-bottom: 20px;
}


.auth-form-group label,
.password-label label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);

    font-size: 0.88rem;

    font-weight: 700;
}


.auth-form-group input,
.auth-form-group select {
    width: 100%;

    min-height: 50px;

    padding:
        0 15px;

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

    border-radius: 11px;

    background: #fbfdff;

    color: var(--text);

    outline: none;

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


.auth-form-group input:focus,
.auth-form-group select:focus {
    border-color: var(--sky);

    box-shadow:
        0 0 0 4px rgba(101, 199, 247, 0.14);

    background: var(--white);
}


.input-help {
    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 0.78rem;
}


.password-label {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;
}


.password-label a {
    color: var(--sky-dark);

    font-size: 0.78rem;

    font-weight: 700;
}


.remember-me,
.terms-check {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin:
        7px 0 22px;

    color: var(--muted);

    font-size: 0.82rem;

    cursor: pointer;
}


.remember-me input,
.terms-check input {
    margin-top: 4px;

    accent-color: var(--sky-dark);
}


.terms-check a,
.auth-switch a {
    color: var(--sky-dark);

    font-weight: 700;
}


.auth-submit {
    width: 100%;

    border: none;
}


.auth-divider {
    display: flex;

    align-items: center;

    gap: 15px;

    margin:
        25px 0;

    color: #9aa5b5;

    font-size: 0.8rem;
}


.auth-divider::before,
.auth-divider::after {
    content: "";

    height: 1px;

    flex: 1;

    background: var(--border);
}


.auth-switch {
    text-align: center;

    color: var(--muted);

    font-size: 0.86rem;
}


#loginMessage,
#registerMessage {
    min-height: 20px;

    margin:
        0 0 12px;

    color: var(--danger);

    font-size: 0.82rem;
}


/* =========================================================
   SIMPLE FOOTER
   ========================================================= */

.simple-footer {
    padding:
        20px 0;

    background: #111b2d;

    color: #aab5c7;

    font-size: 0.8rem;
}


.simple-footer .container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.simple-footer a {
    color: var(--sky);
}
/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 950px) {

    .hero-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .hero-content {
        text-align: center;
    }


    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-actions {
        justify-content: center;
    }


    .hero-card {
        max-width: 550px;

        width: 100%;

        margin: 0 auto;
    }


    .auth-container {
        grid-template-columns: 1fr;

        max-width: 650px;

        gap: 45px;
    }


    .auth-intro {
        text-align: center;
    }


    .auth-intro > p {
        margin-left: auto;
        margin-right: auto;
    }


    .auth-benefits {
        max-width: 480px;

        margin: 0 auto;

        text-align: left;
    }


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


    .cta-card {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }


    .nav-container {
        min-height: 70px;
    }


    .site-logo {
        width: 125px;
    }


    .main-nav {
        gap: 9px;
    }


    .main-nav > a:not(.btn) {
        display: none;
    }


    .main-nav .btn {
        min-height: 42px;

        padding:
            0 14px;

        font-size: 0.78rem;
    }


    .hero {
        padding:
            65px 0 70px;
    }


    .hero-content h1 {
        font-size:
            clamp(2.4rem, 12vw, 3.7rem);
    }


    .hero-content p {
        font-size: 0.98rem;
    }


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


    .hero-actions .btn {
        width: 100%;
    }


    .hero-card {
        min-height: 360px;

        padding: 22px;
    }


    .hero-circle {
        width: 145px;
        height: 145px;
    }


    .features-section,
    .home-products {
        padding:
            70px 0;
    }


    .features-grid,
    .product-preview-grid {
        grid-template-columns: 1fr;
    }


    .feature-card,
    .product-preview-card {
        padding: 25px;
    }


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


    .cta-card {
        padding: 30px 24px;
    }


    .cta-card h2 {
        font-size: 1.55rem;
    }


    .footer-container {
        flex-direction: column;

        gap: 30px;
    }


    .footer-links {
        flex-direction: column;

        align-items: flex-start;
    }


    .footer-bottom {
        margin-top: 30px;
    }


    .auth-main {
        padding:
            45px 0;
    }


    .auth-container {
        width:
            min(
                calc(100% - 28px),
                650px
            );
    }


    .auth-card {
        padding: 25px 20px;

        border-radius: 20px;
    }


    .auth-intro h1 {
        font-size:
            clamp(2.2rem, 11vw, 3.2rem);
    }


    .simple-footer .container {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .site-logo {
        width: 110px;
    }


    .main-nav .btn {
        padding:
            0 11px;
    }


    .hero-card-top,
    .hero-card-bottom {
        font-size: 0.68rem;
    }


    .auth-card {
        padding: 22px 17px;
    }

}
/* =========================
   TERMS & CONDITIONS PAGE
========================= */

.page-header {
    padding: 60px 20px 40px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 15px;
    font-size: 38px;
    font-weight: 800;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: #666;
}

.terms-section {
    padding: 20px 20px 70px;
}

.terms-section .card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.terms-section h2 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

.terms-section h2:first-child {
    margin-top: 0;
}

.terms-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.terms-section ul {
    margin: 10px 0 22px 25px;
    padding: 0;
}

.terms-section li {
    margin-bottom: 9px;
    line-height: 1.7;
    color: #555;
}

.terms-notice {
    margin-top: 35px;
    padding: 22px;
    border-radius: 14px;
    background: #fff3f5;
    border-left: 5px solid #e67e8f;
}

.terms-notice strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.terms-notice p {
    margin-bottom: 0;
}

.terms-updated {
    margin-top: 30px;
    font-size: 14px;
    color: #888 !important;
}

/* TERMS PAGE MOBILE */

@media (max-width: 600px) {

    .page-header {
        padding: 40px 18px 25px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .terms-section {
        padding: 15px 15px 50px;
    }

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

    .terms-section h2 {
        font-size: 20px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 15px;
        line-height: 1.7;
    }
}