/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #0f172a;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 120px;
    background-color: #ffffff;
    z-index: 1000;
}

.nav-logo {
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    color: #0f172a;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #334155;
}

/* Mobile menu button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    opacity: 0.8;
}

.hamburger {
    width: 18px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0f172a;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateY(0);
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid #e2e8f0;
    transition: color 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: #334155;
}

/* Hero section with gradient background */
.hero {
    flex: 1;
    margin: 80px 120px 80px 120px;
    background: transparent;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 181px);
    padding: 60px 20px;
}

/* Hero content */
.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.hero-title {
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 700;
    font-size: 80px;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -1.44px;
    white-space: nowrap;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #334155;
    margin-bottom: 32px;
    max-width: 800px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Download buttons with real badges */
.download-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-download {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
}

.download-badge {
    height: auto;
    width: 150px;
    border-radius: 8px;
    object-fit: contain;
}

/* App showcase image */
.hero-phones {
    position: relative;
    z-index: 5;
    max-width: 800px;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-showcase {
    width: 100%;
    height: auto;
    display: block;
    max-height: 100%;
    object-fit: contain;
    animation: fadeInScale 0.7s ease-out 0.4s both;
}

/* Fast and snappy animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Footer */
.footer {
    position: relative;
    height: 107px;
    padding: 0 121px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 32px;
}

.footer-divider {
    height: 2px;
    background-color: #748fb5;
    opacity: 0.15;
    margin-bottom: 26px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
    color: #6e757c;
}

.social-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

.social-icon {
    color: #6e757c;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    color: #0f172a;
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

/* Responsive design */
/* Extra large screens (1440px and up) */
@media (min-width: 1440px) {
    .hero {
        margin: 100px 160px 100px 160px;
        padding: 80px 40px;
        height: calc(100vh - 200px);
    }

    .navbar {
        padding: 12px 160px;
    }

    .footer {
        padding: 0 160px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 96px;
    }

    .hero-subtitle {
        font-size: 22px;
        line-height: 32px;
    }

    .hero-phones {
        max-width: 900px;
    }
}

/* Large screens (1200px to 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .hero {
        margin: 80px 120px 80px 120px;
        padding: 60px 30px;
        height: calc(100vh - 160px);
    }

    .navbar {
        padding: 12px 120px;
    }

    .footer {
        padding: 0 120px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 80px;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 30px;
    }

    .hero-phones {
        max-width: 800px;
    }
}

/* Medium-large screens (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero {
        margin: 60px 80px 60px 80px;
        padding: 50px 25px;
        height: calc(100vh - 120px);
    }

    .navbar {
        padding: 12px 80px;
    }

    .footer {
        padding: 0 80px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 72px;
    }

    .hero-subtitle {
        font-size: 19px;
        line-height: 29px;
    }

    .hero-phones {
        max-width: 700px;
    }
}

/* Medium screens (769px to 991px) */
@media (max-width: 991px) and (min-width: 769px) {
    .hero {
        margin: 60px 60px 60px 60px;
        padding: 45px 20px;
        height: calc(100vh - 120px);
    }

    .navbar {
        padding: 12px 60px;
    }

    .footer {
        padding: 0 60px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 28px;
    }

    .hero-phones {
        max-width: 650px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 30px;
    }

    /* Show mobile menu button, hide desktop nav */
    .mobile-menu-button {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    .hero {
        margin: 74px 30px 40px 30px;
        padding: 40px 20px;
        height: calc(100vh - 114px);
    }

    .footer {
        padding: 0 30px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }

    .hero-content {
        margin-bottom: 25px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-phones {
        max-width: 600px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 48px;
        padding: 12px 16px;
    }

    .nav-logo {
        font-size: 14px;
    }

    /* Mobile menu adjustments for small screens */
    .mobile-menu {
        top: 48px;
        padding: 16px;
    }

    .hero {
        margin: 48px 16px 24px 16px;
        height: calc(100vh - 72px);
        padding: 30px 16px;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .hero-phones {
        max-width: 100%;
        transform: scale(1.15);
    }

    .footer {
        padding: 0 16px;
        padding-bottom: 32px;
    }
}