/* ==================== 
   Global Styles 
   ==================== */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --dark-bg: #0f0e17;
    --light-bg: #1a1924;
    --text-primary: #ffffff;
    --text-secondary: #a7a9be;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==================== 
   Navbar Styles 
   ==================== */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 14, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(108, 92, 231, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand i {
    -webkit-text-fill-color: var(--primary-color);
}

.nav-link {
    color: var(--text-secondary) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* ==================== 
   Hero Section 
   ==================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1924 0%, #2d1b4e 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(253, 121, 168, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.download-btn {
    background: var(--gradient-1);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Floating Notes Animation */
.floating-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-notes i {
    position: absolute;
    color: rgba(108, 92, 231, 0.1);
    font-size: 2rem;
    animation: float 15s infinite ease-in-out;
}

.floating-notes i:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.floating-notes i:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
}

.floating-notes i:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
}

.floating-notes i:nth-child(4) {
    left: 60%;
    top: 10%;
    animation-delay: 6s;
}

.floating-notes i:nth-child(5) {
    left: 90%;
    top: 80%;
    animation-delay: 8s;
}

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

/* Stats */
.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-phone {
    animation: floatPhone 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: var(--text-secondary);
    font-size: 2rem;
    animation: bounce 2s infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==================== 
   Section Styles 
   ==================== */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 
   Features Section 
   ==================== */
.features-section {
    background: var(--dark-bg);
    position: relative;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    margin: 0;
}

.feature-overlay {
    position: absolute;
    bottom: -50px;
    right: -50px;
    font-size: 150px;
    opacity: 0.03;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-overlay {
    bottom: -30px;
    right: -30px;
}

/* ==================== 
   Preview Section 
   ==================== */
.preview-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--light-bg) 100%);
}

.preview-image {
    position: relative;
}

.preview-image img {
    border-radius: 20px;
    transition: all 0.3s ease;
    max-width: 65%;
}

.preview-image:hover img {
    transform: scale(1.05);
}

.preview-content {
    padding: 2rem;
}

.preview-badge {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.preview-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.preview-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ==================== 
   About Section 
   ==================== */
.about-section {
    background: var(--light-bg);
}

.about-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
    border-color: rgba(108, 92, 231, 0.3);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.about-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* Genre Cards */
.genre-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(108, 92, 231, 0.1);
    height: 100%;
}

.genre-card h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.genre-card h4 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.genre-tag {
    background: rgba(108, 92, 231, 0.1);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: all 0.3s ease;
}

.genre-tag:hover {
    background: var(--gradient-1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

/* ==================== 
   Screenshots Section 
   ==================== */
.screenshots-section {
    background: var(--dark-bg);
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: all 0.3s ease;
}

.screenshot-item:hover::after {
    opacity: 0.3;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* ==================== 
   Contact Section 
   ==================== */
.contact-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--dark-bg) 100%);
}

.contact-card {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.contact-info {
    text-align: center;
    padding: 2rem;
    background: var(--dark-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 1rem;
}

.contact-info h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* ==================== 
   Footer 
   ==================== */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(108, 92, 231, 0.1);
    color: var(--text-secondary);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 0.3rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
}

/* ==================== 
   Responsive Design 
   ==================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .preview-content {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .contact-card {
        padding: 2rem 1rem;
    }
}

/* ==================== 
   Scrollbar Styling 
   ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
