:root {
    --primary: #912423;
    --primary-light: #ffb3ad;
    --background: #e7e1e1;
    --surface-dark: #131313;
    --text-dark: #131313;
    --text-light: #e7e1e1;
    --text-secondary: #494646;
    --border: #e5e2e1;
    --margin: 20px;
    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--margin);
}

@media (min-width: 769px) {
    .container {
        --margin: 32px;
    }
}

.shear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 32px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transform: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.shear-btn > * {
    transform: none;
}

@media (min-width: 769px) {
    .shear-btn {
        transform: skewX(-10deg);
    }
    .shear-btn > * {
        transform: skewX(10deg);
    }
}

.shear-btn:hover {
    filter: brightness(1.2);
}

@media (min-width: 769px) {
    .shear-btn:hover {
        transform: skewX(-10deg) scale(1.02);
    }
}

/* Hero Section */
header {
    position: relative;
    min-height: 80vh;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 48px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAMv19erBDAymsHoERuyAQ23zwxH0_6PN4tmWvOunmFzMCiBFLcmM2AMNlHc4VPUoZ06TKasKvFkp4ZKHaWmjpDTKVU2YiJhCffCr_2V60IeoAqbGZHabir4yWX4ldQqxp8jQtLbFjRKs1hJ_adfSUTRBeUc1AT1azYVPX0DPghRU85b_bonkSKKflKnd0E18byLVEHCMrrNrCsXJ-n4ytrnAK5K91_tmE3zPcHEMrXPFxhZ2o_JOAg9GQ-UpN5VzJOfLH3YblSXzml');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

@media (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

h1 {
    font-size: clamp(40px, 9vw, 72px);
    line-height: 0.95;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

@media (min-width: 769px) {
    .hero-desc {
        font-size: 18px;
        margin: 0 0 40px;
    }
}

.hero-mockup {
    display: none;
}

@media (min-width: 769px) {
    .hero-mockup {
        display: flex;
        justify-content: flex-end;
    }
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #2a2a2a;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    transform: rotate(6deg);
    overflow: hidden;
    border: 4px solid #333;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-image: url('../assets/images/tracking.JPG');
    background-size: cover;
    background-position: top center;
}

/* Features Section */
.features {
    padding: 56px 0;
    background: var(--background);
}

@media (min-width: 769px) {
    .features {
        padding: 80px 0;
    }
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: clamp(26px, 6vw, 36px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 32px;
}

@media (min-width: 769px) {
    .section-title {
        margin-bottom: 48px;
    }
}

.bento-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px;
}

@media (min-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.bento-item {
    position: relative;
    background: #f8f8f8;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;

    grid-column: span 1; 
    min-height: 400px;
}

.bento-item.full {
    flex-direction: column;
    grid-column: span 2; 
    display: flex; 
    min-height: 450px; 
    border: none;
}

@media (min-width: 640px) {
    .bento-item.full {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .bento-item.full {
        flex-direction: row;
        min-height: 450px;
    }
}

.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(50%);
    transition: filter 0.7s, transform 0.5s;
}

.bento-item:hover .bento-bg {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(145, 36, 35, 0.85), transparent);
    z-index: 1;
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
}

@media (min-width: 769px) {
    .bento-content {
        padding: 32px;
    }
}

.bento-item:not(.full) .bento-content::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 32px;
    width: 4px;
    height: 40px;
    background: var(--primary);
}

.bento-icon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--text-light);
}

.bento-title {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 12px;

    color: white;
}

@media (min-width: 769px) {
    .bento-title {
        font-size: 24px;
    }
}

.bento-desc {
    font-size: 15px;
    opacity: 0.8;

    color: rgba(255,255,255,0.9); 
    margin-bottom: 32px; 
    max-width: 100%;
}

@media (min-width: 769px) {
    .bento-desc {
        font-size: 16px;
    }
}

.bento-item.full .text-side {
    color: var(--text-dark);
    border-left: 4px solid var(--primary);
    flex: 1;
    padding: 48px;
    background: #912423;
    color: white;
    border-left: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item.full .image-side {
    flex: 1;
    min-height: 220px;
    background-image: url('../assets/images/Combonation-track.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(25%);
    transition: filter 0.7s;
    position: relative;
}

.bento-item.full:hover .image-side {
    filter: grayscale(0%);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(145, 36, 35, 0.5), transparent);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tag {
    background: #f0f0f0;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid var(--border);
}

/* Marquee */
.marquee {
    background: var(--primary);
    padding: 28px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 769px) {
    .marquee {
        padding: 40px 0;
    }
}

.marquee-content {
    display: inline-flex;
    animation: marquee 20s linear infinite;
    gap: 48px;
}

@media (min-width: 769px) {
    .marquee-content {
        gap: 80px;
    }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: white;
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (min-width: 769px) {
    .marquee-item {
        font-size: 48px;
        gap: 40px;
    }
}

.marquee-item span:nth-child(odd) {
    opacity: 0.3;
}

/* CTA Section */
.cta {
    padding: 56px 0;
    text-align: center;
}

@media (min-width: 769px) {
    .cta {
        padding: 80px 0;
    }
}

.cta-title {
    font-size: clamp(28px, 6vw, 56px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.1;
}

.cta-title span {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.cta-desc {
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--text-secondary);
    font-size: 16px;
}

@media (min-width: 769px) {
    .cta-desc {
        margin: 0 auto 40px;
        font-size: 18px;
    }
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 769px) {
    .cta-form {
        flex-direction: row;
        gap: 0;
    }
}

.cta-form input {
    width: 100%;
    flex: 1;
    padding: 16px 24px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.cta-form input:focus {
    border-color: var(--primary);
}

/* =========================
   HERO BACKGROUND FIX
========================= */

header {
    background-color: rgb(145, 36, 35);
}

/* =========================
   HERO BG IMAGE (UNCHANGED)
========================= */

.hero-bg {
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCFrHLH4UBff77jFUfRr6T__W_Q9ovfWoORmi2yY7mwrpGGnVu6kl-QX4DBQrzaqUygKPRPzMtW3CZu0VKfjf2yZ23f3iOOFZbbrG7q6ekk0ndc0_Zhocuja6NfZVoZ02_mMxaa3TRnpfWwB9jbnZfswQMGbpbCmlP80WlHUsyxPfwV7up3ycUjM7bv7i9d4Q1NRMi9ONKRFcHvNXZ-DSmQ69b8y60BU2nqxbXHJ_JRjZV3MhJ-AYLnEI5ugv7b5Bf-_h4q-uI1zrBd');
    opacity: 0.15;
    mix-blend-mode: overlay;
}

/* =========================
   HERO TEXT COLOR FIX
========================= */

.hero-accent {
    color: rgba(255,255,255,0.8);
}

/* =========================
   BUTTON (was inline)
========================= */

.shear-btn {
    background: white;
    color: var(--primary);
}

/* =========================
   BENTO IMAGES (UNCHANGED)
========================= */

.bento-item:nth-child(1) .bento-bg {
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuA7FyZRzVjZPI-ep2WXTbQ-SAqMhVIJV9u7ASkR0vtkvwddiZU9sQgEBsMBymcPpdRe3Age-3Pt7o6BZd7aE0m1Ov-IbV9Uv_xDmM4RP3c9qSId8UNaLRNGx1uFYQBA2RCZVMHONS9ofxIO3gEvNielT-EneVJVhnU6pZqADtJCYnkBjOa2qIVjI9BN3lqDGwYZzHF9Ye8X17J2_h7JTm9c2D9hm5rtuRg-dE_58KMpKu-B3-NNW4_EiCeGnN_tBtA37CNgkl9yoD13');
}

.bento-item:nth-child(2) .bento-bg {
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAEQHOf-of3vkbReHl2pODOI5ZX1MPPZeGI0muYstHcyDI2Gku0nfgvzfvN1gkaH8-b2UgkXkVEMxIlOKkDK5eL9wEJS-dfzSra0aKERBnBTdYknd3P9C1iPXV6h5z-qzqIBay6lLaeoSMkFy5-lWJAX4vo85wSrg2M_v13TP-J03xQAKGr_09rBSMio30_FmvNcg-iaDrfLYgrojX35wgXv_FV1ZDgBv15ek6Rp7Rg9vvbBih3oAlzagldpQMHwEAdilDwWWZEP1Qw');
}

.image-side {
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCbcCYhTpeeX8HCwmnPxoBkX9cYVcELKETEdyufB5R-nFYk7_E8kzNlvQ2Eky2IecG5RPI6LDjf3fLDo5cd0HoTxj1VWEf0Iwujyt3ExRO0zweqYJSVkmQRYFvdlOsUYllY-L8WMr856w4865xQI1jYGY_hWUVSWBKkH67CEo3TRd4CIfbgAKG8t4HG-LUaCpoNueeBXIE9h9eNpyVugVCk8SmDnLvhW32EnfcDjvBopuLbi1vC1NOJ0hz6R_pbwOcLl1mB_HEWUUHI');
}

/* =========================
   MOBILE-FIRST STACK FIX (ADDED ONLY)
========================= */

.hero-content {
    display: grid;
}

.hero-mockup {
    display: none;
}

@media (min-width: 769px) {
    .hero-mockup {
        display: flex;
        justify-content: flex-end;
    }
}

.phone-frame {
    margin: 0 auto;
}

.bento-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bento-item.full {
    grid-column: 1 / -1;
}

.bento-item.full {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .bento-item.full {
        flex-direction: row;
    }
}