/* Myngles CSS - Social media that costs a dollar, not your data */

:root {
    --primary: #0369A1;
    --primary-dark: #075985;
    --primary-light: #38BDF8;
    --secondary: #6366f1;
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-secondary {
    background: var(--border);
    color: var(--text);
}
.btn-secondary:hover { background: #cbd5e1; }

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

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

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--surface);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input.error { border-color: var(--error); }

.form-error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* Navigation */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-link {
    padding: 0.5rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color 0.2s;
}
.navbar-link:hover { color: var(--primary); }

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feed-layout {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

@media (max-width: 1024px) {
    .feed-layout { grid-template-columns: 1fr; }
    .feed-sidebar { display: none; }
}

.feed-main { max-width: 600px; margin: 0 auto; width: 100%; }

/* Posts */
.post {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

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

.post-author { font-weight: 600; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); }

.post-content { padding: 0 1rem 1rem; }
.post-content p { white-space: pre-wrap; word-wrap: break-word; }

.post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-actions {
    display: flex;
    border-top: 1px solid var(--border);
    padding: 0.5rem;
}

.post-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-size: 0.9rem;
}

.post-action:hover { background: var(--background); color: var(--primary); }
.post-action.active { color: var(--primary); }

/* Comments */
.comments { padding: 0 1rem 1rem; }

.comment {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
}

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

.comment-body {
    flex: 1;
    background: var(--background);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.comment-author { font-weight: 600; font-size: 0.9rem; }
.comment-text { font-size: 0.9rem; margin-top: 0.25rem; }

/* Create Post */
.create-post {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    margin-bottom: 1rem;
}

.create-post-input {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
}

.create-post-input:focus { outline: none; border-color: var(--primary); }

.create-post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Sidebar */
.sidebar-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    margin-bottom: 1rem;
}

.sidebar-title {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* User Card */
.user-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.user-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.user-card-name { font-weight: 600; font-size: 1.1rem; }
.user-card-username { color: var(--text-muted); font-size: 0.9rem; }

.user-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.user-stat { text-align: center; }
.user-stat-value { font-weight: 600; font-size: 1.1rem; }
.user-stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Profile */
.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
}

.profile-header {
    max-width: 800px;
    margin: -60px auto 0;
    padding: 0 1rem;
    position: relative;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--surface);
    background: var(--surface);
    object-fit: cover;
}

.profile-info { margin-top: 1rem; }
.profile-name { font-size: 1.5rem; font-weight: 700; }
.profile-username { color: var(--text-muted); }
.profile-bio { margin-top: 0.5rem; }

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0e7ff 100%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    font-size: 2rem;
    color: var(--primary);
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Landing Page */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 6rem 1rem;
    text-align: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.features {
    padding: 5rem 1rem;
    background: var(--surface);
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature h3 { margin-bottom: 0.5rem; }
.feature p { color: var(--text-muted); }

.pricing {
    padding: 5rem 1rem;
    background: var(--background);
    text-align: center;
}

.pricing-card {
    max-width: 400px;
    margin: 2rem auto;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 2px solid var(--primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

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

.pricing-features { list-style: none; margin: 2rem 0; text-align: left; }
.pricing-features li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }

/* Error Pages */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-page h1 { font-size: 6rem; color: var(--primary); margin-bottom: 0; }
.error-page h2 { margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; }

/* Subscription Badge */
.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none; }

/* Avatar Placeholder */
.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 50%;
}

/* Logo Branding - "My" emphasis */
:root {
    --my-accent: #E11D48;
    --my-accent-dark: #E85555;
}

.logo-my { color: var(--my-accent); }
.logo-ngles { color: var(--primary); }

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

/* ===========================================
   DISCORD-STYLE REACTION BAR
   =========================================== */

/* Reaction Bar Container */
.reaction-bar {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
}

/* Individual Reaction Button */
.reaction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.4rem 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
    position: relative;
    min-width: 36px;
}

.reaction-item:hover {
    background: var(--background);
}

/* The emoji itself */
.reaction-item .emoji {
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.35;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Count underneath */
.reaction-item .count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    min-height: 14px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

/* When reaction has at least one count */
.reaction-item.has-reactions .emoji {
    opacity: 1;
}

.reaction-item.has-reactions .count {
    opacity: 1;
    transform: translateY(0);
}

/* User's own reaction - highlighted */
.reaction-item.user-reacted {
    background: rgba(3, 105, 161, 0.1);
}

.reaction-item.user-reacted .emoji {
    opacity: 1;
    background: rgba(3, 105, 161, 0.15);
    border-radius: 50%;
    padding: 4px;
    margin: -4px;
}

.reaction-item.user-reacted .count {
    color: var(--primary);
    font-weight: 700;
}

/* Reaction Animations */
@keyframes reactionPop {
    0% { transform: scale(1); }
    15% { transform: scale(1.4); }
    30% { transform: scale(0.9); }
    45% { transform: scale(1.15); }
    60% { transform: scale(0.95); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes countBounce {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    30% { transform: translateY(-8px) scale(1.2); }
    50% { transform: translateY(-4px) scale(1.1); }
    70% { transform: translateY(-6px) scale(1.05); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes reactionShrink {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes bgPulse {
    0% { background: rgba(3, 105, 161, 0); }
    50% { background: rgba(3, 105, 161, 0.25); }
    100% { background: rgba(3, 105, 161, 0.15); }
}

/* Apply animations */
.reaction-item.animate-add .emoji {
    animation: reactionPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.reaction-item.animate-add .count {
    animation: countBounce 0.4s ease-out;
}

.reaction-item.animate-add.user-reacted .emoji {
    animation: reactionPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), bgPulse 0.3s ease-out;
}

.reaction-item.animate-remove .emoji {
    animation: reactionShrink 0.3s ease-out;
}

/* Hover effect on emoji */
.reaction-item:hover .emoji {
    transform: scale(1.15);
}

.reaction-item:active .emoji {
    transform: scale(0.95);
}

/* Comment button in reaction bar */
.reaction-bar .comment-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    margin-left: auto;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.reaction-bar .comment-btn:hover {
    background: var(--background);
    color: var(--primary);
}

.reaction-bar .comment-btn .comment-icon {
    font-size: 1.1rem;
}

/* Mobile reaction bar adjustments */
@media (max-width: 480px) {
    .reaction-bar {
        gap: 0.25rem;
        padding: 0.5rem 0.75rem;
        flex-wrap: wrap;
    }
    
    .reaction-item {
        padding: 0.3rem 0.4rem;
        min-width: 32px;
    }
    
    .reaction-item .emoji {
        font-size: 1.2rem;
    }
    
    .reaction-item .count {
        font-size: 0.65rem;
    }
    
    .reaction-bar .comment-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* Very small screens - tighter spacing */
@media (max-width: 360px) {
    .reaction-bar {
        gap: 0.15rem;
        padding: 0.4rem 0.5rem;
    }
    
    .reaction-item {
        padding: 0.25rem 0.3rem;
        min-width: 28px;
    }
    
    .reaction-item .emoji {
        font-size: 1.1rem;
    }
}

/* ===========================================
   GROUPS SIDEBAR PANEL STYLES
   =========================================== */

/* Groups Panel */
.groups-panel {
    padding: 1rem;
}

.groups-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.groups-create-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Groups List */
.groups-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.group-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.group-item:hover {
    background: var(--background);
}

/* Group Avatar */
.group-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.group-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Group Info */
.group-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.group-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lock-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.group-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Role Badges */
.role-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.role-badge.owner {
    background: #fef3c7;
    color: #92400e;
}

.role-badge.admin {
    background: #dbeafe;
    color: #1e40af;
}

.role-badge.mod {
    background: #d1fae5;
    color: #065f46;
}

/* Empty State */
.groups-empty {
    text-align: center;
    padding: 1rem 0.5rem;
}

.groups-empty p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

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

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

/* Footer */
.groups-footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.see-all-link {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.see-all-link:hover {
    text-decoration: underline;
}

/* ===========================================
   SUBSCRIPTION PRICING TIERS
   =========================================== */

/* Status Banner Variations */
.subscription-status.plus {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.subscription-status.premium {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.subscription-status.premium .subscription-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
    background: var(--background);
    border-radius: 8px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.billing-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.billing-btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.save-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Pricing Tiers Grid */
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .pricing-tiers {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tier Card */
.tier-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card.standard {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.tier-card.premium {
    border-color: #8b5cf6;
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Tier Header */
.tier-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.tier-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

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

.tier-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

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

/* Tier Features */
.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text);
}

.tier-features .check {
    color: #10b981;
    font-weight: bold;
}

.tier-features .check.premium {
    color: #8b5cf6;
}

.tier-features .x {
    color: var(--text-muted);
    opacity: 0.5;
}

.tier-features .coming-soon {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.8rem;
}

/* Tier Action */
.tier-action {
    margin-top: auto;
}

.tier-action .btn {
    width: 100%;
    text-align: center;
}

.tier-action .current-plan {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: var(--background);
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-premium {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* Benefits List (for paid users) */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

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

.benefits-list .check {
    color: #10b981;
    font-weight: bold;
}

.benefits-list .check.premium {
    color: #8b5cf6;
}

/* Upgrade Prompt */
.upgrade-prompt {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-radius: 8px;
    text-align: center;
}

.upgrade-prompt p {
    margin-bottom: 0.75rem;
    color: #5b21b6;
}

.upgrade-prompt .btn-outline {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.upgrade-prompt .btn-outline:hover {
    background: #8b5cf6;
    color: white;
}
