/* ============================================
   @property for animatable conic-gradient angle
   Supported: Chrome 85+, Edge 85+, Firefox 128+, Safari 16.4+
============================================ */
@property --spin-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ============================================
   HERO DUAL — Side by Side, Clean Corporate
   Full Width, 6-Column Equal Justified Stats Bar
============================================ */

.pe-hero-dual {
    position: relative;
    min-height: 100vh;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 90px;
}

/* Grid bg lines */
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(14,165,233,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,165,233,0.07) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
}

.hero-particles {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
}

.hero-dual-inner {
    position: relative; z-index: 2;
    width: 100%;
    padding: 48px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ---- TOP TEXT ---- */
.hero-dual-top {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: rgba(14,165,233,0.12);
    border: 1.5px solid rgba(14,165,233,0.35);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.badge-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #0284c7;
    box-shadow: 0 0 10px #0284c7;
    animation: pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-dual-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 5.5vw, 82px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.hero-dual-title em {
    font-style: normal;
    background: linear-gradient(135deg, #0284c7, #0ea5e9, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-dim {
    display: block;
    color: #334155;
    font-size: 0.62em;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 6px;
}

.hero-dual-sub {
    font-size: clamp(16px, 1.35vw, 21px);
    color: #1e293b;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-top: 8px;
}

/* ---- WIDE CONTAINER ---- */
.container-wide {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- DUAL CARDS GRID ---- */
.hero-dual-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.hero-cat-card {
    position: relative;
    border-radius: 20px;
    padding: 2px;
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    isolation: isolate;
}

/* Rotating Conic Ring (Laser Beam Border) */
.hero-cat-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;

    background: conic-gradient(
        from var(--spin-angle, 0deg),
        transparent 0deg,
        transparent 100deg,
        rgba(56,189,248,.25) 140deg,
        rgba(14,165,233,.75) 180deg,
        rgba(56,189,248,.25) 220deg,
        transparent 260deg,
        transparent 360deg
    );

    animation: peSpinAngle 6s linear infinite;
    filter: blur(1px);
    transition: filter 0.3s ease, background 0.3s ease;
}

/* Soft Ambient Glow */
.hero-cat-card::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 26px;
    z-index: -1;

    background: radial-gradient(circle,
        rgba(14,165,233,.18),
        rgba(14,165,233,.05) 50%,
        transparent 75%
    );

    filter: blur(26px);
    opacity: .55;
    animation: peGlow 5s ease-in-out infinite;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* User Hover States */
.hero-cat-card:hover::before {
    filter: blur(1px);
    background: conic-gradient(
        from var(--spin-angle, 0deg),
        transparent,
        rgba(56,189,248,.28),
        rgba(14,165,233,.60),
        rgba(125,211,252,.35),
        transparent
    );
}

.hero-cat-card:hover::after {
    opacity: .75;
    filter: blur(32px);
}

.hero-cat-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(2,132,199,.15),
        0 0 40px rgba(56,189,248,.08);
}

/* Card Image */
.hero-cat-img-wrap {
    position: relative;
    z-index: 2;
    height: 320px;
    overflow: hidden;
    flex-shrink: 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.hero-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cat-card:hover .hero-cat-img {
    transform: scale(1.06);
}

.cat-img-overlay {
    position: absolute; inset: 0;
}
.earth-img-overlay {
    background: linear-gradient(
        to bottom,
        rgba(15,23,42,0.1) 0%,
        rgba(15,23,42,0.5) 60%,
        rgba(15,23,42,0.98) 100%
    );
}
.tractor-img-overlay {
    background: linear-gradient(
        to bottom,
        rgba(15,23,42,0.1) 0%,
        rgba(15,23,42,0.5) 60%,
        rgba(15,23,42,0.98) 100%
    );
}

/* Card Content */
.hero-cat-content {
    position: relative;
    z-index: 2;
    padding: 32px 36px 36px;
    background: #020617;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.cat-title {
    font-family: var(--font-display);
    font-size: clamp(46px, 4.8vw, 72px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.0;
    margin-bottom: 18px;
    letter-spacing: -1.5px;
    width: 100%;
}
.earth-card .cat-title em {
    font-style: normal;
    color: #fb923c;
}
.tractor-card .cat-title em {
    font-style: normal;
    color: #38bdf8;
}

.cat-desc {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Features list */
.cat-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cat-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 500;
}
.feat-orb {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.earth-orb {
    background: #f97316;
    box-shadow: 0 0 8px #f97316;
}
.tractor-orb {
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

/* Actions */
.cat-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
}

.cat-primary-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.earth-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(249,115,22,0.35);
}
.earth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(249,115,22,0.5);
}
.tractor-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(14,165,233,0.35);
}
.tractor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14,165,233,0.5);
}
.cat-primary-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.cat-primary-btn:hover svg {
    transform: translateX(4px);
}

.cat-call-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.15);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.cat-call-mini svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.cat-call-mini:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* ---- 6-COLUMN EQUAL JUSTIFIED STATS BAR ---- */
.hero-stats-wrap {
    width: 100%;
}

.hero-stats-box {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.hsb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
}

.hsb-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hsb-num {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
}

.hsb-num.hsb-text {
    font-size: 15px;
    font-weight: 800;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hsb-plus {
    color: #0ea5e9;
    font-size: 0.85em;
    font-weight: 900;
    margin-left: 2px;
}

.hsb-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hsb-divider {
    display: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
    .hero-stats-box {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .pe-hero-dual {
        min-height: auto;
        padding: 100px 0 40px;
    }
    .hero-dual-cards {
        grid-template-columns: 1fr;
    }
    .hero-cat-img-wrap {
        height: 240px;
    }
    .hero-stats-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .hero-cat-content {
        padding: 24px 20px;
    }
    .hero-stats-box {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }
    .hsb-num {
        font-size: 22px;
    }
    .hsb-num.hsb-text {
        font-size: 13px;
    }
}

/* ==========================================
   ANIMATION KEYFRAMES
========================================== */
@keyframes peSpinAngle {
    0% {
        --spin-angle: 0deg;
    }
    100% {
        --spin-angle: 360deg;
    }
}

@keyframes peGlow {
    0%, 100% {
        opacity: .35;
        transform: scale(.98);
    }
    50% {
        opacity: .65;
        transform: scale(1.02);
    }
}