/* TradeBune Membership Styles */
:root {
    --tbm-primary: #4F46E5;
    --tbm-primary-dark: #4338CA;
    --tbm-secondary: #10B981;
    --tbm-dark: #111827;
    --tbm-gray-600: #4B5563;
    --tbm-gray-400: #9CA3AF;
    --tbm-gray-200: #E5E7EB;
    --tbm-gray-100: #F3F4F6;
    --tbm-white: #FFFFFF;
    --tbm-radius: 12px;
}

* { box-sizing: border-box; }

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--tbm-dark); line-height: 1.6; }

/* Buttons */
.tbm-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.875rem 1.75rem; font-size: 1rem; font-weight: 600; border-radius: var(--tbm-radius); border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.tbm-btn-primary { background: var(--tbm-primary); color: var(--tbm-white); box-shadow: 0 4px 14px rgba(79,70,229,0.35); }
.tbm-btn-primary:hover { background: var(--tbm-primary-dark); transform: translateY(-2px); color: var(--tbm-white); }
.tbm-btn-secondary { background: var(--tbm-gray-100); color: var(--tbm-dark); }
.tbm-btn-secondary:hover { background: var(--tbm-gray-200); }
.tbm-btn-white { background: var(--tbm-white); color: var(--tbm-primary); }
.tbm-btn-white:hover { background: var(--tbm-gray-100); }
.tbm-btn-outline { background: transparent; border: 2px solid var(--tbm-primary); color: var(--tbm-primary); }
.tbm-btn-outline:hover { background: var(--tbm-primary); color: var(--tbm-white); }
.tbm-btn-lg { padding: 1.125rem 2.25rem; font-size: 1.125rem; }
.tbm-btn-full { width: 100%; }

/* Hero */
.tbm-hero { background: linear-gradient(135deg, var(--tbm-gray-100) 0%, var(--tbm-white) 100%); padding: 5rem 2rem; text-align: center; }
.tbm-hero-content { max-width: 800px; margin: 0 auto; }
.tbm-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1.5rem; line-height: 1.1; }
.tbm-gradient-text { background: linear-gradient(135deg, var(--tbm-primary) 0%, #818CF8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tbm-hero-subtitle { font-size: 1.25rem; color: var(--tbm-gray-600); margin-bottom: 2rem; }
.tbm-hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tbm-hero-note { font-size: 0.9rem; color: var(--tbm-gray-400); }

/* Sections */
.tbm-section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.tbm-section-alt { background: var(--tbm-gray-100); max-width: 100%; }
.tbm-section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.tbm-section-title { font-size: 2rem; text-align: center; margin-bottom: 0.5rem; }
.tbm-section-subtitle { text-align: center; color: var(--tbm-gray-600); margin-bottom: 2.5rem; font-size: 1.1rem; }

/* Features */
.tbm-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.tbm-feature { background: var(--tbm-white); padding: 2rem; border-radius: var(--tbm-radius); text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.tbm-feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tbm-feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.tbm-feature p { color: var(--tbm-gray-600); font-size: 0.95rem; margin: 0; }

/* Steps */
.tbm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.tbm-step { text-align: center; }
.tbm-step-num { width: 50px; height: 50px; background: var(--tbm-primary); color: var(--tbm-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; margin: 0 auto 1rem; }
.tbm-step h3 { margin-bottom: 0.5rem; }
.tbm-step p { color: var(--tbm-gray-600); margin: 0; }

/* CTA Box */
.tbm-cta-box { background: linear-gradient(135deg, var(--tbm-primary) 0%, var(--tbm-primary-dark) 100%); color: var(--tbm-white); padding: 3rem; border-radius: var(--tbm-radius); text-align: center; }
.tbm-cta-box h2 { color: var(--tbm-white); margin-bottom: 0.5rem; }
.tbm-cta-box p { opacity: 0.9; margin-bottom: 1.5rem; }

/* Pricing */
.tbm-pricing-section { max-width: 420px; margin: 2rem auto; }
.tbm-pricing-card { background: var(--tbm-white); border-radius: var(--tbm-radius); padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); position: relative; text-align: center; }
.tbm-pricing-featured { border: 3px solid var(--tbm-primary); }
.tbm-pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--tbm-primary); color: var(--tbm-white); padding: 0.25rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.tbm-pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.tbm-pricing-price { margin-bottom: 1.5rem; }
.tbm-price-amount { font-size: 3.5rem; font-weight: 800; color: var(--tbm-dark); }
.tbm-price-period { font-size: 1.25rem; color: var(--tbm-gray-600); }
.tbm-pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; }
.tbm-pricing-features li { padding: 0.5rem 0; color: var(--tbm-gray-600); }
.tbm-pricing-note { font-size: 0.85rem; color: var(--tbm-gray-400); margin-top: 1rem; }
.tbm-pricing-extra { text-align: center; margin-top: 2rem; padding: 1.5rem; background: var(--tbm-gray-100); border-radius: var(--tbm-radius); }

.tbm-member-badge { background: #D1FAE5; color: #065F46; padding: 0.5rem 1rem; border-radius: var(--tbm-radius); display: inline-block; font-weight: 600; }

/* Courses */
.tbm-courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.tbm-course-card { background: var(--tbm-white); border-radius: var(--tbm-radius); padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.tbm-course-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.tbm-course-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.tbm-course-card p { color: var(--tbm-gray-600); font-size: 0.9rem; margin-bottom: 0.75rem; }
.tbm-course-meta { font-size: 0.8rem; color: var(--tbm-gray-400); display: block; margin-bottom: 1rem; }
.tbm-courses-cta { text-align: center; margin-top: 2rem; padding: 2rem; background: var(--tbm-gray-100); border-radius: var(--tbm-radius); }

/* Locked Content */
.tbm-locked-content { background: var(--tbm-gray-100); border-radius: var(--tbm-radius); padding: 3rem; text-align: center; }
.tbm-locked-icon { font-size: 3rem; margin-bottom: 1rem; }
.tbm-locked-content h3 { margin-bottom: 0.5rem; }
.tbm-locked-content p { color: var(--tbm-gray-600); margin-bottom: 1.5rem; }

/* Wix Order Form */
.tbm-wix-order { max-width: 600px; margin: 0 auto; padding: 2rem; }
.tbm-wix-header { text-align: center; margin-bottom: 2rem; }
.tbm-wix-header h2 { margin-bottom: 0.5rem; }
.tbm-wix-header p { color: var(--tbm-gray-600); }

.tbm-form-group { margin-bottom: 1.25rem; }
.tbm-form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.95rem; }
.tbm-form-group input, .tbm-form-group select, .tbm-form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--tbm-gray-200); border-radius: var(--tbm-radius); font-size: 1rem; transition: border-color 0.2s; }
.tbm-form-group input:focus, .tbm-form-group select:focus, .tbm-form-group textarea:focus { outline: none; border-color: var(--tbm-primary); }
.tbm-form-note { text-align: center; font-size: 0.85rem; color: var(--tbm-gray-400); margin-top: 1rem; }

.tbm-wix-success { text-align: center; padding: 3rem; }
.tbm-success-icon { font-size: 4rem; margin-bottom: 1rem; }
.tbm-wix-success h3 { margin-bottom: 0.5rem; }
.tbm-wix-success p { color: var(--tbm-gray-600); margin-bottom: 1.5rem; }

/* Wix Preview */
.tbm-wix-preview { background: var(--tbm-gray-100); border-radius: var(--tbm-radius); padding: 2rem; }
.tbm-wix-info h3 { margin-bottom: 1rem; }
.tbm-wix-info ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tbm-wix-info li { padding: 0.4rem 0; color: var(--tbm-gray-600); }

/* Success/Cancel Pages */
.tbm-success-page, .tbm-cancel-page { max-width: 500px; margin: 3rem auto; text-align: center; padding: 2rem; }
.tbm-success-page h2, .tbm-cancel-page h2 { margin-bottom: 1rem; }
.tbm-success-page p, .tbm-cancel-page p { color: var(--tbm-gray-600); margin-bottom: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
    .tbm-hero { padding: 3rem 1.5rem; }
    .tbm-hero-buttons { flex-direction: column; align-items: center; }
    .tbm-hero-buttons .tbm-btn { width: 100%; max-width: 300px; }
    .tbm-section { padding: 3rem 1.5rem; }
}
