
/* ==========================================================
   INVOMIZE AMAZON FBA — PREMIUM FIRST 30 DAYS

   Shortcode: [invomize_first_30_days]

   Features:
   - Premium editorial section design
   - Four weekly milestone cards
   - Decorative week numbers
   - Subtle progress indicators
   - 2x2 grid on desktop
   - Single column on mobile
   - Global Inter and SF Pro fonts
   ========================================================== */

/* ==========================================================
   01. RESET
   ========================================================== */

.iaf-first30,
.iaf-first30 *,
.iaf-first30 *::before,
.iaf-first30 *::after {
    box-sizing: border-box;
}

/* ==========================================================
   02. SECTION
   ========================================================== */

.iaf-first30 {
    width: 100%;
    margin: 0;
    padding: 40px 24px 80px;

    background: #FFFFFF;
    color: #16232B;
}

/* ==========================================================
   03. MAIN CONTAINER
   ========================================================== */

.iaf-first30__container {
    position: relative;
    isolation: isolate;

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

    margin: 0 auto;
    padding: 75px clamp(25px, 4vw, 60px) 65px;

    background: linear-gradient(
        155deg,
        #F8FAF9 0%,
        #F5F8F7 55%,
        #F8FAFA 100%
    );

    border: 1px solid #E5ECE8;
    border-radius: 28px;

    box-shadow:
        0 8px 35px rgba(22, 35, 43, 0.035);

    overflow: hidden;
}

/* Subtle ambient background glow */

.iaf-first30__container::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -220px;
    right: -170px;

    width: 650px;
    height: 650px;

    background: radial-gradient(
        circle,
        rgba(73, 185, 154, 0.07) 0%,
        rgba(73, 185, 154, 0) 70%
    );

    pointer-events: none;
}

/* ==========================================================
   04. INTRODUCTION
   ========================================================== */

.iaf-first30__intro {
    display: flex;
    flex-direction: column;
    align-items: center;

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

    margin: 0 auto 55px;
    padding: 0;

    text-align: center;
}

/* ==========================================================
   05. SECTION BADGE
   ========================================================== */

.iaf-first30__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

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

    margin: 0 0 24px;
    padding: 11px 23px;

    background: #FFFFFF;

    border: 1px solid #D1E5DB;
    border-radius: 100px;

    font-family: var(--iaf-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.015em;

    color: #348F78;

    box-shadow:
        0 4px 12px rgba(22, 35, 43, 0.055);
}

/* ==========================================================
   06. MAIN HEADING
   ========================================================== */

/* First 30 Days — Consistent Global Section Heading */

.iaf-first30__heading {
    width: 100%;
    max-width: 850px;

    margin: 0;
    padding: 0;

    font-family: var(--iaf-font-heading);
    font-size: clamp(35px, 3.5vw, 49px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.035em;

    color: #16232B;
    text-align: center;

    text-wrap: balance;
}
/* ==========================================================
   07. DESCRIPTION
   ========================================================== */

.iaf-first30__description {
    width: 100%;
    max-width: 820px;

    margin: 24px auto 0;
    padding: 0;

    font-family: var(--iaf-font-body);
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.012em;

    color: #697386;
    text-align: center;
}

/* ==========================================================
   08. WEEKLY CARDS GRID
   ========================================================== */

.iaf-first30__grid {
    display: grid;

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

    align-items: stretch;

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

    margin: 0 auto;

    gap: 20px;
}

/* ==========================================================
   09. WEEKLY CARD
   ========================================================== */

.iaf-first30__card {
    position: relative;
    isolation: isolate;

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

    width: 100%;
    min-width: 0;
    min-height: 315px;

    margin: 0;
    padding: 35px 36px;

    background: #FFFFFF;

    border: 1px solid #DFE9E4;
    border-radius: 20px;

    box-shadow:
        0 3px 12px rgba(22, 35, 43, 0.025);

    overflow: hidden;

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

/* Hover */

.iaf-first30__card:hover {
    border-color: #B3D8CB;

    box-shadow:
        0 12px 30px rgba(22, 35, 43, 0.065);

    transform: translateY(-3px);
}

/* ==========================================================
   10. DECORATIVE WEEK NUMBERS
   ========================================================== */

.iaf-first30__card::before {
    position: absolute;
    z-index: -1;

    top: 12px;
    right: 22px;

    font-family: var(--iaf-font-heading);
    font-size: 118px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.065em;

    color: rgba(73, 185, 154, 0.065);

    pointer-events: none;
}

.iaf-first30__card:nth-child(1)::before {
    content: "01";
}

.iaf-first30__card:nth-child(2)::before {
    content: "02";
}

.iaf-first30__card:nth-child(3)::before {
    content: "03";
}

.iaf-first30__card:nth-child(4)::before {
    content: "04";
}

/* ==========================================================
   11. WEEK BADGE AND PROGRESS LINE
   ========================================================== */

.iaf-first30__week {
    position: relative;
    z-index: 1;

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

    width: fit-content;
    min-height: 33px;

    margin: 0 0 28px;
    padding: 7px 15px;

    background: #E9F7F1;

    border: 1px solid #D0EBDF;
    border-radius: 100px;

    font-family: var(--iaf-font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.015em;

    color: #328F76;
}

/* Bottom progress line on each card */

.iaf-first30__card::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    height: 4px;
    width: 25%;

    background: linear-gradient(
        90deg,
        #49B99A,
        #7DD5BA
    );

    border-radius: 0 100px 0 0;

    pointer-events: none;
}

.iaf-first30__card:nth-child(2)::after {
    width: 50%;
}

.iaf-first30__card:nth-child(3)::after {
    width: 75%;
}

.iaf-first30__card:nth-child(4)::after {
    width: 100%;
    border-radius: 0;
}

/* ==========================================================
   12. CARD TITLE
   ========================================================== */

.iaf-first30__card-title {
    position: relative;
    z-index: 1;

    width: 100%;

    margin: 0 0 17px;
    padding: 0;

    font-family: var(--iaf-font-heading);
    font-size: clamp(23px, 2vw, 29px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;

    color: #16232B;
}

/* ==========================================================
   13. CARD DESCRIPTION
   ========================================================== */

.iaf-first30__card-description {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    font-family: var(--iaf-font-body);
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;

    color: #697386;
}

/* ==========================================================
   14. SMALL DESKTOP
   ========================================================== */

@media (max-width: 1199px) {

    .iaf-first30 {
        padding: 35px 24px 70px;
    }

    .iaf-first30__container {
        padding: 60px 35px;
    }

    .iaf-first30__grid {
        gap: 17px;
    }

    .iaf-first30__card {
        min-height: 300px;
        padding: 30px;
    }

    .iaf-first30__card-title {
        font-size: 25px;
    }

    .iaf-first30__card-description {
        font-size: 15px;
    }
}

/* ==========================================================
   15. TABLET
   ========================================================== */

@media (max-width: 900px) {

    .iaf-first30 {
        padding: 30px 22px 60px;
    }

    .iaf-first30__container {
        padding: 50px 24px;
        border-radius: 23px;
    }

    .iaf-first30__intro {
        margin-bottom: 43px;
    }

    .iaf-first30__heading {
        font-size: clamp(32px, 4.6vw, 43px);
    }

    .iaf-first30__grid {
        gap: 14px;
    }

    .iaf-first30__card {
        min-height: 300px;
        padding: 26px 23px;
        border-radius: 17px;
    }

    .iaf-first30__card::before {
        font-size: 95px;
    }

    .iaf-first30__week {
        margin-bottom: 24px;
        font-size: 12px;
    }

    .iaf-first30__card-title {
        font-size: 23px;
    }

    .iaf-first30__card-description {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* ==========================================================
   16. MOBILE — STACKED CARDS
   ========================================================== */

@media (max-width: 767px) {

    .iaf-first30 {
        padding: 25px 14px 50px;
    }

    .iaf-first30__container {
        padding: 42px 18px;
        border-radius: 19px;
    }

    .iaf-first30__intro {
        margin-bottom: 36px;
    }

    .iaf-first30__label {
        margin-bottom: 21px;
        padding: 9px 16px;

        font-size: 12px;
    }

    .iaf-first30__heading {
        font-size: clamp(28px, 6.8vw, 38px);
        line-height: 1.17;
    }

    .iaf-first30__desktop-break {
        display: none;
    }

    .iaf-first30__description {
        margin-top: 20px;

        font-size: 14px;
        line-height: 1.55;
    }

    .iaf-first30__grid {
        grid-template-columns: minmax(0, 1fr);

        gap: 15px;
    }

    .iaf-first30__card {
        min-height: 0;

        padding: 30px 24px 34px;

        border-radius: 17px;
    }

    .iaf-first30__card::before {
        top: 13px;
        right: 17px;

        font-size: 90px;
    }

    .iaf-first30__week {
        min-height: 30px;

        margin-bottom: 23px;
        padding: 6px 13px;

        font-size: 12px;
    }

    .iaf-first30__card-title {
        margin-bottom: 14px;

        font-size: 23px;
        line-height: 1.2;
    }

    .iaf-first30__card-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ==========================================================
   17. SMALL MOBILE
   ========================================================== */

@media (max-width: 375px) {

    .iaf-first30 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .iaf-first30__container {
        padding: 35px 13px;
    }

    .iaf-first30__heading {
        font-size: 26px;
    }

    .iaf-first30__card {
        padding: 27px 19px 32px;
    }

    .iaf-first30__card-title {
        font-size: 21px;
    }

    .iaf-first30__card-description {
        font-size: 13px;
    }
}

/* ==========================================================
   18. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .iaf-first30__card {
        transition: none;
    }

    .iaf-first30__card:hover {
        transform: none;
    }
}
