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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo-image {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff4081 0%, #9c27b0 50%, #3f51b5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff4081;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.hero::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="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 25%, #9c27b0 50%, #673ab7 75%, #3f51b5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b0bec5;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #90a4ae;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 50%, #9c27b0 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ff4081;
    border: 2px solid #ff4081;
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: #ff4081;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.app-mockup {
    position: relative;
}

.phone-frame {
    width: 200px;
    height: 400px;
    background: #333;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.mockup-logo {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: contain;
    object-position: center;
}

/* Phone Mockup Enhancement */
.phone-frame {
    width: 280px;
    height: 500px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 35px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: phoneFloat 4s ease-in-out infinite, phoneGlow 3s ease-in-out infinite alternate;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #444;
    border-radius: 3px;
}

.phone-frame::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    border: 2px solid #444;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
    75% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

@keyframes phoneGlow {
    0% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                    0 0 40px rgba(255, 64, 129, 0.2),
                    0 0 80px rgba(156, 39, 176, 0.1);
    }
    100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                    0 0 60px rgba(255, 64, 129, 0.4),
                    0 0 120px rgba(156, 39, 176, 0.3),
                    0 0 160px rgba(63, 81, 181, 0.2);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1f5fe 50%, #fce4ec 100%);
}

.download-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.platform-detector {
    text-align: center;
    margin-bottom: 3rem;
}

.detected-platform {
    background: linear-gradient(135deg, #ff4081 0%, #9c27b0 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.download-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.download-card.recommended {
    border: 3px solid #ff4081;
    transform: scale(1.05);
}

.platform-icon {
    margin-bottom: 1.5rem;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

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

.download-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.version {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 2rem !important;
}

.download-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.android-btn {
    background: linear-gradient(135deg, #3DDC84 0%, #00C851 100%);
    color: white;
}

.android-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 220, 132, 0.4);
}

.windows-btn {
    background: linear-gradient(135deg, #00A1F1 0%, #0078D4 100%);
    color: white;
}

.windows-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 161, 241, 0.4);
}

.macos-btn {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    color: white;
}

.macos-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.store-link {
    display: inline-block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.store-link:hover {
    opacity: 1;
}

.store-link img {
    border-radius: 8px;
}

.system-requirements {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.system-requirements h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.requirement {
    text-align: center;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Community Section */
.community {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a15 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 64, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(156, 39, 176, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(63, 81, 181, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.community-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.community-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 64, 129, 0.1);
    border: 1px solid rgba(255, 64, 129, 0.3);
    border-radius: 50px;
    color: #ff4081;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.community .section-title {
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 25%, #9c27b0 50%, #673ab7 75%, #3f51b5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    -webkit-text-fill-color: transparent;
}

.community-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.community-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 64, 129, 0.3);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff4081 0%, #9c27b0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 64, 129, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.telegram-icon {
    margin-right: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #08044d 0%, #08044d 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(42, 171, 238, 0.3);
}

.card-title h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.3rem 0;
}

.channel-name {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.benefit-icon {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    filter: brightness(1.2);
}

.benefit-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-footer {
    padding: 2rem 2.5rem 2.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.telegram-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(42, 171, 238, 0.4);
    overflow: hidden;
}

.telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(42, 171, 238, 0.5);
    background: linear-gradient(135deg, #229ED9 0%, #1e90d9 100%);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.telegram-btn:hover .btn-shine {
    left: 100%;
}

.join-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Fallback for older browsers */
@supports not (background-clip: text) {
    .community .section-title,
    .stat-number {
        color: #ff4081;
    }
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background: #555;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #ff4081 0%, #9c27b0 100%);
    color: white !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ff4081;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.white-icon {
  filter: invert(100%);
}

.android-icon {
  filter: invert(66%) sepia(35%) saturate(1637%) hue-rotate(55deg) brightness(100%) contrast(85%);
}

.mobile-menu-btn:hover {
    background: rgba(255, 64, 129, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 9999;
        opacity: 0;
        transform: translateY(-100%);
        transition: all 0.3s ease;
    }
    
    .nav-menu.mobile-open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu a {
        color: white;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid transparent;
    }
    
    .nav-menu a:hover {
        background: linear-gradient(135deg, #ff4081 0%, #9c27b0 100%);
        border-color: #ff4081;
        transform: translateY(-2px);
    }
    
    .logo-image {
        height: 32px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 1rem 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 360px;
    }
    
    .mockup-logo {
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }
    
    .screen {
        padding: 15px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-card {
        padding: 2rem;
    }
    
    .community .section-title {
        font-size: 2.5rem;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .telegram-icon {
        margin: 0 0 1rem 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1.5rem;
    }
    
    .card-footer {
        padding: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .installation-help-section {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0.6rem 1rem;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 120px 1rem 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .community .section-title {
        font-size: 2.2rem;
    }
    
    .feature-card,
    .download-card {
        padding: 1.5rem;
    }
    
    .community .section-title {
        font-size: 2rem;
    }
    
    .community-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .community-stats {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .card-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .benefits-grid {
        padding: 1rem;
    }
    
    .telegram-btn {
        font-size: 0.9rem;
        padding: 1rem 2rem;
    }
    
    .card-footer {
        padding: 1rem;
    }
    
    .phone-frame {
        width: 160px;
        height: 280px;
        padding: 10px;
    }
    
    .phone-frame::before {
        width: 40px;
        height: 4px;
    }
    
    .phone-frame::after {
        width: 30px;
        height: 30px;
    }
    
    .mockup-logo {
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
    
    .screen {
        padding: 12px;
    }
}

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

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* Loading states */
.download-btn.loading {
    position: relative;
    color: transparent;
}

.download-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Installation help section for index.html */
.installation-help-section {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.installation-prompt {
    color: #b0bec5;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.installation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 50%, #9c27b0 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.installation-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.4);
}

.installation-icon {
    font-size: 1.2rem;
}

.installation-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.installation-link:hover .installation-arrow {
    transform: translateX(5px);
}

/* Utility classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
