/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties for Dynamic Viewport Heights */
:root {
    --vh: 1vh;
    --header-height: 68px;
    --footer-height: 64px;
}

/* Mobile viewport height adjustments */
@media (max-width: 768px) {
    :root {
        --header-height: 58px;
        --footer-height: 50px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 58px;
        --footer-height: 40px;
    }
}

/* Support for new CSS viewport units when available */
@supports (height: 100dvh) {
    :root {
        --vh: 1dvh;
    }
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #060606;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

/* Fallback styling for better accessibility */
.logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    display: none;
}

.logo-image {
    object-fit: contain;
    object-position: center;
}

.logo-image {
    height: clamp(38px, 4vh, 52px);
    width: auto;
    max-width: 160px;
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}



/* Main Content */
.main {
    padding-top: 68px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    min-height: calc(100 * var(--vh) - var(--header-height) - var(--footer-height));
    display: flex;
    align-items: center;
    background: #060606;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.squares-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    max-width: 600px;
}

.hero-description {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

.cta-section {
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    background: #f0f0f0;
}

/* App Store Badges */
.app-store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.app-store-badge {
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.app-store-badge:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.badge-image {
    height: 60px;
    width: 180px;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
    mix-blend-mode: normal;
    object-fit: contain;
    object-position: center;
}

.badge-google-play {
    filter: invert(1) brightness(1.2) contrast(1.1);
}

.app-store-badge:hover .badge-image {
    filter: brightness(1.2) contrast(1.2);
}

.app-store-badge:hover .badge-google-play {
    filter: invert(1) brightness(1.3) contrast(1.2);
}

.app-store-badge:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.app-store-badge:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}




/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

/* Footer mobile optimization */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0;
    }
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: #374151;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        height: clamp(32px, 3.5vh, 45px);
        max-width: 120px;
    }
    
    .hero-section {
        min-height: calc(100 * var(--vh) - var(--header-height) - var(--footer-height));
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .app-store-badges {
        gap: 0.75rem;
    }
    
    .badge-image {
        height: 50px;
        width: 150px;
    }
    
    .badge-google-play {
        filter: invert(1) brightness(1.2) contrast(1.1);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .main {
        padding-top: 58px;
    }
    
    .hero-section {
        min-height: calc(100 * var(--vh) - var(--header-height) - var(--footer-height));
        padding: 1rem 0;
    }
    
    .logo-image {
        height: clamp(28px, 3vh, 38px);
        max-width: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .app-store-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .badge-image {
        height: 45px;
        width: 135px;
    }
    
    .badge-google-play {
        filter: invert(1) brightness(1.2) contrast(1.1);
    }
}

/* Mobile Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: calc(100 * var(--vh) - var(--header-height) - var(--footer-height));
        padding: 0.5rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .app-store-badges {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .badge-image {
        height: 40px;
        width: 120px;
    }
    
    .cta-section {
        margin-bottom: 1rem;
    }
}

/* Extra Small Mobile Landscape */
@media (max-width: 480px) and (orientation: landscape) {
    .hero-section {
        min-height: calc(100 * var(--vh) - var(--header-height) - 40px);
        padding: 0.25rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .badge-image {
        height: 35px;
        width: 105px;
    }
}

/* Very Short Viewport Handling */
@media (max-height: 500px) {
    .hero-section {
        min-height: auto;
        padding: 0.5rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 0.75rem 0;
    }
}

/* Large screens optimization */
@media (min-width: 1200px) {
    .logo-image {
        height: clamp(45px, 5vh, 58px);
        max-width: 180px;
    }
} 