* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c9184a;
    --primary-dark: #a01639;
    --secondary: #1a3a52;
    --dark: #0a1628;
    --light: #a8dadc;
    --gradient-start: #0a1628;
    --gradient-mid: #1a3a52;
    --gradient-end: #2a5a7a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.account-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
}

.account-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #7b8ff7 0%, #8859ba 100%);
    color: #ffffff !important;
    text-decoration: none !important;
}

.account-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.account-btn svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    position: relative;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    z-index: 0;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    opacity: 0;
    animation: fadeInImage 1.2s ease forwards 0.3s;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
    position: relative;
    z-index: 1;
}

.hero-right {
    max-width: 800px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 1s ease forwards 0.5s;
    z-index: 2;
    background: rgba(10, 22, 40, 0.85);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 218, 220, 0.15);
    text-align: center;
    margin: auto;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw + 1rem, 3.5rem);
    font-weight: 800;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw + 0.5rem, 1.3rem);
    line-height: 1.6;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(1rem, 2vw, 2rem);
}

.qr-code {
    width: clamp(160px, 25vw, 240px);
    height: clamp(160px, 25vw, 240px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: white;
    padding: 10px;
    max-width: 100%;
}

.download-section {
    display: none;
    justify-content: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.primary-download-btn {
    display: inline-block;
    padding: clamp(12px, 2vw, 18px) clamp(30px, 5vw, 50px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(201, 24, 74, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(201, 24, 74, 0.6);
    background: linear-gradient(135deg, #e01d56 0%, #c01846 100%);
}

.platform-availability {
    text-align: center;
}

.platform-availability p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
}

.download-buttons {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 1 auto;
}

.download-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.download-btn img {
    height: clamp(50px, 8vw, 75px);
    width: auto;
    max-width: 100%;
}

/* Windows Button Styling */
.windows-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
    height: 75px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.windows-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.windows-btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.windows-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.windows-icon svg {
    width: 28px;
    height: 28px;
}

.windows-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.platform {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.download-label {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero {
        padding: 0 3rem;
    }

    .hero-right {
        max-width: 600px;
        padding: 3rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .download-btn img {
        height: 70px;
    }

    .windows-btn {
        height: 70px;
        min-width: 190px;
    }

    .windows-icon svg {
        width: 26px;
        height: 26px;
    }

    .platform {
        font-size: 15px;
    }

    .download-label {
        font-size: 11px;
    }

    .background-image {
        object-position: center left;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 1rem;
        transition: right 0.3s ease;
        z-index: 1000;
        justify-content: flex-start;
    }

    .nav-right.active {
        right: 0;
    }

    .account-btn {
        width: 100%;
        justify-content: center;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        font-size: 1.3rem;
        padding: 1rem;
    }

    .hero {
        min-height: 100vh;
        padding: 90px 1rem 20px;
        justify-content: flex-start;
        align-items: center;
    }

    .download-section {
        display: flex;
    }

    .background-image {
        object-position: center center;
    }

    .hero-content {
        justify-content: center;
        width: 100%;
    }

    .hero-right {
        animation: slideInUp 1s ease forwards 0.5s;
        max-width: 100%;
        width: 100%;
        background: rgba(10, 22, 40, 0.9);
        padding: 1.5rem;
        border-radius: 20px;
        backdrop-filter: blur(20px);
        text-align: center;
        margin: 0;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        text-align: center;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .qr-code-container {
        margin-bottom: 1.25rem;
    }

    .qr-code {
        width: clamp(120px, 30vw, 150px);
        height: clamp(120px, 30vw, 150px);
    }

    .primary-download-btn {
        padding: 12px 30px;
        font-size: clamp(0.9rem, 3.5vw, 1.05rem);
    }

    .download-section {
        margin-bottom: 1.25rem;
    }

    .platform-availability p {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 1rem;
    }

    .platform-icons {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .download-buttons {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .download-btn img {
        height: clamp(50px, 12vw, 60px);
    }

    .windows-btn {
        height: 65px;
        min-width: 180px;
        padding: 8px 16px;
    }

    .windows-icon svg {
        width: 24px;
        height: 24px;
    }

    .platform {
        font-size: 14px;
    }

    .download-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }

    .hero {
        min-height: 100vh;
        padding: 80px 0.75rem 15px;
    }

    .hero-right {
        padding: 1.25rem;
        background: rgba(10, 22, 40, 0.92);
        border-radius: 15px;
    }

    .hero-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: clamp(0.8rem, 3.2vw, 0.95rem);
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .qr-code-container {
        margin-bottom: 1rem;
    }

    .qr-code {
        width: clamp(100px, 28vw, 130px);
        height: clamp(100px, 28vw, 130px);
        padding: 8px;
    }

    .primary-download-btn {
        padding: 10px 25px;
        font-size: clamp(0.85rem, 3.2vw, 0.95rem);
        letter-spacing: 0.5px;
    }

    .download-section {
        margin-bottom: 1rem;
    }

    .platform-availability p {
        font-size: clamp(0.8rem, 3.2vw, 0.9rem);
        margin-bottom: 0.75rem;
    }

    .platform-icons {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .download-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .download-btn img {
        height: clamp(45px, 11vw, 55px);
    }

    .windows-btn {
        height: 60px;
        min-width: 160px;
        padding: 6px 14px;
    }

    .windows-icon svg {
        width: 22px;
        height: 22px;
    }

    .platform {
        font-size: 13px;
    }

    .download-label {
        font-size: 10px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero {
        padding: 75px 0.5rem 10px;
    }

    .hero-right {
        padding: 1rem;
    }

    .hero-title {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        margin-bottom: 0.75rem;
    }

    .qr-code {
        width: clamp(90px, 25vw, 110px);
        height: clamp(90px, 25vw, 110px);
        padding: 6px;
    }

    .primary-download-btn {
        padding: 8px 20px;
        font-size: clamp(0.75rem, 3vw, 0.85rem);
    }

    .platform-availability p {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
    }

    .download-btn img {
        height: clamp(40px, 10vw, 50px);
    }

    .windows-btn {
        height: 55px;
        min-width: 150px;
        padding: 5px 12px;
    }

    .windows-icon svg {
        width: 20px;
        height: 20px;
    }

    .platform {
        font-size: 12px;
    }

    .download-label {
        font-size: 9px;
    }
}