/* Landing Page Styles */
/* Modern, polished design for guitar practice app */

:root {
    /* Colors - Dark Theme */
    --bg-base: #0a0a0f;
    --bg-elevated: #12121a;
    --bg-card: #1a1a24;
    --bg-hover: #22222e;

    /* Accent */
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders */
    --border: #2d2d3a;
    --border-light: #3d3d4a;

    /* Status */
    --success: #10b981;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-md);
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 24px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-screenshot {
    background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.hero-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-screenshot.placeholder {
    padding: 100px 60px;
    text-align: center;
}

.screenshot-placeholder {
    display: none;
}

.hero-screenshot.placeholder .screenshot-placeholder {
    display: block;
    color: var(--text-muted);
}

.screenshot-placeholder span {
    font-size: 5rem;
    display: block;
    margin-bottom: 16px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Pain Points */
.pain-points {
    background: var(--bg-base);
    padding: 80px 24px;
    position: relative;
}

.pain-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pain-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}

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

.pain-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* How It Works */
.how-it-works {
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-elevated);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
}

.section-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features {
    background: var(--bg-base);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--accent) inset;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* Styles Section */
.styles-section {
    background: var(--bg-elevated);
    padding: 100px 24px;
    text-align: center;
}

.styles-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.styles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.style-tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
    cursor: default;
}

.style-tag:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

/* Demos */
.demos {
    background: var(--bg-base);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.demo-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all 0.3s;
}

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

.demo-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
}

.demo-style {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-light);
}

.demo-details {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: right;
    font-style: italic;
}

.demo-audio {
    width: 100%;
    height: 44px;
    border-radius: var(--radius-md);
}

/* Pricing */
.pricing {
    background: var(--bg-elevated);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    position: relative;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    box-shadow: 0 25px 60px var(--accent-glow);
    background: linear-gradient(145deg, var(--bg-card), rgba(99, 102, 241, 0.05));
}

.pricing-card.featured:hover {
    transform: scale(1.07);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-price .period {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

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

.pricing-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled::before {
    content: "—";
    color: var(--text-muted);
}

.pricing-features li.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-features li.highlight::before {
    color: var(--accent-light);
}

.pricing-features li.muted {
    color: var(--text-muted);
    font-size: 0.85rem;
    justify-content: center;
}

.pricing-features li.muted::before {
    content: "";
    display: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Final CTA */
.final-cta {
    background: var(--accent-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.final-cta .section-container {
    padding: 100px 24px;
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    color: white;
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-size: 1.2rem;
}

.final-cta .btn-primary {
    background: white;
    color: var(--accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-primary:hover {
    background: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */

/* Large tablets / small laptops */
@media (max-width: 1100px) {
    .hero {
        gap: 50px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 24px 80px;
        gap: 60px;
    }

    .hero::before {
        width: 500px;
        height: 500px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

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

    .hero-stats {
        justify-content: center;
        border-top: none;
        padding-top: 0;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-screenshot {
        transform: none;
    }

    .hero-screenshot:hover {
        transform: translateY(-8px);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .how-it-works::before {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* Large phones / small tablets */
@media (max-width: 768px) {
    .nav-container {
        padding: 14px 16px;
    }

    .nav-links {
        gap: 0;
        flex-shrink: 0;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .nav-logo {
        font-size: 0.95rem;
        gap: 8px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon svg {
        width: 18px;
        height: 18px;
    }

    .nav-cta {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .pain-points {
        padding: 60px 20px;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-container {
        padding: 80px 20px;
    }

    .section-container h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 28px;
    }

    .styles-section {
        padding: 60px 20px;
    }

    .styles-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .style-tag {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .demos-grid {
        grid-template-columns: 1fr;
    }

    .final-cta .section-container {
        padding: 60px 20px;
    }

    .final-cta h2 {
        font-size: 1.8rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat {
        text-align: center;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .pain-card {
        padding: 20px;
    }

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

    .pain-card p {
        font-size: 0.95rem;
    }

    .step-card {
        padding: 24px 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 28px 24px;
    }

    .pricing-price .price {
        font-size: 2.5rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    .final-cta h2 {
        font-size: 1.6rem;
    }

    .final-cta p {
        font-size: 1rem;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-container h2 {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}
