 :root {
            --primary: #1976D2;
            --primary-gradient: linear-gradient(135deg, #1976D2, #64B5F6);
            --primary-dark: #115293;
            --text-dark: #333;
            --bg-light: #f4f6f8;
            --phone-color: #1a1a1a; 
        }

        html { scroll-behavior: smooth; }
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: #f1f1f1; }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            font-family: 'Roboto', sans-serif; 
            background: var(--bg-light); 
            color: var(--text-dark); 
            overflow-x: hidden; 
            padding-bottom: 20px; 
            transition: background 0.3s, color 0.3s; 
        }

        body.player-active { padding-bottom: 110px; }

        body.dark { background: #121212; color: #e0e0e0; }
        body.dark header { background: rgba(30, 30, 30, 0.85); border-color: rgba(255, 255, 255, 0.05); }
        body.dark nav a { color: #ccc; }
        body.dark .lang-switcher { background: #2a2a2a; }
        body.dark .lang-switcher a.active { background: #444 !important; color: #fff !important; }
        body.dark .hero h1 { color: #fff; }
		body.dark .hero p {
    color: #d0d0d0;   /* brighter text for readability */
}
        body.dark .btn-google { border: 1px solid #444; background: #000; }
        body.dark .phone-frame { border-color: #2a2a2a; box-shadow: 0 0 0 2px #333, 0 25px 50px rgba(0,0,0,0.5); }
        body.dark .radio-section { background: #1a1a1a; }
        body.dark .radio-card { background: #242424; border-color: #333; color: #fff; }
        body.dark .radio-card h4 { color: #fff; }
        body.dark .features { background: #121212; }
        body.dark .feature-card { background: #1d1d1d; border-color: #333; }
        body.dark .feature-card h3 { color: #fff; }
        body.dark .feature-card p { color: #bbb; }
        body.dark .contact-section { background: #1a1a1a; border-top-color: #333; }
        body.dark .contact-form { background: #242424; border-color: #333; }
        body.dark .form-group input, body.dark .form-group textarea { background: #121212; border-color: #444; color: #fff; }
        body.dark .player-bar { background: rgba(29, 29, 29, 0.95); border-top-color: #64B5F6; color: #fff; }
        body.dark .player-meta p { color: #aaa; }
		
		body.dark .btn-store {
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.6);
}

body.dark .btn-store:hover {
    border-color: rgba(255, 255, 255, 0.35);
}
        
        header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 15px 25px; margin-top: 20px;
            background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
            border-radius: 20px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
            position: relative; z-index: 100; border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 12px; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .logo img { height: 38px; width: 38px; border-radius: 50%; background: white; -webkit-text-fill-color: initial; }

        nav { display: flex; align-items: center; }
        nav a { text-decoration: none; color: var(--text-dark); font-weight: 500; margin-left: 25px; transition: color 0.3s; }
        nav a:hover { color: var(--primary); }

        .lang-switcher { background: #eee; padding: 4px; border-radius: 50px; display: flex; align-items: center; gap: 2px; margin-left: 25px; }
        .lang-switcher a { margin: 0 !important; padding: 6px 12px !important; border-radius: 50px !important; font-size: 0.8rem !important; cursor: pointer; color: #666; font-weight: 700; }
        .lang-switcher a.active { background: white !important; color: var(--primary) !important; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

        .theme-toggle { background: white; border: 1px solid #ddd; cursor: pointer; margin-left: 12px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }

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

        .hero { display: flex; align-items: center; justify-content: space-between; min-height: 85vh; padding: 40px 0; gap: 40px; }
        .hero-content { flex: 1; max-width: 550px; }
        .hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: #1a1a1a; }
        .hero h1 span { color: var(--primary); }
        .hero p { font-size: 1.2rem; color: #666; margin-bottom: 40px; line-height: 1.6; }

        .download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; }
        .btn-store { display: flex; align-items: center; justify-content: flex-start; padding: 10px 15px; border-radius: 8px; text-decoration: none; color: white; font-size: 0.85rem; background: #333; gap: 10px; transition: 0.2s; }
		.btn-store {
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        0 6px 18px rgba(0, 0, 0, 0.15);
}

        .btn-store img { width: 20px; height: 20px; }
        .btn-store:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
		.btn-store:hover {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.25),
        0 10px 25px rgba(0, 0, 0, 0.25);
}
        .btn-google { background: #000; } .btn-huawei { background: #C7152E; } .btn-rustore { background: #0077FF; }
        .btn-chrome { background: #4285F4; } .btn-edge { background: #0078D7; } .btn-apk { background: #4CAF50; }

        .btn-listen-online { grid-column: 1 / -1; background: var(--primary-gradient) !important; justify-content: center !important; font-size: 1.1rem !important; padding: 16px !important; margin-top: 15px; border-radius: 50px !important; box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3); border: none; cursor: pointer; }
        .badge-new { background: #FF5252; color: white; font-size: 0.7rem; padding: 2px 10px; border-radius: 20px; margin-left: 12px; font-weight: 800; }

        .phone-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; }
        .phone-frame { width: 320px; height: 640px; background: var(--phone-color); border: 12px solid var(--phone-color); border-radius: 40px; position: relative; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
        .image-container { width: 100%; height: 100%; display: grid; }
        .screenshot { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s; }
        .screenshot.active { opacity: 1; z-index: 10; }
        .screenshot.inactive { opacity: 0; z-index: 5; }

        .radio-section { padding: 60px 0; background: #ebf2f8; transition: background 0.3s; }
        .radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; margin-top: 30px; }
        .radio-card { background: white; padding: 20px; border-radius: 15px; text-align: center; cursor: pointer; transition: 0.3s; border: 2px solid transparent; }
        .radio-card:hover { transform: translateY(-5px); border-color: var(--primary); }
        .radio-card img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 12px; object-fit: cover; }

        .radio-card.selected { 
            border: 2px solid var(--primary); 
            background: #fff;
            box-shadow: 0 0 15px rgba(25, 118, 210, 0.2);
            transform: scale(1.05);
        }
        body.dark .radio-card.selected { 
            background: #2a2a2a; 
            box-shadow: 0 0 20px rgba(100, 181, 246, 0.3);
            border-color: #64B5F6;
        }

        .player-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: white; box-shadow: 0 -5px 25px rgba(0,0,0,0.1); padding: 10px 0; z-index: 1000; border-top: 3px solid var(--primary); display: none; backdrop-filter: blur(10px); }
        .player-flex { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
        .player-info { display: flex; align-items: center; gap: 15px; width: 250px; }
        #player-img { width: 45px; height: 45px; border-radius: 8px; object-fit: cover; }
        .player-meta h4 { margin: 0; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .player-meta p { margin: 0; font-size: 0.75rem; color: #666; }

        #visualizer-container { flex: 1; height: 40px; display: flex; align-items: center; justify-content: center; gap: 4px; }
        .music-bar { width: 4px; height: 8px; background: var(--primary); border-radius: 10px; }
        .playing .music-bar { animation: simplePulse 1s ease-in-out infinite; }
        .playing .music-bar:nth-child(2) { animation-delay: 0.2s; }
        .playing .music-bar:nth-child(3) { animation-delay: 0.4s; }
        .playing .music-bar:nth-child(4) { animation-delay: 0.1s; }
        @keyframes simplePulse { 0%, 100% { height: 8px; } 50% { height: 24px; } }
        body.dark .music-bar { background: #64B5F6; }

        .player-controls { display: flex; align-items: center; gap: 15px; width: 250px; justify-content: flex-end; }
        #play-pause-btn { background: var(--primary-gradient); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
        #volume-slider { width: 80px; accent-color: var(--primary); cursor: pointer; }

        .features { padding: 80px 0; background: white; transition: background 0.3s; }
        .section-title { text-align: center; margin-bottom: 60px; }
		.section-title h2 {
    margin-bottom: 12px;   /* space between title and subtitle */
    line-height: 1.25;
}

.https-warning {
    text-align: center;
    max-width: 800px;
    margin: 30px auto 0 auto;
    padding: 0 20px;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    line-height: 1.5;
}

/* Մուգ թեմայի համար */
body.dark .https-warning {
    color: #aaa;
}

.section-title p {
    margin-top: 0;
    line-height: 1.6;
}
        .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .feature-card h3 {
    margin-bottom: 12px;   /* space between title and description */
    line-height: 1.3;
}

.feature-card p {
    margin-top: 0;
    line-height: 1.6;      /* better readability */
}

.feature-card {
    padding: 35px;
}

.feature-card h3 {
    margin-top: 10px;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.65;
}
		.feature-card { text-align: center; padding: 30px; border-radius: 15px; background: #f9f9f9; transition: 0.3s; border: 1px solid #eee; position: relative; }
        .badge { position: absolute; top: 10px; right: 10px; background: var(--primary); color: white; font-size: 0.7rem; padding: 3px 8px; border-radius: 20px; font-weight: bold; }
        
        .contact-section { padding: 10px 0; background: #fdfdfd; }
        .contact-form { max-width: 600px; margin: 0 auto; background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
        .form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }
        .btn-submit { background: var(--primary); color: white; border: none; padding: 15px 30px; border-radius: 8px; font-weight: 700; cursor: pointer; width: 100%; }

        @media (max-width: 768px) {
            header { border-radius: 0; margin-top: 0; padding: 10px 15px; }
            
            /* Change layout to 'column' and add padding-top for margin between header and title */
            .hero { flex-direction: column; text-align: center; padding-top: 50px; }
            
            /* Fix: Add horizontal padding to hero-content so it doesn't hit the screen edges */
            .hero-content { padding: 0 10px; }

            /* Use 'nav > a' so only main text links are hidden, keeping language/theme buttons visible */
            nav > a { display: none; }
            
            #visualizer-container { display: none; }
            .player-info, .player-controls { width: auto; }
            #volume-slider { display: none; }
            
            /* Adjust spacing for mobile readability */
            .hero h1 { font-size: 2.4rem; margin-bottom: 15px; }
            .hero p { margin-bottom: 30px; }
            .phone-wrapper { margin-top: 30px; }
            .download-grid { grid-template-columns: repeat(2, 1fr); }
            .btn-listen-online { grid-column: span 2; }
        }
