
:root{
    --primary:#0A4DA2;
    --dark:#06357A;
    --light:#F3F6FA;
    --text:#1F2937;
    --text-light:#6B7280;
    --white:#ffffff;
    --border:#E5E7EB;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    line-height:1.7;
    background:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

.py-agri-page{
    width:100%;
    overflow:hidden;
}

.py-container{
    width:100%;
    max-width:1280px;
    margin:auto;
    padding:0 24px;
}

/* SECTION */
.py-section{
    padding:90px 0;
}

.py-section-light{
    background:var(--light);
}

.py-section-title{
    text-align:center;
    margin-bottom:60px;
}

.py-section-title span{
    display:inline-block;
    color:var(--primary);
    font-weight:700;
    font-size:15px;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:14px;
}

.py-section-title h2{
    font-size:44px;
    line-height:1.2;
    color:var(--dark);
    margin-bottom:18px;
}

.py-section-title p{
    max-width:820px;
    margin:auto;
    color:var(--text-light);
    font-size:17px;
}

/* CHALLENGE */
.py-grid-4{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.py-card{
    background:#fff;
    border-radius:20px;
    padding:34px 28px;
    border:1px solid var(--border);
    transition:0.35s ease;
}

.py-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 40px rgba(0,0,0,0.08);
}

.py-card-icon{
    width:68px;
    height:68px;
    border-radius:18px;
    background:var(--light);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:24px;
}

.py-card h3{
    font-size:22px;
    margin-bottom:14px;
    color:var(--dark);
}

.py-card p{
    color:var(--text-light);
    font-size:15px;
}

/* COMPARISON (REWRITTEN FOR LEFT-TABLE RIGHT-IMAGE) */
.py-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.py-comparison{
    overflow-x:auto;
    border-radius:24px;
    border:1px solid var(--border);
    background:#fff;
    -webkit-overflow-scrolling:touch;
}

.py-comparison table{
    width:100%;
    border-collapse:collapse;
}

.py-comparison th{
    background:var(--dark);
    color:#fff;
    padding:18px 20px;
    text-align:left;
    font-size:16px;
}

.py-comparison td{
    padding:16px 20px;
    border-bottom:1px solid #edf0f3;
    font-size:15px;
}

.py-comparison tr:last-child td {
    border-bottom: none;
}

.py-comparison tr:nth-child(even){
    background:#fafbfd;
}

.py-highlight{
    color:var(--primary);
    font-weight:700;
}

.py-comparison-image {
    display: flex;
    align-items: center;
    width: 100%;
}

.py-comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border);
}

/* APPLICATION */
.py-app-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.py-app-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    border:1px solid var(--border);
    transition:0.35s ease;
}

.py-app-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 42px rgba(0,0,0,0.08);
}

.py-app-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.py-app-content{
    padding:28px;
}

.py-app-content h3{
    font-size:24px;
    color:var(--dark);
    margin-bottom:12px;
}

.py-app-content p{
    color:var(--text-light);
    font-size:15px;
}

/* EFFECT */
.py-effect-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.py-effect-box{
    background:#fff;
    border-radius:20px;
    padding:34px 28px;
    border:1px solid var(--border);
    text-align:center;
}

.py-effect-box h3{
    color:var(--primary);
    font-size:42px;
    margin-bottom:12px;
    line-height:1;
}

.py-effect-box h4{
    color:var(--dark);
    font-size:20px;
    margin-bottom:12px;
}

.py-effect-box p{
    color:var(--text-light);
    font-size:15px;
}

/* SPECIFICATIONS */
.py-spec-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.py-spec-image{
    display:flex;
    align-items:center;
    height:100%;
}

.py-spec-image img{
    width:100%;
    height:100%;
    max-height:620px;
    object-fit:cover;
    border-radius:24px;
}

.py-spec-table{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    border:1px solid var(--border);
}

.py-spec-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:22px 28px;
    border-bottom:1px solid #edf0f3;
}

.py-spec-row:last-child{
    border-bottom:none;
}

.py-spec-row strong{
    color:var(--dark);
}

.py-spec-row span{
    color:var(--primary);
    font-weight:700;
    text-align:right;
}

/* WHY CHOOSE */
.py-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.py-feature{
    background:#fff;
    border-radius:20px;
    padding:32px 28px;
    border:1px solid var(--border);
    transition:0.35s ease;
}

.py-feature:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 40px rgba(0,0,0,0.08);
}

.py-feature-top{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

.py-feature-top i{
    width:56px;
    height:56px;
    border-radius:16px;
    background:var(--light);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    flex-shrink:0;
}

.py-feature h3{
    color:var(--dark);
    font-size:20px;
}

.py-feature p{
    color:var(--text-light);
    font-size:15px;
}

/* RESPONSIVE */
@media(max-width:1199px){
    .py-grid-4,
    .py-effect-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .py-feature-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .py-app-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:991px){
    .py-comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .py-comparison-image {
        order: 2;
    }
    
    .py-comparison-image img {
        max-height: 400px;
    }

    .py-spec-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .py-spec-image{
        order:1;
    }

    .py-spec-image img{
        max-height:520px;
    }

    .py-section-title h2{
        font-size:36px;
    }

    .py-section{
        padding:75px 0;
    }
}

@media(max-width:768px){
    .py-container{
        padding:0 18px;
    }

    .py-section{
        padding:65px 0;
    }

    .py-grid-4,
    .py-effect-grid,
    .py-feature-grid,
    .py-app-grid{
        grid-template-columns:1fr;
    }

    .py-section-title{
        margin-bottom:42px;
    }

    .py-section-title h2{
        font-size:30px;
    }

    .py-section-title p{
        font-size:15px;
    }

    .py-card,
    .py-feature,
    .py-effect-box,
    .py-app-content{
        padding:24px 20px;
    }

    .py-app-card img{
        height:220px;
    }

    .py-effect-box h3{
        font-size:36px;
    }

    .py-spec-row{
        padding:18px 20px;
        flex-direction:column;
        align-items:flex-start;
    }

    .py-spec-row span{
        text-align:left;
    }
}

@media(max-width:480px){
    .py-section-title h2{
        font-size:26px;
    }

    .py-card h3,
    .py-app-content h3{
        font-size:20px;
    }

    .py-feature-top{
        align-items:flex-start;
    }
}
