/* CLEAN MEMBERSHIP PAGE - MATCHING IMAGE DESIGN */

/* Navigation Bar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 20px;
}

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

.nav-left {
    display: flex;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    color: #4A5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2D3748;
}

.back-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3748;
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #10b981;
    color: #065f46;
}

.toast.error {
    border-left-color: #ef4444;
    color: #991b1b;
}

.toast.info {
    border-left-color: #3b82f6;
    color: #1e40af;
}

.toast.warning {
    border-left-color: #f59e0b;
    color: #92400e;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 14px;
    opacity: 0.9;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
    padding: 4px;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* CURRENT PLAN SECTION - RESPONSIVE FIXES */
.current-plan-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.current-plan-section::before,
.current-plan-section::after {
    display: none;
}

.current-plan-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    border: none;
    box-shadow: none;
}

.current-plan-card::after {
    display: none;
}

.current-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    pointer-events: none;
    border-radius: 10px;
}

.current-plan-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    min-width: 200px;
}

.current-plan-header i {
    font-size: 2rem;
    color: #fbbf24;
}

.current-plan-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.current-plan-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
    position: relative;
    background: none;
    border: none;
}

.current-plan-details::before,
.current-plan-details::after {
    display: none;
}

.plan-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.plan-name i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.plan-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.plan-features {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

.current-plan-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.plan-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.upgrade-action {
    background: #fbbf24;
    color: #1f2937;
}

.upgrade-action:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.manage-action {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.manage-action:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.hero-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 1;
}

.hero-section h1 i {
    color: #fbbf24;
    margin-right: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.trust-indicators i {
    color: #fbbf24;
}

/* USAGE DASHBOARD */
.usage-dashboard {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.usage-dashboard h2 {
    text-align: center;
    margin: 0 0 30px 0;
    font-size: 1.8rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.usage-dashboard h2 i {
    color: #667eea;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.usage-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.usage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.usage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.usage-info h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #475569;
    font-weight: 600;
}

.usage-stats {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.used {
    color: #667eea;
    font-weight: 600;
}

.separator {
    color: #94a3b8;
}

.limit {
    color: #64748b;
}

.usage-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* PRICING GRID */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #fbbf24;
    color: #1f2937;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #ef4444;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    color: #1e293b;
    font-weight: 700;
}

.price-section {
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

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

.monthly-equivalent {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 5px;
}

.target-desc {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.features-list {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #475569;
}

.feature-item i {
    color: #10b981;
    width: 16px;
    text-align: center;
}

.cta-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.current-plan-btn {
    background: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
}

.current-plan-btn:hover {
    transform: none;
}

.upgrade-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.upgrade-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.pro-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
}

.pro-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.enterprise-btn {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.enterprise-btn:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

/* TRUST BADGES */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #475569;
}

.badge i {
    color: #667eea;
    font-size: 1.1rem;
}

/* COMPARISON SECTION */
.comparison-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.comparison-section h2 {
    text-align: center;
    margin: 0 0 30px 0;
    font-size: 1.8rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.comparison-section h2 i {
    color: #667eea;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    position: sticky;
    top: 0;
}

.comparison-table .feature-column {
    text-align: left;
    font-weight: 600;
    color: #1e293b;
}

.comparison-table .pro-column {
    background: #fef3c7;
    color: #92400e;
}

.comparison-table .pro-feature {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

.comparison-table .alt-row {
    background: #f8fafc;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: #1e293b;
    text-align: left;
}

/* ADDONS SECTION */
.addons-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.addons-section h2 {
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.addons-section h2 i {
    color: #667eea;
}

.addons-subtitle {
    text-align: center;
    margin: 0 0 30px 0;
    color: #64748b;
    font-size: 1rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.addon-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.addon-header {
    text-align: center;
    margin-bottom: 20px;
}

.addon-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.addon-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #1e293b;
}

.addon-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

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

.addon-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.addon-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #475569;
}

.addon-feature i {
    color: #10b981;
    width: 16px;
    text-align: center;
}

.addon-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.addon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* FREE USER NOTICE */
.free-user-notice {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notice-content i {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-top: 2px;
}

.notice-text {
    color: #92400e;
    line-height: 1.5;
}

.upgrade-link {
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
}

.upgrade-link:hover {
    text-decoration: underline;
}

/* CTA FOOTER */
.cta-footer {
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 60px 30px;
    border-radius: 16px;
    margin: 40px 0;
}

.cta-footer h3 {
    font-size: 2rem;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.cta-footer p {
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.final-cta-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border: none;
    border-radius: 12px;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.final-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }

    .nav-title {
        font-size: 1.1rem;
    }

    .back-link span {
        display: none;
    }

    .back-link i {
        margin-right: 0;
        font-size: 1.2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }
    
    .usage-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .addons-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table-wrapper {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
    
    .cta-footer {
        padding: 40px 20px;
    }
    
    .cta-footer h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .current-plan-card {
        flex-direction: column;
        text-align: center;
    }
    
    .current-plan-actions {
        justify-content: center;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .usage-dashboard,
    .comparison-section,
    .addons-section {
        padding: 20px;
    }
}
