/* style.css */
body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER & NAVIGATION (UPDATED) --- */
header {
    background-color: #fff;
    padding: 20px 20px; /* More padding top/bottom */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    flex-direction: column; /* Stack Logo and Buttons vertically */
    align-items: center;    /* Center everything */
    justify-content: center;
    gap: 15px;              /* Space between Logo and Buttons */
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-decoration: none;
    color: #333;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: #0033cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    border: 3px solid #002288;
    margin-bottom: 5px;
}

/* Nav Buttons (Desktop) */
.nav-buttons {
    display: flex;
    gap: 15px; /* Space between buttons */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: left;
}

.nav-buttons a {
    text-decoration: none;
    color: white;
    background-color: #f39c12;
    padding: 10px 30px; /* Wider buttons */
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: background 0.3s;
}
.nav-buttons a:hover {
    background-color: #e67e22;
}

/* Mobile Menu Toggle (Hidden by default on Desktop) */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    position: absolute; /* Position absolute for mobile layout */
    right: 20px;
    top: 25px;
}


/* --- MAIN LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 80px; /* EXTRA SPACE at the bottom of the page before footer */
}


/* --- GRID SYSTEM (3 Col Desktop / 1 Col Mobile) --- */
.task-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 Columns on Desktop */
    gap: 90px; /* Increased gap for better spacing between rows */
    margin-top: 30px;
}

.task-card {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 280px; /* Ensures all cards are at least this tall */
}

.task-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #555;
}

.task-title {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 18px;
}

.task-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px; /* More space before the button */
    line-height: 1.4;
}

.btn-start {
    background-color: #0066ff;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    margin-top: auto;
}
.btn-start:hover { background-color: #0052cc; }


/* --- PROFILE & FORM STYLES --- */
.profile-section {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}
.profile-card { flex: 1; background: #f2f2f2; padding: 20px; border-radius: 10px; text-align: center; }
.stats-table { flex: 2; background: #555; color: white; border-radius: 10px; padding: 20px; }
.withdraw-btn { background: #f39c12; color: white; padding: 10px 20px; text-decoration: none; font-weight: bold; border-radius: 5px; float: right; }

.split-layout { display: flex; gap: 40px; }
.task-sidebar { flex: 1; background: #f2f2f2; padding: 30px; border-radius: 10px; text-align: center; }
.task-form-area { flex: 2; background: #f2f2f2; padding: 30px; border-radius: 10px; border-top: 50px solid #0099ff; }
.form-input { width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; }
.submit-btn { width: 100%; background: #f39c12; color: black; font-weight: bold; padding: 15px; border: none; cursor: pointer; }


/* --- FOOTER --- */
footer {
    background-color: #cc7a00;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}


/* --- MOBILE RESPONSIVE RULES --- */
@media (max-width: 768px) {
    
    /* 1. Header Layout for Mobile */
    .header-container {
        flex-direction: row; /* Back to side-by-side for mobile header */
        justify-content: space-between;
        padding: 0 10px;
    }
    
    .logo-circle { width: 40px; height: 40px; font-size: 20px; }
    
    /* 2. Menu Toggle (Hamburger) */
    .menu-toggle {
        display: block;
        position: static; /* Reset position for flex layout */
    }

    /* 3. Navigation Links (Dropdown style) */


    /* Javascript will add this class to show menu */
    .nav-buttons.active {
        display: flex;
    }

    .nav-buttons a {
        width: 10%; /* Full width buttons on mobile */
        text-align: center;
        margin: 5px 0;
        background-color: #f39c12;
    }

    /* 4. Task Grid (1 Column) */
    .task-grid {
        grid-template-columns: 1fr; 
        gap: 80px; /* Space between tasks on mobile */
    }

    /* 5. Profile & Details Stack */
    .profile-section, .split-layout {
        flex-direction: column;
    }
}


/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #2c3e50; /* Dark Blue-Grey */
    color: #ecf0f1;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-widget h4 {
    color: #f39c12; /* Orange accent */
    border-bottom: 2px solid #555;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-widget p {
    font-size: 14px;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-widget ul li a:hover {
    color: #f39c12;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #7f8c8d;
}

/* Mobile Footer Fix */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stack columns */
        text-align: center;
    }
}

/* --- PROFESSIONAL REFRESH OVERRIDES --- */
.site-header {
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #0033cc;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 51, 204, 0.18);
}

.logo-mark .fa-home {
    font-size: 25px;
    transform: translate(-3px, -2px);
}

.logo-mark .fa-database {
    background: #f39c12;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    padding: 6px;
    position: absolute;
    right: -7px;
    bottom: -6px;
    border: 2px solid #fff;
}

.logo-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.logo-main {
    color: #1f2937;
    font-size: 23px;
    font-weight: 900;
}

.logo-data {
    background: #111827;
    color: #fff;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

.nav-buttons {
    justify-content: flex-end;
}

.nav-buttons a {
    min-width: 92px;
    text-align: center;
}

.home-container {
    padding-top: 32px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: center;
    padding: 38px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0033cc;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: 38px;
    line-height: 1.12;
    margin: 12px 0;
    color: #222;
}

.hero-copy p {
    color: #555;
    font-size: 17px;
    line-height: 1.7;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.hero-btn {
    margin-top: 0;
    font-size: 13px;
}

.btn-secondary {
    border: 1px solid #0033cc;
    color: #0033cc;
    background: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 900;
    font-size: 13px;
}

.hero-visual {
    min-height: 280px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-screen {
    width: 210px;
    height: 140px;
    border-radius: 8px;
    background: #0033cc;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(0, 51, 204, 0.22);
}

.visual-screen i {
    font-size: 44px;
}

.worker-card,
.floating-proof {
    position: absolute;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.worker-card {
    left: 22px;
    top: 24px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.worker-card small {
    display: block;
    color: #666;
    margin-top: 3px;
}

.floating-proof {
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 800;
    color: #333;
}

.proof-top {
    right: 18px;
    top: 34px;
}

.proof-bottom {
    left: 34px;
    bottom: 24px;
}

.trust-strip,
.home-stats,
.review-grid,
.trust-feature-grid {
    display: grid;
    gap: 16px;
}

.trust-strip {
    grid-template-columns: repeat(4, 1fr);
    margin: 28px 0 22px;
}

.trust-strip div,
.home-stats div,
.trust-feature-grid span {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 800;
}

.trust-strip i,
.trust-feature-grid i {
    color: #f39c12;
    font-size: 22px;
}

.home-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 42px;
}

.home-stats div {
    flex-direction: column;
    align-items: flex-start;
}

.home-stats strong {
    font-size: 28px;
    color: #0033cc;
}

.home-stats span {
    color: #666;
    font-size: 14px;
}

.task-section {
    margin-top: 54px;
}

.section-heading {
    border-left: 5px solid var(--accent, #f39c12);
    padding-left: 16px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0 0 6px;
    color: #222;
}

.section-heading p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.task-grid {
    gap: 34px;
}

.task-card {
    border-radius: 8px;
    border: 1px solid #e6e8ec;
    background: #fff;
    min-height: 330px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.task-icon {
    color: #0033cc;
}

.pay-badge,
.summary-price {
    background: #fff4df;
    color: #9a5a00;
    border: 1px solid #ffd58a;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 900;
    font-size: 14px;
    margin: 2px 0 14px;
}

.task-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0 0 18px;
}

.task-mini-meta span {
    color: #666;
    font-size: 12px;
}

.trust-panel {
    margin-top: 58px;
    padding: 34px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
}

.trust-panel h2,
.reviews-section h2 {
    color: #222;
    margin: 10px 0;
}

.trust-panel p,
.reviews-section p {
    color: #666;
    line-height: 1.7;
}

.trust-feature-grid {
    grid-template-columns: repeat(2, 1fr);
}

.reviews-section {
    margin-top: 58px;
}

.review-grid {
    grid-template-columns: repeat(3, 1fr);
}

.review-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
}

.review-card p {
    color: #444;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
}

.avatar-blue { background: #0033cc; }
.avatar-orange { background: #f39c12; }
.avatar-green { background: #28a745; }

.task-hero {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    padding: 42px 28px;
    margin-bottom: 38px;
}

.task-hero > i {
    color: #0033cc;
    font-size: 56px;
    margin-bottom: 16px;
}

.task-hero h1 {
    color: #222;
    margin: 0 0 10px;
}

.task-hero p {
    color: #666;
    font-size: 17px;
}

.task-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.task-badges span,
.task-badges strong {
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 900;
}

.task-badges span {
    background: #e8f1ff;
    color: #0d47a1;
}

.task-badges strong {
    background: #fff4df;
    color: #9a5a00;
    border: 1px solid #ffd58a;
}

.task-detail-layout {
    align-items: flex-start;
}

.task-main {
    flex: 2;
    min-width: 300px;
}

.task-main h2 {
    color: #222;
    border-bottom: 2px solid #f39c12;
    display: inline-block;
    padding-bottom: 6px;
}

.task-main p,
.task-main li {
    color: #555;
    line-height: 1.75;
}

.task-steps {
    padding-left: 22px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-list span {
    border: 1px solid #e9ecef;
    border-radius: 999px;
    padding: 9px 13px;
    color: #333;
    background: #fff;
}

.skill-list i {
    color: #28a745;
}

.tip-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    color: #533f03;
    line-height: 1.7;
    padding: 20px;
    margin: 28px 0;
}

.faq-section {
    margin-top: 34px;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 12px;
}

.faq-item h4 {
    margin: 0 0 8px;
}

.task-summary-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 96px;
}

.task-summary-card h3 {
    margin-top: 0;
}

.task-summary-card > div:not(.summary-price):not(.ad-slot) {
    border-bottom: 1px solid #eee;
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.task-summary-card strong {
    color: #777;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.task-summary-card span {
    display: block;
    margin-top: 4px;
}

.detail-cta {
    display: block;
    text-align: center;
    font-size: 16px;
    padding: 15px;
    margin-top: 20px;
}

.register-note {
    color: #888;
    font-size: 12px;
    text-align: center;
}

.ad-slot {
    margin: 34px 0;
    padding: 18px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    min-height: 90px;
}

.task-summary-card .ad-slot {
    margin-top: 28px;
    margin-bottom: 0;
}

.footer-container {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    text-align: left;
}

.footer-brand p,
.footer-note {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 14px;
}

.footer-logo {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo-mark {
    width: 42px;
    height: 42px;
    border: 1px solid #fff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.footer-logo strong,
.footer-logo em {
    display: block;
    font-style: normal;
    letter-spacing: 0;
}

.footer-logo em {
    background: #fff;
    color: #111827;
    border-radius: 4px;
    padding: 3px 6px;
    width: fit-content;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 900;
}

.footer-trust-icons,
.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-trust-icons span,
.payment-icons span {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 7px 10px;
    color: #ecf0f1;
    font-size: 13px;
}

.payment-icons span {
    border-radius: 6px;
}

@media (max-width: 900px) {
    .home-hero,
    .trust-panel {
        grid-template-columns: 1fr;
    }

    .trust-strip,
    .home-stats,
    .review-grid,
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        position: static;
    }

    .header-container {
        gap: 14px;
    }

    .logo-main {
        font-size: 18px;
    }

    .logo-mark {
        width: 46px;
        height: 46px;
    }

    .nav-buttons {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .nav-buttons a {
        width: auto;
        min-width: 74px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .home-hero {
        padding: 26px 18px;
    }

    .hero-copy h1 {
        font-size: 29px;
    }

    .trust-strip,
    .home-stats,
    .review-grid,
    .trust-feature-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .task-grid {
        gap: 24px;
    }

    .task-summary-card {
        position: static;
    }
}

@media (max-width: 520px) {
    .header-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-buttons {
        width: 100%;
    }

    .nav-buttons a {
        flex: 1;
    }

    .worker-card,
    .floating-proof {
        position: static;
        margin: 8px;
    }

    .hero-visual {
        flex-direction: column;
        padding: 16px;
    }
}

/* --- CLEAN FORMAT FIX V2 --- */
body {
    color: #333;
    line-height: 1.5;
}

.site-header {
    position: static;
    padding: 14px 20px;
}

.header-container {
    max-width: 1200px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.site-logo-img {
    display: block;
    width: 350px;
    max-width: 56vw;
    height: auto;
}

.nav-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
}

.nav-buttons a {
    width: auto;
    min-width: 110px;
    padding: 11px 26px;
    border-radius: 5px;
}

.container {
    max-width: 1200px;
    padding: 34px 20px 56px;
    margin-bottom: 0;
}

.home-container {
    padding-top: 28px;
}

.home-hero {
    display: block;
    text-align: center;
    padding: 34px 26px;
    margin-bottom: 26px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 12px auto 10px;
    font-size: 32px;
    line-height: 1.22;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
}

.hero-actions {
    justify-content: center;
    margin-top: 20px;
}

.hero-visual {
    display: none;
}

.trust-strip,
.home-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0 0 24px;
}

.trust-strip div,
.home-stats div {
    min-height: 76px;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 8px;
}

.home-stats strong {
    font-size: 25px;
}

.task-section {
    margin-top: 42px;
}

.section-heading {
    margin-bottom: 20px;
}

.task-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 22px;
    align-items: stretch;
}

.task-card {
    min-height: 310px;
    padding: 26px 18px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

.task-card:hover {
    transform: none;
    box-shadow: 0 5px 14px rgba(0,0,0,0.08);
}

.task-icon {
    font-size: 38px;
    color: #555;
}

.task-title {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-badge {
    margin: 0 0 12px;
    padding: 7px 13px;
}

.task-desc {
    min-height: 58px;
    margin-bottom: 16px;
}

.task-mini-meta {
    min-height: 20px;
    margin-bottom: 18px;
}

.btn-start,
.btn-secondary {
    border-radius: 5px;
}

.trust-panel,
.reviews-section {
    margin-top: 46px;
}

.trust-panel {
    padding: 26px;
}

.review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.review-card {
    border-radius: 8px;
    padding: 22px;
}

.task-hero {
    padding: 28px 24px;
    margin-bottom: 34px;
}

.task-hero > i {
    font-size: 46px;
    margin-bottom: 12px;
}

.task-hero h1 {
    font-size: 30px;
}

.task-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
}

.task-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
    gap: 36px;
}

.task-main {
    min-width: 0;
}

.task-summary-card {
    min-width: 0;
    position: sticky;
    top: 18px;
    padding: 24px;
}

.ad-slot {
    margin: 28px 0;
    border-radius: 6px;
}

.footer-container {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-logo-img {
    width: 250px;
    max-width: 100%;
    height: auto;
    filter: grayscale(1) brightness(3.2);
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-trust-icons span,
.payment-icons span {
    white-space: nowrap;
}

@media (max-width: 950px) {
    .task-grid,
    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-strip,
    .home-stats,
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .task-detail-layout {
        grid-template-columns: 1fr;
    }

    .task-summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .site-logo-img {
        width: 310px;
        max-width: 100%;
    }

    .nav-buttons {
        gap: 8px;
    }

    .nav-buttons a {
        min-width: auto;
        padding: 10px 14px;
        font-size: 12px;
    }

    .home-hero {
        padding: 26px 18px;
    }

    .hero-copy h1 {
        font-size: 27px;
    }

    .task-grid,
    .review-grid,
    .trust-feature-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .trust-strip,
    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .task-card {
        min-height: auto;
    }

    .task-title,
    .task-desc,
    .task-mini-meta {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-logo-img {
        width: 310px;
        max-width: 100%;
    }

    .nav-buttons {
        width: 100%;
    }

    .nav-buttons a {
        flex: 1;
        text-align: center;
    }

    .task-badges {
        flex-direction: column;
    }
}

/* --- RESTORE OLD DESIGN SHAPE --- */
.old-home-layout {
    padding-top: 42px;
}

.home-intro {
    text-align: center;
    margin: 0 auto 78px;
}

.home-intro h1 {
    color: #333;
    font-size: 28px;
    margin: 0 0 12px;
    font-weight: 900;
}

.home-intro p {
    color: #666;
    font-size: 16px;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.35;
}

.old-home-layout .task-section {
    margin-top: 0;
    margin-bottom: 70px;
}

.old-home-layout .task-section + .task-section {
    margin-top: 10px;
}

.old-section-heading {
    border-left: 0;
    padding-left: 0;
    margin-bottom: 34px;
}

.old-section-heading h2 {
    display: inline-block;
    margin: 0;
    padding-bottom: 5px;
    color: #000;
    font-size: 20px;
    border-bottom: 2px solid var(--accent, #f39c12);
}

.old-home-layout .task-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 90px;
    align-items: stretch;
    margin-top: 30px;
}

.old-home-layout .task-card {
    background: #f2f2f2;
    border: 0;
    border-radius: 10px;
    min-height: 400px;
    padding: 36px 24px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.old-home-layout .task-icon {
    font-size: 42px;
    color: #555;
    margin-bottom: 22px;
}

.old-home-layout .task-title {
    color: #000;
    font-size: 20px;
    line-height: 1.25;
    min-height: 54px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.old-home-layout .task-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.45;
    min-height: 80px;
    margin: 0 0 18px;
}

.old-home-layout .pay-badge {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #111;
    font-size: 16px;
    margin: 0 0 22px;
    padding: 0;
}

.old-home-layout .task-mini-meta {
    display: none;
}

.old-home-layout .btn-start {
    width: 170px;
    max-width: 100%;
    padding: 14px 22px;
    font-size: 13px;
    margin-top: auto;
    text-align: center;
}

.compact-trust-panel,
.compact-reviews {
    margin-top: 20px;
}

.old-task-hero {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    text-align: center;
    padding: 42px 24px;
    margin-bottom: 40px;
}

.old-task-hero > i {
    color: #0033cc;
    font-size: 58px;
    margin-bottom: 20px;
}

.old-task-hero h1 {
    color: #333;
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 18px;
}

.old-task-hero p {
    color: #666;
    font-size: 18px;
    margin: 0 auto;
    max-width: 760px;
}

.old-task-hero .task-badges {
    margin-top: 22px;
    gap: 12px;
}

.old-task-hero .task-badges span {
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
}

.old-task-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.old-task-layout .task-main {
    flex: 2;
    min-width: 300px;
}

.old-task-layout .task-main h2 {
    color: #333;
    border-bottom: 2px solid #f39c12;
    display: inline-block;
    padding-bottom: 5px;
    margin: 0 0 26px;
    font-size: 24px;
}

.old-task-layout .task-main h3 {
    color: #333;
    margin-top: 30px;
    font-size: 20px;
}

.old-task-layout .task-main p,
.old-task-layout .task-main li {
    color: #555;
    font-size: 17px;
    line-height: 1.65;
}

.old-task-layout .task-steps {
    padding-left: 25px;
    line-height: 1.8;
}

.old-task-layout .skill-list {
    gap: 10px;
    margin-bottom: 20px;
}

.old-task-layout .skill-list span {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    font-size: 16px;
}

.old-task-layout .tip-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    color: #222;
    padding: 20px;
    margin-top: 30px;
    font-size: 17px;
}

.old-task-summary {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.old-task-summary h3 {
    color: #111;
    font-size: 22px;
    margin: 0 0 24px;
}

.old-task-summary > div:not(.ad-slot) {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.old-task-summary strong {
    color: #777;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.old-task-summary span {
    color: #111;
    display: block;
    font-size: 16px;
    margin-top: 4px;
}

.old-task-summary .summary-price {
    background: #fff4df;
    border: 1px solid #ffd58a;
    border-radius: 20px;
    color: #9a5a00;
    font-weight: 900;
    text-align: center;
    padding: 9px 14px;
}

.old-task-summary .detail-cta {
    display: block;
    font-size: 16px;
    padding: 15px;
    text-align: center;
}

.old-task-summary .register-note {
    color: #888;
    font-size: 12px;
    text-align: center;
}

.old-task-layout .ad-slot {
    margin: 30px 0;
    min-height: 90px;
}

@media (max-width: 950px) {
    .old-home-layout .task-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    .old-task-layout {
        flex-direction: column;
    }

    .old-task-summary {
        position: static;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .home-intro {
        margin-bottom: 48px;
    }

    .old-home-layout .task-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .old-home-layout .task-card {
        min-height: 330px;
    }

    .old-task-hero h1 {
        font-size: 28px;
    }

    .old-task-layout .task-main p,
    .old-task-layout .task-main li {
        font-size: 16px;
    }
}
