/*======================================================
ROLL FAST SOLUTIONS
ENTERPRISE EDITION
STYLE.CSS
PART 1
Foundation
======================================================*/

/*==============================
ROOT VARIABLES
==============================*/

:root{

    --primary:#E10600;
    --primary-light:#FF3B30;
    --primary-dark:#A40000;

    --bg:#050505;
    --bg-secondary:#0B0B0B;
    --surface:#121212;
    --surface-light:#1A1A1A;

    --white:#FFFFFF;
    --text:#D8D8D8;
    --muted:#9A9A9A;

    --border:rgba(255,255,255,.08);
    --glass:rgba(255,255,255,.05);

    --radius-sm:14px;
    --radius-md:20px;
    --radius-lg:28px;

    --shadow-sm:0 10px 30px rgba(0,0,0,.20);
    --shadow-md:0 20px 60px rgba(0,0,0,.35);
    --shadow-lg:0 35px 90px rgba(0,0,0,.55);

    --transition:.35s ease;

    --container:1450px;

}

/*==============================
RESET
==============================*/

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;
    background:var(--bg);
    color:var(--white);
    overflow-x:hidden;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;

}

img{

    display:block;
    max-width:100%;
    height:auto;

}

video{

    display:block;
    width:100%;
    height:auto;

}

a{

    color:inherit;
    text-decoration:none;

}

button{

    border:none;
    outline:none;
    background:none;
    cursor:pointer;
    font:inherit;

}

ul{

    list-style:none;

}

/*==============================
LAYOUT
==============================*/

.container{

    width:min(var(--container),92%);
    margin:auto;

}

section{

    position:relative;
    padding:120px 0;

}

/*==============================
TYPOGRAPHY
==============================*/

h1,
h2,
h3,
h4{

    font-weight:800;
    line-height:1.1;

}

p{

    color:var(--text);

}

/*==============================
BUTTONS
==============================*/

.btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:16px 30px;

    border-radius:16px;

    font-weight:700;

    transition:var(--transition);

}

.btn-primary{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:white;

    box-shadow:
        0 20px 45px rgba(225,6,0,.30);

}

.btn-primary:hover{

    transform:translateY(-4px);

}

.btn-glass{

    background:rgba(255,255,255,.06);

    border:1px solid var(--border);

    backdrop-filter:blur(16px);

}

.btn-glass:hover{

    background:rgba(255,255,255,.10);

}

/*==============================
CUSTOM SCROLLBAR
==============================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        180deg,
        var(--primary-light),
        var(--primary-dark)
    );

    border-radius:999px;

}

/*==============================
BACKGROUND
==============================*/

body::before{

    content:"";

    position:fixed;

    inset:0;

    background-image:

    linear-gradient(
        rgba(255,255,255,.025) 1px,
        transparent 1px
    ),

    linear-gradient(
        90deg,
        rgba(255,255,255,.025) 1px,
        transparent 1px
    );

    background-size:60px 60px;

    pointer-events:none;

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    inset:0;

    background:

    radial-gradient(circle at top right,
    rgba(225,6,0,.10),
    transparent 45%),

    radial-gradient(circle at bottom left,
    rgba(225,6,0,.06),
    transparent 45%);

    pointer-events:none;

    z-index:-1;

}

/*==============================
HELPER CLASSES
==============================*/

.text-center{

    text-align:center;

}

.glass{

    background:var(--glass);

    border:1px solid var(--border);

    backdrop-filter:blur(18px);

}

.shadow{

    box-shadow:var(--shadow-lg);

}

/*==============================
ANIMATIONS
==============================*/

@keyframes pulse{

    0%,100%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.35);

    }

}

@keyframes float{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

}

/*======================================================
ROLL FAST SOLUTIONS
ENTERPRISE EDITION
STYLE.CSS
PART 2
Navigation + Hero
======================================================*/

/*==============================
NAVIGATION
==============================*/

.navbar{

    position:fixed;

    top:20px;
    left:50%;

    transform:translateX(-50%);

    width:min(1450px,94%);

    padding:18px 28px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    border-radius:22px;

    background:rgba(10,10,10,.55);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);

    transition:.35s ease;

    z-index:9999;

}

.navbar.scrolled{

    background:rgba(8,8,8,.95);

    box-shadow:var(--shadow-lg);

}

.logo{

    display:flex;
    align-items:center;

}

.logo img{

    height:48px;
    width:auto;

}

nav{

    display:flex;
    align-items:center;
    gap:36px;

}

nav a{

    position:relative;

    font-weight:600;

    color:white;

    opacity:.85;

    transition:.3s;

}

nav a:hover{

    opacity:1;

    color:var(--primary);

}

nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}

.nav-actions{

    display:flex;

    gap:14px;

}

/*==============================
HERO
==============================*/

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    padding-top:140px;

}

.hero video{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        90deg,

        rgba(5,5,5,.97),

        rgba(5,5,5,.90),

        rgba(5,5,5,.65),

        rgba(5,5,5,.90)

    );

}

.hero-grid{

    position:relative;

    z-index:5;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

/*==============================
LEFT SIDE
==============================*/

.hero-content{

    max-width:640px;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:12px 20px;

    border-radius:999px;

    background:rgba(225,6,0,.10);

    border:1px solid rgba(225,6,0,.35);

    margin-bottom:28px;

    font-size:.9rem;

    font-weight:700;

    letter-spacing:.08em;

}

.status-dot{

    width:10px;

    height:10px;

    background:#22ff6b;

    border-radius:50%;

    animation:pulse 2s infinite;

}

.hero h1{

    font-size:clamp(4rem,7vw,6.2rem);

    line-height:.94;

    font-weight:900;

    margin-bottom:28px;

}

.hero h1 span{

    display:block;

    color:var(--primary);

}

.hero p{

    max-width:620px;

    font-size:1.12rem;

    line-height:1.9;

    margin-bottom:42px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    margin-bottom:55px;

}

.hero-buttons .btn{

    min-width:190px;

}

/*==============================
STATISTICS
==============================*/

.hero-stats{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}

.stat{

    flex:1;

    min-width:170px;

    padding:24px;

    border-radius:20px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    transition:.35s;

}

.stat:hover{

    transform:translateY(-8px);

    border-color:rgba(225,6,0,.40);

}

.stat h2{

    font-size:2.5rem;

    color:var(--primary);

    margin-bottom:10px;

}

.stat span{

    color:#cfcfcf;

    font-size:.95rem;

}

/*==============================
RIGHT SIDE
==============================*/

.hero-visual{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.dashboard-glow{

    position:absolute;

    width:650px;

    height:650px;

    border-radius:50%;

    background:

    radial-gradient(

        circle,

        rgba(225,6,0,.20),

        transparent 70%

    );

    filter:blur(70px);

    z-index:-1;

}

.dashboard-frame{

    width:100%;

    max-width:760px;

    overflow:hidden;

    border-radius:24px;

    border:1px solid rgba(255,255,255,.08);

    background:#111;

    box-shadow:var(--shadow-lg);

    transform:

    perspective(2200px)

    rotateY(-10deg)

    rotateX(5deg);

    transition:.45s;

}

.dashboard-frame:hover{

    transform:

    perspective(2200px)

    rotateY(0deg)

    rotateX(0deg)

    translateY(-8px);

}

.dashboard-top{

    height:58px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 20px;

    background:#191919;

    border-bottom:1px solid rgba(255,255,255,.06);

}

.traffic{

    display:flex;

    gap:8px;

}

.traffic span{

    width:12px;

    height:12px;

    border-radius:50%;

}

.red{

    background:#ff5f57;

}

.yellow{

    background:#ffbd2f;

}

.green{

    background:#28ca42;

}

.dashboard-frame img{

    width:100%;

    display:block;

}

/*==============================
FLOATING CARDS
==============================*/

.floating{

    position:absolute;

    padding:20px 24px;

    border-radius:18px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow-md);

    animation:float 6s ease-in-out infinite;

}

.floating strong{

    display:block;

    margin-top:8px;

    font-size:1.3rem;

}

.floating small{

    color:#cfcfcf;

}

.revenue{

    top:70px;

    right:-40px;

}

.ai{

    bottom:70px;

    left:-40px;

    animation-delay:2s;

}

/*======================================================
ROLL FAST SOLUTIONS
ENTERPRISE EDITION
STYLE.CSS
PART 3
Enterprise Sections
======================================================*/

/*==============================
SECTION HEADERS
==============================*/

.section-header{

    max-width:760px;

    margin:0 auto 80px;

    text-align:center;

}

.section-header h2{

    font-size:clamp(2.8rem,5vw,4.5rem);

    line-height:1.08;

    margin-bottom:22px;

    letter-spacing:-2px;

}

.section-header p{

    font-size:1.1rem;

    color:var(--text);

    line-height:1.8;

}

/*==============================
ENTERPRISE BAR
==============================*/

.enterprise-bar{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:24px;

    padding:45px 0;

}

.enterprise-item{

    padding:28px;

    text-align:center;

    border-radius:22px;

    background:rgba(255,255,255,.04);

    border:1px solid var(--border);

    transition:var(--transition);

}

.enterprise-item:hover{

    transform:translateY(-8px);

    border-color:rgba(225,6,0,.40);

    box-shadow:var(--shadow-md);

}

.enterprise-item h3{

    font-size:2.5rem;

    color:var(--primary);

    margin-bottom:12px;

}

.enterprise-item span{

    color:var(--text);

}

/*==============================
TRUSTED
==============================*/

.trusted{

    background:var(--bg-secondary);

}

.trusted-title{

    text-align:center;

    font-size:.95rem;

    text-transform:uppercase;

    letter-spacing:.25em;

    color:#888;

    margin-bottom:50px;

}

.trusted-grid{

    display:grid;

    grid-template-columns:repeat(6,1fr);

    gap:24px;

}

.trusted-item{

    padding:34px 22px;

    text-align:center;

    border-radius:22px;

    background:linear-gradient(
        180deg,
        #171717,
        #111111
    );

    border:1px solid var(--border);

    transition:var(--transition);

}

.trusted-item:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.trusted-icon{

    display:flex;

    justify-content:center;

    align-items:center;

    color:var(--primary);

    font-size:2rem;

    margin-bottom:18px;

}

.trusted-item strong{

    display:block;

    font-size:1rem;

    font-weight:700;

}

/*==============================
FLEET INTELLIGENCE
==============================*/

.fleet-intelligence{

    background:var(--bg);

}

.intel-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

}

.intel-card{

    padding:42px;

    border-radius:24px;

    background:linear-gradient(
        180deg,
        #181818,
        #111111
    );

    border:1px solid var(--border);

    transition:var(--transition);

}

.intel-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--shadow-md);

}

.intel-card span{

    display:block;

    color:#888;

    margin-bottom:18px;

}

.intel-card h3{

    font-size:3rem;

    color:white;

    margin-bottom:12px;

}

.intel-card small{

    color:var(--primary);

    font-weight:700;

}

/*==============================
PLATFORM
==============================*/

.platform{

    background:linear-gradient(
        180deg,
        #090909,
        #050505
    );

}

.platform-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.feature-card{

    position:relative;

    padding:42px;

    border-radius:26px;

    overflow:hidden;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.025)
    );

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.feature-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--primary-light)
    );

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-10px);

    border-color:rgba(225,6,0,.40);

    box-shadow:var(--shadow-lg);

}

.feature-card:hover::before{

    transform:scaleX(1);

}

.feature-icon{

    width:74px;

    height:74px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:20px;

    background:rgba(225,6,0,.12);

    color:var(--primary);

    font-size:2rem;

    margin-bottom:28px;

}

.feature-card h3{

    font-size:1.55rem;

    margin-bottom:18px;

}

.feature-card p{

    color:var(--text);

    line-height:1.85;

}

/*==============================
CARD LIGHT EFFECT
==============================*/

.feature-card::after{

    content:"";

    position:absolute;

    top:-120px;

    right:-120px;

    width:240px;

    height:240px;

    border-radius:50%;

    background:

    radial-gradient(

        circle,

        rgba(225,6,0,.18),

        transparent 70%

    );

    transition:.45s;

}

.feature-card:hover::after{

    transform:scale(1.4);

}

/*======================================================
ROLL FAST SOLUTIONS
ENTERPRISE EDITION
STYLE.CSS
PART 4
Driver Portal • AI • Integrations • Timeline
======================================================*/

/*==============================
DRIVER PORTAL
==============================*/

.driver-section{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.driver-content h2{

    font-size:clamp(3rem,5vw,4.6rem);

    line-height:1.05;

    margin-bottom:24px;

}

.driver-content p{

    font-size:1.1rem;

    line-height:1.9;

    margin-bottom:40px;

    color:var(--text);

}

.driver-content ul{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.driver-content li{

    padding:18px 22px;

    border-radius:18px;

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

    font-weight:600;

    transition:.35s;

}

.driver-content li:hover{

    transform:translateY(-6px);

    border-color:var(--primary);

}

/*==============================
PHONE
==============================*/

.driver-phone{

    display:flex;

    justify-content:center;

}

.phone{

    width:410px;

    height:840px;

    border-radius:48px;

    background:#111;

    padding:14px;

    border:2px solid #2b2b2b;

    box-shadow:

    0 40px 90px rgba(0,0,0,.55);

    position:relative;

}

.phone::before{

    content:"";

    position:absolute;

    top:10px;

    left:50%;

    transform:translateX(-50%);

    width:140px;

    height:28px;

    border-radius:18px;

    background:#000;

}

.phone-screen{

    width:100%;

    height:100%;

    border-radius:36px;

    overflow:hidden;

    background:

    linear-gradient(

        180deg,

        #181818,

        #0d0d0d

    );

}

/*==============================
APP HEADER
==============================*/

.app-header{

    padding:32px 24px 18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.app-title h3{

    font-size:1.4rem;

}

.app-title span{

    color:#8b8b8b;

}

.online{

    width:14px;

    height:14px;

    border-radius:50%;

    background:#28ff6d;

    box-shadow:0 0 16px #28ff6d;

    animation:pulse 2s infinite;

}

/*==============================
LOAD CARD
==============================*/

.load-card{

    margin:18px;

    padding:24px;

    border-radius:24px;

    background:

    linear-gradient(

        135deg,

        #E10600,

        #9d0000

    );

}

.load-card small{

    opacity:.8;

}

.load-card h2{

    margin:10px 0;

    font-size:1.7rem;

}

.progress{

    height:10px;

    border-radius:999px;

    background:rgba(255,255,255,.2);

    overflow:hidden;

    margin-top:20px;

}

.progress span{

    display:block;

    width:72%;

    height:100%;

    background:white;

    animation:progress 6s infinite alternate;

}

/*==============================
ACTIONS
==============================*/

.action-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

    padding:18px;

}

.action{

    padding:22px;

    text-align:center;

    border-radius:18px;

    background:#1b1b1b;

    transition:.35s;

}

.action:hover{

    background:#252525;

    transform:translateY(-5px);

}

/*==============================
EARNINGS
==============================*/

.earnings{

    margin:18px;

    padding:24px;

    border-radius:22px;

    background:#151515;

}

.earnings h2{

    color:var(--primary);

    margin-top:8px;

}

/*==============================
TIMELINE
==============================*/

.route{

    padding:0 22px 22px;

}

.stop{

    display:flex;

    gap:14px;

    margin-bottom:18px;

    align-items:center;

}

.stop-dot{

    width:14px;

    height:14px;

    border-radius:50%;

    background:#444;

}

.stop.active .stop-dot{

    background:var(--primary);

}

.stop.complete .stop-dot{

    background:#28ff6d;

}

/*==============================
AI SECTION
==============================*/

.ai-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.ai-card{

    padding:38px;

    border-radius:24px;

    background:rgba(255,255,255,.04);

    border:1px solid var(--border);

    transition:.35s;

}

.ai-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

/*==============================
INTEGRATIONS
==============================*/

.integration-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.integration-card{

    padding:36px;

    border-radius:22px;

    background:#141414;

    border:1px solid var(--border);

}

.status{

    display:inline-block;

    margin-top:20px;

    padding:8px 16px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:700;

}

.live{

    color:#28ff6d;

    background:rgba(40,255,109,.12);

}

.beta{

    color:#ff6b6b;

    background:rgba(225,6,0,.12);

}

/*==============================
TIMELINE
==============================*/

.timeline-container{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:26px;

}

.timeline-item{

    text-align:center;

}

.timeline-number{

    width:70px;

    height:70px;

    margin:0 auto 22px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:800;

    font-size:1.3rem;

}

@keyframes progress{

    from{

        width:55%;

    }

    to{

        width:86%;

    }

}

/*======================================================
DRIVER PORTAL FINAL POLISH
======================================================*/

/* Make the phone the focal point */

.driver-section{

    grid-template-columns:1.2fr .8fr;

    gap:70px;

    align-items:center;

}

/* Move phone slightly left */

.driver-phone{

    position:relative;

    z-index:5;

    display:flex;

    justify-content:center;

    transform:translateX(-40px);

}

/* Premium phone */

.phone{

    width:410px;

    height:840px;

    position:relative;

    border-radius:48px;

    overflow:hidden;

    animation:phoneFloat 6s ease-in-out infinite;

    box-shadow:

        0 60px 140px rgba(225,6,0,.18),

        0 35px 80px rgba(0,0,0,.60);

}

/* Glass reflection */

.phone::after{

    content:"";

    position:absolute;

    top:18px;

    left:16px;

    width:42%;

    height:88%;

    background:

        linear-gradient(

            90deg,

            rgba(255,255,255,.08),

            transparent

        );

    border-radius:42px;

    pointer-events:none;

}

/* Floating animation */

@keyframes phoneFloat{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-14px);

    }

}

/* Online indicator */

.online{

    animation:pulse 2s infinite;

    box-shadow:

        0 0 18px #22ff6b,

        0 0 40px #22ff6b;

}

/* Premium load card */

.load-card{

    background:

        linear-gradient(

            145deg,

            #ff1a1a,

            #b30000

        );

    box-shadow:

        0 20px 45px rgba(225,6,0,.35);

}

/* Action cards */

.action{

    background:#191919;

    border:1px solid rgba(255,255,255,.06);

    border-radius:22px;

    padding:22px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:14px;

    transition:.35s ease;

}

.action:hover{

    background:#222;

    transform:translateY(-6px);

    border-color:rgba(225,6,0,.35);

}

/* Icon backgrounds */

.action i{

    width:56px;

    height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    background:

        linear-gradient(

            135deg,

            #E10600,

            #8d0000

        );

    color:#fff;

    font-size:22px;

    margin-bottom:6px;

}

/* Earnings */

.earnings{

    background:#181818;

    border:1px solid rgba(255,255,255,.05);

    border-radius:22px;

}

/* Timeline */

.route{

    margin-top:20px;

}

.stop{

    display:flex;

    align-items:center;

    gap:12px;

    padding:8px 0;

}

.stop-dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#555;

}

.stop.complete .stop-dot{

    background:#22ff6b;

}

.stop.active .stop-dot{

    background:#E10600;

}

/* Driver text */

.driver-content{

    max-width:650px;

}

.driver-content h2{

    font-size:clamp(3.2rem,5vw,5rem);

    line-height:1.05;

    margin-bottom:24px;

}

.driver-content p{

    font-size:1.15rem;

    line-height:1.9;

    color:#cfcfcf;

    margin-bottom:40px;

}

/* Better feature list */

.driver-content ul{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.driver-content li{

    list-style:none;

    background:#171717;

    border:1px solid rgba(255,255,255,.06);

    border-radius:18px;

    padding:20px;

    font-weight:600;

    transition:.35s ease;

}

.driver-content li:hover{

    transform:translateY(-5px);

    border-color:rgba(225,6,0,.35);

    background:#202020;

}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width:768px){

html,
body{
    overflow-x:hidden;
}

.navbar{
    width:95%;
    padding:12px 16px;
}

nav{
    gap:16px;
    flex-wrap:wrap;
    justify-content:center;
}

.logo img{
    height:34px;
}

.hero{
    min-height:auto;
    padding-top:120px;
}

.hero-grid{
    grid-template-columns:1fr;
    gap:40px;
}

.hero-content,
.hero-visual{
    max-width:100%;
}

.hero h1{
    font-size:3rem;
}

.hero-buttons{
    flex-direction:column;
}

.hero-buttons .btn{
    width:100%;
}

.hero-stats{
    flex-direction:column;
}

.enterprise-bar,
.trusted-grid,
.intel-grid,
.platform-grid,
.ai-grid,
.integration-grid,
.timeline-container{
    grid-template-columns:1fr;
}

.driver-section{
    grid-template-columns:1fr;
    gap:40px;
}

.driver-content ul{
    grid-template-columns:1fr;
}

.driver-phone{
    transform:none;
}

.phone{
    width:100%;
    max-width:360px;
    height:auto;
    aspect-ratio:410/840;
}

.floating{
    display:block !important;
    z-index:50;
    transform:scale(.82);
}

.revenue{
    top:24px !important;
    right:-18px !important;
}

.ai{
    bottom:24px !important;
    left:-18px !important;
}

.dashboard-frame{
    transform:none;
}

.dashboard-glow{
    display:none;
}

section{
    padding:70px 0;
}

.container{
    width:92%;
}
}

/*======================================================
AI COMMAND CENTER
======================================================*/

.ai-command{

    padding:120px 0;

    background:
    linear-gradient(
        180deg,
        #080808,
        #050505
    );

}

.command-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.command-card{

    position:relative;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:18px;

    padding:36px;

    border-radius:24px;

    background:
    linear-gradient(
        180deg,
        #181818,
        #111111
    );

    border:1px solid rgba(255,255,255,.08);

    transition:all .35s ease;

    overflow:hidden;

}

.command-card:hover{

    transform:translateY(-10px);

    border-color:#E10600;

    box-shadow:
        0 25px 60px rgba(225,6,0,.18);

}

.command-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:
    linear-gradient(
        90deg,
        #E10600,
        #ff3b30
    );

}

.command-card h3{

    color:#FFFFFF;

    font-size:1.45rem;

    font-weight:700;

    margin:0;

}

.command-card p{

    color:#CFCFCF;

    font-size:1rem;

    line-height:1.8;

    margin:0;

}

.command-card .status-dot{

    width:14px;

    height:14px;

    border-radius:50%;

    background:#22ff6b;

    box-shadow:
        0 0 16px #22ff6b,
        0 0 30px #22ff6b;

    flex-shrink:0;

}

.ai-online{

    animation:commandPulse 3s infinite;

}

@keyframes commandPulse{

0%,100%{

box-shadow:0 0 0 rgba(225,6,0,0);

}

50%{

box-shadow:0 0 35px rgba(225,6,0,.18);

}

}

@media (max-width:1100px){

.command-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media (max-width:768px){

.command-grid{

    grid-template-columns:1fr;

}

.command-card{

    padding:28px;

}

}

/*======================================================
PART 5
CUSTOMER PORTAL
======================================================*/

.customer-portal{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;

}

.customer-left{

    max-width:650px;

}

.customer-left h2{

    font-size:clamp(3rem,5vw,5rem);
    line-height:1.05;
    margin-bottom:24px;

}

.customer-left p{

    color:#cfcfcf;
    font-size:1.1rem;
    line-height:1.9;
    margin-bottom:42px;

}

.portal-features{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;

}

.portal-feature{

    padding:18px 22px;
    background:#171717;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    transition:.35s ease;

}

.portal-feature:hover{

    transform:translateY(-6px);
    border-color:#E10600;
    background:#202020;

}

/*================================*/

.customer-right{

    display:flex;
    justify-content:center;

}

.tracking-window{

    width:100%;
    max-width:620px;

    background:#111;

    border-radius:28px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 40px 90px rgba(0,0,0,.45);

}

.tracking-top{

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:20px 26px;

    background:#181818;

    border-bottom:1px solid rgba(255,255,255,.06);

    font-weight:700;

}

.tracking-body{

    padding:34px;

}

.tracking-status{

    display:flex;
    align-items:center;
    gap:12px;

    margin-bottom:30px;

    color:#22ff6b;
    font-weight:700;

}

.live-dot{

    width:12px;
    height:12px;

    border-radius:50%;

    background:#22ff6b;

    box-shadow:0 0 18px #22ff6b;

}

.tracking-progress{

    height:10px;

    background:#202020;

    border-radius:999px;

    overflow:hidden;

    margin-bottom:24px;

}

.tracking-fill{

    width:72%;

    height:100%;

    background:linear-gradient(
        90deg,
        #E10600,
        #ff3b30
    );

}

.tracking-stops{

    display:flex;
    justify-content:space-between;

    margin-bottom:34px;

    color:#999;

}

.tracking-card{

    background:#181818;

    border:1px solid rgba(255,255,255,.05);

    border-radius:18px;

    padding:22px;

    margin-bottom:18px;

}

.tracking-card strong{

    display:block;

    margin-top:8px;

    font-size:1.4rem;

    color:#fff;

}

/*======================================================
PART 5B
AI COMMAND CENTER
======================================================*/

.ai-command{

    background:
    linear-gradient(
        180deg,
        #080808,
        #050505
    );

    position:relative;

    overflow:hidden;

}

.ai-command::before{

    content:"";

    position:absolute;

    top:-250px;
    right:-250px;

    width:550px;
    height:550px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(225,6,0,.18),
        transparent 70%
    );

    filter:blur(50px);

}

.command-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    position:relative;

    z-index:2;

}

.command-card{

    position:relative;

    overflow:hidden;

    padding:36px;

    border-radius:26px;

    background:

    linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02)
    );

    border:1px solid rgba(255,255,255,.08);

    transition:.35s ease;

}

.command-card:hover{

    transform:translateY(-10px);

    border-color:#E10600;

    box-shadow:
    0 25px 60px rgba(225,6,0,.20);

}

.command-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:

    linear-gradient(
        90deg,
        #E10600,
        #ff4d4d
    );

}

.command-card h3{

    font-size:1.45rem;

    margin:20px 0 16px;

}

.command-card p{

    color:#bdbdbd;

    line-height:1.8;

}

.command-card .status-dot{

    width:12px;
    height:12px;

    display:inline-block;

    border-radius:50%;

    background:#22ff6b;

    box-shadow:

        0 0 16px #22ff6b,
        0 0 30px #22ff6b;

}

.command-card.online{

    animation:commandPulse 3s infinite;

}

@keyframes commandPulse{

0%{

box-shadow:
0 0 0 rgba(225,6,0,0);

}

50%{

box-shadow:
0 0 35px rgba(225,6,0,.18);

}

100%{

box-shadow:
0 0 0 rgba(225,6,0,0);

}

}

@media(max-width:1100px){

.command-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.command-grid{

grid-template-columns:1fr;

}

.command-card{

padding:28px;

}

}

/*======================================================
LAUNCH BANNER
======================================================*/

.launch-banner{

background:

linear-gradient(
135deg,
#101010,
#050505
);

border-top:1px solid rgba(255,255,255,.05);

border-bottom:1px solid rgba(255,255,255,.05);

padding:140px 0;

display:grid;

grid-template-columns:1.4fr .8fr;

gap:80px;

align-items:center;

}

.launch-badge{

display:inline-flex;

padding:12px 20px;

border-radius:999px;

background:rgba(225,6,0,.12);

border:1px solid rgba(225,6,0,.30);

margin-bottom:24px;

font-weight:700;

letter-spacing:.08em;

}

.launch-content h2{

font-size:clamp(3rem,5vw,5rem);

margin-bottom:26px;

line-height:1.05;

}

.launch-content p{

font-size:1.15rem;

line-height:1.9;

color:#cfcfcf;

margin-bottom:42px;

max-width:700px;

}

.launch-buttons{

display:flex;

gap:20px;

flex-wrap:wrap;

}

.launch-stats{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:24px;

}

.launch-stats div{

padding:32px;

background:#171717;

border-radius:22px;

border:1px solid rgba(255,255,255,.06);

text-align:center;

transition:.35s;

}

.launch-stats div:hover{

transform:translateY(-8px);

border-color:#E10600;

}

.launch-stats h3{

font-size:2.6rem;

color:#E10600;

margin-bottom:10px;

}

.launch-stats span{

color:#cfcfcf;

}

@media(max-width:768px){

.launch-banner{

grid-template-columns:1fr;

gap:50px;

}

.launch-buttons{

flex-direction:column;

}

.launch-buttons .btn{

width:100%;

}

.launch-stats{

grid-template-columns:1fr;

}

}

/*======================================================
PART 6
EQUIPMENT
======================================================*/

.equipment-section{

    background:#090909;

}

.equipment-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:26px;

    margin-top:60px;

}

.equipment-card{

    padding:38px 20px;

    text-align:center;

    border-radius:24px;

    background:
    linear-gradient(
        180deg,
        #181818,
        #111
    );

    border:1px solid rgba(255,255,255,.08);

    transition:.35s ease;

}

.equipment-card:hover{

    transform:translateY(-10px);

    border-color:#E10600;

    box-shadow:
    0 25px 60px rgba(225,6,0,.18);

}

.equipment-icon{

    font-size:3rem;

    margin-bottom:22px;

}

.equipment-card h3{

    font-size:1.25rem;

}

@media(max-width:1100px){

.equipment-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.equipment-grid{

grid-template-columns:1fr;

}

}

@media(max-width:1100px){

.equipment-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.equipment-grid{

grid-template-columns:1fr;

}

}

/*======================================================
CARRIER
======================================================*/

.carrier-section{

display:grid;

grid-template-columns:1fr .8fr;

gap:80px;

align-items:center;

}

.carrier-content h2{

font-size:clamp(3rem,5vw,5rem);

margin:20px 0;

}

.carrier-content p{

font-size:1.1rem;

line-height:1.9;

margin-bottom:40px;

color:#cfcfcf;

max-width:600px;

}

.carrier-qr{

display:flex;

justify-content:center;

}

.carrier-qr img{

width:320px;

border-radius:30px;

padding:20px;

background:white;

box-shadow:

0 40px 90px rgba(0,0,0,.45);

transition:.4s;

}

.carrier-qr img:hover{

transform:scale(1.05);

}

@media(max-width:768px){

.carrier-section{

grid-template-columns:1fr;

gap:50px;

text-align:center;

}

}

/*======================================================
CONTACT
======================================================*/

.contact-section{

padding:140px 0;

}

.contact-card{

max-width:950px;

margin:auto;

padding:80px;

text-align:center;

border-radius:34px;

background:

linear-gradient(
135deg,
#151515,
#0d0d0d
);

border:1px solid rgba(255,255,255,.08);

}

.contact-card h2{

font-size:clamp(3rem,5vw,4.8rem);

margin-bottom:24px;

}

.contact-card p{

font-size:1.15rem;

line-height:1.9;

margin-bottom:40px;

color:#cfcfcf;

}

/*=================================
FOOTER
=================================*/

.footer{
    background:#080808;
    border-top:1px solid rgba(255,255,255,.08);
    padding:90px 0 30px;
}

.footer .container{
    max-width:1400px;
    margin:0 auto;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr 1fr;
    gap:80px;
    align-items:start;
}

.footer-brand{
    text-align:left;
}

.footer-brand img{
    width:220px;
    margin:0 auto 25px 0;
}

.footer-brand p{
    max-width:320px;
    color:#bdbdbd;
    line-height:1.8;
}

.footer-column h3{
    margin-bottom:22px;
}

.footer-column ul{
    list-style:none;
    padding:0;
}

.footer-column li{
    margin-bottom:18px;
}

.footer-column a{
    color:#bdbdbd;
    transition:.3s;
}

.footer-column a:hover{
    color:#E10600;
}

.footer-bottom{
    margin-top:70px;
    padding-top:30px;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    color:#8b8b8b;
}

@media (max-width:992px){

.footer-grid{
    grid-template-columns:1fr 1fr;
    gap:50px;
}

}

@media (max-width:768px){

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-brand{
    text-align:center;
}

.footer-brand img{
    margin:0 auto 20px;
}

.footer-brand p{
    margin:0 auto;
}

}

/*======================================================
FINAL POLISH
======================================================*/

.reveal{

opacity:0;

transform:translateY(60px);

transition:

opacity .8s ease,

transform .8s ease;

}

.reveal.show{

opacity:1;

transform:none;

}

.mouse-glow{

position:fixed;

width:420px;

height:420px;

border-radius:50%;

pointer-events:none;

background:

radial-gradient(

circle,

rgba(225,6,0,.08),

transparent 70%

);

transform:translate(-50%,-50%);

z-index:-1;

}

.particle{

position:fixed;

width:4px;

height:4px;

background:#E10600;

border-radius:50%;

opacity:.25;

animation:particleFloat linear infinite;

pointer-events:none;

}

@keyframes particleFloat{

from{

transform:

translateY(100vh);

}

to{

transform:

translateY(-120vh);

}

}

/*======================================================
MOBILE NAVIGATION
======================================================*/

.menu-toggle{

display:none;

width:52px;

height:52px;

border-radius:14px;

background:#161616;

border:1px solid rgba(255,255,255,.08);

color:white;

font-size:22px;

cursor:pointer;

transition:.3s;

}

.menu-toggle:hover{

background:#202020;

border-color:#E10600;

}

@media(max-width:950px){

.menu-toggle{

display:flex;

align-items:center;

justify-content:center;

}

.nav-actions{

display:none;

}

nav{

position:absolute;

top:90px;

left:0;

right:0;

background:#080808;

display:none;

flex-direction:column;

padding:30px;

border-radius:20px;

border:1px solid rgba(255,255,255,.08);

gap:24px;

}

nav.active{

display:flex;

}

}

/*======================================================
PART 8
HERO POLISH
======================================================*/

/* Progress Bar */

.progress-bar{

position:fixed;

top:0;
left:0;

height:4px;

width:0;

background:linear-gradient(
90deg,
#E10600,
#ff4747
);

z-index:99999;

box-shadow:
0 0 15px rgba(225,6,0,.6);

}

/* Laptop */

.laptop{

position:relative;

display:flex;

flex-direction:column;

align-items:center;

width:100%;

max-width:760px;

}

/* Camera */

.laptop-camera{

width:14px;

height:14px;

border-radius:50%;

background:#222;

margin-bottom:12px;

border:2px solid #333;

}

/* Laptop Base */

.laptop-base{

width:110%;

height:18px;

margin-top:-2px;

border-radius:0 0 20px 20px;

background:
linear-gradient(
180deg,
#2b2b2b,
#111
);

box-shadow:
0 15px 35px rgba(0,0,0,.45);

}

/* Dashboard */

.dashboard-frame{

position:relative;

z-index:2;

}

/* Scroll Indicator */

.scroll-down{

position:absolute;

bottom:30px;

left:50%;

transform:translateX(-50%);

display:flex;

justify-content:center;

align-items:center;

}

.scroll-down span{

width:34px;

height:58px;

border:2px solid rgba(255,255,255,.35);

border-radius:30px;

display:flex;

justify-content:center;

padding-top:10px;

}

.scroll-down span::before{

content:"";

width:8px;

height:8px;

border-radius:50%;

background:#E10600;

animation:scrollWheel 2s infinite;

}

@keyframes scrollWheel{

0%{

transform:translateY(0);

opacity:1;

}

100%{

transform:translateY(24px);

opacity:0;

}

}

.btn{

transition:

transform .35s ease,

box-shadow .35s ease,

background .35s ease;

}

.btn:hover{

transform:translateY(-5px);

}

.btn-primary:hover{

box-shadow:

0 25px 60px rgba(225,6,0,.35);

}

.btn-glass:hover{

background:rgba(255,255,255,.12);

}

.feature-card,
.command-card,
.integration-card,
.intel-card,
.equipment-card,
.enterprise-item,
.trusted-item{

transition:

transform .35s ease,

box-shadow .35s ease,

border-color .35s ease;

}

@media(max-width:768px){

.dashboard-frame{

max-width:100%;

}

.laptop-base{

width:100%;

}

.hero{

padding-top:140px;

}

.scroll-down{

display:none;

}

}

/*======================================================
PREMIUM ANIMATIONS
======================================================*/

@keyframes fadeUp{

0%{

opacity:0;

transform:translateY(60px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

@keyframes fadeLeft{

0%{

opacity:0;

transform:translateX(-60px);

}

100%{

opacity:1;

transform:none;

}

}

@keyframes fadeRight{

0%{

opacity:0;

transform:translateX(60px);

}

100%{

opacity:1;

transform:none;

}

}

@keyframes scaleIn{

0%{

opacity:0;

transform:scale(.92);

}

100%{

opacity:1;

transform:scale(1);

}

}

.hero-content{

animation:fadeLeft 1s ease both;

}

.hero-visual{

animation:fadeRight 1s ease both;

}

.section-header{

animation:fadeUp .9s ease both;

}

.feature-card,
.command-card,
.integration-card,
.intel-card,
.equipment-card,
.enterprise-item,
.trusted-item,
.timeline-item,
.portal-feature,
.tracking-card{

position:relative;

overflow:hidden;

}

.feature-card::after,
.command-card::after,
.integration-card::after,
.intel-card::after,
.equipment-card::after{

content:"";

position:absolute;

top:-180px;

right:-180px;

width:260px;

height:260px;

border-radius:50%;

background:

radial-gradient(

circle,

rgba(225,6,0,.16),

transparent 70%

);

transition:.45s;

}

.feature-card:hover::after,
.command-card:hover::after,
.integration-card:hover::after,
.intel-card:hover::after,
.equipment-card:hover::after{

transform:scale(1.45);

}

.feature-card,
.command-card,
.integration-card,
.intel-card,
.equipment-card,
.enterprise-item,
.trusted-item,
.timeline-item,
.portal-feature,
.tracking-card{

position:relative;

overflow:hidden;

}

.feature-card::after,
.command-card::after,
.integration-card::after,
.intel-card::after,
.equipment-card::after{

content:"";

position:absolute;

top:-180px;

right:-180px;

width:260px;

height:260px;

border-radius:50%;

background:

radial-gradient(

circle,

rgba(225,6,0,.16),

transparent 70%

);

transition:.45s;

}

.feature-card:hover::after,
.command-card:hover::after,
.integration-card:hover::after,
.intel-card:hover::after,
.equipment-card:hover::after{

transform:scale(1.45);

}

.navbar{

backdrop-filter:blur(26px);

-webkit-backdrop-filter:blur(26px);

box-shadow:

0 15px 45px rgba(0,0,0,.25);

}

.hero-overlay{

background:

linear-gradient(

90deg,

rgba(5,5,5,.98),

rgba(5,5,5,.88),

rgba(5,5,5,.55),

rgba(5,5,5,.90)

);

}

.btn{

letter-spacing:.02em;

}

.btn-primary{

background:

linear-gradient(

135deg,

#ff2a2a,

#b30000

);

}

.btn-primary:hover{

transform:

translateY(-6px)

scale(1.03);

}

::-webkit-scrollbar{

width:12px;

}

::-webkit-scrollbar-thumb{

background:

linear-gradient(

180deg,

#ff4040,

#9d0000

);

border-radius:999px;

border:2px solid #111;

}

body::after{

animation:glowMove 14s linear infinite alternate;

}

@keyframes glowMove{

0%{

transform:translateY(0);

}

100%{

transform:translateY(-80px);

}

}

.stat{

transition:

transform .35s ease,

box-shadow .35s ease,

border-color .35s ease;

}

.stat:hover{

transform:

translateY(-12px)

scale(1.03);

box-shadow:

0 30px 80px rgba(225,6,0,.18);

}

/*======================================================
LOADER
======================================================*/

#loader{

position:fixed;

inset:0;

background:#050505;

display:flex;

justify-content:center;

align-items:center;

z-index:999999;

transition:opacity .6s ease;

}

#loader.hide{

opacity:0;

visibility:hidden;

}

.loader-logo{

display:flex;

flex-direction:column;

align-items:center;

gap:30px;

}

.loader-logo img{

width:240px;

}

.loader-line{

width:220px;

height:6px;

border-radius:999px;

overflow:hidden;

background:#151515;

position:relative;

}

.loader-line::before{

content:"";

position:absolute;

left:-100%;

width:100%;

height:100%;

background:

linear-gradient(
90deg,
transparent,
#E10600,
transparent
);

animation:loading 1.4s infinite;

}

.loader-logo span{

letter-spacing:.12em;

font-weight:700;

color:#999;

}

@keyframes loading{

100%{

left:100%;

}

}

body::before{

animation:gridMove 25s linear infinite;

}

@keyframes gridMove{

0%{

background-position:0 0;

}

100%{

background-position:60px 60px;

}

}

.dashboard-frame{

animation:dashboardFloat 8s ease-in-out infinite;

}

@keyframes dashboardFloat{

0%,100%{

transform:

perspective(2200px)

rotateY(-10deg)

rotateX(5deg)

translateY(0);

}

50%{

transform:

perspective(2200px)

rotateY(-8deg)

rotateX(4deg)

translateY(-15px);

}

}

.mouse-glow{

width:550px;

height:550px;

background:

radial-gradient(

circle,

rgba(225,6,0,.10),

transparent 70%

);

filter:blur(40px);

opacity:.9;

transition:

left .08s linear,

top .08s linear;

}

section::after{

content:"";

position:absolute;

bottom:0;

left:50%;

transform:translateX(-50%);

width:120px;

height:2px;

background:

linear-gradient(

90deg,

transparent,

rgba(225,6,0,.6),

transparent

);

}

/* ======================================================
iOS Safari Rendering Fixes
====================================================== */
@media (max-width:768px){

body::before,
body::after{
    display:none !important;
}

.navbar,
.stat,
.glass{
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}

.hero{
    overflow-x:hidden;
    overflow-y:visible;
}

.dashboard-frame,
.hero-overlay,
.hero video{
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}

}


/* Restore hero floating cards on mobile */
@media (max-width:768px){
.floating{
display:block !important;
transform:scale(.78);
z-index:30;
}
.revenue{
top:30px;
right:-12px;
}
.ai{
bottom:30px;
left:-12px;
}
}



/*======================================================
ROLL FAST SOLUTIONS — HERO ALIGNMENT PATCH
Appended intentionally so the existing design and animations
remain intact while the hero gains safe horizontal spacing.
======================================================*/

.hero {
    box-sizing: border-box;
}

.hero-grid {
    width: min(var(--container), 92%);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 0;
    gap: clamp(28px, 5vw, 76px);
}

.hero-content {
    width: 100%;
    min-width: 0;
    max-width: 640px;
    padding-left: clamp(0px, 1vw, 14px);
}

.hero-content > * {
    max-width: 100%;
}

.hero h1 {
    font-size: clamp(3.25rem, 5.6vw, 5.7rem);
    overflow-wrap: normal;
    word-break: normal;
}

.hero p {
    max-width: 580px;
}

.hero-visual {
    min-width: 0;
    width: 100%;
}

.dashboard-frame {
    width: 100%;
    max-width: 700px;
    transform-origin: center center;
}

.hero-stats {
    align-items: stretch;
}

.hero-stats .stat {
    min-width: 0;
}

/* Keep the company identity readable if it is rendered as a
   heading or a dedicated brand element above the hero badge. */
.hero-brand,
.hero-company,
.company-name {
    max-width: 100%;
    margin-bottom: clamp(14px, 2vw, 24px);
    overflow-wrap: anywhere;
}

.hero-brand img,
.hero-company img {
    max-width: min(100%, 300px);
    height: auto;
    object-fit: contain;
}

/* Tablet layout */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
        gap: clamp(24px, 3vw, 42px);
    }

    .hero h1 {
        font-size: clamp(3rem, 5.2vw, 4.8rem);
    }

    .dashboard-frame {
        max-width: 100%;
    }

    .floating {
        max-width: 190px;
    }

    .revenue {
        right: -12px;
    }

    .ai {
        left: -12px;
    }
}

/* Mobile: stack content and prevent the dashboard/cards from
   being clipped by the viewport. */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 72px;
        overflow: hidden;
    }

    .hero-grid {
        width: 92%;
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .hero-content {
        max-width: none;
        padding-left: 0;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 11vw, 3.6rem);
        line-height: 0.98;
        letter-spacing: -0.035em;
        margin-bottom: 22px;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 0;
        flex: 1 1 145px;
        padding: 14px 18px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .hero-stats .stat {
        padding: 14px 12px;
        border-radius: 16px;
    }

    .hero-stats .stat h2 {
        font-size: clamp(1.35rem, 6vw, 2rem);
        margin-bottom: 4px;
    }

    .hero-stats .stat span {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .hero-visual {
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .dashboard-frame {
        width: 100%;
        max-width: 100%;
        transform: none;
        animation: none;
    }

    .dashboard-frame:hover {
        transform: none;
    }

    .floating {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-visual,
    .dashboard-frame {
        animation: none !important;
        transition: none !important;
    }
}

/* ======================================================
ROLL FAST SOLUTIONS — FINAL HERO BRANDING REFINEMENTS
CSS-only update: preserve existing sections, assets, and
animations while strengthening the logo, company identity,
and dashboard spacing.
====================================================== */

/* 1. Give the existing navigation logo a little more presence. */
.logo {
    flex: 0 0 auto;
    min-width: 0;
}

.logo img {
    height: 58px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.navbar {
    gap: clamp(14px, 2vw, 28px);
}

.nav-actions {
    flex: 0 0 auto;
    align-items: center;
}

/* 2. Style the company name above the Roll Fast TMS product badge. */
.company-brand {
    position: relative;
    z-index: 6;
    width: 100%;
    max-width: 650px;
    margin: 0 0 clamp(18px, 2vw, 26px);
}

.company-brand-name {
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.055em;
    overflow-wrap: normal;
}

.company-brand-name span {
    color: #E10600;
}

.company-brand p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(0.58rem, 0.72vw, 0.7rem);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.12em;
}

/* Support alternate existing company-brand markup without affecting
   the heading, badge, or other sections. */
.company-brand h2 {
    color: #fff;
    font-size: inherit;
    margin: 0;
}

.company-brand h2 span {
    color: #E10600;
}

/* 3. Keep a clean gap between the copy and dashboard on desktop. */
.hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    column-gap: clamp(32px, 4.2vw, 64px);
}

.hero-content {
    position: relative;
    z-index: 6;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 8px 8px 8px 0;
}

.dashboard-frame {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
}

.floating {
    max-width: min(200px, 42%);
}

/* Tablet: keep both columns readable until a single-column layout is needed. */
@media (max-width: 1100px) {
    .logo img {
        height: 52px;
    }

    .hero-grid {
        column-gap: clamp(22px, 3vw, 36px);
    }

    .dashboard-frame {
        max-width: 100%;
    }

    .company-brand-name {
        font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    }
}

/* Mobile: retain the branding and give the dashboard its own space. */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
    }

    .logo img {
        height: 46px;
        max-width: 145px;
    }

    .company-brand {
        margin-bottom: 18px;
    }

    .company-brand-name {
        font-size: clamp(1.25rem, 5.4vw, 1.7rem);
        letter-spacing: -0.04em;
    }

    .company-brand p {
        font-size: 0.58rem;
        letter-spacing: 0.075em;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 30px;
    }

    .hero-visual {
        padding: 0;
    }

    .dashboard-frame {
        width: 100%;
        max-width: 100%;
    }
}

/* ======================================================
ROLL FAST SOLUTIONS — HERO SPACING FINISH
Keep current branding and background; refine only the
dashboard width/position, floating AI card visibility,
and hero vertical balance.
====================================================== */

@media (min-width: 1101px) {
    .hero {
        padding-top: 112px;
        padding-bottom: 76px;
    }

    .hero-grid {
        align-items: center;
        column-gap: clamp(42px, 5vw, 76px);
        transform: translateY(-24px);
    }

    .hero-content {
        align-self: center;
        padding-top: 0;
    }

    .hero-visual {
        align-self: center;
        padding: 8px 12px 8px 0;
    }

    .dashboard-frame {
        width: 94%;
        max-width: 620px;
        margin-left: auto;
        margin-right: 0;
        position: relative;
        z-index: 3;
    }

    /* Keep floating cards above the background but behind neither
       the dashboard's key content nor the viewport edge. */
    .floating {
        z-index: 4;
        max-width: 178px;
    }

    .revenue {
        top: 7%;
        right: -2%;
    }

    .ai {
        left: -5%;
        bottom: 10%;
    }

    .drivers {
        right: -2%;
        bottom: 5%;
    }
}

/* Mid-size desktop/laptop: preserve side-by-side layout without crowding. */
@media (min-width: 769px) and (max-width: 1100px) {
    .hero {
        padding-top: 125px;
        padding-bottom: 70px;
    }

    .hero-grid {
        transform: translateY(-12px);
        column-gap: 26px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 4.8vw, 4.2rem);
    }

    .dashboard-frame {
        width: 92%;
        margin-left: auto;
        margin-right: 0;
    }

    .floating {
        max-width: 150px;
        font-size: 0.85rem;
    }

    .ai {
        left: -2%;
        bottom: 7%;
    }

    .revenue,
    .drivers {
        right: -1%;
    }
}

/* Small screens: do not apply desktop offsets or clip the cards. */
@media (max-width: 768px) {
    .hero-grid {
        transform: none;
    }

    .dashboard-frame {
        width: 100%;
        margin-inline: auto;
    }

    .floating {
        max-width: 160px;
    }
}
