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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    /* Logic Pro inspired color palette */
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #f7931e;
    --accent-color: #00d4ff;
    --success-color: #00ff88;
    
    /* Dark theme colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: rgba(255, 255, 255, 0.05);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    
    /* Border and shadow colors */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    
    /* Spacing and sizing */
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Responsive container padding */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 800;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 700;
}

h3 { 
    font-size: 1.5rem; 
    font-weight: 600;
}

h4 { 
    font-size: 1.25rem; 
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    width: 100%;
}

.hero-text h1 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

/* App Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 100%;
}

.app-interface {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: appFloat 8s ease-in-out infinite;
    max-width: 100%;
    transition: var(--transition);
}

.app-interface:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

@keyframes appFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(0.5deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-8px) rotate(-0.5deg); 
    }
}

.app-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.8;
}

.app-interface::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        rgba(0, 212, 255, 0.05) 50%, 
        rgba(255, 107, 53, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.app-interface:hover::after {
    opacity: 1;
}

.app-screenshot {
    width: 100%;
    height: auto;
    max-width: 1000px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
    filter: brightness(1.05) contrast(1.1);
}

.app-screenshot:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1) contrast(1.1);
}

/* Loading state for image */
.app-screenshot:not([src]) {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    min-height: 400px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.app-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
}

.app-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* App interface styles are now handled above */

.control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

/* Settings Panel */
.settings-panel {
    background: var(--bg-panel);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.settings-panel h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setting-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.setting-row:last-child {
    margin-bottom: 0;
}

.setting-row label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-width: 120px;
}

.setting-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setting-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.btn-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bars-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bars-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1rem;
    font-weight: 600;
}

.bars-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.bars-input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 60px;
    height: 32px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Chord Input Panel */
.chord-input-panel {
    background: var(--bg-panel);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.chord-input-panel h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chord-input-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chord-input-row label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.chord-input-control {
    display: flex;
    gap: 0.75rem;
}

.chord-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.chord-input::placeholder {
    color: var(--text-muted);
}

.add-chord-btn {
    background: var(--secondary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.add-chord-btn:hover {
    background: #0099cc;
    transform: translateY(-1px);
}

/* Progression View */
.progression-view {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.control-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.control-btn.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.control-btn.active:nth-child(2) {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.control-spacer {
    flex: 1;
}

.control-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    cursor: pointer;
}

.progression-content {
    padding: 3rem 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-progression {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}

.progression-feedback {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
}

.feedback-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feedback-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.like-btn:hover {
    color: var(--success-color);
}

.dislike-btn:hover {
    color: #ff4757;
}

.download-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.feature-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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



/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pricing-card.coming-soon {
    filter: grayscale(100%);
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.pricing-card.coming-soon:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.pricing-card.coming-soon .price {
    color: var(--text-muted);
}

.pricing-card.coming-soon .pricing-features li {
    color: var(--text-muted);
}

.pricing-card.coming-soon .btn,
.pricing-card.coming-soon .coming-soon-btn {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
    display: inline-block;
    text-align: center;
}

.pricing-card.coming-soon .btn:hover,
.pricing-card.coming-soon .coming-soon-btn:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.coming-soon-badge {
    background: linear-gradient(135deg, #666, #888);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    animation: pulse-subtle 2s ease-in-out infinite;
    filter: grayscale(0) !important;
    opacity: 1 !important;
    z-index: 20;
    position: relative;
}

@keyframes pulse-subtle {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: var(--bg-primary);
    overflow-x: hidden;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.download-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.download-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color), var(--shadow-md);
}

.platform-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Debug styles - remove these after confirming logos work */
    min-height: 64px;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.os-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: var(--transition);
    /* Debug styles - add border to see if images are loading */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    /* Remove the filter that might be causing visibility issues */
    /* filter: brightness(0) invert(1); */
}

.download-card:hover .os-logo {
    transform: scale(1.1);
    /* Add a subtle glow effect instead of complex filters */
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.3));
}

.platform-fallback {
    font-size: 3rem;
    color: var(--text-primary);
    display: none;
}

.download-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.download-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-info .version,
.download-info .size {
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.download-btn {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: 100%;
    justify-content: center;
}

.download-btn-container {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.system-requirements {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.system-requirements h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-align: center;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-requirements li {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.system-requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.download-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.note-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.note-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.note-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.note-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.note-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-text {
    width: 100%;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 100%;
}

/* Web App Elements */
.web-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    color: var(--bg-primary);
    border: none;
    font-weight: 600;
    transition: var(--transition);
}

.web-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
}

.web-app-cta {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    border: none;
    animation: pulse-glow 2s infinite;
}

.web-app-cta:hover {
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
}

.hero-note {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius);
    text-align: center;
}

.hero-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-note strong {
    color: var(--accent-color);
}

/* Web App Banner */
.web-app-banner {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 136, 0.15));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.web-app-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 15s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.web-app-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.web-app-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.web-app-text {
    flex: 1;
}

.web-app-text h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.web-app-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.download-divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.download-divider::before,
.download-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.download-divider::before {
    left: 0;
}

.download-divider::after {
    right: 0;
}

.download-divider span {
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-primary);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Mockup Navigation Section */
.mockup-navigation {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-navigation h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
    backdrop-filter: blur(10px);
}

.mockup-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.mockup-preview {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mockup-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.mockup-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.mockup-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Design */

/* iPad and tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
        max-width: 100%;
        width: 100%;
    }
    
    .hero {
        padding-top: 70px;
        min-height: auto;
        width: 100%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-text {
        max-width: 100%;
        width: 100%;
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    
    .download {
        padding: 4rem 0;
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .download-card {
        padding: 1.5rem;
    }
    
    .about-content {
        width: 100%;
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .feature-card,
    .pricing-card,
    .download-card {
        max-width: 100%;
    }
}

/* Medium tablets (iPad Mini, etc.) */
@media (max-width: 900px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-content {
        padding: 0 1rem;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: var(--radius);
    }
    
    .nav-links a:hover {
        background: var(--bg-card);
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-actions.mobile-visible {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .nav-actions.mobile-visible .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        max-width: 100%;
    }
    
    .hero-text {
        order: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-text p {
        max-width: 100%;
        font-size: 1.1rem;
        padding: 0;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-actions .btn {
        flex: 1 1 auto;
        min-width: 140px;
        max-width: 100%;
    }
    
    .hero-visual {
        padding: 1rem;
    }
    
    .app-preview {
        padding: 2.5rem;
    }
    
    .app-interface {
        padding: 2rem;
    }
    
    .app-screenshot {
        max-width: 100%;
        min-width: auto;
    }
    
    .app-overlay {
        top: 1rem;
        right: 1rem;
    }
    
    .app-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .setting-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .setting-row label {
        min-width: auto;
    }
    
    .chord-input-control {
        flex-direction: column;
    }
    
    .view-controls {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .control-select {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
    
    .features {
        padding: 3.5rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
    }
    
    .feature-card {
        padding: 1.75rem 1.25rem;
        width: 100%;
        max-width: 100%;
    }
    
    .pricing {
        padding: 3.5rem 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-card {
        padding: 1.75rem 1.25rem;
        width: 100%;
        max-width: 100%;
    }
    
    .download {
        padding: 3rem 0;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .download-card {
        padding: 1.25rem;
        width: 100%;
        max-width: 100%;
    }
    
    .download-card h3 {
        font-size: 1.2rem;
    }
    
    .download-card p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .download-info {
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .download-info .version,
    .download-info .size {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .download-btn-container {
        gap: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .download-btn-container .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .system-requirements {
        padding-top: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .system-requirements h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .system-requirements li {
        font-size: 0.75rem;
        padding: 0.1rem 0;
    }
    
    .download-notes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        padding: 0 1rem;
    }
    
    .about-text p {
        max-width: 100%;
        font-size: 1rem;
    }
    
    .web-app-banner {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .web-app-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .web-app-icon {
        font-size: 3rem;
    }
    
    .web-app-text h3 {
        font-size: 1.5rem;
    }
    
    .web-app-text p {
        font-size: 1rem;
    }
    
    .hero-note {
        padding: 0.75rem 1rem;
        margin-top: 1rem;
    }
    
    .hero-note p {
        font-size: 0.85rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .web-app-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .download-divider {
        margin: 2rem 0;
    }
    
    .download-divider::before,
    .download-divider::after {
        width: 25%;
    }
    
    .faq {
        padding: 4rem 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: 0.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
        max-width: 100%;
        padding: 0;
    }
    
    .features,
    .pricing,
    .download,
    .about {
        width: 100%;
        overflow-x: hidden;
    }
    
    .mockup-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
        min-height: auto;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-text h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        padding: 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .stat {
        padding: 0.75rem;
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        max-width: 100%;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
        padding: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
    }
    
    .features,
    .pricing,
    .download,
    .about {
        padding: 2.5rem 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .feature-card,
    .pricing-card,
    .download-card {
        padding: 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .download-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .hero-visual {
        padding: 0.75rem;
    }
    
    .app-preview {
        padding: 2rem;
    }
    
    .app-interface {
        padding: 1.5rem;
    }
    
    .app-screenshot {
        max-width: 100%;
        min-width: auto;
    }
    
    .app-overlay {
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .app-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .settings-panel,
    .chord-input-panel {
        padding: 1rem;
    }
    
    .progression-content {
        padding: 2rem 1rem;
        min-height: 150px;
    }
}
