/* ===================================
   NOTDIO - Shared Styles for All Pages
   Privacy, Terms, Contact, Auth, Account, Payment
   =================================== */

/* ===================================
   PAGE HEADER (Privacy, Terms, Contact)
   =================================== */
.page-header {
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-light);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* ===================================
   PAGE CONTENT (Privacy, Terms)
   =================================== */
.page-content {
    padding: 60px 0 120px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

/* Sidebar Navigation */
.content-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-nav {
    padding: 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.sidebar-nav h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
}

/* Content Main */
.content-main {
    min-width: 0;
}

.content-card {
    padding: 48px;
}

.content-card section {
    margin-bottom: 48px;
}

.content-card section:last-child {
    margin-bottom: 0;
}

.content-card h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-card h3 {
    font-size: 1.125rem;
    margin: 24px 0 12px;
    color: var(--text-secondary);
}

.content-card p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-card ul {
    margin: 12px 0 24px 20px;
    color: var(--text-secondary);
}

.content-card ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-card a {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-info {
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

.terms-contact {
    padding: 32px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: 48px;
}

.terms-contact h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
}

.contact-form-section .content-card {
    padding: 40px;
}

.contact-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

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

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.contact-link {
    color: var(--primary-light);
    font-size: 0.9375rem;
}

.contact-card .btn-small {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

/* FAQ Preview */
.faq-preview {
    padding: 24px;
}

.faq-preview h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--text-primary);
    font-weight: 500;
    text-align: left;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.view-all-faq {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: #10b981;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
}

/* ===================================
   AUTH PAGES (Login, Register)
   =================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-bg {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    z-index: 0;
}

.auth-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.auth-floating-notes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
}

.auth-card {
    padding: 40px;
    text-align: center;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-card h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9375rem;
}

.social-btn:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

/* Auth Form */
.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

.input-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Password Input */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    padding: 4px;
}

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

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

.eye-closed {
    display: none;
}

.toggle-password.active .eye-open {
    display: none;
}

.toggle-password.active .eye-closed {
    display: block;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.checkbox-label a {
    color: var(--primary-light);
    text-decoration: underline;
}

.forgot-password {
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-checkbox {
    margin-bottom: 16px;
}

.auth-footer {
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.auth-footer a {
    color: var(--primary-light);
    font-weight: 600;
}

/* ===================================
   ACCOUNT PAGE
   =================================== */
.account-page {
    background: var(--bg-darker);
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    padding-top: 80px;
}

/* Account Sidebar */
.account-sidebar {
    background: var(--bg-dark);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-profile {
    text-align: center;
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid var(--primary);
}

.sidebar-profile h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.sidebar-profile p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.plan-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-badge.free {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.plan-badge.premium {
    background: var(--gradient-primary);
    color: white;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.menu-item svg {
    width: 20px;
    height: 20px;
}

.menu-item:hover,
.menu-item.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
}

.sidebar-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.sidebar-back:hover {
    color: var(--primary-light);
}

/* Account Main */
.account-main {
    padding: 40px;
    max-width: 1200px;
}

.account-section {
    display: none;
}

.account-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.account-main h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

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

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

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

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

/* Quick Actions */
.quick-actions {
    padding: 32px;
    margin-bottom: 32px;
}

.quick-actions h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

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

.action-card {
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.action-card:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.action-card h4 {
    font-size: 1rem;
}

.action-card p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.action-arrow {
    align-self: flex-end;
    color: var(--primary-light);
    font-size: 1.25rem;
}

.premium-upgrade {
    background: var(--gradient-card);
    border: 1px solid var(--primary);
}

/* Recent Activity */
.recent-activity {
    padding: 32px;
}

.recent-activity h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

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

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

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

.activity-details h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.activity-details p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Profile Form */
.profile-form .avatar-upload {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.current-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Subscription */
.current-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    margin-bottom: 48px;
    gap: 24px;
}

.plan-info h3 {
    font-size: 1.25rem;
    margin: 12px 0 8px;
}

.plan-info p {
    color: var(--text-secondary);
}

/* Comparison Table */
.plan-comparison h3 {
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.comparison-table td {
    color: var(--text-secondary);
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 48px;
}

.payment-methods h3 {
    margin-bottom: 16px;
}

.saved-cards {
    margin-bottom: 16px;
}

.saved-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.card-type {
    font-size: 2rem;
}

.card-details h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.card-details p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.card-badge {
    margin-left: auto;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.empty-state h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Listening Stats Visual */
.stat-visual {
    margin-bottom: 48px;
}

.stat-visual h3 {
    margin-bottom: 24px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 40px;
}

.bar-fill {
    width: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.chart-bar span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Top Artists */
.top-stats h3 {
    margin-bottom: 20px;
}

.top-artists {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.top-artist {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.top-artist img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 8px;
}

.top-artist span {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.top-artist small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Notification Settings */
.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.notification-group h3 {
    margin-bottom: 16px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    width: 48px;
    height: 24px;
    background: var(--border);
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition);
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::after {
    left: 26px;
}

.toggle-label {
    color: var(--text-secondary);
}

/* Security */
.security-sections {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.security-block h3 {
    margin-bottom: 16px;
}

.password-form {
    max-width: 500px;
}

.active-sessions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

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

.session-info h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.session-info p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.session-badge {
    margin-left: auto;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.session-item.current {
    border: 1px solid var(--primary);
}

.danger-zone {
    padding: 24px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
}

.danger-zone h3 {
    color: #ef4444;
}

.danger-zone p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.btn-danger {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ===================================
   PAYMENT CONFIRMATION PAGE
   =================================== */
.payment-page {
    background: var(--bg-darker);
    position: relative;
}

.payment-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.payment-bg-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.payment-container {
    position: relative;
    z-index: 1;
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Steps Indicator */
.payment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-weight: 600;
    color: var(--text-muted);
}

.step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.step.completed span {
    color: #10b981;
}

.step.active span {
    color: var(--primary-light);
    font-weight: 600;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
}

.step-connector.completed {
    background: #10b981;
}

/* Payment Layout */
.payment-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.payment-main .content-card {
    padding: 40px;
}

/* Confirmation Header */
.confirmation-header {
    text-align: center;
    margin-bottom: 32px;
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.confirmation-icon svg {
    width: 32px;
    height: 32px;
}

.confirmation-header h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.confirmation-header p {
    color: var(--text-secondary);
}

/* Order Summary */
.order-summary {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.order-summary h3 {
    margin-bottom: 16px;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.order-plan h4 {
    font-size: 1rem;
    margin-top: 8px;
}

.order-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.order-row.discount {
    color: #10b981;
}

.order-row.total {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-primary);
}

.total-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.order-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(6, 182, 212, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Payment Methods */
.payment-method-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.payment-method-section h3 {
    margin-bottom: 16px;
}

.saved-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.payment-method-radio input {
    display: none;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.payment-method-radio input:checked + .payment-method-card {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

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

.method-details {
    display: flex;
    flex-direction: column;
}

.method-details strong {
    font-size: 0.9375rem;
}

.method-details span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.method-badge {
    margin-left: auto;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.new-card-form {
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

/* Billing Address */
.billing-address {
    margin-bottom: 24px;
}

/* Promo Code */
.promo-code {
    margin-bottom: 24px;
}

.promo-input {
    display: flex;
    gap: 12px;
}

.promo-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

/* Terms Agreement */
.terms-agreement {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.terms-agreement a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Payment Submit */
.payment-submit {
    margin-bottom: 16px;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Payment Sidebar */
.payment-sidebar .content-card {
    padding: 32px;
    position: sticky;
    top: 100px;
}

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

.sidebar-logo {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    border-radius: var(--radius-sm);
}

.sidebar-plan h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.sidebar-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

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

.sidebar-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.sidebar-features li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.sidebar-trial {
    padding: 16px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.sidebar-trial h4 {
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

.sidebar-trial p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.sidebar-guarantee {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.guarantee-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.sidebar-guarantee h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.sidebar-guarantee p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Success Modal */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.success-modal-content {
    max-width: 500px;
    width: 100%;
    padding: 48px;
    text-align: center;
}

.success-animation {
    margin-bottom: 24px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    stroke: #10b981;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check {
    stroke: #10b981;
    stroke-width: 3;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 0) 0.5s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

.success-modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.success-modal-content > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.success-details {
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.success-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--text-secondary);
}

.success-row strong {
    color: var(--text-primary);
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.success-email {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        display: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        display: none;
    }

    .payment-layout {
        grid-template-columns: 1fr;
    }

    .payment-sidebar {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 40px;
    }

    .content-card {
        padding: 24px;
    }

    .contact-form-section .content-card {
        padding: 24px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px;
    }

    .auth-container {
        max-width: 100%;
    }

    .social-auth {
        flex-direction: column;
    }

    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .account-main {
        padding: 20px;
    }

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

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

    .current-plan {
        flex-direction: column;
        text-align: center;
    }

    .comparison-table {
        font-size: 0.8125rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }

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

    .payment-steps {
        flex-wrap: wrap;
    }

    .step-connector {
        display: none;
    }

    .payment-main .content-card {
        padding: 24px;
    }

    .success-modal-content {
        padding: 24px;
    }

    .success-actions {
        flex-direction: column;
    }
}

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

    .page-header h1 {
        font-size: 1.75rem;
    }

    .auth-card h1 {
        font-size: 1.5rem;
    }

    .account-main h1 {
        font-size: 1.5rem;
    }

    .chart-bars {
        height: 150px;
    }

    .top-artists {
        grid-template-columns: 1fr 1fr;
    }
}
