body,
html {
    background: #0F172A;
    /* Ensure this is the same color */
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    color: #E2E8F0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    scroll-behavior: smooth;
    overflow-y: auto;
}

body {
    background: #0F172A;
    /* Keep this the same as above */
    position: relative;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #1E293B;
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3B82F6, #1E3A8A);
    border-radius: 4px;
}

#topBarVape {
    background: rgba(15, 23, 42, 0.9);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

#topBarVape.vapeScrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vapeContainer {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.vapeLogoLink {
    float: left;
    text-decoration: none;
}

.vapeLogoPic {
    width: 30px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.vapeLogoLink:hover .vapeLogoPic {
    transform: scale(1.1);
}

.vapeLogoText {
    font-size: 1rem;
    font-weight: 600;
    color: #E2E8F0;
    vertical-align: middle;
    margin-left: 0.4rem;
    transition: color 0.3s ease;
}

.vapeLogoLink:hover .vapeLogoText {
    color: #3B82F6;
}

.vapeMenuBtn {
    border: none;
    background: none;
    padding: 0;
    width: 25px;
    height: 18px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.menuLine1,
.menuLine2,
.menuLine3 {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #E2E8F0;
    border-radius: 9px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menuLine1 {
    top: 0;
}

.menuLine2 {
    top: 7px;
}

.menuLine3 {
    top: 14px;
}

.vapeMenuBtn.vapeMenuOpen .menuLine1 {
    top: 7px;
    transform: rotate(135deg);
}

.vapeMenuBtn.vapeMenuOpen .menuLine2 {
    opacity: 0;
    left: -60px;
}

.vapeMenuBtn.vapeMenuOpen .menuLine3 {
    top: 7px;
    transform: rotate(-135deg);
}

.vapeNavMenu {
    float: right;
}

.vapeNavList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vapeNavItem {
    display: inline-block;
    margin-left: 0.8rem;
}

.vapeNavLink {
    color: #E2E8F0;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
}

.vapeNavLink:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

.vapeNavLink:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #3B82F6;
    transition: width 0.3s ease, left 0.3s ease;
}

.vapeNavLink:hover:after {
    width: 100%;
    left: 0;
}

/* Hero Section */
#homeyZone {
    position: relative;
    min-height: 100vh;
    /* Full viewport height */
    width: 100vw;
    /* Full viewport width */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 0;
    /* Remove padding to ensure full-screen */
    box-sizing: border-box;
}

/* Hero Overlay */
.vapeHeroOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
    z-index: -1;
}

/* Hero Box - Two-column layout */
.vapeHeroBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
}

/* Left Text Section */
.vapeMainTitleLeft {
    max-width: 50%;
    flex: 1;
    margin-left: -2rem;
    /* Added negative margin to move left */
}

.vapeBestTag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: -px;
    /* Removed the incorrect 100rem margins */
    animation: slideInLeft 1s ease-in-out forwards;
}

/* Main Title */
#vapeMainTitle {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFF;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    animation: vapeFadeIn 1s ease-in-out;
    margin: 0 0 0 -2rem;
    /* Added negative left margin */
    line-height: 1.2;
}

/* Subtext */
.vapeSubtext {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin: 1.5rem 0 1.5rem -2rem;
    /* Added negative left margin */
    animation: slideInRight 1s ease-in-out 0.6s forwards;
    opacity: 0;
}

/* Button Container */
.vapeActionButtons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-left: -2rem;
    /* Added negative left margin */
}

/* Primary Button */
.vapeActionBtn {
    background: linear-gradient(135deg, #3B82F6, #1E3A8A);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: #FFF;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: popIn 0.8s ease-in-out 0.9s forwards;
    opacity: 0;
}

.vapeActionBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
    color: #FFF;
}

.vapeActionBtn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.vapeActionBtn:hover:before {
    left: 100%;
}

/* Secondary Button */
.vapeSecondaryBtn {
    background: transparent;
    border: 2px solid #3B82F6;
    color: #3B82F6;
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    animation: popIn 0.8s ease-in-out 0.9s forwards;
    opacity: 0;
}

.vapeSecondaryBtn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #FFF;
    border-color: #FFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
}

/* Right Image Section */
.vapeMainImageRight {
    max-width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vapeDashboardImg {
    width: 200%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.2);
    animation: popIn 1s ease-in-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vapeDashboardImg:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(59, 130, 246, 0.4);
}

/* Animations */
@keyframes vapeFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.vapeSection {
    padding: 3rem 0;
    background: transparent;
}

.vapeStatsRow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2rem;
    text-align: center;
    overflow: hidden;
}

.vapeStatBox {
    background: rgba(30, 58, 138, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    width: 25%;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: popIn 0.8s ease-in-out forwards;
}

.vapeStatBox:nth-child(1) {
    animation-delay: 0.2s;
}

.vapeStatBox:nth-child(2) {
    animation-delay: 0.4s;
}

.vapeStatBox:nth-child(3) {
    animation-delay: 0.6s;
}

.vapeStatBox:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.15);
}

.vapeStatIcon {
    font-size: 2rem;
    color: #3B82F6;
    margin-bottom: 0.8rem;
    display: block;
}

.vapeStatNum {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3B82F6;
    margin: 0;
}

/* Features Section */
.vapeSectionTitle {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: vapeFadeIn 1s ease-in-out forwards;
}

.vapeFeatureGrid {
    overflow: hidden;
}

.vapeFeatureItem {
    background: rgba(30, 58, 138, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    width: 23%;
    display: inline-block;
    margin: 1%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
}

.vapeFeatureItem.scroll-animate.visible {
    animation: scrollFadeIn 0.8s ease-in-out forwards;
}

.vapeFeatureItem:nth-child(1) {
    animation-delay: 0.1s;
}

.vapeFeatureItem:nth-child(2) {
    animation-delay: 0.2s;
}

.vapeFeatureItem:nth-child(3) {
    animation-delay: 0.3s;
}

.vapeFeatureItem:nth-child(4) {
    animation-delay: 0.4s;
}

.vapeFeatureItem:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.15);
}

.vapeFeatureIcon {
    font-size: 2rem;
    color: #3B82F6;
    margin-bottom: 0.8rem;
    display: block;
}

/* Spinner */
#vapeSpinnerThing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0F172A;
    z-index: 9999;
    transition: opacity 0.5s ease;
    text-align: center;
    padding-top: 50vh;
}

.spinnyBit {
    width: 40px;
    height: 40px;
    border: 3px solid #3B82F6;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinnySpin 1s linear infinite;
    display: inline-block;
}

@keyframes spinnySpin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll to Top Button */
.vapeScrollTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3B82F6, #1E3A8A);
    border-radius: 50%;
    color: #FFF;
    text-decoration: none;
    line-height: 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.vapeScrollTop.vapeScrollVisible {
    opacity: 1;
    transform: translateY(0);
}

.vapeScrollTop:hover {
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #vapeMainTitle {
        font-size: 2.5rem;
    }

    .vapeSubtext {
        font-size: 1rem;
    }

    .vapeLogoPic {
        width: 25px;
    }

    .vapeLogoText {
        font-size: 0.9rem;
    }

    .vapeMenuBtn {
        display: block;
    }

    .vapeNavMenu {
        display: none;
        float: none;
        background: rgba(15, 23, 42, 0.98);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .vapeNavMenu.vapeNavOpen {
        display: block;
    }

    .vapeNavItem {
        display: block;
        margin: 0.5rem 0;
    }

    .vapeNavLink {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        display: block;
        text-align: center;
    }

    .vapeStatBox {
        width: 90%;
        margin: 1rem 5%;
    }

    .vapeFeatureItem {
        width: 48%;
        margin: 1%;
    }

    .vapeSection {
        padding: 2rem 0;
    }

    .vapeStatBox,
    .vapeFeatureItem {
        padding: 1.2rem;
    }

    .vapeHeroBox {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        /* Add some padding for mobile */
    }

    .vapeMainTitleLeft {
        max-width: 100%;
        text-align: center;
    }

    .vapeMainImageRight {
        max-width: 60%;
        margin-top: 2rem;
    }

    .vapeDashboardImg {
        max-width: 200px;
    }

    .vapeActionButtons {
        justify-content: center;
    }

    #homeyZone {
        min-height: 100vh;
        /* Still full-screen on mobile */
        padding: 0;
    }
}