/* ==================== Variables ==================== */
:root {
    --color-bg: #0f1419;
    --color-bg-card: #1a2332;
    --color-bg-card-hover: #232f42;
    --color-primary: #7c3aed;
    --color-primary-hover: #6d28d9;
    --color-accent: #a78bfa;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-border: #334155;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.2s ease;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

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

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

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: white;
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

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

.logo-icon {
    font-size: 24px;
}

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

.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
}

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

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Clickable user profile link to dashboard */
.nav-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}
.nav-user-link:hover {
    background-color: rgba(124, 77, 255, 0.15);
    transform: translateY(-1px);
}
.nav-user-link:active {
    transform: translateY(0);
}
.nav-user-link .nav-username {
    color: #fff;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Nav avatar ring container */
.nav-avatar-ring-container {
    position: relative;
    width: 40px;
    height: 40px;
}
.nav-avatar-ring-container .ring-progress-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: visible;
}
.nav-avatar-ring-container .ring-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nav-avatar-ring-container .nav-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
}
.nav-avatar-ring-container .nav-avatar-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C4DFF, #651FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.nav-username {
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ==================== Flash Messages ==================== */
.flash-container {
    max-width: 1200px;
    margin: 16px auto;
    padding: 0 24px;
}

.flash {
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

.flash-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--color-warning);
    color: var(--color-warning);
}

.flash-info {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-accent);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ==================== Main Content ==================== */
.main-content {
    flex: 1;
}

/* ==================== Hero Section ==================== */
.hero {
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 0 0 300px;
}

.hero-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-card-header {
    background: #1e293b;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.hero-card-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.hero-card-dot:nth-child(1) { background: #ef4444; }
.hero-card-dot:nth-child(2) { background: #f59e0b; }
.hero-card-dot:nth-child(3) { background: #22c55e; }

.hero-card-content {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.chord-display {
    text-align: center;
}

.chord-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.chord-diagram {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fret-line {
    width: 100px;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
}

/* ==================== Features Section ==================== */
.features {
    padding: 80px 24px;
    background: var(--color-bg-card);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--color-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
}

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

.feature-card-highlight {
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 14px;
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ==================== CTA Section ==================== */
.cta {
    padding: 80px 24px;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* ==================== Pricing Section ==================== */
.pricing-hero {
    padding: 60px 24px 20px;
    text-align: center;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.pricing {
    padding: 40px 24px 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid-4 {
    max-width: 1300px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--color-primary);
}

.pricing-card-popular {
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
}

/* Free Trial Card */
.pricing-card-trial {
    border-color: var(--color-success);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, var(--color-bg-card) 100%);
}

.trial-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-success);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-description {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Maestro/Teacher Card - vibrant gold */
.pricing-card-maestro {
    border-color: #fbbf24;
    border-width: 2px;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.maestro-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Coming Soon badge and styling */
.coming-soon-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card-coming-soon {
    opacity: 0.85;
}

.pricing-card-coming-soon .pricing-price {
    opacity: 0.7;
}

/* Keep Maestro's vibrant gold styling even when coming soon */
.pricing-card-maestro.pricing-card-coming-soon {
    border-color: #fbbf24;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    opacity: 1;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

/* Gold-themed Coming Soon badge for Maestro */
.pricing-card-maestro .coming-soon-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
    color: #1a1a1a;
}

/* Keep Maestro price fully visible */
.pricing-card-maestro.pricing-card-coming-soon .pricing-price {
    opacity: 1;
}

.btn-disabled {
    background: #4b5563;
    color: #9ca3af;
    cursor: not-allowed;
    border: none;
}

.btn-disabled:hover {
    background: #4b5563;
    transform: none;
}

/* Gold-themed disabled button for Maestro */
.pricing-card-maestro .btn-disabled {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4), rgba(245, 158, 11, 0.3));
    color: #fcd34d;
    border: 2px solid rgba(251, 191, 36, 0.5);
    font-weight: 600;
}

.pricing-card-maestro .btn-disabled:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4), rgba(245, 158, 11, 0.3));
}

.pricing-subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: -8px;
    margin-bottom: 8px;
}

.btn-maestro {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #f59e0b;
}

.btn-maestro:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    border-color: #d97706;
    color: white;
}

/* Current Plan Styling - emerald green to match subscribed button */
.pricing-card-current {
    border-color: #10b981;
    border-width: 2px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.current-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Subscribed button - distinct green to show active subscription */
.btn-subscribed {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 2px solid #10b981;
    cursor: default;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.btn-subscribed:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    transform: none;
}

/* Coming Soon Feature Styling */
.feature-coming-soon {
    position: relative;
}

.coming-soon-text {
    text-decoration: line-through;
    color: var(--color-text-muted);
}

.coming-soon-badge {
    font-size: 10px;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.pricing-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.price-amount {
    font-size: 40px;
    font-weight: 700;
}

.price-period {
    color: var(--color-text-muted);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
}

.feature-check {
    color: var(--color-success);
    font-weight: bold;
}

.feature-x {
    color: var(--color-text-muted);
}

.feature-disabled {
    color: var(--color-text-muted);
}

.disabled-text {
    text-decoration: line-through;
}

.pricing-note {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ==================== FAQ Section ==================== */
.faq {
    padding: 80px 24px;
    background: var(--color-bg-card);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--border-radius);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ==================== Dashboard ==================== */
.dashboard {
    padding: 40px 24px;
}

.dashboard-header {
    margin-bottom: 40px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
}

.user-name {
    font-size: 28px;
    font-weight: 700;
}

.user-subtitle {
    color: var(--color-text-muted);
}

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

.dashboard-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.subscription-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.status-badge {
    background: var(--color-success);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-free .status-badge {
    background: var(--color-text-muted);
}

.status-tier {
    font-weight: 600;
}

.subscription-details {
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-label {
    color: var(--color-text-muted);
}

.no-subscription {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.quick-links {
    list-style: none;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    color: var(--color-text);
}

.quick-link:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.quick-link-icon {
    font-size: 20px;
}

.instructions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instruction-step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

/* ==================== Success Page ==================== */
.success-page, .error-page {
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.success-card, .error-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 48px;
    max-width: 600px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-success);
    color: white;
    font-size: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-title, .error-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.success-message {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 32px;
}

.success-next-steps {
    text-align: left;
    background: var(--color-bg);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 32px;
}

.success-next-steps h3 {
    margin-bottom: 16px;
}

.next-steps-list {
    padding-left: 20px;
}

.next-steps-list li {
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.success-actions, .error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.error-code {
    font-size: 80px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.error-description {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* ==================== Manage Page ==================== */
.manage-page {
    padding: 40px 24px;
}

.manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.manage-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 24px;
}

.current-plan {
    margin-bottom: 24px;
}

.plan-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.plan-tier {
    font-size: 24px;
    font-weight: 700;
}

.plan-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-active {
    background: var(--color-success);
    color: white;
}

.plan-dates p {
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.manage-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.manage-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    color: var(--color-text);
}

.manage-action:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text);
}

.manage-action-danger:hover {
    border: 1px solid var(--color-error);
}

.action-icon {
    font-size: 24px;
}

.action-title {
    display: block;
    font-weight: 600;
}

.action-desc {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
}

.manage-note {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 16px 24px;
    margin-bottom: 24px;
}

.manage-note p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.back-link {
    text-align: center;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    padding: 40px 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

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

.footer-links a {
    color: var(--color-text-muted);
    font-size: 14px;
}

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

.footer-copy {
    color: var(--color-text-muted);
    font-size: 13px;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 40px 24px;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        display: none;
    }

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

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

    .pricing-card-popular {
        transform: none;
    }
}

/* ==================== Authentication Pages ==================== */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.auth-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px;
    width: 100%;
    max-width: 440px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--color-text-muted);
    font-size: 15px;
}

.auth-icon {
    margin-bottom: 24px;
}

.auth-icon svg {
    margin: 0 auto;
    display: block;
}

.email-highlight {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 16px;
    margin-top: 8px;
}

/* Auth Options (Login Choice Page) */
.auth-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text);
    transition: var(--transition);
}

.auth-option:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-card-hover);
    color: var(--color-text);
}

.option-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discord-option .option-icon {
    background: #5865f2;
    color: white;
}

.email-option .option-icon {
    background: var(--color-primary);
    color: white;
}

.option-content {
    flex: 1;
}

.option-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.option-desc {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
}

.option-arrow {
    font-size: 20px;
    color: var(--color-text-muted);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.auth-divider span {
    color: var(--color-text-muted);
    font-size: 13px;
    text-transform: uppercase;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input {
    padding: 12px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

.form-hint {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Password Input Wrapper with Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--color-accent);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.forgot-link {
    font-size: 13px;
    color: var(--color-accent);
}

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

/* Terms Checkbox */
.form-terms {
    margin: 8px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-muted);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
}

.checkbox-label a {
    color: var(--color-accent);
}

/* Discord Button */
.btn-discord {
    background: #5865f2;
    color: white;
    border-color: #5865f2;
}

.btn-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
    color: white;
}

.btn-discord svg {
    flex-shrink: 0;
}

/* Google Button */
.btn-google {
    background: white;
    color: #333;
    border-color: #ddd;
}

.btn-google:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

.btn-google svg {
    flex-shrink: 0;
}

/* Google Auth Option */
.google-option .option-icon {
    background: white;
    border: 1px solid #ddd;
}

/* Auth Alternatives */
.auth-alternatives {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.auth-footer p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.auth-footer a {
    color: var(--color-accent);
    font-weight: 500;
}

.muted-text {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Verify Email Page */
.verify-instructions {
    background: var(--color-bg);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.verify-instructions .instruction-step {
    margin-bottom: 16px;
}

.verify-instructions .instruction-step:last-child {
    margin-bottom: 0;
}

.verify-actions {
    text-align: center;
}

.resend-form {
    margin-top: 24px;
}

.resend-text {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

/* Responsive Auth */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
    }

    .auth-header h1 {
        font-size: 24px;
    }

    .auth-option {
        padding: 16px;
    }

    .option-icon {
        width: 40px;
        height: 40px;
    }
}

/* ==================== Legal Pages ==================== */
.legal-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 24px;
}

.legal-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: 48px;
    max-width: 800px;
    width: 100%;
}

.legal-card h1 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.legal-updated {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 20px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.legal-section h3 {
    font-size: 16px;
    color: var(--color-text);
    margin: 16px 0 8px 0;
}

.legal-section p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-section ul {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-left: 24px;
    margin-bottom: 12px;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--color-accent);
}

/* ==================== Profile Page ==================== */
.profile-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 24px;
}

.profile-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.profile-info h1 {
    font-size: 24px;
    margin-bottom: 4px;
}

.auth-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.auth-badge.discord {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
}

.auth-badge.email {
    background: rgba(124, 58, 237, 0.2);
    color: var(--color-accent);
}

.profile-section {
    margin-bottom: 28px;
}

.profile-section h2 {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-details {
    background: var(--color-bg);
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--color-text-muted);
}

.detail-value {
    color: var(--color-text);
    font-weight: 500;
}

.detail-value.tier-basic {
    color: var(--color-accent);
}

.detail-value.tier-tiktok,
.detail-value.tier-pro {
    color: var(--color-success);
}

/* Subscription Status */
.subscription-status {
    background: var(--color-bg);
    border-radius: var(--border-radius-sm);
    padding: 20px;
}

.subscription-status.active {
    border-left: 4px solid var(--color-success);
}

.subscription-status.inactive {
    border-left: 4px solid var(--color-text-muted);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 16px;
}

.status-badge .status-icon {
    color: var(--color-success);
}

.status-badge.inactive .status-icon {
    color: var(--color-text-muted);
}

.subscription-details {
    margin-bottom: 16px;
}

.subscription-cta {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-danger {
    border-color: var(--color-error);
    color: var(--color-error);
}

.btn-danger:hover {
    background: var(--color-error);
    color: white;
}

@media (max-width: 480px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .legal-card {
        padding: 24px;
    }

    .profile-card {
        padding: 24px;
    }
}

/* ==================== Chat System ==================== */

/* Top Bar Buttons (Chat, Discord, Website, Profile) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.nav-action-btn:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text);
    border-color: var(--color-primary);
}

.nav-action-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Live indicator on chat button */
.nav-action-btn .live-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* ==================== Embedded Chat Section ==================== */
.chat-section {
    padding: 60px 0;
    background: var(--color-bg);
}

.chat-embed {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.chat-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.chat-login-prompt {
    padding: 8px 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

.chat-login-prompt a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Upgrade Notification - Centered in chat */
.chat-upgrade-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--color-primary), #9333ea);
    color: white;
    padding: 20px 28px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
    text-align: center;
}

.chat-upgrade-notification.show {
    opacity: 1;
}

.chat-upgrade-notification .upgrade-message {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.chat-upgrade-notification .upgrade-link {
    background: white;
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--transition);
}

.chat-upgrade-notification .upgrade-link:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

/* Status row - contains login prompt and countdown timer inline */
.chat-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--color-text);
    min-height: 28px;
    position: relative;
}

.chat-login-prompt {
    color: var(--color-text);
}

.chat-login-prompt a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Countdown Timer - on the right side */
.chat-countdown-timer {
    display: none;
    color: var(--color-text);
    font-size: 13px;
    position: absolute;
    right: 12px;
}

.chat-countdown-timer.active {
    display: inline;
}

.chat-countdown-timer strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Honeypot - completely hidden from humans */
.chat-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

/* Captcha for first message */
.chat-captcha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--color-bg-card);
    border-radius: 8px;
    margin-bottom: 10px;
}

.captcha-question {
    color: var(--color-text);
    font-size: 14px;
}

.captcha-answer {
    width: 50px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-bg);
    color: var(--color-text);
    text-align: center;
    font-size: 14px;
}

.captcha-answer:focus {
    outline: none;
    border-color: var(--color-primary);
}

.captcha-submit-btn {
    padding: 8px 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.captcha-submit-btn:hover {
    background: var(--color-primary-hover);
}

.captcha-answer.shake {
    animation: shake 0.5s ease-in-out;
    border-color: var(--color-error);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Chat Header (shared styles) */

.chat-tabs {
    display: flex;
    gap: 8px;
}

.chat-tab {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.chat-tab:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text);
}

.chat-tab.active {
    background: var(--color-primary);
    color: white;
}

.chat-tab .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ef4444;
}

.chat-tab .live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
}

.chat-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.chat-close:hover {
    color: var(--color-text);
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Individual Message */
.chat-message {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.chat-message:hover {
    background: rgba(255, 255, 255, 0.03);
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg);
    flex-shrink: 0;
}

/* Ring Badge Container for Chat Avatars */
.chat-avatar-ring-container {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.chat-avatar-ring-container .chat-message-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
}

.chat-avatar-ring-container .ring-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: contain;
}

/* Ring wrapper - auto-centered same as avatar */
.chat-avatar-ring-container .ring-progress-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 50%;
    overflow: visible;
}

.chat-avatar-ring-container .ring-progress-wrapper .ring-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
}

.chat-avatar-ring-container .ring-text {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    white-space: nowrap;
}

.chat-message-content {
    flex: 1;
    min-width: 0;
}

.chat-message-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.chat-message-username {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text);
}

.chat-message-username.self {
    color: #60a5fa;
}

.chat-message-badge {
    width: 14px;
    height: 14px;
}

.chat-message-time {
    font-size: 11px;
    color: var(--color-text-muted);
}

.chat-message-text {
    font-size: 13px;
    color: var(--color-text);
    word-wrap: break-word;
}

.chat-message-text a {
    color: var(--color-accent);
}

.chat-message-text a.blocked {
    text-decoration: line-through;
    color: var(--color-text-muted);
    pointer-events: none;
}

/* System Messages */
.chat-message.system {
    justify-content: center;
    padding: 4px 8px;
}

.chat-message.system .chat-message-text {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
}

.chat-message.live-notification {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 12px;
}

.chat-message.live-notification .live-icon {
    color: #ef4444;
    font-weight: 600;
}

/* Chat Input Area */
.chat-input-area {
    padding: 12px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--color-primary);
}

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

.chat-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chat-send-btn {
    padding: 10px 16px;
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background: var(--color-primary-hover);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cooldown Timer */
.chat-cooldown {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 8px;
}

.chat-cooldown .timer {
    color: var(--color-warning);
    font-weight: 600;
}

/* Signup Prompt */
.chat-signup-prompt {
    padding: 16px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 13px;
}

.chat-signup-prompt a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Live Streams Tab Content */
.live-streams-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.live-stream-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.live-stream-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

.watch-btn {
    padding: 6px 12px;
    background: var(--color-primary);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.no-streams {
    text-align: center;
    color: var(--color-text-muted);
    padding: 40px 20px;
    font-size: 14px;
}

/* Live stream item with platform icons */
.live-stream-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--color-bg);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-live 2s infinite;
}

.live-stream-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Live stream ring badge container */
.live-avatar-ring-container {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.live-avatar-ring-container .live-stream-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
}

.live-avatar-ring-container .ring-progress-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 50%;
    overflow: visible;
}

/* Legacy mask removed - now shows full ring */
.live-avatar-ring-container .ring-progress-wrapper-DISABLED {
    -webkit-mask: conic-gradient(
        from -90deg,
        black 0deg,
        black var(--fill-deg, 360deg),
        transparent var(--fill-deg, 360deg),
        transparent 360deg
    );
}

.live-avatar-ring-container .ring-progress-wrapper .ring-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
}

.live-avatar-ring-container .ring-text {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    white-space: nowrap;
}

.live-stream-info {
    flex: 1;
    min-width: 0;
}

.live-stream-name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-icons-row {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.platform-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s, opacity 0.2s;
}

.platform-icon-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* User Profile Dropdown */
.profile-dropdown {
    position: fixed;
    top: 70px;
    right: 80px;
    width: 300px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown.open {
    display: block;
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}

.profile-dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.profile-dropdown-name {
    font-weight: 600;
    font-size: 16px;
}

.profile-dropdown-section {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
}

.profile-dropdown-section:last-child {
    border-bottom: none;
}

.profile-dropdown-label {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--color-bg);
    border-radius: 6px;
    font-size: 12px;
}

.profile-badge img {
    width: 14px;
    height: 14px;
}

.profile-stat {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
}

.profile-stat-value {
    font-weight: 600;
    color: var(--color-text);
}

.profile-dropdown-actions {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.profile-dropdown-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chat-overlay {
        top: 60px;
        right: 10px;
        left: 10px;
        width: auto;
        height: calc(100vh - 80px);
    }

    .profile-dropdown {
        right: 10px;
        left: 10px;
        width: auto;
    }
}

/* ==================== Download Page ==================== */
.download-hero {
    padding: 60px 24px 20px;
    text-align: center;
}

.download-section {
    padding: 40px 24px 60px;
}

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

@media (max-width: 900px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.download-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--color-primary);
}

.download-card-primary {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, var(--color-bg-card) 100%);
}

.download-card-disabled {
    opacity: 0.6;
}

.coming-soon-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-text-muted);
    color: var(--color-bg);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.download-icon {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.download-card-primary .download-icon {
    color: var(--color-primary);
}

.download-platform {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-version {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.download-btn {
    margin-bottom: 16px;
}

.download-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.download-size {
    color: var(--color-text-muted);
    font-size: 12px;
}

/* Requirements Section */
.requirements {
    padding: 60px 24px;
    background: var(--color-bg-card);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

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

.requirements-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
}

.requirements-card-recommended {
    border-color: var(--color-primary);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.requirements-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-muted);
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li strong {
    color: var(--color-text);
}

/* Installation Section */
.installation {
    padding: 60px 24px;
}

.installation-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .installation-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .installation-steps {
        grid-template-columns: 1fr;
    }
}

.installation-step {
    text-align: center;
}

.installation-step .step-number {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin: 0 auto 16px;
}

.installation-step .step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.installation-step .step-content p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ==================== Features Page ==================== */
.features-hero {
    padding: 60px 24px 20px;
    text-align: center;
}

.features-main {
    padding: 40px 24px 60px;
}

.feature-showcase {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 80px;
}

.feature-showcase-reverse {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .feature-showcase,
    .feature-showcase-reverse {
        flex-direction: column;
        gap: 40px;
    }
}

.feature-showcase-content {
    flex: 1;
}

.feature-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-showcase-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-showcase-content p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-highlights {
    list-style: none;
}

.feature-highlights li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text);
}

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

.feature-showcase-visual {
    flex: 0 0 400px;
}

@media (max-width: 900px) {
    .feature-showcase-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
}

.feature-mockup {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mockup-header {
    background: #1e293b;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

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

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-content {
    padding: 30px;
}

.mockup-waveform {
    height: 60px;
    background: linear-gradient(90deg,
        var(--color-primary) 0%,
        var(--color-accent) 25%,
        var(--color-primary) 50%,
        var(--color-accent) 75%,
        var(--color-primary) 100%);
    border-radius: 4px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.mockup-chords {
    display: flex;
    justify-content: space-between;
}

.mockup-chord {
    background: var(--color-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* Fretboard Mockup */
.feature-mockup-fretboard {
    padding: 30px;
}

.fretboard-display {
    background: #2a1810;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    height: 150px;
}

.fret-strings {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.fret-string {
    height: 2px;
    background: linear-gradient(90deg, #d4a574, #a67c52);
}

.fret-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.finger-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.chord-name-display {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 20px;
}

/* Game Mockup */
.feature-mockup-game {
    padding: 30px;
}

.game-display {
    background: var(--color-bg);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.game-score {
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.game-rail {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.game-chord {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    animation: float 2s ease-in-out infinite;
}

.game-chord-2 { animation-delay: 0.3s; }
.game-chord-3 { animation-delay: 0.6s; }

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

.game-target {
    height: 4px;
    background: var(--color-success);
    border-radius: 2px;
}

/* Features Grid Section */
.features-grid-section {
    padding: 60px 24px;
    background: var(--color-bg-card);
}

/* Pro Features Section */
.pro-features {
    padding: 80px 24px;
}

.pro-features-header {
    text-align: center;
    margin-bottom: 48px;
}

.pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), #9333ea);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .pro-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .pro-features-grid {
        grid-template-columns: 1fr;
    }
}

.pro-feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

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

.pro-feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.pro-feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pro-feature-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.pro-cta {
    text-align: center;
    margin-top: 40px;
}

/* ==================== About Page ==================== */
.about-hero {
    padding: 60px 24px 20px;
    text-align: center;
}

.about-story {
    padding: 40px 24px 60px;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.story-content p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Mission Section */
.about-mission {
    padding: 60px 24px;
    background: var(--color-bg-card);
}

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

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

.mission-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.mission-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.mission-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* What Makes Us Different */
.about-different {
    padding: 60px 24px;
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

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

.different-item {
    display: flex;
    gap: 20px;
}

.different-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.5;
    flex-shrink: 0;
}

.different-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.different-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Stats Section */
.about-stats {
    padding: 60px 24px;
    background: var(--color-bg-card);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

/* Community Section */
.about-community {
    padding: 60px 24px;
}

.community-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 32px auto 0;
}

@media (max-width: 768px) {
    .community-links {
        grid-template-columns: 1fr;
    }
}

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

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

.community-icon {
    width: 64px;
    height: 64px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-primary);
}

.community-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.community-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ==================== New Home Page Styles ==================== */

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

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    animation: pulse-bg 8s ease-in-out infinite;
}

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

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Floating Chords */
.floating-chord {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
    animation: float-chord 6s ease-in-out infinite;
    opacity: 0.6;
}

.floating-chord-1 { top: 15%; left: 10%; animation-delay: 0s; }
.floating-chord-2 { top: 25%; right: 15%; animation-delay: 1.5s; }
.floating-chord-3 { bottom: 30%; left: 5%; animation-delay: 3s; }
.floating-chord-4 { bottom: 20%; right: 10%; animation-delay: 4.5s; }

@keyframes float-chord {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero Container */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content-new {
    flex: 1;
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 24px;
}

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

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

.hero-title-new {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text-animated {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent), #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle-new {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons-new {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Visual */
.hero-visual-new {
    flex: 0 0 480px;
    position: relative;
}

/* App Preview */
.app-preview {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.app-preview-header {
    background: #1e293b;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.app-dot:nth-child(1) { background: #ef4444; }
.app-dot:nth-child(2) { background: #f59e0b; }
.app-dot:nth-child(3) { background: #22c55e; }

.app-title {
    margin-left: auto;
    font-size: 12px;
    color: var(--color-text-muted);
}

.app-preview-content {
    padding: 24px;
}

/* Preview Waveform */
.preview-waveform {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 80px;
    margin-bottom: 24px;
}

.waveform-bar {
    width: 8px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: 4px;
    animation: wave 1.5s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { animation-delay: 0.6s; }
.waveform-bar:nth-child(8) { animation-delay: 0.7s; }
.waveform-bar:nth-child(9) { animation-delay: 0.8s; }
.waveform-bar:nth-child(10) { animation-delay: 0.9s; }
.waveform-bar:nth-child(11) { animation-delay: 1s; }
.waveform-bar:nth-child(12) { animation-delay: 1.1s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

/* Preview Chord Display */
.preview-chord-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 24px;
}

.preview-fretboard {
    background: #2a1810;
    border-radius: 8px;
    padding: 12px;
    width: 100px;
}

.fret-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 2px solid #5a4a42;
}

.fret-row:last-child {
    border-bottom: none;
}

.string {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
}

.string.finger {
    background: var(--color-primary);
    border-radius: 50%;
    color: white;
    font-weight: 700;
}

.preview-chord-name {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent);
}

/* Preview Progress */
.preview-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-progress .progress-bar {
    flex: 1;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.preview-progress .progress-fill {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
}

.progress-time {
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* Preview Glow */
.preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* ==================== Social Proof Section ==================== */
.social-proof {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(26, 35, 50, 0.5);
}

.social-proof-text {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.platform-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 14px;
    opacity: 0.7;
    transition: var(--transition);
}

.platform-logo:hover {
    opacity: 1;
    color: var(--color-text);
}

/* ==================== How It Works Section ==================== */
.how-it-works {
    padding: 100px 0;
    background: var(--color-bg);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 48px auto 0;
}

.step-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
}

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

.step-card .step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--color-border);
    padding-top: 60px;
}

/* ==================== Features Showcase Section ==================== */
.features-showcase {
    padding: 100px 0;
    background: var(--color-bg-card);
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.feature-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.feature-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.tab-icon {
    font-size: 16px;
}

/* Feature Panels */
.feature-panels {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-panel {
    display: none;
    gap: 60px;
    align-items: center;
}

.feature-panel.active {
    display: flex;
}

.panel-content {
    flex: 1;
}

.panel-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.panel-content p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.panel-list {
    list-style: none;
}

.panel-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
}

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

.pro-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), #9333ea);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 16px;
}

/* Panel Visuals */
.panel-visual {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
}

/* Chord Animation */
.chord-animation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.chord-card {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
    animation: chord-pulse 2s ease-in-out infinite;
}

.chord-card-1 { animation-delay: 0s; }
.chord-card-2 { animation-delay: 0.5s; }
.chord-card-3 { animation-delay: 1s; }
.chord-card-4 { animation-delay: 1.5s; }

@keyframes chord-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Game Animation */
.game-animation {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.score-display {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.combo-display {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-success);
    animation: combo-bounce 0.5s ease infinite;
}

@keyframes combo-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Lyrics Animation */
.lyrics-animation {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.lyric-line {
    font-size: 20px;
    margin: 12px 0;
    transition: all 0.3s ease;
}

.lyric-line.faded {
    color: var(--color-text-muted);
    opacity: 0.5;
    font-size: 16px;
}

.lyric-line.active {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 24px;
}

.lyric-line.upcoming {
    color: var(--color-text-muted);
    font-size: 18px;
}

/* Stream Animation */
.stream-animation {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.live-badge-large {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.viewer-count {
    font-size: 20px;
    color: var(--color-text-muted);
}

/* ==================== Testimonials Section ==================== */
.testimonials {
    padding: 100px 0;
    background: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 48px auto 0;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

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

.testimonial-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
}

.author-role {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ==================== Final CTA Section ==================== */
.final-cta {
    padding: 100px 0;
    background: var(--color-bg-card);
}

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==================== Responsive - New Home Page ==================== */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual-new {
        flex: none;
        width: 100%;
        max-width: 500px;
    }

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

    .hero-buttons-new {
        justify-content: center;
    }

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

    .hero-title-new {
        font-size: 44px;
    }

    .feature-panel {
        flex-direction: column;
    }

    .panel-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-new {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .hero-title-new {
        font-size: 36px;
    }

    .hero-subtitle-new {
        font-size: 16px;
    }

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

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

    .hero-stat-divider {
        display: none;
    }

    .floating-chord {
        display: none;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
        margin: -10px 0;
    }

    .step-card {
        max-width: 100%;
    }

    .features-tabs {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-tab {
        justify-content: center;
    }

    .platform-logos {
        gap: 24px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 28px;
    }

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