﻿/* ------------------------------
    DESKTOP (default)
--------------------------------*/

.hero-section {
    background: url('/img/hero-blue-large-waves.png') no-repeat center bottom;
    background-size: cover;
    background-position-y: calc(100% + 300px);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden !important;
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 3.2rem;
        padding-top: 30px;
    }
}

/* ------------------------------
    TABLETS (iPad, etc)
    768px–1024px
--------------------------------*/
@media (max-width: 1024px) {
    .hero-section {
        background-position: center bottom;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 700;
        color: #0d2b7a;
        line-height: 1.2;
        padding-top: 90px;
    }
}

/* ------------------------------
    MOBILE PHONES (< 768px)
--------------------------------*/
@media (max-width: 767px) {

    .email-box .input-group {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px;
        margin-top: 0 !important;
        width: 100%;
    }

    .email-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #email.hero-input {
        border-radius: 30px !important;
        width: 100% !important;
    }

    #email {
        width: 100% !important;
        border-radius: 30px !important;
    }

    .email-box .input-group-append {
        margin-left: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-self: center !important;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 700;
        color: #0d2b7a;
        line-height: 1.2;
        padding-top: 50px;
    }
}

/* Landscape phones */
@media only screen and (max-height: 500px) and (orientation: landscape) {

    .hero-section {
        min-height: 160vh !important;
        padding-bottom: 300px !important;
        background-position: center bottom !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        padding-top: 50px !important;
    }
}

/* ------------------------------
    HERO TEXT
--------------------------------*/
.hero-title {
    font-weight: 700;
    color: #0d2b7a;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #1f3b7a;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* ------------------------------
    EMAIL INPUT + BUTTON
--------------------------------*/

.email-box {
    max-width: 650px;
    margin-bottom: 40px;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* INPUT FIELD */
.hero-input {
    height: 54px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: #fff;
    font-size: 26px;
    padding-left: 18px;
    color: #0d2b7a !important;
    border-radius: 12px;
}

    .hero-input:focus {
        outline: none !important;
        box-shadow: none !important;
    }

.input-group-append {
    overflow: visible !important;
}

.email-box .input-group {
    overflow: visible !important;
}

/* ------------------------------
    PRICING SECTION
--------------------------------*/

.pricing-section {
    background: #FFF9ED;  
    padding: 150px 20px;
    text-align: center;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0d2b7a;
    margin-bottom: 12px;
}


.pricing-subtitle {
    color: #1f3b7a; /* 5b6fa6 */
    margin-top: 10px;
}

/* ------------------------------
    TOGGLE
--------------------------------*/

.billing-toggle {
    display: inline-flex;
    background: #eef2ff;
    border-radius: 999px;
    padding: 6px;
    margin: 40px 0 70px;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
}

    .toggle-btn.active {
        background: #fff;
        color: #0d2b7a;
        box-shadow: 0 4px 10px rgba(0,0,0,.08);
    }

    .toggle-btn .badge {
        background: #ffd44d;
        color: #7a4b00;
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 999px;
        margin-left: 6px;
    }

    .toggle-btn:focus-visible {
        outline: none;
    }

    .toggle-btn:focus:not(:focus-visible) {
        outline: none;
    }


/* ------------------------------
    PRICING CARDS
--------------------------------*/

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    transition: box-shadow 0.3s ease;
}


.pricing-card button {
    margin-top: 30px;
    align-self: flex-start;
}


.pricing-card .price {
    position: relative;
    padding-top: 2rem !important;
}

/* PRO button */
.btn-primary {
    background: linear-gradient(135deg, #ffd84d, #ffbf00);
    color: #5a4500;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 191, 0, 0.35);
}

/* BASIC button */
.btn-outline {
    background: transparent;
    border: 2px solid #ffd84d;
    color: #7a5a00;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
}


/* NEW — soft glow for BOTH cards */
.glow-basic {
    box-shadow: 0 16px 32px rgba(255, 216, 77, 0.18);
}

/* NEW — stronger glow for Pro */
.glow-pro {
    box-shadow: 0 26px 52px rgba(255, 216, 77, 0.35);
}

/* ------------------------------
    POPULAR BADGE
--------------------------------*/

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #1880e5;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}


/* ------------------------------
    PRICE + FEATURES
--------------------------------*/

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0d2b7a;
    margin: 20px 0;
}

.price-period {
    font-size: 1rem;
    color: #6c7bbf;
}

.features {
    list-style: none;
    padding: 0;
    margin: 50px 0;
}

    .features li {
        margin-bottom: 12px;
    }

/* ------------------------------
    BUTTONS
--------------------------------*/

.btn-yellow {
    background: linear-gradient(135deg, #ffd84d, #ffbf00);
    color: #5a4500;
    border-radius: 30px;
    padding: 12px;
    font-weight: 700;
    display: block;
    border: none;
}

.btn-outline-yellow {
    border: 2px solid #ffd84d;
    color: #7a5a00;
    border-radius: 30px;
    padding: 12px;
    display: block;
    background: transparent;
}


.price-unit {
    font-size: 1rem;
    color: #555;
    display: block;
    margin-top: 6px;
}




/* specific to categories */

.categories-hero {
    padding: 120px 20px 80px;
    background: #FFF9ED;
}

.categories-grid-section {
    padding: 0;
    background: #FFF9ED !important;
}

.category-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff7ee 100%);
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.category-img {
    max-width: 220px;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #0d2b7a;
    font-weight: 700;
    font-size: 1.5rem !important;
}


.category-card p {
    color: #444;
    margin-bottom: 20px;
    max-width: 80%;
    line-height: 1.45;
    font-size: .95rem !important;
    margin-left: auto;
    margin-right: auto;
}



.categories-info {
    padding: 80px 0 120px;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

    .info-card h2 {
        font-weight: 700;
        color: #0d2b7a;
        margin-bottom: 20px;
    }

    .info-card ul {
        padding-left: 18px;
    }

.small-text {
    font-size: 0.9rem;
    color: #555;
}


/* ------------------------------
   INFO CARD ILLUSTRATIONS
--------------------------------*/
/* ------------------------------
   INFO CARDS (MATCH MOCKUP)
--------------------------------*/

.info-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff7ee 100%);
    border-radius: 26px;
    padding: 56px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
    height: 100%;
    gap: 32px;
}

/* text column */
.info-content {
    flex: 1;
}

.info-media {
    display: flex;
    align-items: flex-end;
}

.info-card-pro .info-media {
    justify-content: flex-start;
}

.info-card-pause .info-media {
    justify-content: flex-end;
}

.info-media img {
    max-width: 260px;
}


/* headings */
.info-card h2 {
    font-weight: 700;
    color: #0d2b7a;
    margin-bottom: 20px;
    line-height: 1.25;
}

/* body text */
.info-card p,
.info-card li {
    color: #444;
    font-size: 1rem;
}

/* buttons */
.info-card .btn-warning {
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 999px;
}

/* ------------------------------
   MOBILE STACKING
--------------------------------*/

@media (max-width: 767px) {
    .info-card {
        flex-direction: column;
        padding: 36px;
        text-align: center;
    }

    .info-media {
        margin-top: 32px;
    }
}


/* FIX INTERNAL CARD LAYOUT */
.info-content {
    flex: 0 0 60%;
    max-width: 60%;
}

.info-media {
    flex: 0 0 40%;
    max-width: 40%;
}


body {
    background: #FFF9ED;
}


/* ================================
   CATEGORY CARD FLIP
================================ */

.category-card {
    perspective: 1200px;
    cursor: pointer;
    position: relative;
}

    .category-card .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 340px;
        transition: transform 0.7s ease;
        transform-style: preserve-3d;
    }

    .category-card.is-flipped .card-inner {
        transform: rotateY(180deg);
    }

    /* faces */
    .category-card .card-face {
        position: absolute;
        inset: 0;
        backface-visibility: hidden;
        border-radius: 18px;
        padding: 30px 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* front */
    .category-card .card-front {
        background: linear-gradient(180deg, #ffffff 0%, #fff7ee 100%);
    }

    /* back */
    .category-card .card-back {
        background: linear-gradient(180deg, #fff7ee 0%, #ffffff 100%);
        transform: rotateY(180deg);
        text-align: center;
    }

    .category-card blockquote {
        font-size: 1.05rem;
        font-style: italic;
        color: #0d2b7a;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .category-card .quote-source {
        font-size: 0.85rem;
        color: #555;
    }

    .category-card:hover .card-inner {
        transform: translateY(-4px);
    }



.category-card {
    perspective: 1200px;
    position: relative;
    cursor: pointer;
}

.category-card .card-inner {
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* hover lift */
.category-card:hover .card-inner {
    transform: translateY(-4px);
}

/* flip */
.category-card.is-flipped .card-inner {
    transform: rotateY(180deg);
}

/* hover + flip combined */
.category-card.is-flipped:hover .card-inner {
    transform: rotateY(180deg) translateY(-4px);
}



.btn-pill {
    background: linear-gradient(135deg, #ffd84d, #ffbf00);
    color: #5a4500;
    border: none;
    border-radius: 999px;
    padding: 14px 40px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 191, 0, 0.35);
}



.card-front {
    position: relative; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.card-hint {
    position: absolute;
    bottom: 0px; 
    left: 0;
    right: 0;
    font-size: 0.85rem;
    color: #9aa3b2;
    opacity: 0.75;
    letter-spacing: 0.02em;
    text-align: center;
    pointer-events: none;
}



.hint-icon {
    display: inline-block;
    margin-right: 6px;
    opacity: 0.7;
}

@media (hover: hover) {
    .category-card:hover .card-hint {
        opacity: 1;
    }
}

.category-card.is-flipped .card-hint {
    opacity: 0;
}


