
/* =========================================================
   GENERAL
   ========================================================= */

.features-hero,
.features-intro,
.feature-detail,
.feature-pair,
.life-score-section,
.feature-simple-section,
.features-final-cta {
    width: 100%;
    max-width: 1250px;
}


/* =========================================================
   LABELS
   ========================================================= */

.features-label,
.section-label {
    display: inline-block;

    color: #5da9ff;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-label {
    margin-bottom: 18px;
}


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

/* Main CTA buttons */

.features-hero-buttons .hero-cta,
.features-final-cta .hero-cta,
.life-score-content .hero-cta {

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

    min-width: 145px;
    min-height: 46px;

    padding: 0 25px;

    border: 1px solid rgba(93, 169, 255, 0.5);
    border-radius: 7px;

    background: #3b82f6;

    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(59, 130, 246, 0.18);

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

.features-hero-buttons .hero-cta:hover,
.features-final-cta .hero-cta:hover,
.life-score-content .hero-cta:hover {

    background: #2563eb;

    border-color: #60a5fa;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(59, 130, 246, 0.28);
}


/* Secondary hero button */

.features-secondary-btn {

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

    min-width: 145px;
    min-height: 46px;

    padding: 0 25px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;

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

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.85rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.features-secondary-btn:hover {

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

    border-color: rgba(93, 169, 255, 0.4);

    color: #ffffff;

    transform: translateY(-2px);
}


/* Button container */

.features-hero-buttons {

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

    gap: 14px;

    margin-top: 38px;

    flex-wrap: wrap;
}


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

.features-hero {

    min-height: 72vh;

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

    padding: 110px 30px 100px;

    text-align: center;
}

.features-hero-content {

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}


/* Main heading */

.features-hero h1 {

    margin: 22px auto 25px;

    color: #ffffff;

    font-size: clamp(3rem, 7vw, 5.8rem);

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -2px;
}


/*
   This fixes:

   "Tools to help you improve your life."

   becoming visually cramped.

   The second part gets its own line.
*/

.features-hero h1 span {

    display: block;

    margin-top: 8px;

    color: #5da9ff;
}


/* Hero description */

.features-hero p {

    max-width: 760px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.68);

    font-size: 1.1rem;

    line-height: 1.8;
}


/* =========================================================
   INTRO
   ========================================================= */

.features-intro {

    padding: 90px 30px 80px;

    margin: 0 auto;

    text-align: center;
}

.features-intro h2 {

    max-width: 800px;

    margin: 0 auto 25px;

    color: #ffffff;

    font-size: clamp(2.2rem, 4vw, 3.5rem);

    line-height: 1.15;
}

.features-intro p {

    max-width: 760px;

    margin: 0 auto 12px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 1rem;

    line-height: 1.8;
}


/* =========================================================
   FEATURE DETAIL SECTIONS
   ========================================================= */

.feature-detail {

    min-height: 650px;

    margin: 0 auto;

    padding: 90px 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;
}

.feature-detail-left {
    flex-direction: row;
}

.feature-detail-right {
    flex-direction: row;
}

.feature-detail-content {

    flex: 1;

    max-width: 530px;
}

.feature-detail-media {

    flex: 1.15;

    min-width: 0;

    max-width: 620px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 12px;

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

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 31, 60, 0.85),
            rgba(5, 17, 42, 0.65)
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    overflow: hidden;
}

.feature-detail-media video {

    display: block;

    width: 100%;

    height: auto;

    max-height: 500px;

    border-radius: 14px;

    object-fit: contain;
}


/* =========================================================
   FEATURE NUMBER
   ========================================================= */

.feature-number {

    display: block;

    margin-bottom: 15px;

    color: rgba(93, 169, 255, 0.45);

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   FEATURE TEXT
   ========================================================= */

.feature-detail-content h2 {

    margin: 0 0 22px;

    color: #ffffff;

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

    line-height: 1.1;

    letter-spacing: -1px;
}

.feature-detail-content h2 span {

    color: #5da9ff;
}

.feature-detail-content p {

    color: rgba(255, 255, 255, 0.63);

    font-size: 0.98rem;

    line-height: 1.85;
}

.feature-detail-content .feature-lead {

    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1.08rem;

    line-height: 1.75;
}


/* =========================================================
   FEATURE LIST
   ========================================================= */

.feature-list {

    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-top: 28px;

    padding: 0;

    list-style: none;
}

.feature-list li {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;

    line-height: 1.6;
}

.feature-list li i {

    flex-shrink: 0;

    margin-top: 4px;

    color: #5da9ff;

    font-size: 0.8rem;
}


/* =========================================================
   MOOD PLACEHOLDER
   ========================================================= */

.feature-placeholder {

    min-height: 400px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(93, 169, 255, 0.12),
            transparent 65%
        ),
        rgba(5, 17, 42, 0.8);
}

.feature-icon-large {

    width: 150px;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 40px;

    border: 1px solid rgba(93, 169, 255, 0.2);

    background:
        linear-gradient(
            145deg,
            rgba(93, 169, 255, 0.16),
            rgba(93, 169, 255, 0.04)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}

.feature-icon-large i {

    color: #5da9ff;

    font-size: 5rem;
}


/* =========================================================
   SLEEP + WORKOUT
   ========================================================= */

.feature-pair {

    margin: 30px auto 80px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px;

    padding: 0 35px;
}

.feature-mini-card {

    min-height: 320px;

    padding: 40px;

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

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 31, 60, 0.75),
            rgba(5, 17, 42, 0.65)
        );

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

.feature-mini-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(93, 169, 255, 0.25);
}

.feature-mini-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 30px;

    border-radius: 16px;

    background: rgba(93, 169, 255, 0.1);

    border:
        1px solid rgba(93, 169, 255, 0.12);
}

.feature-mini-icon i {

    color: #5da9ff;

    font-size: 1.5rem;
}

.feature-mini-card h3 {

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 1.7rem;

    line-height: 1.2;
}

.feature-mini-card p {

    max-width: 500px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.95rem;

    line-height: 1.8;
}


/* =========================================================
   LIFE SCORE
   ========================================================= */

.life-score-section {

    margin: 80px auto 100px;

    padding: 75px 60px;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 70px;

    border:
        1px solid rgba(93, 169, 255, 0.15);

    border-radius: 28px;

    background:
        radial-gradient(
            circle at top left,
            rgba(9, 62, 108, 0.45),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            rgba(14, 31, 60, 0.95),
            rgba(5, 17, 42, 0.9)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);
}

.life-score-content {

    max-width: 620px;
}

.life-score-content h2 {

    margin-bottom: 22px;

    color: #ffffff;

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

    line-height: 1.1;
}

.life-score-content h2 span {

    color: #5da9ff;
}

.life-score-content > p {

    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 0.98rem;

    line-height: 1.8;
}

.life-score-points {

    display: flex;

    flex-direction: column;

    gap: 14px;

    margin: 30px 0;
}

.life-score-points div {

    display: flex;

    align-items: center;

    gap: 15px;
}

.life-score-points strong {

    color: #5da9ff;

    font-size: 0.8rem;

    letter-spacing: 1px;
}

.life-score-points span {

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;
}


/* =========================================================
   LIFE SCORE CARD
   ========================================================= */

.life-score-visual {

    display: flex;

    align-items: center;

    justify-content: center;
}

.score-card {

    width: 100%;

    max-width: 330px;

    padding: 35px;

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

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 41, 65, 0.95),
            rgba(10, 23, 51, 0.95)
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);
}

.score-card > span {

    display: block;

    color: rgba(255, 255, 255, 0.6);

    font-size: 0.8rem;

    font-weight: 600;
}

.score-card > strong {

    display: block;

    margin: 12px 0 5px;

    color: #ffffff;

    font-size: 5rem;

    line-height: 1;
}

.score-card > small {

    display: block;

    margin-bottom: 30px;

    color: #5da9ff;

    font-size: 0.8rem;
}

.score-bars {

    display: flex;

    flex-direction: column;

    gap: 13px;
}

.score-bars div {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 10px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.score-bars span {

    color: rgba(255, 255, 255, 0.6);

    font-size: 0.75rem;
}

.score-bars b {

    color: rgba(255, 255, 255, 0.9);

    font-size: 0.75rem;
}


/* =========================================================
   POMODORO
   ========================================================= */

.feature-simple-section {

    margin: 0 auto 100px;

    padding: 80px 40px;

    text-align: center;

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

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);
}

.feature-simple-icon {

    width: 80px;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 30px;

    border-radius: 22px;

    background:
        rgba(93, 169, 255, 0.1);

    border:
        1px solid rgba(93, 169, 255, 0.15);
}

.feature-simple-icon i {

    color: #5da9ff;

    font-size: 2rem;
}

.feature-simple-section h2 {

    max-width: 750px;

    margin: 0 auto 22px;

    color: #ffffff;

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

    line-height: 1.15;
}

.feature-simple-section p {

    max-width: 720px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.64);

    font-size: 1rem;

    line-height: 1.85;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.features-final-cta {

    margin: 0 auto;

    padding: 110px 30px 120px;

    text-align: center;
}

.features-final-cta h2 {

    max-width: 850px;

    margin: 0 auto 22px;

    color: #ffffff;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1.08;

    letter-spacing: -1px;
}

.features-final-cta h2 span {

    color: #5da9ff;
}

.features-final-cta p {

    max-width: 650px;

    margin: 0 auto 35px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 1rem;

    line-height: 1.8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .features-hero {

        min-height: 60vh;
    }

    .feature-detail {

        gap: 45px;

        padding: 75px 25px;
    }

    .life-score-section {

        grid-template-columns: 1fr;

        gap: 50px;

        padding: 60px 40px;
    }

    .life-score-content {

        max-width: none;

        text-align: center;
    }

    .life-score-points {

        align-items: center;
    }

    .life-score-visual {

        order: 2;
    }
}


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

@media (max-width: 750px) {

    .features-hero {

        min-height: auto;

        padding: 80px 20px 70px;
    }

    .features-hero h1 {

        font-size:
            clamp(2.5rem, 12vw, 4rem);

        letter-spacing: -1px;
    }

    /* Keep the highlighted phrase separated */

    .features-hero h1 span {

        margin-top: 5px;
    }

    .features-hero p {

        font-size: 0.95rem;
    }

    .features-hero-buttons {

        flex-direction: column;

        width: 100%;
    }

    .features-hero-buttons .hero-cta,
    .features-secondary-btn {

        width: 100%;

        max-width: 280px;
    }

    .features-intro {

        padding: 70px 20px 50px;
    }

    .features-intro h2 {

        font-size: 2rem;
    }

    .feature-detail {

        min-height: auto;

        flex-direction: column !important;

        padding: 65px 20px;

        gap: 40px;
    }

    .feature-detail-content {

        width: 100%;

        max-width: none;
    }

    .feature-detail-content h2 {

        font-size: 2.2rem;
    }

    .feature-detail-content p {

        font-size: 0.92rem;
    }

    .feature-detail-media {

        width: 100%;

        max-width: none;

        order: 2;

        padding: 8px;

        border-radius: 17px;
    }

    .feature-detail-media video {

        border-radius: 10px;
    }

    .feature-placeholder {

        min-height: 280px;
    }

    .feature-icon-large {

        width: 110px;

        height: 110px;

        border-radius: 30px;
    }

    .feature-icon-large i {

        font-size: 3.5rem;
    }

    .feature-pair {

        grid-template-columns: 1fr;

        margin-bottom: 60px;

        padding: 0 20px;
    }

    .feature-mini-card {

        min-height: auto;

        padding: 30px;
    }

    .life-score-section {

        margin: 60px 20px 70px;

        padding: 45px 25px;

        border-radius: 22px;
    }

    .life-score-content h2 {

        font-size: 2.2rem;
    }

    .life-score-points {

        align-items: flex-start;
    }

    .score-card {

        padding: 28px;
    }

    .feature-simple-section {

        margin-bottom: 60px;

        padding: 70px 20px;
    }

    .feature-simple-section h2 {

        font-size: 2.2rem;
    }

    .features-final-cta {

        padding: 75px 20px 90px;
    }

    .features-final-cta h2 {

        font-size: 2.5rem;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 450px) {

    .features-hero {

        padding-top: 60px;
    }

    .features-hero h1 {

        font-size: 2.45rem;
    }

    .features-intro h2 {

        font-size: 1.8rem;
    }

    .feature-detail-content h2 {

        font-size: 1.95rem;
    }

    .feature-list li {

        font-size: 0.82rem;
    }

    .feature-mini-card {

        padding: 25px;
    }

    .feature-mini-card h3 {

        font-size: 1.45rem;
    }

    .life-score-section {

        margin-left: 15px;

        margin-right: 15px;
    }

    .score-card > strong {

        font-size: 4.2rem;
    }

    .features-final-cta h2 {

        font-size: 2.15rem;
    }
}
