/* ==========================================
   RESPONSIVE - TABLET (768px - 1299px)
   Desktop-first approach
   All tablet-specific styles consolidated here
   ========================================== */

@media (width >= 768px) and (width <= 1299px) {
    /* ==========================================
       CSS VARIABLES
       ========================================== */
    :root {
        --container-padding: 40px;
        --section-spacing: 80px;
    }

    /* ==========================================
       HEADER & NAVIGATION
       ========================================== */
    .site-header {
        padding: 20px var(--container-padding);
    }

    .header-nav {
        gap: 24px;
    }

    .logo-full {
        height: 40px;
    }

    /* ==========================================
       HERO SECTION
       ========================================== */

    /* Hero section — tablet match to Figma */
    .hero-screen {
        padding: 40px 17px;
        height: auto;
        min-height: auto;
        background: var(--color-white);
    }

    .hero-container {
        max-width: 100%;
        width: 100%;
        gap: 23px;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        text-align: left;
    }

    /* Use display: contents to flatten content-block so children participate in hero-container flex */
    .content-block {
        display: contents;
    }

    .heading-section {
        flex: 1 1 45%;
        max-width: 50%;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: clamp(24px, 3vw, 34px);
        align-items: flex-start;
        text-align: left;
        order: 1;
    }

    .main-heading {
        gap: clamp(20px, 3vw, 30px);
        align-items: flex-start;
    }

    .main-heading h2 {
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.2;
        text-align: left;
        align-items: flex-start;
    }

    .subtitle {
        font-size: clamp(14px, 1.5vw, 18px);
        max-width: 100%;
        text-align: left;
    }

    .button-wrapper {
        margin-top: 0;
    }

    .cta-button {
        padding: clamp(14px, 1.5vw, 20px) clamp(28px, 3vw, 40px);
        border-radius: 50px;
    }

    .ratings-section {
        width: 100%;
        flex: 1 0 100%;
        gap: clamp(20px, 3vw, 40px);
        flex-flow: row nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        height: auto;
        order: 3;
    }

    .rating-item {
        align-items: flex-start;
    }

    .rating-logo {
        width: clamp(24px, 3vw, 36px);
        height: clamp(24px, 3vw, 36px);
    }

    .image-block {
        display: block;
        flex: 1 1 45%;
        min-width: 300px;
        max-width: 50%;
        height: auto;
        aspect-ratio: 356 / 366;
        position: relative;
        order: 2;
    }

    .hero-image {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .decorative-arrow,
    .decorative-idea,
    .image-background {
        display: none;
    }

    /* ==========================================
       TYPES OF ASSIGNMENTS
       ========================================== */
    .section-title {
        font-size: 40px;
    }

    .types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .card-title {
        font-size: 22px;
    }

    /* ==========================================
       SERVICES SECTION - Tablet (Figma Node: 2165:5951)
       ========================================== */
    .services-section {
        padding: 0;
    }

    .services-heading {
        gap: 24px;
        text-align: center;
    }

    .services-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .services-subtitle {
        font-size: 18px;
        line-height: 1.4;
        max-width: 682px;
        margin: 0 auto;
    }

    .services-container {
        width: 728px;
        max-width: 100%;
        margin: 0 auto;
        padding: 40px;
        gap: 40px;
        flex-direction: column;
    }

    .services-left {
        width: 100%;
        height: auto;
        gap: 32px;
    }

    .services-info {
        gap: 16px;
        width: 100%;
    }

    .services-title-row {
        flex-direction: row;
        gap: 16px;
        align-items: center;
        width: 100%;
    }

    .services-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .services-title-content {
        gap: 8px;
        text-align: left;
    }

    .services-main-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .services-price {
        font-size: 20px;
    }

    .services-description {
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
    }

    .services-description p {
        display: inline;
    }

    .services-cta-button {
        align-self: flex-start;
    }

    .services-right {
        width: 100%;
        max-width: 100%;
        gap: 36px;
    }

    .services-tabs {
        width: 100%;
    }

    .services-tab {
        flex: 1;
        padding: 8px 18px;
        font-size: 16px;
    }

    .services-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }

    .services-tag {
        padding: 10px 20px;
        font-size: 16px;
        width: auto;
    }

    /* ==========================================
       WRITERS SECTION - Figma 768px tablet design
       ========================================== */
    .writers-section {
        padding: 40px 20px;
        background: linear-gradient(to top, #fff, #f9fafb);
    }

    .writers-container {
        max-width: 728px;
        margin: 0 auto;
        gap: 56px;
    }

    .writers-heading {
        gap: 24px;
        text-align: center;
    }

    .writers-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .writers-subtitle {
        font-size: 18px;
        line-height: 1.4;
        max-width: 729px;
    }

    .writers-content {
        margin-top: 48px;
        width: 728px;
        max-width: 100%;
    }

    .writers-filter {
        display: flex;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 14px 20px;
        border-radius: 50px;
        font-size: 15px;
        gap: 6px;
    }

    .writer-cards {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        justify-content: flex-start;
        width: max-content; /* Allow track to expand beyond wrapper for carousel scrolling */
    }

    .writer-card {
        width: 420px;
        min-width: 354px;
        max-width: 420px;
        flex: 0 0 354px;
        padding: 24px;
        border-radius: 24px;
        gap: 24px;
        border: 1px solid var(--color-yellow);
    }

    .writer-avatar {
        width: 100%;
        height: 200px;
        border-radius: 10px;
        object-fit: cover;
    }

    .writer-discipline {
        background-color: var(--color-stroke);
        padding: 4px 12px;
        border-radius: 24px;
        font-size: 14px;
    }

    .writer-name {
        font-size: 24px;
        line-height: 1.2;
    }

    .writer-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
    }

    .stat-box {
        width: calc(50% - 6px);
        padding: 8px 4px;
        border-radius: 10px;
        background-color: rgb(235 237 240 / 20%);
    }

    .stat-value {
        font-size: 20px;
        font-weight: 600;
    }

    .stat-label {
        font-size: 16px;
    }

    .hire-btn {
        width: 100%;
        padding: 16px 32px;
        border-radius: 50px;
    }

    .view-all-btn {
        background-color: var(--color-dark);
        color: white;
        padding: 16px 32px;
        border-radius: 50px;
    }

    .filters-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    /* ==========================================
       BENEFITS SECTION
       ========================================== */
    .benefits-section {
        padding: 60px var(--container-padding);
    }

    .benefit-card {
        width: calc(50% - 10px);
        min-width: 300px;
    }

    .benefits-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* ==========================================
       CTA SECTION
       ========================================== */
    .cta-container {
        padding: 80px 40px;
    }

    .cta-title {
        font-size: 40px;
    }

    .cta-form {
        width: 100%;
        max-width: 600px;
    }

    .cta-input-field {
        width: 100%;
        max-width: 350px;
    }

    /* ==========================================
       TESTIMONIALS SECTION - Figma Tablet Design
       ========================================== */
    .testimonials-section {
        padding: 40px 20px;
        gap: 30px;
    }

    .testimonials-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .testimonials-container {
        max-width: 760px;
        gap: 31px;
        padding: 0 20px;
        overflow: visible !important;
    }

    /* Review Badges */
    .review-badges {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .review-badge {
        width: 166px;
        min-width: 166px;
        padding: 16px 20px;
    }

    /* Testimonial Cards Container - carousel wrapper with overflow hidden */
    .testimonials-cards-wrapper {
        overflow: hidden;
        width: 100%;
    }

    /* Testimonial Cards - show active platform only (override slider mode) */
    .testimonial-cards {
        display: none !important;
        gap: 24px;
        width: 100%;
        position: relative !important;
        min-height: auto !important;
        transition: transform 0.4s ease-out;
    }

    /* Show active platform cards */
    .testimonial-cards.active {
        display: flex !important;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 12px) !important; /* 50% minus half of gap */
        max-width: calc(50% - 12px);
        padding: 32px;
        border-radius: 24px;
        gap: 24px;

        /* Override mobile slider styles from main.css */
        display: flex !important;
        flex-direction: column;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        top: auto !important;
        left: auto !important;
    }

    .testimonial-name p {
        font-size: 24px;
    }

    .testimonial-text p {
        font-size: 16px;
    }

    /* Pagination Dots */
    .testimonials-pagination {
        display: flex !important;
        gap: 12px;
        justify-content: center;
        align-items: center;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .testimonials-pagination .dot,
    .testimonials-pagination .testimonial-dot {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px;
        min-height: 12px;
        padding: 0 !important;
        border-radius: 50%;
        background-color: var(--color-stroke);
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        background-clip: border-box !important;
    }

    .testimonials-pagination .dot.active,
    .testimonials-pagination .dot[aria-current="true"],
    .testimonials-pagination .testimonial-dot.active,
    .testimonials-pagination .testimonial-dot[aria-current="true"] {
        background-color: var(--color-yellow);
    }

    .testimonials-pagination .dot:hover:not(.active),
    .testimonials-pagination .testimonial-dot:hover:not(.active) {
        background-color: #d1d5db;
    }

    .testimonials-pagination .dot:focus,
    .testimonials-pagination .testimonial-dot:focus {
        outline: none;
    }

    .testimonials-pagination .dot:focus-visible,
    .testimonials-pagination .testimonial-dot:focus-visible {
        outline: 2px solid var(--color-yellow);
        outline-offset: 2px;
    }

    /* Footer */
    .testimonials-footer {
        gap: 30px;
        max-width: 728px;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    .overall-rating {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonials-button {
        width: 149px;
    }

    /* ==========================================
       SEO SECTION - Tablet (Figma Node: 2165:5992)
       ========================================== */
    .seo-section {
        padding: 40px var(--container-padding);
    }

    .seo-outer-container {
        width: 728px;
        max-width: 100%;
        margin: 0 auto;
        padding: 48px;
        border-radius: 24px;
    }

    .seo-inner-container {
        padding: 48px 24px;
        border-radius: 24px;
    }

    .seo-section .seo-heading {
        display: flex !important;
        flex-flow: row nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 16px !important;
        margin-bottom: 32px;
    }

    .seo-section .seo-title {
        font-size: 32px;
        text-align: center;
    }

    .seo-section .seo-icon {
        width: 40px;
        height: 50px;
        flex-shrink: 0;
    }

    /* Content - scrollable with visible progress bar */
    .seo-content {
        flex-direction: row;
        gap: 16px;
    }

    .seo-columns-wrapper {
        flex-direction: column;
        gap: 24px;
        max-height: 400px;
        overflow-y: auto;
        flex: 1;
    }

    .seo-column {
        flex: none;
        width: 100%;
    }

    .seo-block {
        gap: 12px;
    }

    .seo-block-title {
        font-size: 24px;
    }

    .seo-block-text,
    .seo-list {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Progress bar - VISIBLE on tablet */
    .seo-progress {
        display: block !important;
        width: 8px;
        flex-shrink: 0;
        position: relative;
    }

    .seo-progress-track {
        width: 8px;
        height: 100%;
        background: #ebefff;
        border-radius: 8px;
    }

    .seo-progress-fill {
        width: 8px;
        background-color: var(--color-dark);
        border-radius: 8px;
    }

    /* ==========================================
       FAQ SECTION - Tablet (Figma Node: 2165:6051)
       ========================================== */
    .faq-section {
        padding: 40px 16px;
    }

    .faq-heading {
        gap: 24px;
        margin-bottom: 32px;
    }

    .faq-title {
        font-size: 32px;
        text-align: center;
    }

    .faq-subtitle {
        font-size: 16px;
        text-align: center;
    }

    .faq-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        width: 100%;
    }

    /* Reorder: Questions first, Support card last */
    .faq-questions {
        order: 1;
        width: 100%;
    }

    .faq-support-card {
        order: 2;
        width: 100%;
        max-width: 100%;
        padding: 48px 24px;
        border-radius: 24px;
        background-color: #fffbee;
        border: 1px solid var(--color-yellow);
    }

    /* FAQ Groups */
    .faq-group {
        padding: 24px;
        border-radius: 10px;
        border: 1px solid var(--color-yellow);
        margin-bottom: 30px;
    }

    .faq-group:last-child {
        margin-bottom: 0;
    }

    .faq-group-header {
        gap: 8px;
        margin-bottom: 24px;
    }

    .faq-group-icon {
        width: 32px;
        height: 32px;
    }

    .faq-group-title {
        font-size: 20px;
    }

    /* FAQ Items */
    .faq-items {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .faq-question-text {
        font-size: 16px;
    }

    /* FAQ Icons - larger for tablet */
    .faq-icon-toggle {
        width: 32px;
        height: 32px;
    }

    .faq-answer p {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Support Card Content */
    .faq-support-title {
        font-size: 32px;
    }

    .faq-support-description {
        font-size: 20px;
        line-height: 1.4;
    }

    /* Support Buttons - Full width, stacked */
    .faq-support-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .btn-faq-chat,
    .btn-faq-email {
        width: 100%;
        justify-content: center;
    }

    /* ==========================================
       ARTICLES SECTION
       ========================================== */
    .articles-title {
        font-size: 40px;
    }

    .articles-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        width: 728px;
        height: 1800px;
    }

    .article-card {
        width: 724px;
        height: 530px;
        justify-content: center;
        align-items: center;
    }

    .article-image {
        height: 300px;
    }

    /* CTA Footer Person */
    .cta-footer-person {
        top: 4px;
    }

    /* ==========================================
       FOOTER
       ========================================== */
    .footer-container {
        padding: 60px var(--container-padding);
    }

    /* ==========================================
       POLICY PAGE
       ========================================== */
    .policy-toc {
        width: 280px;
    }

    /* ==========================================
       ABOUT US PAGE
       ========================================== */
    .about-hero {
        padding: 60px 80px;
    }

    .about-features-container {
        gap: 40px;
    }

    .about-feature-card {
        width: calc(50% - 20px);
    }

    /* ==========================================
       REVIEWS PAGE
       ========================================== */
    .reviews-hero {
        padding: 60px 80px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ==========================================
       CONTACTS PAGE
       ========================================== */
    .contacts-hero {
        padding: 60px 80px;
    }

    /* ==========================================
       COUPONS PAGE
       ========================================== */
    .coupons-hero,
    .coupons-cards-section,
    .coupons-how-it-works,
    .coupons-cta-section,
    .coupons-testimonials,
    .coupons-seo-section,
    .coupons-cta-card-section {
        padding-left: 80px;
        padding-right: 80px;
    }

    .coupons-faq-container {
        padding-left: 80px;
        padding-right: 80px;
    }

    .coupons-hero-title {
        font-size: 42px;
    }

    .coupons-how-container {
        flex-direction: column;
    }

    .coupons-cta-card-image {
        display: none;
    }

    .coupons-cta-card-content {
        max-width: 100%;
    }

    .coupons-faq-container {
        flex-direction: column;
    }

    .coupons-faq-support-card {
        width: 100%;
    }

    .coupon-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .coupons-steps-container {
        flex-direction: column;
    }

    .coupons-step-card {
        flex-direction: row;
        text-align: left;
        gap: 32px;
    }

    .coupons-step-icon {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .coupons-dialog-badge {
        left: 250px;
    }

    /* ==========================================
       SAMPLES PAGE
       ========================================== */
    .samples-hero-container,
    .samples-latest-container,
    .samples-categories-container,
    .samples-popular-container,
    .samples-cta-order-container {
        padding: 0 80px;
    }

    .samples-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .samples-hero-content h1 {
        font-size: 48px;
    }

    .samples-categories-heading h2,
    .samples-popular-heading h2,
    .samples-cta-order-card h2 {
        font-size: 40px;
    }

    .samples-hero + .samples-categories {
        margin-top: 20px;
    }

    .samples-categories + .samples-popular {
        margin-top: -150px;
    }

    /* ==========================================
       SERVICE PAGE
       ========================================== */
    .service-hero {
        padding: 20px 80px;
    }

    .service-hero-container {
        gap: 60px;
    }

    .text-features-section {
        padding: 0 80px 120px;
    }

    .video-section {
        padding: 120px 80px;
    }

    .service-hero-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .service-hero-content {
        max-width: 100%;
        padding-top: 40px;
        align-items: center;
        text-align: center;
    }

    .service-hero-heading h1 {
        font-size: 48px;
    }

    .service-hero-cta {
        align-self: center;
    }

    .service-hero-ratings {
        justify-content: center;
        flex-wrap: wrap;
    }

    .service-hero-image {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 614/712;
    }

    .hero-stats-card {
        left: 0;
        bottom: 150px;
    }

    .hero-no-ai-card {
        right: 0;
        top: 0;
    }

    .features-grid {
        width: 100%;
        max-width: 860px;
    }

    .feature-card {
        width: 420px;
        max-width: calc(50% - 10px);
    }

    .text-features-container {
        flex-direction: column;
        gap: 40px;
    }

    .text-content {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .free-features-card {
        flex: none;
        width: 100%;
        max-width: 556px;
    }

    .video-container {
        flex-direction: column;
        gap: 40px;
    }

    .video-content {
        flex: none;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .video-thumbnail {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 681/454;
    }

    .video-wrapper {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    /* ==========================================
       ESSAY CATEGORY PAGE
       ========================================== */
    .breadcrumb,
    .essay-category-hero,
    .cta-blue-section,
    .essay-seo-content,
    .cta-talk-section {
        padding-left: 80px;
        padding-right: 80px;
    }

    .essay-category-container {
        flex-direction: column;
    }

    .essay-category-content,
    .essay-category-sidebar {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .essay-category-heading h1 {
        font-size: 48px;
    }

    .cta-blue-card h2,
    .essay-seo-content h2,
    .cta-talk-card h2 {
        font-size: 40px;
    }

    .cta-talk-image {
        right: 50px;
        width: 350px;
    }

    .cta-talk-dialog {
        right: 350px;
    }

    /* ==========================================
       BLOG PAGE
       ========================================== */
    .blog-hero {
        padding: 60px 80px;
    }

    .blog-content {
        padding: 0 80px 60px;
    }

    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-article-card {
        width: 100%;
    }

    .blog-article-image {
        width: 100%;
    }

    .blog-content-container {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
        flex-flow: row wrap;
        gap: 24px;
    }

    .blog-categories {
        flex: 1;
        min-width: 300px;
    }

    .blog-cta-card {
        flex: 1;
        min-width: 300px;
    }

    /* ==========================================
       BLOG ARTICLE PAGE
       ========================================== */
    .breadcrumbs {
        padding: 24px 80px 0;
    }

    .article-page {
        padding: 48px 80px 80px;
    }

    .related-articles {
        padding: 80px;
    }

    .article-container {
        flex-direction: column;
    }

    .article-main {
        max-width: 100%;
    }

    .article-sidebar {
        width: 100%;
        position: static;
        flex-flow: row wrap;
        gap: 24px;
    }

    .sidebar-toc {
        flex: 1;
        min-width: 300px;
    }

    .sidebar-features {
        flex: 1;
        min-width: 300px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ==========================================
       HOW IT WORKS PAGE
       ========================================== */
    .how-it-works-page-section {
        padding: 60px var(--container-padding) 80px;
    }

    .how-it-works-page-title {
        font-size: 48px;
    }

    .how-it-works-form-preview {
        width: 500px;
    }

    .how-it-works-form-preview .form-preview-bg {
        width: 500px;
        height: 360px;
    }

    .how-it-works-form-preview .form-preview-card {
        width: 540px;
    }

    .how-it-works-page-content {
        flex-direction: column;
        gap: 48px;
    }

    .how-it-works-steps-container {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .how-it-works-form-preview {
        width: 100%;
        max-width: 600px;
    }

    .how-it-works-form-preview .form-preview-bg {
        width: 100%;
        height: 340px;
    }

    .how-it-works-form-preview .form-preview-card {
        width: calc(100% + 20px);
        margin-left: 15px;
        margin-top: 15px;
    }

    /* ==========================================
       CONSOLIDATED STYLES FROM 992px BREAKPOINT
       (Hero styles removed - using Figma-based styles at top of file)
       ========================================== */

    .section-title {
        font-size: 36px;
    }

    .card-title {
        font-size: 20px;
    }

    /* Services Section - 992px styles (consolidated with tablet styles above) */

    /* SEO Section - styles moved to consolidated tablet block above */

    /* Writers Section - 992px styles (Figma tablet) */
    .writers-heading {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .writers-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .writers-subtitle {
        font-size: 18px;
        line-height: 1.4;
    }

    .writer-cards {
        justify-content: center;
    }

    .writer-card {
        width: 354px;
        max-width: 354px;
        min-width: 320px;
        flex: 0 0 354px;
    }

    .filters-row,
    .writers-filter {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    /* Benefits Section - Tablet (Figma Node: 2165:5862) */
    .benefits-section {
        padding: 40px var(--container-padding);
        gap: 48px;
    }

    .benefits-heading {
        width: 728px;
        max-width: 100%;
        gap: 24px;
    }

    .benefits-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 0;
    }

    .benefits-subtitle {
        font-size: 16px;
        line-height: 1.4;
    }

    .benefits-subtitle p {
        display: inline;
    }

    .benefits-container {
        display: flex;
        flex-direction: column;
        width: 728px;
        max-width: 100%;
        gap: 20px;
    }

    .benefit-card {
        width: 100%;
        max-width: none;
        min-width: unset;
        padding: 32px;
        gap: 12px;
    }

    .benefit-header {
        width: 279px;
    }

    .benefit-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 0;
    }

    .benefit-title {
        font-size: 24px;
        white-space: normal;
        margin-bottom: 0;
    }

    .benefit-description {
        font-size: 16px;
        line-height: 1.5;
    }

    .benefits-buttons {
        flex-flow: row nowrap;
        justify-content: center;
        gap: 30px;
    }

    .benefits-button {
        width: auto;
        max-width: none;
    }

    .benefits-guarantee {
        width: 728px;
        max-width: 100%;
        padding: 32px 0 60px;
        gap: 32px;
    }

    .guarantee-items {
        flex-direction: column;
        gap: 32px;
    }

    .guarantee-row {
        display: flex;
        gap: 32px;
        align-items: center;
        justify-content: center;
    }

    .guarantee-label {
        font-size: 20px;
    }

    /* ==========================================
       HOW IT WORKS SECTION - Index Page Tablet (Figma Node: 2165:5933)
       ========================================== */
    .how-it-works-section {
        padding: 40px 60px !important;
        border-radius: 24px;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .how-it-works-section * {
        box-sizing: border-box !important;
    }

    .how-it-works-container {
        width: 100% !important;
        max-width: 728px !important;
        margin: 0 auto !important;
        flex-direction: column !important;
        gap: 36px !important;
        flex: none !important;
    }

    .how-it-works-content {
        flex: none !important;
        align-items: flex-start !important;
        text-align: left;
        gap: 32px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
    }

    .how-it-works-title {
        font-size: 48px !important;
        line-height: 1.2 !important;
        text-align: left;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .how-it-works-page-content {
        flex-direction: column !important;
        gap: 36px !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Steps container - horizontal layout with progress bar */
    .how-it-works-steps-container {
        display: flex !important;
        flex-direction: row !important;
        gap: 35px !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }

    /* Progress bar - VISIBLE on tablet */
    .how-it-works-progress-bar {
        display: flex !important;
        flex-direction: column;
        width: 2px;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
        background-color: #add1ff;
        border-radius: 8px;
    }

    .progress-track {
        display: block !important;
        width: 2px;
        height: 100%;
        background-color: #add1ff;
        border-radius: 8px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .progress-fill,
    .progress-bar-fill {
        display: block !important;
        position: absolute;
        width: 2px;
        height: 80px;
        background-color: var(--color-dark, #121827);
        border-radius: 2px;
        top: 0;
        left: 0;
        transition: top 0.3s ease, height 0.3s ease;
    }

    /* Steps list - no borders, just text */
    .how-it-works-steps,
    .steps-list {
        display: flex;
        flex-direction: column;
        gap: 32px;
        width: 100%;
        flex: 1;
    }

    /* Step items - no borders */
    .how-it-works-step,
    .step-item {
        text-align: left;
        opacity: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        border: none;
        border-radius: 0;
        background-color: transparent;
        cursor: pointer;
    }

    /* Active step - no special background */
    .how-it-works-step.active,
    .step-item.active {
        background-color: transparent;
    }

    .step-title,
    .step-title ol {
        text-align: left;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
        padding: 0;
    }

    .step-title ol {
        padding-left: 0;
        margin-left: 28px;
    }

    .step-description {
        text-align: left;
        font-size: 16px;
        line-height: 1.5;
        width: 100%;
        max-width: 100%;
        color: var(--color-text, #585e65);
    }

    /* Hide descriptions for non-active steps on tablet */
    .step-item:not(.active) .step-description,
    .how-it-works-step:not(.active) .step-description {
        display: none !important;
    }

    /* Order form screenshot - VISIBLE on tablet */
    .order-form-screenshot {
        /*display: block !important;*/
        width: 100%;
        max-width: 681px;
        height: auto;
        overflow: visible;
        margin: 0 auto;
        border-radius: 24px;
    }

    /*.order-form-screenshot img {*/
    /*    display: block;*/
    /*    width: 100%;*/
    /*    height: auto;*/
    /*    object-fit: contain;*/
    /*    border-radius: 24px;*/
    /*}*/
    .order-form-screenshot:before{
        width: 93%;
        height: 100%;
        top: -16px;
    }

    /* CTA Section - 992px styles */
    .cta-container {
        padding: 60px 24px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-input-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .cta-input-field {
        width: 100%;
        max-width: 100%;
    }

    .cta-submit-btn {
        width: 100%;
        max-width: 400px;
    }

    /* FAQ Section - styles moved to consolidated tablet block above */

    /* Coupons - 992px styles */
    .coupon-card {
        width: 100%;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .coupon-card-content {
        max-width: 100%;
    }

    .coupon-card-actions {
        width: 100%;
    }

    .coupons-stats {
        flex-direction: column;
        gap: 12px;
    }

    .coupon-stat-card {
        width: 100%;
        max-width: 300px;
    }

    .coupons-testimonials-cards {
        flex-direction: column;
    }

    .coupons-cta-input-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .coupons-cta-input {
        width: 100%;
    }

    /* Samples - 992px styles */
    .samples-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .samples-topics-grid {
        gap: 16px;
    }

    .topic-pill {
        width: calc(50% - 8px);
    }

    .samples-hero-container,
    .samples-latest-container,
    .samples-categories-container,
    .samples-popular-container,
    .samples-cta-order-container {
        padding: 0 40px;
    }

    /* Service Page - 992px styles */
    .service-hero {
        padding: 20px 40px;
        min-height: auto;
    }

    .service-hero-heading h1 {
        font-size: 40px;
    }

    .service-hero-subtitle {
        font-size: 18px;
    }

    .features-section {
        padding: 80px 0;
    }

    .features-heading h2,
    .text-content h2,
    .video-text h2 {
        font-size: 36px;
    }

    .features-heading p {
        font-size: 18px;
    }

    .features-grid {
        padding: 0 20px;
    }

    .text-features-section {
        padding: 0 40px 80px;
    }

    .video-section {
        padding: 80px 40px;
    }

    .free-features-title {
        font-size: 28px;
    }

    /* Essay Category - 992px styles */
    .breadcrumb,
    .essay-category-hero,
    .cta-blue-section,
    .essay-seo-content,
    .cta-talk-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .breadcrumb-list {
        font-size: 16px;
    }

    .essay-category-description p,
    .essay-category-count p,
    .essay-seo-text {
        font-size: 16px;
    }

    .cta-talk-card {
        padding-bottom: 280px;
    }

    .cta-talk-content {
        max-width: 100%;
    }

    .cta-talk-image {
        position: absolute;
        right: 50%;
        transform: translateX(50%);
        top: auto;
        bottom: -50px;
        width: 350px;
        height: 300px;
    }

    .cta-talk-dialog {
        display: none;
    }

    /* Blog - 992px styles */
    .blog-hero-title {
        font-size: 42px;
    }

    .blog-hero-subtitle {
        font-size: 18px;
    }

    .blog-hero-search {
        flex-direction: column;
        width: 100%;
        max-width: 500px;
    }

    .blog-search-input-wrapper {
        width: 100%;
    }

    .blog-search-btn {
        width: 100%;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
    }

    /* Blog Article - 992px styles */
    .article-title {
        font-size: 36px;
    }

    .related-heading {
        font-size: 36px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   TABLET PORTRAIT (768px - 991px)
   Mobile Menu Toggle Only
   ========================================== */
@media (width >= 768px) and (width <= 1299px) {
    .site-header {
        padding: 16px var(--container-padding);
    }

    .header-container {
        gap: 16px;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 27px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 12px; /* 44px tap target */
        box-sizing: content-box;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-dark);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-menu-overlay {
        display: block;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
    }

    .header-actions .action-link {
        display: none;
    }

    .header-actions .btn-primary {
        width: 169px;
        height: 56px;
        padding: 0 24px;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* ==========================================
   TABLET RESPONSIVE - 768px to 1299px
   Carousel and interactive components
   ========================================== */
@media (width >= 768px) and (width <= 1299px) {
    /* Writers Carousel Wrapper */
    .writers-carousel-wrapper {
        overflow: hidden;
        position: relative;
        width: 100%;
        max-width: 728px;
        margin: 0 auto;
    }

    /* Writers Pagination Dots - Figma design */
    .writers-pagination {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    .writers-pagination .dot {
        width: 12px;
        height: 12px;
        min-width: 12px;
        min-height: 12px;
        padding: 0;
        background-color: var(--color-stroke); /* Inactive: light gray */
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .writers-pagination .dot.active,
    .writers-pagination .dot[aria-current="true"] {
        background-color: var(--color-yellow); /* Active: yellow */
    }

    .writers-pagination .dot:hover:not(.active) {
        background-color: #d1d5db; /* Slightly darker gray on hover */
    }

    .writers-pagination .dot:focus {
        outline: none;
    }

    .writers-pagination .dot:focus-visible {
        outline: 2px solid var(--color-yellow);
        outline-offset: 2px;
    }

    /* ==========================================
       SERVICE RELATED SECTION - TABLET
       ========================================== */
    .service-related {
        padding: 80px 0;
    }

    .service-related-container {
        padding: 0 40px;
    }

    .service-related-heading {
        margin-bottom: 40px;
    }

    .service-related-heading h2 {
        font-size: 40px;
    }

    .service-related-heading p {
        font-size: 18px;
    }

    .service-related-grid {
        gap: 16px;
    }

    .service-pill {
        width: calc(50% - 8px);
    }
}

/* ==========================================
   APP PAGE - TABLET STYLES
   ========================================== */
@media (min-width: 768px) and (max-width: 1299px) {
    /* App Hero */
    .app-hero {
        padding: 40px 40px 0;
    }

    .app-hero-title {
        font-size: 48px;
    }

    .app-hero-subtitle {
        font-size: 18px;
    }

    .app-hero-subtitle br {
        display: none;
    }

    .app-hero-form {
        flex-direction: column;
        width: 100%;
        max-width: 500px;
    }

    .app-hero-input-wrapper {
        width: 100%;
    }

    .app-hero-btn {
        width: 100%;
    }

    /* App Benefits */
    .app-benefits {
        padding: 80px 40px;
    }

    .app-benefits-title {
        font-size: 36px;
    }

    .app-benefits-content {
        flex-direction: column;
        padding: 40px;
        min-height: auto;
    }

    .app-benefits-phone {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 280px;
        margin-bottom: 40px;
    }

    .app-benefits-list {
        margin-left: 0;
        max-width: 100%;
    }

    .app-benefit-card {
        padding: 20px 24px;
    }

    .app-benefit-text {
        font-size: 20px;
    }

    /* App Interface */
    .app-interface {
        padding: 60px 40px;
    }

    .app-interface-title {
        font-size: 36px;
    }

    .app-interface-phones {
        flex-wrap: wrap;
        gap: 20px;
    }

    .app-interface-phone {
        width: calc(50% - 10px);
        max-width: 220px;
    }

    /* App Testimonials */
    .app-testimonials {
        padding: 60px 40px;
    }

    .app-testimonials-title {
        font-size: 36px;
    }

    .app-testimonials-title br {
        display: none;
    }

    /* App Download CTA */
    .app-download-cta {
        padding: 60px 40px;
    }

    .app-download-cta-container {
        flex-direction: column;
        text-align: center;
    }

    .app-download-cta-content {
        align-items: center;
    }

    .app-download-cta-title {
        font-size: 32px;
    }

    .app-download-cta-title br {
        display: none;
    }

    .app-download-cta-subtitle {
        max-width: 100%;
    }

    .app-download-badges {
        justify-content: center;
    }

    .app-cta-person {
        max-width: 300px;
    }
}

/* ==========================================
   APP PAGE STYLES (Tablet)
   ========================================== */
@media (width >= 768px) and (width <= 1299px) {

    /* ==========================================
       APP PAGE - HERO SECTION (Tablet)
       ========================================== */
    .app-hero-section {
        padding: 40px 40px 60px;
    }

    .app-hero-content {
        gap: 24px;
    }

    .app-hero-text {
        gap: 24px;
    }

    .app-hero-title {
        font-size: 48px;
        line-height: 1.2;
    }

    .app-hero-title br {
        display: none;
    }

    .app-hero-subtitle {
        font-size: 20px;
        line-height: 1.4;
    }

    .app-hero-subtitle br {
        display: none;
    }

    .app-hero-form {
        flex-direction: column;
        width: 100%;
        max-width: 450px;
        gap: 16px;
    }

    .app-hero-input-wrapper {
        width: 100%;
    }

    .app-hero-input-wrapper input,
    .app-hero-input {
        height: 56px;
        border-radius: 50px;
    }

    .app-hero-btn {
        width: 100%;
        padding: 16px 32px;
        border-radius: 50px;
    }

    /* ==========================================
       APP PAGE - REASONS SECTION (Tablet)
       ========================================== */
    .app-reasons-section {
        padding: 64px 40px;
        gap: 32px;
        background: linear-gradient(to top, #ffffff, #f9fafb);
    }

    .app-reasons-title {
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
    }

    .app-reasons-cta {
        padding: 0;
        width: 100%;
    }

    .app-reasons-container {
        width: 100%;
        height: auto;
        padding: 32px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        border-radius: 24px;
        border: 1px solid var(--color-yellow);
        background-color: var(--color-yellow-light);
    }

    .app-reasons-cards {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        order: 1;
    }

    .app-reasons-iphone {
        position: relative;
        left: auto;
        bottom: -33px;
        width: 300px;
        margin-top: 0;
        order: 2;
    }

    .app-reason-card {
        padding: 24px 32px;
        gap: 12px;
        flex-direction: row;
        align-items: center;
        background: white;
        border: 1px solid var(--color-yellow);
        border-radius: 24px;
    }

    .app-reason-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .app-reason-icon svg,
    .app-reason-icon img {
        width: 50px;
        height: 50px;
    }

    .app-reason-text {
        font-size: 20px;
        font-family: var(--font-fraunces);
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
    }

    /* ==========================================
       APP PAGE - INTERFACE SECTION (Tablet)
       ========================================== */
    .app-interface-section {
        padding: 40px 0 80px 0;
        gap: 48px;
        background: white;
    }

    .app-interface-title {
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
        padding: 0 40px;
    }

    .app-interface-phones {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        padding: 0 40px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .app-interface-phones::-webkit-scrollbar {
        display: none;
    }

    .app-interface-phone {
        flex: 0 0 auto;
        width: 220px;
        min-width: 220px;
    }

    /* ==========================================
       APP PAGE - TESTIMONIALS SECTION (Tablet)
       ========================================== */
    .app-testimonials-section {
        padding: 80px 40px;
        gap: 40px;
    }

    .app-testimonials-title {
        font-size: 36px;
    }

    .app-testimonials-container {
        overflow: hidden;
        width: 100%;
        align-items: flex-start;
    }

    .app-testimonials-cards {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 24px;
        width: max-content;
        transition: transform 0.3s ease;
    }

    .app-testimonials-section .app-testimonial-card {
        flex: 0 0 calc(100vw - 80px);
        min-width: calc(100vw - 80px);
        max-width: calc(100vw - 80px);
    }

    .app-testimonial-name {
        font-size: 20px;
    }

    .app-testimonials-nav {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 24px;
        width: 100%;
    }

    .app-testimonial-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .app-testimonial-btn.prev {
        background-color: var(--color-dark) !important;
        opacity: 1 !important;
    }

    .app-testimonial-btn.prev svg path {
        stroke: white;
    }

    .app-testimonial-btn.next {
        background-color: var(--color-yellow) !important;
        opacity: 1 !important;
    }

    .app-testimonial-btn.next svg path {
        stroke: var(--color-dark);
    }

    .app-testimonial-btn svg {
        width: 24px;
        height: 24px;
    }

    /* ==========================================
       APP PAGE - CTA SECTION (Tablet)
       ========================================== */
    .app-cta-section {
        padding: 60px 40px;
    }

    .app-cta-container {
        padding: 40px 32px;
        padding-bottom: 240px;
        margin: 0;
        width: 100%;
        border-radius: 24px;
        text-align: center;
        position: relative;
        overflow: visible;
    }

    .app-cta-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
        gap: 16px;
    }

    .app-cta-title {
        font-size: 32px;
        line-height: 1.2;
        text-align: center;
    }

    .app-cta-title br {
        display: none;
    }

    .app-cta-text {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
    }

    .app-cta-section .cta-footer-image,
    .app-cta-container .cta-footer-image {
        position: absolute;
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 300px;
        height: auto;
    }

    .app-cta-container .cta-footer-person,
    .app-cta-section .cta-footer-person {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .app-cta-dialog {
        display: none;
    }

    /* ==========================================
       TOP WRITERS PAGE - TABLET STYLES
       ========================================== */

    /* ==========================================
       TOP WRITERS HERO (TW-HERO) - TABLET
       ========================================== */
    .tw-hero {
        padding: 60px 40px 80px;
    }

    .tw-hero-container {
        gap: 48px;
    }

    .tw-hero-content {
        gap: 20px;
    }

    .tw-hero-title {
        font-size: 44px;
    }

    .tw-hero-subtitle {
        font-size: 18px;
    }

    .tw-hero-subtitle br {
        display: none;
    }

    .tw-hero-ratings {
        gap: 32px;
    }

    .tw-rating-icon {
        width: 26px;
        height: 26px;
    }

    /* ==========================================
       TOP WRITERS SECTION (TW-WRITERS) - TABLET
       ========================================== */
    .tw-writers {
        padding: 60px 0 80px;
    }

    .tw-writers-container {
        padding: 0 40px;
    }

    .tw-writers-title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .tw-writers-filters {
        gap: 12px;
        margin-bottom: 32px;
    }

    .tw-filter-tab {
        padding: 10px 20px;
        font-size: 15px;
    }

    .tw-writers-grid,
    .tw-writers-grid.writer-cards,
    .writer-cards.tw-writers-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        margin-bottom: 40px;
        width: 100% !important;
    }

    .tw-writers-grid .writer-card,
    .tw-writers-grid.writer-cards .writer-card,
    .writer-cards.tw-writers-grid .writer-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .tw-writers-grid .hire-btn {
        width: 100%;
        background-color: var(--color-yellow);
        color: var(--color-dark);
    }

    .tw-more-btn {
        padding: 14px 32px;
    }

    /* ==========================================
       SAVINGS CTA (TW-SAVINGS-CTA) - TABLET
       ========================================== */
    .tw-savings-cta {
        padding: 0 40px 60px;
    }

    .tw-savings-container {
        padding: 40px;
        gap: 40px;
        flex-direction: row;
        align-items: center;
    }

    .tw-savings-gift {
        width: 140px;
    }

    .tw-savings-content {
        flex: 1;
        gap: 28px;
    }

    .tw-savings-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tw-savings-pill {
        padding: 10px 14px;
    }

    .tw-savings-price {
        font-size: 15px;
    }

    .tw-savings-name {
        font-size: 15px;
    }

    .tw-savings-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .tw-savings-text {
        font-size: 22px;
        text-align: center;
    }

    .tw-savings-btn {
        padding: 14px 28px;
    }

    /* ==========================================
       HOW WE SELECT WRITERS (TW-SELECTION) - TABLET
       ========================================== */
    .tw-selection {
        padding: 60px 40px 80px;
    }

    .tw-selection-container {
        gap: 40px;
    }

    .tw-selection-header {
        gap: 20px;
    }

    .tw-selection-title {
        font-size: 36px;
    }

    .tw-selection-subtitle {
        font-size: 18px;
    }

    .tw-selection-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .tw-selection-card {
        padding: 28px 20px;
        gap: 20px;
    }

    .tw-selection-icon {
        width: 90px;
        height: 90px;
    }

    .tw-selection-card-title {
        font-size: 20px;
    }

    .tw-selection-card-text {
        font-size: 14px;
    }

    /* ==========================================
       WHAT WE DO (TW-SERVICES) - TABLET
       ========================================== */
    .tw-services {
        padding: 60px 40px 80px;
    }

    .tw-services-container {
        gap: 40px;
    }

    .tw-services-title {
        font-size: 36px;
    }

    .tw-services-box {
        flex-direction: column;
        padding: 40px 32px;
        gap: 32px;
    }

    .tw-services-info {
        gap: 28px;
        align-items: center;
    }

    .tw-services-icon-title {
        justify-content: center;
    }

    .tw-services-icon {
        width: 56px;
        height: 56px;
    }

    .tw-services-heading {
        font-size: 22px;
    }

    .tw-services-description {
        text-align: center;
    }

    .tw-services-description br {
        display: none;
    }

    .tw-services-btn {
        width: auto;
        padding: 14px 32px;
    }

    .tw-services-types {
        width: 100%;
        gap: 28px;
    }

    .tw-pills-group {
        justify-content: center;
    }

    /* ==========================================
       SEO SECTION - TABLET
       ========================================== */
    .seo-section {
        padding: 60px 40px;
    }

    .seo-outer-container {
        padding: 40px;
        max-width: 100%;
    }

    .seo-inner-container {
        max-width: 100%;
    }

    .seo-title {
        font-size: 32px;
    }

    .seo-content {
        gap: 32px;
    }

    .seo-columns-wrapper {
        flex-direction: row;
        gap: 40px;
    }

    .seo-column {
        font-size: 15px;
        flex: 1;
    }

    /* ==========================================
       FAQ SECTION - TABLET
       ========================================== */
    .faq-section {
        padding: 60px 40px;
    }

    .faq-container {
        max-width: 100%;
    }

    .faq-title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .faq-item {
        padding: 20px 24px;
    }

    .faq-question {
        font-size: 17px;
    }

    .faq-answer {
        font-size: 15px;
    }

    /* ==========================================
       CTA FOOTER SECTION - TABLET
       ========================================== */
    .cta-footer-section {
        padding: 60px 40px;
    }

    .cta-footer-card {
        padding: 48px;
        padding-right: 280px;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .cta-footer-content {
        max-width: 500px;
    }

    .cta-footer-title {
        font-size: 40px;
    }

    .cta-footer-input {
        font-size: 15px;
    }

    .cta-footer-image {
        width: 280px;
        bottom: 0;
        right: 20px;
        left: auto;
        transform: none;
    }

    /* ==========================================
       SERVICES PAGE - TABLET
       ========================================== */
    .services-hero {
        padding: 50px 0 70px;
    }

    .services-hero-container {
        padding: 0 40px;
        gap: 48px;
    }

    .services-hero-title {
        font-size: 42px;
    }

    .services-hero-subtitle {
        font-size: 18px;
    }

    .services-hero-ratings {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Services List Section - Tablet */
    .services-list {
        padding: 0 0 70px;
    }

    .services-list-container {
        padding: 0 40px;
    }

    .services-list-title {
        font-size: 36px;
        margin-bottom: 36px;
    }

    .services-accordion {
        padding: 20px;
    }

    .accordion-header {
        padding: 16px 0;
    }

    .accordion-title {
        font-size: 18px;
    }

    .service-tags {
        gap: 10px;
        padding-top: 14px;
        padding-bottom: 20px;
    }

    .service-tag {
        padding: 6px 16px;
        font-size: 14px;
    }

    /* Services CTA Section - Tablet */
    .services-cta {
        padding: 48px 0 0;
    }

    .services-cta-container {
        padding: 0 40px;
    }

    .services-cta-card {
        padding: 32px 24px 0;
        min-height: auto;
        border-radius: 24px;
        overflow: hidden;
        flex-direction: column;
        gap: 0;
    }

    .services-cta-content {
        max-width: 100%;
        gap: 24px;
    }

    .services-cta-text {
        gap: 16px;
    }

    .services-cta-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .services-cta-description {
        font-size: 16px;
        line-height: 1.5;
        color: var(--color-dark);
    }

    .services-cta-buttons {
        width: 100%;
    }

    .services-cta-btn {
        padding: 16px 32px;
        font-size: 16px;
        line-height: 1.5;
        width: 100%;
        text-align: center;
    }

    .services-cta-image {
        position: relative;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 32px;
        display: flex;
        justify-content: center;
    }

    .services-cta-image img {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    /* Services Benefits Section - Tablet */
    .services-benefits {
        padding: 80px 0;
    }

    .services-benefits-container {
        padding: 0 40px;
        gap: 40px;
    }

    .services-benefits-header {
        gap: 24px;
    }

    .services-benefits-title {
        font-size: 36px;
    }

    .services-benefits-subtitle {
        font-size: 18px;
    }

    .services-benefits-cards {
        flex-wrap: wrap;
        gap: 16px;
    }

    .benefit-card {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
        padding: 24px;
        gap: 20px;
    }

    .benefit-icon {
        width: 70px;
        height: 88px;
    }

    .benefit-title {
        font-size: 20px;
    }

    .benefit-text {
        font-size: 14px;
    }

    /* Free Features Section - Tablet */
    .free-features-ms {
        padding: 50px 0;
    }

    .free-features-container-ms {
        padding: 0 40px;
        gap: 28px;
    }

    .free-features-title-ms {
        font-size: 32px;
    }

    .free-features-card-ms {
        padding: 32px;
        padding-top: 210px;
        flex-direction: column;
        gap: 24px;
    }

    .free-features-icon-ms {
        position: absolute;
        left: 50%;
        top: 32px;
        transform: translateX(-50%);
        width: 140px;
        height: 147px;
    }

    .free-features-content-ms {
        min-height: auto;
        gap: 24px;
    }

    .free-features-grid-ms {
        flex-direction: column;
        gap: 12px;
    }

    .free-features-column-ms {
        gap: 12px;
    }

    .feature-pill-ms {
        width: 100%;
        padding: 8px 12px;
    }

    .feature-price-ms {
        font-size: 14px;
        padding: 4px 14px;
        min-width: 80px;
    }

    .feature-name-ms {
        font-size: 14px;
    }

    .free-features-footer-ms {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .free-features-savings-ms {
        font-size: 20px;
    }

    .free-features-btn-ms {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

} /* End of APP PAGE tablet media query */

/* ==========================================
   PARTNERSHIP PAGE - Tablet
   ========================================== */
@media (width >= 768px) and (width <= 1299px) {
    .partnership-hero {
        padding: 0 0 80px;
    }

    .partnership-hero-container {
        padding: 0 40px;
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .partnership-form-wrapper {
        width: 100%;
        max-width: 500px;
    }

    .partnership-form-card {
        padding: 32px;
    }

    .partnership-title {
        font-size: 36px;
    }

    .partnership-subtitle {
        font-size: 18px;
    }

    .partnership-image-wrapper {
        width: 100%;
        max-width: 450px;
    }

    .partnership-image-bg {
        margin-top: 60px;
        height: calc(100% - 60px);
        border-radius: 24px 24px 0 0;
    }
}

/* ==========================================
   FAQ PAGE - Tablet
   ========================================== */
@media (min-width: 768px) and (max-width: 1299px) {
    .faq-hero {
        padding: 48px 0 40px;
        overflow: hidden;
    }

    .faq-hero-container {
        padding: 0 40px;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .faq-hero-content {
        max-width: 600px;
        width: 100%;
        text-align: center;
        align-items: center;
        gap: 32px;
        order: 1;
    }

    .faq-hero-text {
        gap: 24px;
    }

    .faq-hero-title {
        font-size: 48px;
        align-items: center;
    }

    .faq-hero-title span {
        display: block;
    }

    .faq-hero-description {
        font-size: 20px;
        line-height: 1.4;
    }

    .faq-hero-btn {
        width: 100%;
        max-width: 400px;
        padding: 16px 32px;
        font-size: 16px;
        border-radius: 50px;
    }

    .faq-hero-image-wrapper {
        width: 100%;
        max-width: 500px;
        order: 2;
        position: relative;
    }

    .faq-hero-image-bg {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 400px;
        height: 400px;
        border-radius: 24px 24px 0 0;
        top: 20px;
    }

    .faq-hero-image {
        width: 100%;
        max-width: 500px;
        position: relative;
        z-index: 1;
    }

    /* FAQ Hero Badges - Tablet */
    .faq-rating-badge {
        padding: 10px;
        gap: 6px;
        border-radius: 8px;
    }

    .faq-rating-badge .badge-logo {
        width: 22px;
        height: 22px;
    }

    .faq-rating-badge .badge-info {
        gap: 3px;
    }

    .faq-rating-badge .badge-name {
        height: 10px;
        max-width: 70px;
    }

    .faq-rating-badge .badge-score {
        font-size: 12px;
    }

    .faq-rating-badge .badge-stars {
        width: 64px;
        height: 14px;
    }

    .faq-rating-badge .badge-rating {
        gap: 3px;
    }

    .faq-badge-sitejabber {
        left: 0;
        bottom: 20px;
        top: auto;
        right: auto;
    }

    .faq-badge-cheapestessay {
        right: 0;
        top: 45%;
        bottom: auto;
        left: auto;
    }

    .faq-badge-reviewsio {
        right: auto;
        left: 55%;
        bottom: 20px;
        top: auto;
    }

    /* FAQ Search Section - Tablet */
    .faq-search {
        padding: 60px 0 80px;
    }

    .faq-search-container {
        padding: 0 40px;
    }

    .faq-search-content {
        gap: 32px;
    }

    .faq-search-text {
        gap: 24px;
        max-width: 600px;
    }

    .faq-search-title {
        font-size: 40px;
    }

    .faq-search-subtitle {
        font-size: 20px;
    }

    .faq-search-form {
        flex-direction: column;
        gap: 16px;
        width: 400px;
        max-width: 100%;
    }

    .faq-search-input-wrapper {
        width: 100%;
    }

    .faq-search-input {
        height: 56px;
        padding: 10px 14px;
        font-size: 16px;
        border-radius: 50px;
    }

    .faq-search-btn {
        width: 100%;
        padding: 16px 32px;
        font-size: 16px;
        border-radius: 50px;
    }

    /* FAQ Categories Section - Tablet */
    .faq-categories {
        padding: 0 0 60px;
    }

    .faq-categories-container {
        padding: 0 40px;
        gap: 32px;
    }

    .faq-categories-subtitle {
        font-size: 22px;
        max-width: 500px;
    }

    .faq-categories-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .faq-category-card {
        flex: 0 0 calc(33.333% - 12px);
        min-width: 160px;
        max-width: 200px;
        padding: 20px;
    }

    .faq-category-icon {
        width: 70px;
        height: 70px;
    }

    .faq-category-name {
        font-size: 18px;
    }
    /* Prices Calculator Section - Tablet */
    .prices-section {
        padding: 50px 40px 70px;
    }

    .prices-container {
        gap: 40px;
    }

    .prices-title {
        font-size: 42px;
    }

    .prices-subtitle {
        font-size: 18px;
    }

    .prices-calculator {
        padding: 24px;
        gap: 24px;
    }

    .calculator-title {
        font-size: 32px;
    }

    .calculator-form {
        gap: 20px;
    }

    .calculator-select-wrapper {
        height: 52px;
    }

    .calculator-select {
        padding: 10px 40px 10px 16px;
        font-size: 15px;
    }

    .calculator-select-icon {
        right: 16px;
    }

    .calculator-price-label {
        font-size: 20px;
    }

    .calculator-discount .original-price {
        font-size: 18px;
    }

    .final-price {
        font-size: 22px;
    }

    .fire-icon {
        font-size: 22px;
    }

    /* Sitemap Section - Tablet */
    .sitemap-section {
        padding: 50px 40px 70px;
    }

    .sitemap-container {
        gap: 50px;
    }

    .sitemap-title {
        font-size: 42px;
    }

    .sitemap-subtitle {
        font-size: 18px;
    }

    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .sitemap-column {
        gap: 24px;
    }

    .sitemap-category-icon {
        width: 60px;
        height: 60px;
    }

    .sitemap-category-icon img {
        width: 32px;
        height: 32px;
    }

    /* Connecting line - tablet */
    .sitemap-category-icon::after {
        left: 60px;
        width: 40px;
    }

    /* Diamond - tablet */
    .sitemap-category-header::before {
        left: 92px;
    }

    .sitemap-category-title {
        font-size: 20px;
        margin-left: 46px;
    }

    .sitemap-links {
        margin-left: 72px;
        gap: 12px;
        padding-top: 12px;
    }

    .sitemap-links::before {
        top: -38px;
        bottom: 20px;
    }

    .sitemap-links li {
        padding-left: 40px;
    }

    .sitemap-links li::before {
        width: 26px;
    }

    .sitemap-links li::after {
        left: 26px;
        height: 10px;
    }

    .sitemap-links a {
        font-size: 15px;
        padding: 8px 16px;
    }
}
/* ==========================================
   WRITER PROFILE SECTION - TABLET
   ========================================== */
@media (min-width: 768px) and (max-width: 1299px) {
    .writer-profile-section-ls {
        padding: 50px 40px 60px;
    }

    .writer-profile-container-ls {
        flex-direction: column;
        gap: 24px;
    }

    .writer-card-ls {
        flex: none;
        width: 100%;
        padding: 24px;
        gap: 32px;
    }

    .writer-header-ls {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }

    .writer-avatar-ls {
        width: 280px;
        height: 220px;
        flex-shrink: 0;
    }

    .writer-info-ls {
        flex: 1;
        gap: 16px;
    }

    .writer-name-rating-ls {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .writer-name-ls h1 {
        font-size: 26px;
    }

    .about-title-ls {
        font-size: 18px;
    }

    .about-text-ls {
        font-size: 15px;
        line-height: 1.6;
    }

    .stat-value-ls {
        font-size: 18px;
    }

    .stat-label-ls {
        font-size: 14px;
    }

    .reviews-title-ls {
        font-size: 22px;
    }

    .reviews-count-ls {
        font-size: 18px;
    }

    .reviews-grid-ls {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card-ls {
        padding: 20px;
        gap: 16px;
    }

    .reviewer-name-ls {
        font-size: 18px;
    }

    .review-text-ls {
        font-size: 15px;
    }

    .writer-sidebar-ls {
        width: 100%;
        padding: 24px 20px;
        gap: 24px;
    }

    .sidebar-title-ls {
        font-size: 22px;
    }

    .feature-text-ls {
        font-size: 15px;
    }
}

/* ==========================================
   GUARANTEES HERO SECTION - TABLET
   ========================================== */
@media (min-width: 768px) and (max-width: 1299px) {
    .guarantees-hero {
        padding: 40px 40px 0;
    }

    .guarantees-hero-container {
        flex-direction: column;
        min-height: auto;
        gap: 32px;
    }

    .guarantees-hero-content {
        flex: none;
        width: 100%;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .guarantees-hero-title {
        font-size: 48px;
    }

    .guarantees-hero-description p {
        font-size: 18px;
    }

    .guarantees-hero-image-wrapper {
        flex: none;
        width: 100%;
        max-width: 500px;
        height: 580px;
        margin: 0 auto;
    }

    .guarantees-hero-image-bg {
        height: 500px;
        border-radius: 30px 30px 0 0;
    }

    .guarantees-badge {
        padding: 10px 12px;
    }

    .guarantees-badge .badge-logo {
        width: 28px;
        height: 28px;
    }

    .guarantees-badge .badge-name {
        max-height: 12px;
        max-width: 85px;
    }

    .guarantees-badge .badge-score {
        font-size: 16px;
    }

    .guarantees-badge .badge-stars {
        width: 80px;
        height: 16px;
    }

    .guarantees-badge-cheapestessay {
        top: 50px;
        right: -30px;
    }

    .guarantees-badge-sitejabber {
        bottom: 160px;
        left: 10px;
    }

    .guarantees-badge-reviewsio {
        bottom: 50px;
        right: -20px;
    }

    /* Guarantees Features Section - Tablet */
    .guarantees-features {
        padding: 80px 40px;
    }

    .guarantees-features-title {
        font-size: 36px;
    }

    .guarantees-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .guarantee-card {
        padding: 24px;
        gap: 20px;
    }

    .guarantee-card .guarantee-icon {
        width: 90px;
        height: 90px;
    }

    .guarantee-title {
        font-size: 20px;
    }

    .guarantee-description {
        font-size: 15px;
    }

    /* ==========================================
       PROVIDER CTA SECTION - TABLET
       ========================================== */
    .provider-cta {
        padding: 80px 40px;
    }

    .provider-cta-container {
        gap: 32px;
    }

    .provider-cta-title {
        font-size: 36px;
    }

    .provider-cta-cards {
        flex-direction: column;
    }

    .provider-cta-main-card {
        gap: 24px;
    }

    .provider-cta-feature {
        flex: 1 1 100%;
        min-width: auto;
    }

    .provider-cta-feature-text {
        font-size: 18px;
    }

    .provider-cta-service-text {
        font-size: 18px;
    }

    /* ==========================================
       CHECKER HERO SECTION - TABLET
       ========================================== */
    .checker-hero {
        padding: 50px 40px 80px;
    }

    .checker-hero-container {
        gap: 32px;
    }

    .checker-hero-title {
        font-size: 40px;
    }

    .checker-hero-stats {
        width: 100%;
        max-width: 700px;
    }

    .checker-hero-stat-value {
        font-size: 18px;
    }

    .checker-hero-stat-label {
        font-size: 14px;
    }

    .checker-hero-stat-emoji {
        font-size: 28px;
    }

    .checker-hero-card {
        width: 100%;
        max-width: 800px;
        padding: 32px;
        gap: 32px;
    }

    .checker-hero-input {
        height: 300px;
    }

    .checker-hero-features {
        width: 100%;
    }

    /* ==========================================
       CHECKER HOW IT WORKS SECTION - TABLET
       ========================================== */
    .checker-how-it-works {
        padding: 80px 40px;
    }

    .checker-how-it-works-container {
        gap: 32px;
    }

    .checker-how-it-works-title {
        font-size: 36px;
    }

    .checker-how-it-works-card {
        width: 100%;
        padding: 24px;
    }

    .checker-how-it-works-card-title {
        font-size: 20px;
    }

    .checker-how-it-works-card-text {
        font-size: 15px;
    }

    .checker-how-it-works-bottom-text {
        flex-direction: column;
        gap: 16px;
    }

    .checker-how-it-works-bottom-text p {
        font-size: 15px;
    }

    /* ==========================================
       EVADE PLAGIARISM SECTION - TABLET
       ========================================== */
    .evade-plagiarism {
        padding: 80px 40px;
    }

    .evade-plagiarism-container {
        gap: 32px;
    }

    .evade-plagiarism-title {
        font-size: 36px;
    }

    .evade-plagiarism-cards {
        flex-direction: column;
        gap: 16px;
    }

    .evade-plagiarism-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
        text-align: left;
    }

    .evade-plagiarism-icon {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .evade-plagiarism-content {
        align-items: flex-start;
        text-align: left;
    }

    .evade-plagiarism-card-title {
        font-size: 22px;
    }

    .evade-plagiarism-card-text {
        font-size: 15px;
    }
}