/* ===================== */
/*   SAMPLES PAGE CSS    */
/* ===================== */

/* Hero Section */
.samples-hero {
    background: #fff;
    padding: 80px 20px 40px;
    text-align: center;
}

.samples-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.samples-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #5C2D91;
    margin-bottom: 16px;
}

.samples-hero p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* Samples Section */
.samples-section {
    background: #fff;
    padding: 20px 20px 80px;
}

.samples-container {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(92, 45, 145, 0.08);
    border: 1px solid rgba(92, 45, 145, 0.1);
}

/* Table Header */
.samples-table-header {
    display: grid;
    grid-template-columns: 60px 1fr 100px 80px 90px 140px;
    align-items: center;
    padding: 20px 28px;
    background: linear-gradient(135deg, #5C2D91, #7B3FA0);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.samples-table-header .col-title,
.samples-table-header .col-level,
.samples-table-header .col-pages,
.samples-table-header .col-words {
    color: #fff;
}

/* Table Row */
.samples-table-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 80px 90px 140px;
    align-items: center;
    padding: 28px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #3a2060;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(92, 45, 145, 0.06);
}

.samples-table-row:last-child {
    border-bottom: none;
}

.row-even {
    background: #fff;
}

.row-odd {
    background: #faf7fd;
}

.samples-table-row:hover {
    background: #f3ecfa;
    transform: scale(1.005);
    box-shadow: 0 2px 12px rgba(92, 45, 145, 0.08);
}

/* Column Styles */
.col-num {
    font-weight: 700;
    color: #5C2D91;
    font-size: 1rem;
}

.col-title {
    font-weight: 500;
    color: #2d1650;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 16px;
    line-height: 1.4;
}

.pdf-icon {
    color: #c0392b;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.col-level,
.col-pages,
.col-words {
    text-align: center;
    font-weight: 400;
    color: #5a4478;
}

.col-action {
    text-align: center;
}

/* Level Badges */
.level-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.level-level3 {
    background: #ede7f6;
    color: #7B3FA0;
}

.level-level5 {
    background: #e8def8;
    color: #5C2D91;
}

.level-level7 {
    background: #d1c4e9;
    color: #4a1d80;
}

/* View Button */
.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #5C2D91, #7B3FA0);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(92, 45, 145, 0.2);
}

.view-btn:hover {
    background: linear-gradient(135deg, #7B3FA0, #9C27B0);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(92, 45, 145, 0.35);
}

.view-btn:active {
    transform: translateY(0);
}

/* CTA Section */
.samples-cta {
    max-width: 700px;
    margin: 60px auto 0;
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #faf7fd, #f0e8f7);
    border-radius: 20px;
    border: 1px solid rgba(92, 45, 145, 0.1);
}

.samples-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #5C2D91;
    margin-bottom: 12px;
}

.samples-cta p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #555;
    font-weight: 300;
    margin-bottom: 28px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #5C2D91, #7B3FA0);
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(92, 45, 145, 0.25);
}

.cta-btn:hover {
    background: linear-gradient(135deg, #7B3FA0, #9C27B0);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(92, 45, 145, 0.4);
}

/* ===================== */
/*   RESPONSIVE DESIGN   */
/* ===================== */

@media (max-width: 900px) {
    .samples-table-header {
        display: none;
    }

    .samples-table-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 24px 22px;
        border-bottom: 2px solid rgba(92, 45, 145, 0.08);
        position: relative;
    }

    .col-num {
        position: absolute;
        top: 24px;
        right: 22px;
        font-size: 1.6rem;
        opacity: 0.15;
        font-weight: 800;
    }

    .col-title {
        font-size: 1.05rem;
        font-weight: 600;
        padding-right: 40px;
    }

    .col-level {
        text-align: left;
    }

    .col-pages::before {
        content: 'Pages: ';
        font-weight: 600;
        color: #5C2D91;
    }

    .col-words::before {
        content: 'Words: ';
        font-weight: 600;
        color: #5C2D91;
    }

    .col-pages,
    .col-words {
        text-align: left;
        font-size: 0.9rem;
    }

    .col-action {
        text-align: left;
        margin-top: 4px;
    }

    .view-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .samples-hero h1 {
        font-size: 2rem;
    }

    .samples-cta h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .samples-hero {
        padding: 60px 16px 30px;
    }

    .samples-hero h1 {
        font-size: 1.7rem;
    }

    .samples-hero p {
        font-size: 0.95rem;
    }

    .samples-section {
        padding: 10px 10px 60px;
    }

    .samples-cta {
        padding: 35px 20px;
        margin-top: 40px;
    }
}
