@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #080325;
    color: #fff;
    overflow-x: hidden;
    background-image: linear-gradient(135deg, #080325 0%, #1B0F47 50%, #1A092C 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header */
header {
    padding: 25px 0;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
    background: linear-gradient(90deg, #4776E6, #8E54E9, #FF477E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.current-language {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.current-language:hover {
    background: rgba(255, 255, 255, 0.1);
}

.current-language i {
    margin-left: 5px;
    font-size: 12px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 9, 44, 0.95);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 0;
    margin-top: 5px;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.language-option img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 3px;
}

.language-option.active {
    background: rgba(142, 84, 233, 0.2);
    color: #fff;
}

.download-btn {
    background: linear-gradient(90deg, #4776E6, #8E54E9, #FF477E);
    padding: 14px 30px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(142, 84, 233, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.download-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(142, 84, 233, 0.6);
}

.download-btn:hover:before {
    left: 100%;
}

.download-btn i {
    font-size: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 180px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(71, 118, 230, 0.15), rgba(142, 84, 233, 0.15));
    z-index: -1;
    filter: blur(100px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(142, 84, 233, 0.15), rgba(255, 71, 126, 0.15));
    z-index: -1;
    filter: blur(100px);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    width: 55%;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #fff, #8E54E9, #FF477E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 14px 30px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.secondary-btn i {
    font-size: 20px;
}

.stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    width: 45%;
    display: flex;
    justify-content: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(90deg, #4776E6, #8E54E9, #FF477E);
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* iPhone Frame */
.iphone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Features Section */
.features {
    padding: 120px 0;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.section-tag {
    background: linear-gradient(90deg, #4776E6, #8E54E9, #FF477E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.product-hunt-badge {
    display: inline-block;
    margin-bottom: 25px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-hunt-badge:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(71, 118, 230, 0.2), rgba(142, 84, 233, 0.2), rgba(255, 71, 126, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 5px 15px rgba(142, 84, 233, 0.15);
}

.feature-icon i {
    font-size: 26px;
    background: linear-gradient(90deg, #4776E6, #8E54E9, #FF477E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* App Screens */
.app-showcase {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.app-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: linear-gradient(45deg, rgba(71, 118, 230, 0.1), rgba(142, 84, 233, 0.1), rgba(255, 71, 126, 0.1));
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.app-screens {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
}

.screen-wrapper {
    position: relative;
}

.screen-wrapper:nth-child(1) {
    transform: translateY(40px);
}

.screen-wrapper:nth-child(3) {
    transform: translateY(40px);
}

/* iPhone Frame for Feature Screens */
.screen-wrapper {
    position: relative;
}

.screen-iphone {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-inner {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screen-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.screen {
    width: 100%;
    height: 100%;
}

.screen-wrapper:nth-child(1)::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: #4776E6;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.screen-wrapper:nth-child(2)::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: #8E54E9;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.screen-wrapper:nth-child(3)::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: #FF477E;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(109, 74, 255, 0.05), rgba(158, 122, 255, 0.05));
    z-index: 0;
}

/* App Store Buttons for Gradient */
.app-store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #4776E6, #8E54E9, #FF477E);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    min-width: 160px;
    box-shadow: 0 5px 15px rgba(142, 84, 233, 0.3);
    transition: all 0.3s ease;
    height: 45px;
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(142, 84, 233, 0.5);
}

.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.store-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.store-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-image {
        width: 40%;
    }
    
    .hero-content {
        width: 60%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        background: #17123A;
    }
    
    .container {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    header {
        padding: 15px 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .language-selector {
        order: 0;
    }
    
    header .download-btn {
        display: none;
    }
    
    .hero {
        padding: 20px 0 40px;
        height: auto;
        min-height: calc(100vh - 70px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
        margin-bottom: 15px;
        display: inline-block;
        width: auto;
    }
    
    h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 25px;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .download-btn, .secondary-btn {
        width: 100%;
        padding: 12px 20px;
        border-radius: 30px;
        justify-content: center;
        font-size: 16px;
        text-align: center;
    }
    
    .stats {
        width: 100%;
        justify-content: space-between;
        padding: 0;
        gap: 10px;
    }
    
    .stat-item {
        text-align: left;
    }
    
    .stat-number {
        font-size: 28px;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        transform: none;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .iphone-frame {
        width: 220px;
        height: 440px;
        margin: 0 auto;
    }
    
    .features {
        padding: 40px 0;
    }
    
    .section-intro {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .app-showcase {
        padding: 40px 0;
    }
    
    .app-screens {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
    }
    
    .screen-wrapper {
        transform: none !important;
    }
    
    .screen-iphone {
        width: 220px;
        height: 440px;
    }
    
    .cta {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .app-store-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .store-button {
        width: 100%;
        justify-content: center;
    }
    
    footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .language-dropdown {
        right: -20px;
    }
}

/* Small screen adjustments */
@media (max-width: 360px) {
    h1 {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .iphone-frame, .screen-iphone {
        width: 180px;
        height: 360px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }

    .store-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    .store-icon-img {
        filter: brightness(0) invert(1);
    }
}