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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #EF6600 0%, #FF8533 25%, #EF6600 50%, #FF6B1A 75%, #0E181F 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(255, 255, 255, 0.1);
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: rgba(71, 46, 187, 0.15);
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    background: rgba(14, 24, 31, 0.2);
}

.circle-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
    background: rgba(71, 46, 187, 0.1);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Logo */
.logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    }
    100% {
        filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    }
}

/* App Name and Tagline */
.app-name {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(14, 24, 31, 0.6);
    letter-spacing: -0.02em;
}

.app-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: gray;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.4);
    animation: subtitleGlow 1s ease-in-out infinite alternate;
}

@keyframes subtitleGlow {
    0% {
        text-shadow: 0 2px 15px rgba(255, 255, 255, 0.4);
    }
    100% {
        text-shadow: 0 4px 25px rgba(255, 255, 255, 0.6), 0 0 15px rgba(255, 107, 26, 0.5);
    }
}

.app-tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(14, 24, 31, 0.4);
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 133, 51, 0.4);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(14, 24, 31, 0.4);
}

.download-btn:hover {
    background: rgba(255, 107, 26, 0.2);
    border-color: rgba(255, 107, 26, 0.6);
    box-shadow: 0 12px 40px rgba(14, 24, 31, 0.5), 0 0 20px rgba(255, 107, 26, 0.4);
    transform: translateY(-2px);
}

.download-btn:active {
    transform: translateY(0);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-label {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1;
}

.btn-platform {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Features */
.features {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 133, 51, 0.3);
    border-radius: 24px;
    padding: 0;
    max-width: 380px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(14, 24, 31, 0.4);
    animation: featureFloat 3s ease-in-out infinite;
    overflow: hidden;
}

.feature-item:nth-child(1) {
    animation-delay: 0s;
}

.feature-item:nth-child(2) {
    animation-delay: 1.5s;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 107, 26, 0.15);
    border-color: rgba(255, 107, 26, 0.6);
    box-shadow: 0 25px 70px rgba(14, 24, 31, 0.5), 0 0 40px rgba(255, 107, 26, 0.3);
}

.feature-image {
    width: 100%;
    height: 200px;
    border-radius: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 102, 0, 0.1) 0%, rgba(255, 107, 26, 0.15) 50%, rgba(14, 24, 31, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.feature-item:hover .feature-image::after {
    opacity: 1;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-img {
    transform: scale(1.05);
}

.feature-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    position: relative;
}

.feature-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 26, 0.3) 50%, transparent 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(14, 24, 31, 0.5);
}

.feature-description {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 5px rgba(14, 24, 31, 0.3);
}

@keyframes featureFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

/* Fade in animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .app-name {
        font-size: 3rem;
    }
    
    .app-subtitle {
        font-size: 1.5rem;
    }
    
    .app-tagline {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .download-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        max-width: 320px;
        width: 100%;
        padding: 0;
    }
    
    .feature-image {
        height: 180px;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .logo {
        width: 100px;
    }
    
    .floating-circle {
        opacity: 0.5;
    }
    
    .circle-1 {
        width: 60px;
        height: 60px;
    }
    
    .circle-2 {
        width: 80px;
        height: 80px;
    }
    
    .circle-3 {
        width: 40px;
        height: 40px;
    }
    
    .circle-4 {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .app-name {
        font-size: 2.5rem;
    }
    
    .app-tagline {
        font-size: 1rem;
    }
    
    .features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .download-btn {
        padding: 0.875rem 1.5rem;
        min-width: 180px;
    }
    
    .btn-icon {
        width: 36px;
        height: 36px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .download-btn {
        border-width: 3px;
        background: rgba(255, 255, 255, 0.3);
    }
    
    .floating-circle {
        opacity: 0.3;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-circle {
        animation: none;
    }
    
    .logo {
        animation: none;
    }
    
    .feature-icon {
        animation: none;
    }
}

/* Dark mode support (if system preference changes) */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #EF6600 0%, #CC5500 50%, #EF6600 100%);
    }
}

/* Print styles */
@media print {
    .background-animation,
    .floating-circle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .app-name,
    .app-tagline,
    .download-btn,
    .feature-item {
        color: black;
    }
}