/* Global Styles */
:root {
    --color-background: #252525;
    --color-card-background: #333333;
    --color-primary: #0096FF;
    --color-primary-light: #33c5fc;
    --color-primary-dark: #0f7abc;
    --color-accent: #ffd700;
    --color-text: #FFFFFF;
    --color-text-secondary: #CCCCCC;
    --color-success: #4CAF50;
    --color-warning: #FFA000;
    --color-error: #F44336;
    --color-border: #444444;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-store {
    display: flex;
    align-items: center;
    background-color: var(--color-card-background);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    margin: 10px;
    min-width: 180px;
}

.btn-store i {
    font-size: 24px;
    margin-right: 12px;
}

.btn-store span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-store small {
    font-size: 12px;
    opacity: 0.8;
}

.btn-store:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

header.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    position: relative;
    font-weight: 500;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
    max-width: 600px;
}

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

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

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background-color: rgba(51, 51, 51, 0.3);
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.feature-card {
    background-color: var(--color-card-background);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.appear {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 150, 255, 0.6));
}

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

.feature-card p {
    color: var(--color-text-secondary);
}

/* Download Section */
.download {
    padding: 100px 0;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.download p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

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

.platform-note {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-style: italic;
    opacity: 0.8;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: rgba(51, 51, 51, 0.3);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.appear {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-text);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.step p {
    color: var(--color-text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background-color: var(--color-card-background);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 350px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial.appear {
    opacity: 1;
    transform: translateY(0);
}

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

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--color-text-secondary);
}

.testimonial-author h4 {
    color: var(--color-primary);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Footer */
footer {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 60px 0 30px;
}

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

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

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

.link-group h4 {
    margin-bottom: 20px;
    color: var(--color-primary);
}

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

.link-group ul li a {
    color: var(--color-text-secondary);
}

.link-group ul li a:hover {
    color: var(--color-primary);
}

.link-group ul li a i {
    margin-right: 5px;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        overflow: hidden;
        transition: height 0.3s ease;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0;
        z-index: 99;
    }
    
    .nav-links.active {
        height: calc(100vh - 80px);
        padding: 40px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 100;
    }
}

/* Media Queries */
@media screen and (max-width: 968px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }

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

    .steps {
        flex-direction: column;
        gap: 50px;
    }
}

@media screen and (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Mobile adjustments */
@media screen and (max-width: 480px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 300px;
        margin: 30px auto;
    }
    
    .screenshot-item {
        max-height: 500px;
    }
    
    .screenshot-item img {
        max-height: 450px;
    }
    
    .screenshot-caption {
        padding: 15px 10px 10px;
        font-size: 0.9rem;
    }
    
    .app-section {
        padding: 80px 0;
    }
    
    .app-section h2 {
        font-size: 2rem;
    }
}

/* App Sections */
.app-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: radial-gradient(circle at center, #2c2c2c, #252525);
    text-align: center;
    margin-bottom: 30px;
}

.app-section:last-of-type {
    margin-bottom: 0;
}

.app-section.alt-bg {
    background: radial-gradient(circle at center, #2a2a2a, #212121);
}

.app-section h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.app-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(0,150,255,0.7) 0%, rgba(255,215,0,0.7) 100%);
    border-radius: 3px;
}

.app-section p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 25px auto 40px;
    line-height: 1.6;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Gallery with exactly 4 items - force to one row */
.screenshot-gallery.four-items {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1300px;
}

.screenshot-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.screenshot-item.wide-item {
    grid-column: span 2;
    max-width: 700px;
    margin: 0 auto;
}

/* Center the single metronome screenshot */
.screenshot-item.metronome-item {
    margin: 0 auto;
    max-width: 400px;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 150, 255, 0.2);
    border: 1px solid rgba(0, 150, 255, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    background-color: #151515;
    padding: 10px;
}

.screenshot-caption {
    padding: 15px 15px 18px;
    background: linear-gradient(to bottom, rgba(25,25,25,0.95) 0%, rgba(20,20,20,0.99) 100%);
    color: #e0e0e0;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.screenshot-item:hover .screenshot-caption {
    background: linear-gradient(to bottom, rgba(0,50,100,0.9) 0%, rgba(0,30,60,0.95) 100%);
    color: #ffffff;
}

/* Media queries for responsive galleries */
@media screen and (max-width: 1200px) {
    .screenshot-gallery.four-items {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* Tablet & smaller desktop adjustments */
@media screen and (max-width: 992px) {
    .screenshot-gallery {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }
    
    .screenshot-gallery.four-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-section {
        padding: 100px 0;
    }
    
    .app-section h2 {
        font-size: 2.5rem;
    }
}

/* Mobile-tablet adjustments */
@media screen and (max-width: 768px) {
    .screenshot-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .screenshot-gallery.four-items {
        grid-template-columns: 1fr;
    }
    
    .screenshot-item.wide-item {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .app-section h2 {
        font-size: 2.3rem;
    }
    
    .app-section p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
} 