:root {
    --gradient-linear: linear-gradient(50deg, #7C4FD0 0%, #D589E3 36%, #FFB367 70%, #FCD5A1 100%);
    --color-informer: #9968FF;
    --color-text-dark: #2C2C2C;
    --color-text-grey: #565656;
    --color-light-grey-bg: #F0F0F0;
    --color-white: #FFFFFF;
}

body {
    font-family: 'Lexend', sans-serif;
    margin: 0;
    padding-top: 0; /* allow global desktop side padding from style.css */
    background: var(--color-white);
    color: var(--color-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header provided by global style.css */

.container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    flex-grow: 1;
}

.hero-section {
    text-align: left;
    margin-bottom: 40px;
    position: relative;
    padding: 30px 45px 80px;
    background: linear-gradient(148deg, #D6802A 0%, #FFAF43 100%);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    color: var(--color-white);
}

/* Keep headings white inside the hero */
.hero-section h2 { color: var(--color-white); }

.hero-section .icon {
    position: absolute;
    width: 110px;
    height: 110px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

.hero-section .icon svg {
    width: 44px;
    height: 44px;
    fill: #fff;
}
.hero-section .icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.hero-section h1 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 130px; /* space for larger icon */
    line-height: 1.2;
    color: var(--color-white);
}

.hero-section p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--color-white);
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.formats-list {
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
}

.formats-list li {
    background-color: rgba(240, 240, 240, 0.3); /* 30% opacity background only */
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* allow details to wrap under header */
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formats-list li:hover {
    background-color: rgba(237, 237, 237, 0.3);
}

/* Thin rounded separator used between specific cards */
.formats-list li.format-separator {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    margin: 6px 0 10px;
    list-style: none;
    padding: 0;
}

/* Active state like expandable cards */
.formats-list li.active {
    background-color: rgba(237, 237, 237, 0.3);
}

.formats-list li .icon-text {
    display: flex;
    align-items: center;
}

.formats-list li .icon-text img {
    height: 35px;
    margin-right: 15px;
}

.formats-list li .plus-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-text-dark);
}

/* Hidden expandable details inside the clicked card */
.format-details {
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-grey);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
    padding-top: 0;
}

/* Force white text within hero widget cards */
.hero-section .formats-list li { color: var(--color-white); }
.hero-section .formats-list li .plus-icon { color: var(--color-white); }
.hero-section .format-details { color: var(--color-white); }

/* CTA inside format card */
.format-cta {
    display: inline-block;
    margin-top: 12px;
    background: var(--gradient-linear);
    color: var(--color-white);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: none;
}

.card {
    background-color: var(--color-light-grey-bg);
    border-radius: 20px;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid #E8DFF3;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--color-text-dark);
}

.card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--color-text-grey);
}

.card .duration {
    display: inline-block;
    background-color: var(--color-white);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #E8DFF3;
    color: var(--color-text-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container { padding: 0; }

    .hero-section h1 { font-size: 32px; margin-top: 80px; }

    .hero-section p { font-size: 16px; }

    h2 { font-size: 26px; }

    .formats-list li {
        font-size: 18px;
        padding: 15px 20px;
    }

    .formats-list li .icon-text img {
        height: 30px;
        margin-right: 10px;
    }

    .card { padding: 18px; }

    .card h3 { font-size: 20px; }

    .card p { font-size: 14px; }
}

@media (max-width: 480px) {
    .container { padding: 0; }

    .hero-section .icon {
        width: 60px;
        height: 60px;
    }
    .hero-section .icon svg {
        width: 40px;
        height: 40px;
    }
    .hero-section h1 {
        font-size: 30px;
        margin-top: 70px;
    }

    .hero-section p {
        font-size: 14px;
    }

    h2 {
        font-size: 24px;
    }

    .formats-list li {
        font-size: 16px;
        padding: 12px 15px;
    }

    .formats-list li .icon-text img {
        height: 25px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }

    .card .duration {
        font-size: 12px;
        padding: 6px 12px;
    }
}
