@import url("base.css");
@import url("nav.css");
@import url("auth.css");
@import url("dashboard.css");
@import url("landing.css");
@import url("pricing.css");
@import url("footer.css");
@import url("result.css");

/* ── Landing page ── */
.hero { text-align: center; padding: 3rem 0 2rem; }
.hero-badge { display: inline-block; background: #2c1400; color: var(--accent); border: 1px solid #7c3900; border-radius: 20px; padding: .3rem .9rem; font-size: .8rem; font-weight: 600; margin-bottom: 1rem; }
.hero-title { font-size: 2.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.accent { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin: 0 auto 2rem; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-note { font-size: .82rem; color: var(--muted); }

.features { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2.5rem 0; }
.feature-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.feature-icon {
    margin-bottom: 0.6rem;
    color: var(--accent);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.feature-card p { font-size: .88rem; color: var(--muted); }

.section-title { font-size: 1.3rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }
.pricing { margin: 2.5rem 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.pricing-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--accent); }
.pricing-badge { background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .65rem; border-radius: 20px; display: inline-block; margin-bottom: .6rem; }
.pricing-credits { font-size: 1.1rem; font-weight: 600; }
.pricing-price   { font-size: 2rem; font-weight: 800; color: var(--accent); margin: .4rem 0; }
.pricing-note    { font-size: .8rem; color: var(--muted); }
.pricing-sub { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1rem; }






/* =========================================================
   GLOWCARD SAMPLE — CANONICAL RESPONSIVE ARCHITECTURE

   The GlowCard has one stable composition.
   The viewport controls only how large that composition
   is displayed — not its internal layout.
   ========================================================= */

.gc-sample-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: block;

    padding: 24px 16px;

    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    opacity: 0;
    transition: opacity 0.35s ease;
}

.gc-sample-overlay[hidden] {
    display: none;
}

.gc-sample-overlay.is-open {
    opacity: 1;
}

.gc-sample-backdrop {
    position: fixed;
    inset: 0;

    background: rgba(9, 9, 9, 0.8);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


/* ---------------------------------------------------------
   PANEL
   --------------------------------------------------------- */

.gc-sample-panel {
    position: relative;
    z-index: 1;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;

    margin: 0 auto;

    padding-top: 16px;
    padding-bottom: 32px;

    box-sizing: border-box;
}

/* ---------------------------------------------------------
   CANONICAL GLOWCARD

   Original design proportion:
   360 × 700

   Width may adapt to viewport.
   Height always follows the SAME proportion.
   --------------------------------------------------------- */


.gc-sample-close-btn {
    position: absolute;

    top: 12px;
    right: 12px;

    left: auto;
    transform: none;

    width: 40px;
    height: 40px;

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

    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--muted);
    cursor: pointer;

    z-index: 10;
}
.gc-sample-close-btn:hover { border-color: var(--muted); color: var(--text); }

.gc-sample-card {
    position: relative;

    width: min(360px, calc(100vw - 32px));

    aspect-ratio: 360 / 700;

    flex: 0 0 auto;

    border-radius: 24px;

    border: 1px solid rgba(249, 115, 22, 0.3);

    box-shadow:
        0 0 0 1px rgba(255, 200, 87, 0.06),
        0 50px 110px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(249, 115, 22, 0.15);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(249, 115, 22, 0.14),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            #111009 0%,
            #0c0c0c 55%,
            #100f09 100%
        );

    transform: translateY(24px);

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


.gc-sample-overlay.is-open .gc-sample-card {
    transform: translateY(0);
}


.gc-sample-texture {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.gc-sample-reflection{

    position:absolute;

    inset:0;

    z-index:3;

    pointer-events:none;

    background:

    linear-gradient(

        115deg,

        transparent 20%,

        rgba(255,255,255,.06) 35%,

        transparent 55%

    );

    animation:gcReflection 6s ease-in-out infinite;

}
@keyframes gcReflection{

    0%{

        transform:translateX(-35%);

        opacity:.2;

    }

    50%{

        transform:translateX(30%);

        opacity:.65;

    }

    100%{

        transform:translateX(90%);

        opacity:.2;

    }

}

.gc-sample-corner { position: absolute; z-index: 2; width: 18px; height: 18px; border: 1px solid rgba(255, 200, 87, 0.5); pointer-events: none; }
.gc-sample-corner--tl { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.gc-sample-corner--tr { top: 18px; right: 18px; border-left: none; border-bottom: none; }
.gc-sample-corner--bl { bottom: 18px; left: 18px; border-right: none; border-top: none; }
.gc-sample-corner--br { bottom: 18px; right: 18px; border-left: none; border-top: none; }

.gc-sample-content {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    padding: 1.2rem 2rem 1rem;

    text-align: center;

    gap: 0;
}
/* ===========================
   SECTION LAYOUT
=========================== */

.gc-header-section{
    margin-bottom:1rem;
}

.gc-identity-section{

    display:flex;
    flex-direction:column;
    align-items:center;

    gap:.25rem;

    margin-bottom:.5rem;

}

.gc-score-section{

    display:flex;
    flex-direction:column;
    align-items:center;

    gap:.15rem;

    margin-bottom:.5rem;

}


/* ==========================================
   RANKING
========================================== */

.gc-ranking-section{

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:.15rem;

    padding:0.45rem 0;
    margin-bottom: .45rem;

    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);

}

.gc-ranking-main{

    display:flex;

    align-items:flex-end;

    justify-content:center;

    gap:.5rem;

}

.gc-ranking-title{

    font-size:.9rem;

    font-weight:700;

    letter-spacing:.35em;

    color:rgba(255,255,255,.55);

    margin-bottom:.35rem;

}

.gc-ranking-percent{

    font-size:3.3rem;

    font-weight:900;

    line-height:1;

    color:#FFD27A;

    text-shadow:0 0 20px rgba(255,180,60,.35);

}
.gc-ranking-subtitle{

    font-size:.82rem;

    letter-spacing:.28em;

    color:rgba(255,255,255,.65);

}

/* ==========================================
   ACHIEVEMENTS
========================================== */

.gc-achievements-section{

    display:flex;

    flex-direction:column;

    gap:.35rem;
    margin-bottom:.55rem;

}

.gc-achievement{

    display:flex;

    align-items:center;

    justify-content:center;

    height:34px;

    border-radius:999px;

    background:
     linear-gradient(
        180deg,
rgba(255,255,255,.035),
rgba(255,255,255,.015)
);

    border:1px solid rgba(255,255,255,.08);

    color:#fff;
    width:90%;

margin:0 auto;

    font-weight:600;

    font-size:.82rem;

    transition:.25s;
    gap:.55rem;
    backdrop-filter:blur(10px);
}

.gc-achievement:hover{

    transform:translateY(-2px);

    border-color:rgba(255,190,90,.45);

    box-shadow:
        0 10px 30px rgba(255,145,30,.18);

}

.gc-footer-section{

    margin-top:auto;
    flex-shrink: 0;

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

    padding-top:.65rem;

}
.gc-footer-generated{

    text-align:center;

    font-size:.68rem;

    color:rgba(255,255,255,.5);

    letter-spacing:.08em;

    margin-bottom:.75rem;

}
.gc-footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

}


.gc-footer-brand{

    font-size:.75rem;
     font-weight:700;

    letter-spacing:.22em;

    text-transform:uppercase;

    color:rgba(255,255,255,.58);

}

.gc-footer-id{

    font-size: .9rem;

    font-weight:700;

    color:#fff;

}

.gc-sample-header { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.gc-sample-logo { font-size: 0.75rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.gc-sample-season { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.gc-sample-photo{

    position:relative;

    width:76px;
    height:76px;

    margin-top:.2rem;

    overflow:hidden;

    border-radius:50%;

    border:2px solid rgba(255,185,90,.55);

    background:#111;

    box-shadow:
        0 0 0 5px rgba(255,145,30,.08),
        0 12px 28px rgba(0,0,0,.45);

}

.gc-sample-photo::before{

    content:"";

    position:absolute;

    inset:-10px;

    border-radius:50%;

    background:radial-gradient(
        rgba(255,150,40,.22),
        transparent 70%
    );

    z-index:-1;

}
.gc-sample-photo-img { width: 100%; height: 100%; object-fit: cover; border-radius:50%;display: block; transform:scale(1.08);}

.gc-sample-name { margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--text); }

.gc-sample-score-block { margin-top: 0.75rem; display: flex; flex-direction: column;position:relative; align-items: center; }
.gc-sample-score-block::before{

    content:"";

    position:absolute;

    width:170px;

    height:170px;

    border-radius:50%;

    background:

    radial-gradient(

        rgba(255,160,40,.16),

        transparent 70%

    );

    z-index:-1;

}
.gc-sample-score{

    font-size:5.5rem;

    font-weight:900;

    line-height: 1 ;
    

    letter-spacing:-.03em;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffe9c4 40%,
            #ffc25c 100%
        );

    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    filter:drop-shadow(0 0 18px rgba(255,190,90,.35));
    text-shadow:
    0 2px 0 rgba(255,255,255,.15),
    0 0 30px rgba(255,170,40,.22);

}
.gc-sample-score-label{

    margin-top:.6rem;

    display:block;

    text-transform:uppercase;

    letter-spacing:.35em;

    font-size:.82rem;

    font-weight:700;

    color:rgba(255,255,255,.55);

}

.gc-sample-tier{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    margin-top:.55rem;

    padding:.45rem 1.35rem;

    border-radius:999px;

    font-size:.78rem;

    font-weight:800;

    letter-spacing:.24em;

    text-transform:uppercase;

    color:#ffd36c;

    background:
        linear-gradient(
            180deg,
            rgba(255,170,50,.16),
            rgba(255,170,50,.06)
        );

    border:1px solid rgba(255,205,110,.35);

    box-shadow:
        inset 0 1px rgba(255,255,255,.05),
        0 12px 30px rgba(0,0,0,.38);

}
.gc-cta-section {
    width: min(360px, calc(100vw - 32px));

    display: flex;
    justify-content: center;

    flex: 0 0 auto;
}


.gc-sample-cta {
     
  width: 100%;
  display:flex; align-items: center; justify-content: center;
   min-height: 58px; text-align: center; box-sizing: border-box;
  background: linear-gradient(100deg, var(--accent) 0%, #fbbf24 130%);
  color: #0c0c0c; font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 1.5rem; border-radius: 16px; text-decoration: none;
  box-shadow: 0 8px 26px rgba(249, 115, 22, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gc-sample-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45); text-decoration: none; color: #0c0c0c; }

@media (prefers-reduced-motion: reduce) {
  .gc-sample-overlay, .gc-sample-card { transition: none; }
}




.gm-status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ff7a14;

    box-shadow:
        0 0 10px rgba(255, 122, 20, 0.55);
}




/* =========================================================
   RESPONSIVE — NAVBAR
   ========================================================= */

@media (max-width: 768px) {

    .gh-nav {
        padding: 0 20px;
        height: 64px;
    }

    .gh-nav-inner {
        width: 100%;
    }

    .gh-logo {
        font-size: 18px;
    }

    .gh-logo-icon {
        font-size: 14px;
    }

    .gh-nav-links {
        gap: 12px;
    }

    .gh-login {
        display: none;
    }

    .gh-cta {
        padding: 9px 15px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* =========================================================
   LANDING PAGE — MOBILE RESPONSIVE FIXES
   Features + Pricing
   ========================================================= */

@media (max-width: 768px) {

    /* =========================
       WHY GLOWMAX / FEATURES
       ========================= */

    .gm-features {
        padding: 4.5rem 0;
    }

    .gm-features-container {
        width: 100%;
        padding: 0 1.25rem;
    }

    .gm-features-header {
        margin-bottom: 2.5rem;
    }

    .gm-section-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.08;
    }

    .gm-section-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }

    .gm-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gm-feature-card {
        width: 100%;
        min-width: 0;
        padding: 1.5rem;
        border-radius: 20px;
    }

    .gm-feature-card-highlight {
        grid-row: auto;
    }

    .gm-feature-card h3 {
        font-size: 1.65rem;
    }

    .gm-feature-card p {
        font-size: 0.95rem;
    }

    .gm-share-actions {
        gap: 0.75rem;
    }


    /* =========================
       PRICING
       ========================= */

    .gm-pricing {
        padding: 5rem 0;
    }

    .gm-pricing-header {
        width: 100%;
        padding: 0 1.25rem;
        margin-bottom: 2.75rem;
    }

    .gm-pricing-title {
        font-size: clamp(2.1rem, 10vw, 2.8rem);
    }

    .gm-pricing-subtitle {
        font-size: 0.95rem;
    }

    .gm-pricing-grid {
        width: 100%;
        padding: 0 1.25rem;

        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gm-pricing-card {
        width: 100%;
        min-width: 0;
        padding: 1.75rem;
        border-radius: 22px;
    }

    .gm-pricing-price {
        font-size: 4rem;
    }

    .gm-pricing-popular {
        top: 1.25rem;
        right: 1.25rem;
    }

    .gm-pricing-features {
        margin-bottom: 2rem;
    }

    .gm-pricing-btn {
        width: 100%;
    }

    .gm-pricing-footer {
        padding: 0 1.25rem;
        text-align: center;
    }

    /* Featured pricing card — mobile header fix */

.gm-pricing-card-featured {
    padding-top: 1.75rem;
}

.gm-pricing-card-featured .gm-pricing-popular {
    position: static;
    display: inline-flex;

    width: fit-content;
    max-width: 100%;

    margin: 0 0 1.25rem 0;
    padding: 0.45rem 0.8rem;

    font-size: 0.68rem;
    line-height: 1;
    white-space: nowrap;
}

.gm-pricing-card-featured .gm-pricing-plan {
    margin-bottom: 1rem;
}

.gm-pricing-card-featured .gm-pricing-price {
    margin-top: 0;
}

/* AI Grooming Coach — compact mobile tags */

.gm-ai-item {
    gap: 0.75rem;
}

.gm-ai-left {
    min-width: 0;
    flex: 1;
}

.gm-ai-tag {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;

    padding: 0.35rem 0.65rem;

    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.08em;

    white-space: nowrap;
}
}
@media (max-width: 360px) {

    .gm-ai-item {
        gap: 1rem;
    }

    .gm-ai-left {
        min-width: 0;
        flex: 1 1 auto;
    }

    .gm-ai-text {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .gm-ai-tag {
        flex: 0 0 auto;
        font-size: 0.64rem;
        padding: 0.32rem 0.55rem;
        letter-spacing: 0.07em;
    }

}
/* =========================================================
   INTERMEDIATE TABLET / SMALL LAPTOP
   769px - 1023px
   ========================================================= */

@media (min-width: 769px) and (max-width: 1023px) {

    /* Features: 3 columns -> 2 columns */
    .gm-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    /* Remove tall 2-row Shareable GlowCard behavior */
    .gm-feature-card-highlight {
        grid-row: auto;
    }

    .gm-feature-card {
        padding: 1.75rem;
    }

    .gm-feature-card h3 {
        font-size: 1.7rem;
    }

    /* Pricing overlap fix */
    .gm-pricing-card-featured {
        padding-top: 1.75rem;
    }

    .gm-pricing-card-featured .gm-pricing-popular {
        position: static;
        display: inline-flex;
        width: fit-content;
        max-width: 100%;
        margin: 0 0 1.1rem 0;
        padding: 0.4rem 0.7rem;
        font-size: 0.66rem;
        line-height: 1;
        white-space: nowrap;
    }

    .gm-pricing-card-featured .gm-pricing-plan {
        margin-bottom: 1rem;
    }
}
/* =========================================================
   GLOWCARD — SMALL VIEWPORT SAFETY
   ========================================================= */

@media (max-width: 390px) {

    .gc-sample-overlay {
        padding-left: 10px;
        padding-right: 10px;
    }

    .gc-sample-card,
    .gc-cta-section {
        width: min(360px, calc(100vw - 20px));
    }

}

