/* PedalMap Styles */
:root {
    --black: #0a0a0a;
    --dark: #111;
    --dark-gray: #1a1a1a;
    --gray: #333;
    --light-gray: #666;
    --text-muted: #888;
    --white: #fff;
    --accent: #ff6b6b;
    --accent-2: #4ecdc4;
    --success: #52c41a;
    --warning: #faad14;
}

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

body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray);
    z-index: 100;
    padding: 1rem 0;
}

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

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

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.app-store-badge {
    height: 40px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.app-store-badge:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff6b6b" stroke-width="0.5" opacity="0.5"/></svg>') center/cover;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--dark);
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

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

.feature {
    background: var(--dark-gray);
    border: 1px solid var(--gray);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.2s, border-color 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--light-gray);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Showcase Section */
.showcase {
    padding: 6rem 2rem;
    background: var(--black);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.showcase-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.showcase-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.showcase-image {
    position: relative;
}

.board-preview {
    background: var(--dark-gray);
    border: 1px solid var(--gray);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pedal-placeholder {
    aspect-ratio: 1;
    background: var(--gray);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.pedal-placeholder:hover {
    transform: scale(1.05);
}

.pedal-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 20%;
    background: var(--light-gray);
    border-radius: 50%;
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: var(--dark);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background: var(--black);
    border-top: 1px solid var(--gray);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    color: var(--light-gray);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a:not(.app-store-badge) {
        display: none;
    }
    
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .showcase-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}