/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #8BC34A;
    --dark-green: #2E7D32;
    --light-green: #C8E6C9;
    --text-primary: #212121;
    --text-secondary: #757575;
    --white: #FFFFFF;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    --gradient-dark: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--white);
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--light-green);
    margin-bottom: 40px;
    font-weight: 300;
}

.scroll-indicator {
    margin-top: 50px;
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 30px;
    height: 30px;
    opacity: 0.8;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 60px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.download-platform {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.download-platform:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

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

.download-buttons .download-btn-wrapper {
    width: 100%;
}

.download-btn-wrapper {
    position: relative;
    overflow: visible;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    width: 100%;
    cursor: pointer;
}

.download-btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn:hover:not(.disabled) {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.download-btn img {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    object-fit: contain;
}

.platform-logo {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.platform-logo-svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
}

.download-btn img[alt="App Store"] {
    width: 24px !important;
    height: 24px !important;
}

.app-store {
    background: var(--gradient-dark);
}

.coming-soon {
    padding: 15px 30px;
    background: #e0e0e0;
    color: var(--text-secondary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
}

.coming-soon-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #ff9800;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

.coming-soon-ribbon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff6b35;
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 10;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border-radius: 6px;
}

.apk-download-section {
    margin-top: 0;
    padding-top: 0;
}

.apk-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.apk-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apk-download {
    background: var(--gradient-primary);
}

.apk-download:hover:not(.disabled) {
    background: var(--gradient-primary);
}

/* Support Section */
.support-section {
    padding: 100px 0;
    background: var(--white);
}

/* Facebook Embed Container */
.facebook-embed-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.facebook-embed-container .fb-page {
    width: 100% !important;
}

.facebook-embed-container iframe {
    width: 100% !important;
    max-width: 500px !important;
}

/* Social Media */
.social-media {
    text-align: center;
    padding-top: 60px;
    border-top: 2px solid #e0e0e0;
}

.social-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.social-text {
    font-size: 14px;
    font-weight: 600;
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
}

.social-link.email {
    background: linear-gradient(135deg, #EA4335 0%, #C71610 100%);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.scroll-indicator-section {
    text-align: center;
    margin-bottom: 40px;
}

.features-intro {
    text-align: center;
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 1.8;
}

.features-intro p {
    margin-bottom: 15px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-green);
}

/* Screenshots Section */
.screenshots-section {
    padding: 100px 0;
    background: var(--white);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.screenshot-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 9 / 16; /* Portrait ratio for mobile screenshots */
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-placeholder {
    width: 100%;
    padding-top: 177.78%; /* 16:9 aspect ratio */
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    position: relative;
}

/* Updates Section */
.updates-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.updates-content {
    max-width: 800px;
    margin: 60px auto 0;
}

.update-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.update-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.update-date {
    font-size: 16px;
    color: var(--light-green);
    margin-bottom: 20px;
}

.update-list {
    list-style: none;
    padding-left: 0;
}

.update-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.update-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    display: flex;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-logo-img {
        width: 100px;
        height: 100px;
    }

    .section-title {
        font-size: 32px;
    }

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

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

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .download-platform {
        padding: 30px 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
