/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.nav-brand i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-auth-links {
    text-align: center;
}

.hero-auth-links p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.hero-auth-links a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-auth-links a:hover {
    color: #fbbf24;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    min-width: 160px;
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #6366f1;
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-outline:hover {
    background: #6366f1;
    color: white;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-full {
    width: 100%;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Plugins Section */
.plugins-section {
    padding: 80px 0;
    background: white;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Plugin Filters */
.plugin-filters {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.filter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.875rem;
}

.search-box input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #6366f1;
}

.filter-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-controls select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
    min-width: 120px;
}

.filter-controls select:focus {
    outline: none;
    border-color: #6366f1;
}

.plugin-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
}

.no-plugins {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.no-plugins i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.no-plugins h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.plugin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.plugin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.plugin-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #9ca3af;
    position: relative;
    overflow: hidden;
}

.plugin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plugin-card:hover .plugin-image img {
    transform: scale(1.05);
}

.plugin-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #9ca3af;
    font-size: 3rem;
}

.plugin-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.plugin-tier-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plugin-content {
    padding: 1.5rem;
}

.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.plugin-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plugin-version {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.plugin-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5rem;
}

.plugin-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.category-more {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.plugin-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.plugin-updated,
.plugin-repo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plugin-updated i,
.plugin-repo i {
    font-size: 0.75rem;
    color: #94a3b8;
}

.plugin-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
    min-width: auto;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 4rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State */
.error-state {
    text-align: center;
    padding: 4rem 0;
    color: #64748b;
}

.error-state i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.error-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.cta-feature i {
    color: #10b981;
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #6366f1;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: #64748b;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
}

.period {
    font-size: 1rem;
    color: #64748b;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: #10b981;
    font-size: 0.875rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-body {
    padding: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.auth-switch a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* User Dashboard */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.user-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.user-details p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.user-plan {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand i {
    margin-right: 8px;
    font-size: 1.8rem;
    color: #6366f1;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Plugin Tier Styling */
.tier-0 {
    background: #10b981;
    color: white;
}

.tier-1 {
    background: #3b82f6;
    color: white;
}

.tier-2 {
    background: #8b5cf6;
    color: white;
}

.tier-3 {
    background: #f59e0b;
    color: white;
}

/* User Plan Styling */
.user-plan.free {
    background: #10b981;
}

.user-plan.pro {
    background: #8b5cf6;
}

.user-plan.enterprise {
    background: #f59e0b;
}

/* Verification Styling */
.verification-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
}

.verification-badge.verified {
    background: #10b981;
    color: white;
}

.verification-badge.unverified {
    background: #f59e0b;
    color: white;
}

.verification-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.verification-status.verified {
    color: #10b981;
}

.verification-status.unverified {
    color: #f59e0b;
}

.verification-content {
    text-align: center;
    padding: 1rem 0;
}

.verification-icon {
    font-size: 3rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.verification-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.verification-content p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.verification-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.verification-note p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 1rem;
}

.btn-link {
    background: none;
    border: none;
    color: #6366f1;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
}

.btn-link:hover {
    color: #4f46e5;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background: #ef4444;
}

.strength-fill.fair {
    width: 50%;
    background: #f59e0b;
}

.strength-fill.good {
    width: 75%;
    background: #3b82f6;
}

.strength-fill.strong {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.strength-text.weak {
    color: #ef4444;
}

.strength-text.fair {
    color: #f59e0b;
}

.strength-text.good {
    color: #3b82f6;
}

.strength-text.strong {
    color: #10b981;
}

/* Password Match Indicator */
.password-match {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.match-icon {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.match-icon.matching {
    color: #10b981;
}

.match-icon.not-matching {
    color: #ef4444;
}

.match-icon.neutral {
    color: #64748b;
}

.match-text {
    font-weight: 500;
    transition: color 0.3s ease;
}

.match-text.matching {
    color: #10b981;
}

.match-text.not-matching {
    color: #ef4444;
}

.match-text.neutral {
    color: #64748b;
}

/* Manage Plugins Modal */
.manage-plugins-section {
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
}

.section-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Plugin Manager Download Card */
.plugin-manager-download {
    margin-bottom: 2rem;
}

.plugin-manager-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.plugin-manager-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.plugin-manager-content {
    flex: 1;
}

.plugin-manager-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.plugin-manager-content p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.plugin-manager-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.plugin-manager-actions .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.plugin-manager-actions .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.plugin-manager-actions .btn-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    font-weight: 600;
}

.plugin-manager-actions .btn-primary:hover {
    background: white;
    color: #667eea;
}

/* User Plugins Section */
.user-plugins-section h4 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1.1rem;
}

.user-plugins-list {
    min-height: 200px;
}

.loading-plugins {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: #6b7280;
}

.loading-plugins i {
    font-size: 1.5rem;
}

.user-plugin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.user-plugin-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.user-plugin-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.user-plugin-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-plugin-details h5 {
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

.user-plugin-details p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.user-plugin-actions {
    display: flex;
    gap: 0.5rem;
}

.user-plugin-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.no-plugins-message {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.no-plugins-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-plugins-message h5 {
    margin: 0 0 0.5rem 0;
    color: #374151;
}

.no-plugins-message p {
    margin: 0;
    font-size: 0.95rem;
}

/* Plugin Sections */
.plugin-section {
    margin-bottom: 2rem;
}

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

.plugin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
}

.plugin-section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.plugin-section-header h5 {
    margin: 0;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.025em;
}

.plugin-section-header h5 i {
    font-size: 1.125rem;
    opacity: 0.8;
}

.plugin-count {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.plugin-section-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Enhanced Plugin Cards */
.user-plugin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.user-plugin-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e5e7eb 0%, #e5e7eb 100%);
    transition: all 0.3s ease;
}

.user-plugin-item:hover {
    background: #fafbfc;
    border-color: #d1d5db;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.user-plugin-item.pro {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.user-plugin-item.pro::before {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.user-plugin-item.free {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.user-plugin-item.free::before {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.user-plugin-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.user-plugin-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.375rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.user-plugin-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 14px;
}

.user-plugin-details {
    flex: 1;
    min-width: 0;
}

.plugin-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.plugin-title-row h5 {
    margin: 0;
    color: #111827;
    font-size: 1.125rem;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.025em;
}

.plugin-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.plugin-tier-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 24px;
}

.plugin-tier-badge.pro {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.plugin-tier-badge.free {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #34d399;
}

.user-plugin-details p {
    margin: 0 0 1rem 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.plugin-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: #9ca3af;
    flex-wrap: wrap;
}

.plugin-version {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #4b5563;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.plugin-updated {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.plugin-updated::before {
    content: '🕒';
    font-size: 0.8125rem;
    opacity: 0.8;
}

.user-plugin-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.user-plugin-actions .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.user-plugin-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.user-plugin-actions .btn:hover::before {
    left: 100%;
}

.user-plugin-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid #667eea;
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.user-plugin-actions .btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    border-color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.user-plugin-actions .btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #6b7280;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.user-plugin-actions .btn-outline:hover {
    background: #f8fafc;
    border-color: #9ca3af;
    color: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for plugin cards */
@media (max-width: 768px) {
    .user-plugin-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .user-plugin-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .plugin-title-row {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .plugin-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .user-plugin-actions {
        justify-content: center;
    }
}

/* Profile Page Styles */
.profile-section {
    padding: 120px 0 80px;
    background: #f8fafc;
    min-height: 100vh;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.profile-header p {
    font-size: 1.125rem;
    color: #64748b;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.profile-card-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-card-header h3 i {
    color: #6366f1;
    font-size: 1.125rem;
}

.profile-card-body {
    padding: 1.5rem;
}

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

.password-form .form-group {
    margin-bottom: 1.5rem;
}

.password-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.password-form .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.password-form .form-group input:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.password-form .form-actions {
    margin-top: 2rem;
    text-align: left;
}

.password-form .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Enhanced User Info Display */
.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

.user-details h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
}

.user-details p {
    margin: 0 0 0.75rem 0;
    color: #64748b;
    font-size: 1rem;
}

.user-plan {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-plan.free {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #34d399;
}

.user-plan.pro {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.user-plan.enterprise {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #3730a3;
    border: 1px solid #818cf8;
}

/* Email Verification Badge */
.email-verification-badge {
    margin-top: 0.5rem;
}

.verification-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.verification-status.unverified {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #fbbf24;
}

.verification-status.unverified:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.verification-status.verified {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #34d399;
    cursor: default;
}

.verification-status.verified:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    transform: none;
    box-shadow: none;
}

.verification-status i {
    font-size: 0.875rem;
}

/* Plugin Requirements Styles */
.plugin-requirements {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.requirements-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.requirements-header i {
    color: #6b7280;
}

.requirements-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #4b5563;
}

.requirement-item i {
    width: 16px;
    text-align: center;
    color: #6b7280;
}

.requirement-item small {
    color: #9ca3af;
    font-style: italic;
}

.plugin-requirements-list {
    margin-top: 0.25rem;
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.plugin-req-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.plugin-req-item.required {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.plugin-req-item.optional {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
}

.req-name {
    font-weight: 500;
    color: #374151;
}

.req-version {
    color: #6b7280;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.req-note {
    color: #9ca3af;
    font-style: italic;
    margin-left: 0.5rem;
}

/* Email Verification Modal */
.verification-modal-content {
    text-align: center;
    padding: 1rem 0;
}

.verification-modal-content .verification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.verification-modal-content h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.verification-modal-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.verification-modal-content strong {
    color: #1e293b;
    font-weight: 600;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.verification-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verification-help {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: left;
    margin-top: 1.5rem;
}

.verification-help p {
    margin: 0 0 0.75rem 0;
    color: #1e293b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verification-help i {
    color: #3b82f6;
}

.verification-help ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #64748b;
}

.verification-help li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Responsive design for email verification modal */
@media (max-width: 768px) {
    .verification-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .verification-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Upgrade Section Styles */
.upgrade-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #92400e;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #fbbf24;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.upgrade-content {
    text-align: center;
}

.upgrade-info {
    margin-bottom: 2rem;
}

.upgrade-info h4 {
    margin: 0 0 0.75rem 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
}

.upgrade-info p {
    margin: 0;
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1.6;
}

.upgrade-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    color: #10b981;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.feature-item span {
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

.upgrade-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upgrade-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.upgrade-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.upgrade-note {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hide upgrade section for Pro users */
.profile-card.hide-upgrade {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .plugin-stats {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
    
    /* Profile page responsive */
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .profile-header p {
        font-size: 1rem;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .user-details h4 {
        font-size: 1.25rem;
    }
    
    .password-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

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

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

    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Payment Modal Styles */
.payment-content {
    max-width: 500px;
    margin: 0 auto;
}

.plan-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.plan-summary-content h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 15px;
}

.plan-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #475569;
}

.plan-features li i {
    color: #10b981;
    margin-right: 10px;
    font-size: 0.9rem;
}

.card-element {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
}

.card-errors {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 5px;
}

.payment-security {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 0.875rem;
}

.payment-security i {
    color: #10b981;
    margin-right: 5px;
}

/* Payment Modal Input Styling */
.payment-content .form-group input,
.payment-method-content .form-group input {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
}

.payment-content .form-group input:focus,
.payment-method-content .form-group input:focus {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border-color: #6366f1 !important;
}

.payment-content .form-group input::placeholder,
.payment-method-content .form-group input::placeholder {
    color: #9ca3af !important;
}

/* Specific input field styling for billing fields */
#billing-name,
#billing-email,
#new-billing-name,
#new-billing-email {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
}

#billing-name:focus,
#billing-email:focus,
#new-billing-name:focus,
#new-billing-email:focus {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border-color: #6366f1 !important;
    outline: none !important;
}

#billing-name::placeholder,
#billing-email::placeholder,
#new-billing-name::placeholder,
#new-billing-email::placeholder {
    color: #9ca3af !important;
}

/* Subscription Modal Styles */
.subscription-content {
    max-width: 600px;
    margin: 0 auto;
}

.current-plan {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.current-plan-content h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.current-plan-content p {
    color: #64748b;
    margin-bottom: 5px;
}

.cancel-warning {
    color: #dc2626 !important;
    font-weight: 500;
}

.subscription-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.billing-history h3 {
    color: #1e293b;
    margin-bottom: 15px;
}

.billing-list {
    max-height: 300px;
    overflow-y: auto;
}

.billing-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 10px;
    align-items: center;
}

.billing-date {
    color: #64748b;
    font-size: 0.875rem;
}

.billing-description {
    color: #1e293b;
    font-weight: 500;
}

.billing-amount {
    color: #1e293b;
    font-weight: 600;
    text-align: right;
}

.billing-status {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.billing-status.paid {
    background: #dcfce7;
    color: #166534;
}

.billing-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.billing-status.failed {
    background: #fee2e2;
    color: #991b1b;
}

/* Spinner for payment button */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* License Key Modal Styles */
.license-key-content {
    max-width: 600px;
    margin: 0 auto;
}

.license-key-info {
    text-align: center;
    margin-bottom: 30px;
}

.license-key-info i {
    font-size: 3rem;
    color: #6366f1;
    margin-bottom: 15px;
}

.license-key-info h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.license-key-info p {
    color: #64748b;
}

.license-key-display {
    margin-bottom: 30px;
}

.license-key-field {
    display: flex;
    gap: 10px;
    align-items: center;
}

.license-key-field input {
    flex: 1;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    background: #f8fafc;
    color: #1e293b;
}

.license-key-instructions {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.license-key-instructions h4 {
    color: #0c4a6e;
    margin-bottom: 15px;
}

.license-key-instructions ol {
    color: #0c4a6e;
    padding-left: 20px;
}

.license-key-instructions li {
    margin-bottom: 8px;
}

/* Subscription Management Styles */
.subscription-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: start;
}

.subscription-details h4 {
    color: #1e293b;
    margin-bottom: 10px;
}

.subscription-details p {
    color: #64748b;
    margin-bottom: 5px;
}

.status-active {
    color: #10b981;
    font-weight: 500;
}

.status-trialing {
    color: #f59e0b;
    font-weight: 500;
}

.status-past_due {
    color: #ef4444;
    font-weight: 500;
}

.status-canceled {
    color: #6b7280;
    font-weight: 500;
}

.subscription-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cancel-warning {
    color: #dc2626 !important;
    font-weight: 500;
    background: #fef2f2;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #dc2626;
}

/* Profile Page Specific Styles */
.profile-section {
    padding: 100px 0 50px;
    min-height: 100vh;
}

.profile-header {
    text-align: center;
    margin-bottom: 50px;
}

.profile-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.profile-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.profile-content {
    display: grid;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-card-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-card-header h3 {
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card-header h3 i {
    color: #6366f1;
}

.profile-card-body {
    padding: 30px;
}

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

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.user-details h4 {
    color: #1e293b;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.user-details p {
    color: #64748b;
    margin-bottom: 10px;
}

.user-plan {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-plan.free {
    background: #f0f9ff;
    color: #0ea5e9;
}

.user-plan.basic {
    background: #f0fdf4;
    color: #10b981;
}

.user-plan.pro {
    background: #fef3c7;
    color: #f59e0b;
}

.user-plan.enterprise {
    background: #f3e8ff;
    color: #8b5cf6;
}

.upgrade-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-badge.free {
    background: #f0f9ff;
    color: #0ea5e9;
}

.upgrade-badge.basic {
    background: #f0fdf4;
    color: #10b981;
}

.upgrade-badge.pro {
    background: #fef3c7;
    color: #f59e0b;
}

.upgrade-badge.enterprise {
    background: #f3e8ff;
    color: #8b5cf6;
}

.upgrade-content {
    text-align: center;
}

.upgrade-info h4 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.upgrade-info p {
    color: #64748b;
    margin-bottom: 30px;
}

.upgrade-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
}

.feature-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.upgrade-actions {
    margin-top: 30px;
}

.upgrade-note {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 10px;
}

/* Responsive Design for Profile Page */
@media (max-width: 768px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .subscription-info {
        grid-template-columns: 1fr;
    }
    
    .subscription-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .upgrade-features {
        grid-template-columns: 1fr;
    }
}


/* Payment Method Update Modal Styles */
.payment-method-content {
    max-width: 600px;
    margin: 0 auto;
}

.current-payment-method-content {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.current-payment-method-content h3 {
    color: #1e293b;
    margin-bottom: 15px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.card-brand {
    font-weight: 600;
    color: #6366f1;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-details {
    flex: 1;
}

.card-number {
    font-family: "Courier New", monospace;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 4px;
}

.card-expiry {
    font-size: 0.875rem;
    color: #64748b;
}

.new-payment-method {
    margin-bottom: 20px;
}

.new-payment-method h3 {
    color: #1e293b;
    margin-bottom: 20px;
}

/* Responsive Design for Payment Method Modal */
@media (max-width: 768px) {
    .payment-method-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .card-details {
        width: 100%;
    }
}

/* Control Tower Section */
.control-tower-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.control-tower-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.control-tower-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.control-tower-section .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.control-tower-section .section-header p {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    opacity: 1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

.control-tower-content {
    position: relative;
    z-index: 2;
}

.control-tower-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.control-tower-intro h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.control-tower-intro p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.9;
}

.control-tower-features {
    margin-bottom: 60px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: white;
}

.control-tower-result {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.control-tower-result h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.control-tower-result p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.9;
    color: white;
}

.control-tower-cta {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.control-tower-cta .btn {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.control-tower-cta .btn-primary {
    background: white;
    color: #6366f1;
    border: 2px solid white;
}

.control-tower-cta .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.control-tower-cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.control-tower-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive Design for Control Tower */
@media (max-width: 768px) {
    .control-tower-section {
        padding: 60px 0;
    }
    
    .control-tower-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .control-tower-section .section-header p {
        font-size: 1.25rem;
    }
    
    .control-tower-intro h3 {
        font-size: 1.75rem;
    }
    
    .control-tower-intro p {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .control-tower-result h3 {
        font-size: 1.75rem;
    }
    
    .control-tower-result p {
        font-size: 1rem;
    }
    
    .control-tower-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .control-tower-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}
