/*
Theme Name: GLOEIN Child
Theme URI: https://gloein.com
Description: Custom child theme for GLOEIN
Author: GLOEIN
Template: astra
Version: 1.0
Text Domain: gloein-child
*/
:root {
    --gloein-green: #203A34;
    --gloein-green-light: #667D73;
    --gloein-cream: #F8F6F1;
    --gloein-beige: #E9E3D9;
    --gloein-black: #1C1C1C;
    --gloein-grey: #6B6B6B;
    --gloein-white: #FFFFFF;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--gloein-black);
    background: var(--gloein-cream);
}

.gloein-container {
    width: min(1200px, 90%);
    margin: auto;
}
/* =========================================
   GLOEIN HOMEPAGE
========================================= */

.gloein-home {
    background: #F8F6F1;
    overflow: hidden;
}

.gloein-container {
    width: min(1180px, 90%);
    margin: auto;
}


/* Announcement */

.gloein-announcement {
    background: #203A34;
    color: #FFFFFF;
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.gloein-announcement-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.announcement-divider {
    opacity: 0.5;
}


/* Hero */

.gloein-hero {
    padding: 100px 0;
    background:
    linear-gradient(
        135deg,
        #F8F6F1 0%,
        #F2EEE6 100%
    );
}

.gloein-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

.gloein-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #667D73;
    margin-bottom: 20px;
}

.gloein-hero h1 {
    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 500;
    color: #203A34;
    margin-bottom: 25px;
}

.gloein-hero h1 span,
.section-heading h2 span,
.concerns-content h2 span {
    display: block;
    color: #667D73;
    font-style: italic;
}

.gloein-hero p {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}

.gloein-hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.gloein-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.gloein-btn-primary {
    background: #203A34;
    color: white;
}

.gloein-btn-primary:hover {
    background: #667D73;
    color: white;
}

.gloein-btn-outline {
    border: 1px solid #203A34;
    color: #203A34;
}

.gloein-btn-outline:hover {
    background: #203A34;
    color: white;
}

.gloein-hero-features {
    display: flex;
    gap: 35px;
    margin-top: 45px;
}

.gloein-hero-features div {
    display: flex;
    flex-direction: column;
}

.gloein-hero-features strong {
    color: #203A34;
    font-size: 16px;
}

.gloein-hero-features span {
    color: #777;
    font-size: 12px;
}


/* Scan Preview */

.scan-preview-card {
    background: #203A34;
    padding: 28px;
    border-radius: 25px;
    color: white;
    box-shadow: 0 30px 80px rgba(32,58,52,0.25);
}

.scan-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scan-status {
    font-size: 11px;
    letter-spacing: 1px;
}

.scan-dot {
    width: 8px;
    height: 8px;
    background: #A8D5BA;
    display: inline-block;
    border-radius: 50%;
    margin-right: 7px;
}

.scan-live {
    font-size: 10px;
    background: rgba(255,255,255,0.15);
    padding: 7px 10px;
    border-radius: 20px;
}

.face-scan-area {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.face-outline {
    width: 220px;
    height: 270px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50% 50% 45% 45%;
    position: relative;
}

.face-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.6;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #A8D5BA;
    opacity: 0.7;
}

.scan-line-1 {
    top: 30%;
}

.scan-line-2 {
    top: 50%;
}

.scan-line-3 {
    top: 70%;
}

.scan-data {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.scan-data-row {
    display: grid;
    grid-template-columns: 110px 1fr 40px;
    gap: 10px;
    align-items: center;
    font-size: 12px;
}

.progress {
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #A8D5BA;
    border-radius: 10px;
}

.progress-72 {
    width: 72%;
}

.progress-65 {
    width: 65%;
}

.progress-80 {
    width: 80%;
}


/* Sections */

.gloein-skin-scan,
.gloein-how-it-works,
.gloein-concerns {
    padding: 110px 0;
}

.section-heading {
    max-width: 700px;
    margin: auto;
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2,
.concerns-content h2 {
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.15;
    color: #203A34;
}

.section-heading p,
.concerns-content p {
    color: #777;
    line-height: 1.7;
}


/* Upload */

.scan-upload-box {
    max-width: 750px;
    margin: auto;
    padding: 70px 30px;
    text-align: center;
    background: white;
    border: 2px dashed #CFC8BD;
    border-radius: 25px;
}

.upload-icon {
    width: 65px;
    height: 65px;
    margin: auto;
    margin-bottom: 20px;
    background: #E9E3D9;
    color: #203A34;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.scan-upload-box h3 {
    font-size: 26px;
    color: #203A34;
}

.scan-upload-box p {
    color: #777;
}

.gloein-upload-button {
    background: #203A34;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    margin: 20px 0;
    cursor: pointer;
    font-weight: 600;
}

.scan-upload-box small {
    display: block;
    color: #999;
}


/* Steps */

.gloein-how-it-works {
    background: #EEEAE2;
}

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

.step-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    position: relative;
}

.step-number {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #BBB;
    font-size: 13px;
}

.step-icon {
    font-size: 32px;
    color: #667D73;
    margin-bottom: 25px;
}

.step-card h3 {
    color: #203A34;
}

.step-card p {
    color: #777;
    line-height: 1.7;
}


/* Concerns */

.concerns-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.concern-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #203A34;
    font-weight: 600;
}

.concern-icon {
    font-size: 22px;
    color: #667D73;
}


/* Final CTA */

.gloein-final-cta {
    padding: 80px 0;
}

.final-cta-box {
    text-align: center;
    background: #203A34;
    color: white;
    padding: 90px 30px;
    border-radius: 30px;
}

.final-cta-box h2 {
    font-size: clamp(35px, 5vw, 60px);
    max-width: 750px;
    margin: auto;
    line-height: 1.15;
}

.final-cta-box p {
    opacity: 0.8;
    margin: 25px auto;
}

.gloein-btn-light {
    background: white;
    color: #203A34;
}


/* Mobile */

@media (max-width: 768px) {

    .gloein-hero {
        padding: 70px 0;
    }

    .gloein-hero-grid,
    .concerns-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .gloein-hero-features {
        gap: 15px;
        flex-wrap: wrap;
    }

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

    .gloein-announcement-inner {
        font-size: 10px;
        gap: 8px;
    }

}