/* Global Styles */
:root {
    --primary-color: #FF5F3F;
    --secondary-color: #FF2E74;
    --dark-color: #1a1a2e;
    --light-color: #f5f5f7;
    --accent-color: #FF2E74;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 46, 116, 0.3);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(140, 82, 255, 0.4);
}

.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary:hover {
    background: rgba(140, 82, 255, 0.1);
    transform: translateY(-3px);
}

section {
    padding: 80px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Header and Navigation */
header {
    background: var(--dark-color);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(92, 225, 230, 0.2), transparent 60%);
    z-index: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image .hero-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    display: none;
}

.hero-image .hero-video {
    width: 100%;
    max-height: 600px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    display: block;
}

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

/* Features Section */
.features {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
}

/* App Preview Section */
.app-preview {
    background: var(--dark-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.app-preview:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(255, 94, 125, 0.2), transparent 60%);
    z-index: 0;
}

.app-preview h2:after {
    background: var(--accent-color);
}

.preview-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    text-align: center;
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-15px);
}

.phone-mockup img {
    max-height: 500px;
    max-width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.phone-mockup p {
    margin-top: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Download Section */
.download {
    text-align: center;
}

.download p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #666;
}

.download-count-container {
    margin: 0 auto 20px;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
}

.total-downloads {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 94, 125, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
}

.total-downloads span {
    font-weight: 700;
    color: var(--accent-color);
}

.loading-dots {
    display: inline-block;
    position: relative;
    color: var(--accent-color);
    opacity: 0.8;
}

.loading-dots:after {
    content: '...';
    position: absolute;
    animation: dots 1.5s infinite;
    opacity: 0.8;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.android {
    background: #3ddc84;
    color: white;
}

.windows {
    background: #0078D7;
    color: white;
}

.macos {
    background: #000;
    color: white;
}

.ios {
    background: #000;
    color: white;
}

/* Download Count Styles */
.download-count {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.8;
    text-align: center;
    width: 100%;
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
    position: relative;
}

.loading-dots:after {
    content: '...';
    position: absolute;
    animation: dots 1.5s infinite;
    width: 20px;
    text-align: left;
}

@keyframes dots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: '.'; }
}

.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    background: #f5f5f5;
    color: #888;
    margin: 10px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.coming-soon i {
    margin-right: 10px;
    font-size: 1.5rem;
}

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

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Download Dropdown Styles */
.download-dropdown {
    position: absolute;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 100;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.download-dropdown.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-option {
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
    transition: background 0.2s ease;
    text-align: left;
}

.dropdown-option:hover {
    background: #f5f5f5;
}

.qr-code {
    margin-top: 30px;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.qr-code p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Community Section */
.community {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.15) 2%, transparent 0%), 
                      radial-gradient(circle at 75px 75px, rgba(255, 255, 255, 0.15) 2%, transparent 0%);
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: 1;
}

.community-content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.community h2:after {
    background: white;
}

.community p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Community Stats */
.community-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Loading animation for subscriber count */
.loading-dots {
    display: inline-block;
    position: relative;
    width: 80px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loading-dots:after {
    content: '...';
    position: absolute;
    right: -10px;
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 280px;
    height: 80px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
}

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

.social-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.social-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.social-btn i {
    font-size: 32px;
}

.telegram .social-icon {
    background: rgba(253, 253, 253, 0.541);
}

.telegram i {
    color: #39a8e0;
}

.instagram .social-icon {
    background: rgba(225, 48, 108, 0.3);
}

.instagram i {
    color: #e1306c;
}

.twitter .social-icon {
    background: rgba(29, 161, 242, 0.3);
}

.twitter i {
    color: #1da1f2;
}

/* Community Benefits */
.community-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.benefit-item i {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.link-group ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Page Header for Support Pages */
.page-header {
    background: var(--dark-color);
    color: white;
    min-height: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(92, 225, 230, 0.1), transparent 60%);
    z-index: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero-text {
        margin-bottom: 50px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .preview-container {
        gap: 20px;
    }

    .phone-mockup img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        height: 0;
        width: 100%;
        background: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 10;
    }

    .nav-links.active {
        height: calc(100vh - 80px);
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        margin: 15px 0;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        flex-direction: column;
        padding: 40px 5%;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        width: 100%;
        margin-top: 20px;
    }

    .hero-image .hero-video {
        display: none;
    }

    .hero-image .hero-img {
        max-height: none;
        height: auto;
        width: 100%;
        object-fit: contain;
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .preview-container {
        flex-direction: column;
        align-items: center;
    }

    .phone-mockup img {
        max-height: 350px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image .hero-img {
        max-height: none;
        height: auto;
        width: 100%;
        object-fit: cover;
        border-radius: 15px;
        display: block;
    }
    
    .hero-image .hero-video {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .download-options {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Mobile styles for download dropdowns */
    .download-dropdown {
        width: 90% !important;
        left: 5% !important;
        right: 5% !important;
    }
    
    .dropdown-option {
        padding: 18px 20px;
        font-size: 1.1rem;
    }

    .download-count {
        font-size: 0.7rem;
        margin-top: 3px;
        opacity: 0.7;
    }
    
    .download-count-container {
        font-size: 1rem;
    }
    
    .total-downloads {
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .community-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .social-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .social-btn {
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
        justify-content: flex-start;
    }
    
    .community-benefits {
        flex-direction: column;
        gap: 10px;
        width: 90%;
        margin: 20px auto;
    }
    
    .benefit-item {
        width: 100%;
        justify-content: center;
    }
}