/* ===================================
   Variables & Reset
   =================================== */
:root {
    /* Colors from Flutter theme */
    --background: #0A0A0F;
    --surface: #14141A;
    --surface-variant: #1E1E27;
    --accent: #60C5FB;
    --accent-soft: #61A8FF;
    --error: #FF5C5C;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --divider: #2C2C33;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Effects */
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--divider);
    padding: var(--spacing-md) 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

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

/* ===================================
   Buttons
   =================================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-family);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(96, 197, 251, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(96, 197, 251, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-soft);
    border: 1.5px solid var(--accent-soft);
}

.btn-secondary:hover {
    background: rgba(97, 168, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(96, 197, 251, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--surface-variant);
    border: 1px solid var(--divider);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--divider);
}

.stat {
    flex: 1;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

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

/* Hero Visual */
.hero-visual {
    animation: fadeInRight 0.8s ease-out;
}

.mockup-container {
    position: relative;
    perspective: 1000px;
}

.mockup-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at center, rgba(96, 197, 251, 0.3), transparent 60%);
    animation: glow 3s ease-in-out infinite;
    pointer-events: none;
}

.mockup-screen {
    background: var(--surface);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--divider);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.mockup-screen:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--divider);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--divider);
}

.mockup-content {
    padding: var(--spacing-lg);
}

.mockup-setlist {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mockup-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--surface-variant);
    border-radius: var(--border-radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.mockup-item.active {
    border-color: var(--accent);
    background: rgba(96, 197, 251, 0.1);
}

.mockup-item-icon {
    font-size: 1.5rem;
}

.mockup-item-text {
    flex: 1;
}

.mockup-item-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.mockup-item-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mockup-item-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--accent);
    color: var(--background);
    border-radius: 6px;
    font-weight: 600;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-label {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(96, 197, 251, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

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

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-card {
    background: var(--surface-variant);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--divider);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(96, 197, 251, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 197, 251, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--spacing-3xl) 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-label {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(96, 197, 251, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.feature-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: var(--text-secondary);
}

.feature-checklist svg {
    color: var(--accent);
    flex-shrink: 0;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-mockup {
    width: 100%;
    max-width: 500px;
}

/* Setlist Card Mockup */
.setlist-card {
    background: var(--surface-variant);
    border: 1px solid var(--divider);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.setlist-header {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.setlist-color {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.setlist-info {
    flex: 1;
}

.setlist-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.setlist-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.setlist-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: rgba(96, 197, 251, 0.2);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Annotation Demo */
.annotation-demo {
    position: relative;
    background: var(--surface-variant);
    border: 1px solid var(--divider);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.staff-lines {
    position: relative;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.staff-line {
    height: 2px;
    background: var(--divider);
}

.annotation-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Play Mode Demo */
.play-mode-demo {
    background: var(--surface-variant);
    border: 1px solid var(--divider);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-controls {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.play-controls.inline {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-lg);
    width: 100%;
}

.play-controls.inline .speed-control {
    flex: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(96, 197, 251, 0.4);
}

.play-btn.small {
    width: 40px;
    height: 40px;
    background: transparent;
    box-shadow: none;
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn.active {
    animation: playPulse 2s infinite;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
}

.speed-icon {
    font-size: 1.5rem;
}

.speed-slider {
    flex: 1;
    height: 6px;
    background: var(--divider);
    border-radius: 100px;
    position: relative;
}

.speed-track {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    border-radius: 100px;
}

.speed-thumb {
    position: absolute;
    right: 40%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 18px;
    height: 18px;
    background: var(--text-primary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mode-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--divider);
    padding: 4px;
    border-radius: 999px;
    flex-shrink: 0;
}

.mode-option {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 36px;
}

.mode-option:hover {
    color: var(--text-primary);
}

.mode-option.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(96, 197, 251, 0.3);
}

.mode-option .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 22px;
    line-height: 1;
}

/* ===================================
   Use Cases Section
   =================================== */
.use-cases {
    padding: var(--spacing-3xl) 0;
    background: var(--surface);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.use-case-card {
    background: var(--surface-variant);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--divider);
    text-align: center;
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(96, 197, 251, 0.2);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 197, 251, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    line-height: 0;
}

.use-case-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.use-case-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.use-case-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, rgba(96, 197, 251, 0.1), rgba(97, 168, 255, 0.05));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(96, 197, 251, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.cta-features {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
}

.cta-feature svg {
    color: var(--accent);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--surface);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--divider);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 350px;
}

.footer-description {
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--divider);
}

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

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: var(--surface-variant);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    color: var(--accent);
    background: rgba(96, 197, 251, 0.1);
    transform: translateY(-2px);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes playPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(96, 197, 251, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(96, 197, 251, 0.6);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-title {
        font-size: 1.6rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        width: 100%;
    }
}

