body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0b0114;
    /* Deep dark background */
    color: #ffffff;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /*background-color: rgba(11, 1, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);*/
}

.site-header.menu-open {
    position: fixed;
    /* Jab hamburger khulega, tab yeh navbar ko rok dega */
    background-color: #0b0114;
    /* Hamburger open hone par piche black color dikhega */
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
    /* Hide hamburger on desktop */
}

.nav-primary {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.wrapper-menu-items-outer {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.menu-items {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    white-space: nowrap;
}

.nav-link {
    color: #e2dbea;
    font-size: 1.1rem;
    /* CHANGED: 0.95rem se 1.1rem kiya. Undo karne ke liye 0.95rem likh dena */
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    color: #e2dbea;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.dropdown-toggle:hover {
    color: #ffffff;
}

.sub-menu-wrapper {
    display: none;
}

.nav-secondary {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.region-toggle .toggle-wrapper {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2px;
}

.region-toggle-option,
.region-toggle-option.usd {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 3px;
    color: #ffffff;
    transition: all 0.2s ease;
}

.region-toggle-option svg,
.region-toggle-option.usd svg {
    width: 20px;
    height: 20px;
}

.region-toggle-option-current {
    background-color: #ffffff;
    color: #000000;
}

.region-toggle-option.usd:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-buttons .button-wrapper {
    margin: 0;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

/*.button:hover {
    transform: translateY(-2px);
    opacity: 0.9;

}*/
.button-white {
    background-color: #ffffff;
    color: #000000;
    transition: color 0.3s ease;
}

.button-white:hover {
    color: #0060fe;
}

.button-white:focus,
.button-white:active {
    color: #000000;
}

.nav-button-signup .button {
    background-color: #0060fe;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(123, 22, 255, 0.3);
}

/* Clean up screen reader text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .site-header {
        padding: 1rem 1.5rem;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-sizing: border-box;
        background-color: transparent;

        /*border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background-color: rgba(11, 1, 20, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);*/
    }

    .site-header.menu-open {
        position: fixed;
        /* Jab hamburger dabega, ye fix hoga */
        background-color: #0b0114;
    }

    .site-branding {
        position: relative;
        z-index: 9999;
        /* Keeps logo above the menu */
    }

    .wrapper-menu-items-outer {
        /*  position: fixed;
        top: 0;
        bottom: 0;
        right: -100%;
        width: 100%;
        /* Full screen width 
        box-sizing: border-box;
        background-color: #0b0114;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 1.5rem 1.5rem 1.5rem;
        margin: 0;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 9998;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.5);
        overflow-y: auto; */

        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full screen width */
        height: 100vh;
        box-sizing: border-box;
        background-color: #0b0114;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 1.5rem 1.5rem 1.5rem;
        margin: 0;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 9998;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .wrapper-menu-items-outer.open {
        right: 0;
    }



    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 1rem;
        margin-right: -1rem;
        /* Pulls the icon towards the very edge of the screen */
        z-index: 9999;
    }

    .hamburger {
        display: block;
        width: 26px;
        height: 2px;
        background-color: #ffffff;
        position: relative;
        transition: background-color 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 26px;
        height: 2px;
        background-color: #ffffff;
        left: 0;
        transition: all 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    /* Hamburger to X Animation */
    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .menu-items {
        flex-direction: column;
        gap: 0;
        width: 100%;
        position: relative;
        left: auto;
        transform: none;
    }

    .nav-item {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-secondary {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: auto;
        margin-bottom: 2rem;
        /* Fixes browser bug where flex container ignores bottom padding on scroll */
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .button-wrapper {
        width: 100%;
    }

    .button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;

    }

}

/* Added for Tablet as requested: Buttons next to Hamburger */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-secondary {
        position: absolute;
        top: 1.5rem;
        right: 4.5rem;
        width: auto;
        margin-top: 0;
        flex-direction: row;
        z-index: 9999;
    }

    .nav-buttons {
        flex-direction: row;
        width: auto;
        gap: 1rem;
    }

    .button-wrapper {
        width: auto;
    }

    .button {
        width: auto;
        padding: 0.75rem 1.5rem;
    }
}

/* === MEGA MENU STYLE */
.dropdown {
    position: relative;
    padding: 1.5rem 0;
}

.dd-toggle {
    background: transparent;
    border: none;
    color: #e2dbea;
    font-size: 1.1rem;
    /* CHANGED: 0.95rem se 1.1rem kiya. Undo karne ke liye 0.95rem likh dena */
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.dd-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dd-toggle {
    color: #ffffff;
}

.dropdown:hover .dd-icon {
    transform: rotate(180deg);
}

.dd-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    /* Slightly lighter background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    padding: 1rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dd-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Fix for the last dropdown (Support) to open to the left so it doesn't overflow */
@media (min-width: 1025px) {
    #dd-support .dd-menu {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(15px);
    }

    #dd-support:hover .dd-menu {
        transform: translateX(0) translateY(0);
    }
}

/* Old Flexbox Layout - Commented out as requested */
/*
.dd-menu-content {
    display: flex;
    gap: 3rem;
}
*/

/* New 4-Item Capacity Layout globally for all dropdowns */
/*.dd-menu-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 310px;
    /* Forces wrapping into a 2nd column after ~4 items    
    row-gap: 1.5rem;
    column-gap: 3rem;
}*/
.dd-menu-content>div {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.menu-heading {
    color: #0060fe;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    /* margin: 0 0 0.5rem 0;*/
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    color: #272020;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.menu-item>div:not(.menu-icon) {
    flex: 1;
}

.menu-item:hover {
    background-color: transparent;
    /* No background on hover */
}

.menu-item:hover .menu-text {
    color: #0060fe;
    /* Text color changes on hover */
}

.menu-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 151, 244, 0.1);
    border-radius: 8px;
    color: #0060fe;
}

.menu-icon svg {
    width: 18px;
    height: 18px;
}

.menu-text {
    flex: 1;
    /* Forces the text container to fill the remaining width */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Pushes the badge far from the text, all aligned on the right */
    width: 100%;
    gap: 1.5rem;
    /* Minimum space between text and badge */
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.menu-row {
    flex: 1;
    /* Makes the wrapper expand */
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

.badge-new,
.badge-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    padding: 0;
}

.badge-new {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
}

.badge-soon {
    background: rgba(255, 165, 2, 0.15);
    color: #ffa502;
}

/* === MEGA MENU STYLES (Mobile/Tablet) === */
@media (max-width: 1024px) {
    .dropdown {
        width: 100%;
        position: static;
        padding: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        /* Match desktop/design */
    }

    .menu-items>.nav-link {
        display: block;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dd-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
    }

    /* Fix hover conflicts on mobile */
    .dropdown:hover .dd-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown:hover .dd-toggle {
        color: inherit;
    }

    .dropdown:hover .dd-icon {
        transform: rotate(-90deg);
    }

    .dropdown .dd-toggle.active .dd-icon,
    .dropdown:hover .dd-toggle.active .dd-icon {
        transform: rotate(0deg);
    }

    .dd-icon {
        transform: rotate(-90deg);
        /* Points right > */
        display: block !important;
        width: 16px !important;
        height: 16px !important;
        stroke: currentColor !important;
        stroke-width: 1.5px !important;
        margin-right: 0;
    }

    .dd-menu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        /* JS will toggle this */
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 1rem 0;
        margin-left: 0;
        /* Remove indent to match design */
    }

    .dd-menu.open {
        display: block;
        /* Shown by JS when button clicked */
    }

    .dd-toggle.active .dd-icon {
        transform: rotate(0deg);
        /* Points down v when open */
    }

    .dd-menu-content {
        flex-direction: column;
        gap: 2rem;
    }

    .wrapper-menu-items-outer.open .nav-link,
    .wrapper-menu-items-outer.open .dd-toggle,
    .wrapper-menu-items-outer.open .menu-item,
    .wrapper-menu-items-outer.open .menu-text {
        color: #ffffff;
    }
}

/* HERO SECTION */

.block-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    overflow: hidden;
    color: #ffffff;
    box-sizing: border-box;
}

/* Background Images Setup */
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Ensures the man is always visible at the top */
    opacity: 0.6;
    /* Darken for text readability */
    transition: opacity 0.3s ease;
}

/* Gradient Overlay for depth */
.block-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 1, 20, 0.9) 0%, rgba(11, 1, 20, 0.4) 50%, rgba(0, 96, 254, 0.1) 100%);
    z-index: -1;
}

.image-background-mobile {
    display: none;
}

.image-background-desktop {
    display: block;
}
@media (max-width: 767px) {
    .nav-primary > .nav-secondary {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .image-background-mobile {
        display: block;
    }

    .image-background-desktop {
        display: none;
    }

    .block-hero {
        display: block;
        /* Remove flex to allow normal document flow and scrolling */
        padding: 45vh 1.5rem 3rem;
        /* Push content down so face is completely visible */
        min-height: 100vh;
        background-color: transparent;
    }

    .image-background {
        height: 100vh;
        /* Image covers full height like UpCloud */
    }

    .block-hero::before {
        /* Fade the bottom to make text readable */
        background: linear-gradient(to bottom, rgba(11, 1, 20, 0.1) 0%, rgba(11, 1, 20, 0.6) 50%, rgba(11, 1, 20, 0.95) 100%);
    }

    .image-background img {
        object-position: center top;
        /* Keep the man's head visible */
    }

    .hero-boxes {
        gap: 1.5rem;
    }

    .text-flow {
        text-align: left;
        /* Match the reference image */
        margin-bottom: 2rem;
    }

    .text-flow h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .features.items {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .image-background img {
        object-position: 80% center;
        /* Keep the man focused on mobile screen width */
    }
}

/* Container limits width 
.block-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}*/
.block-hero .container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    /* Yeh add karna hai */
    box-sizing: border-box;
    /* Yeh add karna hai */
}

/* Text Flow Section */
.text-flow {
    max-width: 800px;
    margin-bottom: 3rem;
}

.text-flow h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

.text-blue {
    color: #0060fe;
}

.subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #d1d5db;
    margin: 0;
}

.features.items {
    margin-bottom: 5rem;
    margin-top: 2rem;
}

.hero-form-wrapper {
    max-width: 600px;
}

.domain-seach-heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.domain-text {
    font-size: 0.95rem;
    color: #a1a1aa;
    margin: 0 0 1.5rem 0;
}

.domain-search-form {
    display: flex;
    gap: 1rem;
}

/* Domain dropdown ki width set karne ke liye */
.domain-select {
    flex: none;
    /* Isko poori width nahi lene denge */
    width: auto;
    cursor: pointer;
}

/* Jab dropdown khule toh text black ho taaki padhne me aaye (dark mode fix) */
.domain-select option {
    color: #000000;
}


.domain-search-field {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.domain-search-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.domain-search-field:focus {
    outline: none;
    border-color: #0060fe;
    background: rgba(0, 0, 0, 0.2);
}

.domain-submitt {
    background: #0060fe;
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.domain-submitt:hover {
    background: #0082d6;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .domain-search-form {
        flex-direction: column;
    }

    .domain-submitt {
        width: 100%;
    }
}

/* Four Boxes Grid */
.hero-boxes.items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.hero-boxes .box {
    background: rgba(9, 12, 21, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-boxes .box:hover {
    transform: translateY(-5px);
    border-color: #0060fe;
}

.box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;

}

.box-icon {
    width: 28px;
    height: 28px;
    color: #0060fe;
    flex-shrink: 0;
}

.hero-boxes .box h2 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.hero-boxes .box p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #a1a1aa;
    margin-top: 0.08rem;
    margin-bottom: 0;

}

.hero-boxes .box a {
    color: #0060fe;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hero-boxes .box a:hover {
    color: #a5c3fa;
    text-decoration: underline;
}

.dd-menu-content>div:first-child>.menu-heading:first-child {
    margin-top: 0;
}@media (min-width: 768px) {
    .wrapper-menu-items-outer .nav-secondary {
        display: none !important;
    }
}