:root {
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #6366F1;
    --secondary: #7C3AED;
    --secondary-dark: #5B21B6;
    --accent: #A855F7;
    --accent-red: #EF4444;
    --dark: #0F0F1A;
    --dark-secondary: #1A1A2E;
    --light: #F5F3FF;
    --white: #FFFFFF;
    --gray: #6B7280;
    --gray-light: #D1D5DB;
    --shadow: 0 10px 40px rgba(79, 70, 229, 0.15);
    --shadow-hover: 0 20px 60px rgba(79, 70, 229, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-dark: linear-gradient(135deg, #0F0F1A 0%, #1A1A2E 50%, #4F46E5 150%);
    --gradient-hero: linear-gradient(135deg, #08080F 0%, #1A1A2E 40%, #3730A3 100%);
    --gradient-card: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.1) 100%);
    --gradient-button: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #A855F7 100%);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary); text-decoration: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 0.8; } }
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes floatUp { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-10vh) scale(1.5); opacity: 0; } }
@keyframes shimmer { 0%, 100% { transform: translate(-50%, -50%) rotate(0deg); } 50% { transform: translate(50%, 50%) rotate(180deg); } }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.fade-in { animation: fadeIn 0.6s ease-out; }
.slide-up { opacity: 0; animation: slideUp 0.6s ease-out forwards; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; font-weight: 500; animation: fadeIn 0.3s ease-out; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

.hero {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientMove 8s ease-in-out infinite;
    color: var(--white);
    padding: 60px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.3) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
    z-index: 1;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--light) 0%, transparent 100%);
    z-index: 2;
}
.hero .container { position: relative; z-index: 3; }

.hero-particles { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.particle { position: absolute; width: 4px; height: 4px; background: rgba(168, 85, 247, 0.4); border-radius: 50%; animation: floatUp 6s ease-in-out infinite; }
.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-delay: 1s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 40%; animation-delay: 2s; width: 5px; height: 5px; }
.particle:nth-child(4) { left: 55%; animation-delay: 0.5s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 70%; animation-delay: 1.5s; }
.particle:nth-child(6) { left: 85%; animation-delay: 3s; width: 2px; height: 2px; }
.particle:nth-child(7) { left: 15%; animation-delay: 2.5s; width: 3px; height: 3px; }
.particle:nth-child(8) { left: 60%; animation-delay: 0.8s; width: 4px; height: 4px; }

.navbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; border-bottom: 1px solid rgba(124, 58, 237, 0.1); padding-bottom: 15px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 700; color: var(--white); text-decoration: none; }
.logo-icon { width: 40px; height: 40px; position: relative; display: flex; align-items: center; justify-content: center; }
.logo-icon::before { content: ''; width: 36px; height: 8px; background: var(--white); border-radius: 4px; position: absolute; }
.logo-icon::after { content: ''; width: 14px; height: 14px; background: var(--accent); border-radius: 50%; position: absolute; box-shadow: 22px 0 0 var(--secondary); }
.logo-text { background: linear-gradient(135deg, var(--white), #E0E0E0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-content h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.gradient-text { background: linear-gradient(135deg, #6366F1, #A855F7, #7C3AED); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientShift 4s ease-in-out infinite; background-size: 200% 200%; }
.hero-subtitle { font-size: 18px; opacity: 0.9; max-width: 500px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 36px; font-weight: 800; color: var(--secondary); }
.stat-label { font-size: 14px; opacity: 0.7; }

.benefits-section, .how-it-works, .pricing-highlight { padding: 60px 0; }
.section-title { text-align: center; font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto 40px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.benefit-card { background: var(--white); border-radius: var(--radius); padding: 30px 25px; box-shadow: var(--shadow); transition: var(--transition); text-align: center; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.2); }
.benefit-icon { font-size: 48px; margin-bottom: 15px; }
.benefit-card h3 { font-size: 18px; margin-bottom: 10px; }
.benefit-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }

.how-it-works { background: var(--gradient-dark); color: var(--white); }
.how-it-works .section-title { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 40px; }
.step { text-align: center; position: relative; }
.step::after { content: '→'; position: absolute; right: -20px; top: 30px; font-size: 24px; color: var(--accent); }
.step:last-child::after { display: none; }
.step-number { width: 50px; height: 50px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin: 0 auto 15px; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; opacity: 0.8; }

.pricing-highlight { background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(124, 58, 237, 0.05) 100%); }
.pricing-card { text-align: center; }
.pricing-card h2 { font-size: 28px; margin-bottom: 30px; }
.pricing-comparison { display: flex; align-items: center; justify-content: center; gap: 30px; margin-bottom: 20px; }
.pricing-item { text-align: center; }
.pricing-label { display: block; font-size: 14px; color: var(--gray); margin-bottom: 5px; }
.pricing-value { font-size: 28px; font-weight: 800; }
.pricing-best .pricing-value { color: var(--secondary); font-size: 36px; }
.pricing-note { display: block; font-size: 13px; color: var(--gray); margin-top: 5px; }
.pricing-divider { font-size: 20px; font-weight: 800; color: var(--accent); }

.form-section { margin-top: -50px; position: relative; z-index: 10; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.form-card h2 { font-size: 28px; margin-bottom: 5px; }
.form-subtitle { color: var(--gray); margin-bottom: 30px; }
.form-group { margin-bottom: 25px; }
.form-group > label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 16px; }

.radio-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card { display: flex; flex-direction: column; align-items: center; padding: 15px 10px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); text-align: center; min-height: 130px; background: var(--white); position: relative; overflow: hidden; }
.radio-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.radio-card input { display: none; }
.radio-card:has(input:checked) { border-color: var(--secondary); background: var(--gradient-card); box-shadow: 0 0 20px rgba(124, 58, 237, 0.15); }
.radio-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--gradient-card); opacity: 0; transition: var(--transition); z-index: 0; }
.radio-card:hover::before { opacity: 1; }
.radio-card:has(input:checked)::before { opacity: 1; }
.radio-card .radio-emoji, .radio-card .radio-title, .radio-card .radio-desc { position: relative; z-index: 1; }
.goal-icon { width: 64px; height: 64px; margin: 0 auto 10px; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.icon-mass::before { content: ''; width: 48px; height: 10px; background: var(--gradient-primary); border-radius: 5px; }
.icon-mass::after { content: ''; position: absolute; width: 18px; height: 18px; background: var(--secondary); border-radius: 50%; box-shadow: 28px 0 0 var(--primary); }
.icon-strength::before { content: ''; width: 56px; height: 8px; background: linear-gradient(90deg, var(--primary-dark), var(--secondary), var(--primary-dark)); border-radius: 4px; z-index: 1; }
.icon-strength::after { content: ''; position: absolute; width: 16px; height: 24px; background: var(--primary); border-radius: 4px; box-shadow: 30px 0 0 var(--secondary), -30px 0 0 var(--primary-dark); }
.radio-title { font-weight: 700; font-size: 14px; }
.radio-desc { font-size: 12px; color: var(--gray); }

.select-custom { width: 100%; padding: 12px 15px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 16px; background: var(--white); cursor: pointer; transition: var(--transition); }
.select-custom:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }

.days-selector { display: flex; gap: 10px; }
.day-option { width: 50px; height: 50px; border: 2px solid var(--gray-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-weight: 700; font-size: 18px; }
.day-option:hover { border-color: var(--primary); }
.day-option input { display: none; }
.day-option:has(input:checked) { background: var(--gradient-primary); color: var(--white); border-color: var(--primary); transform: scale(1.1); box-shadow: 0 0 15px rgba(124, 58, 237, 0.3); }

.checkbox-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-pill { padding: 8px 16px; border: 2px solid var(--gray-light); border-radius: 50px; cursor: pointer; transition: var(--transition); font-size: 14px; }
.checkbox-pill:hover { border-color: var(--primary); }
.checkbox-pill input { display: none; }
.checkbox-pill:has(input:checked) { background: var(--gradient-primary); color: var(--white); border-color: var(--primary); box-shadow: 0 0 10px rgba(124, 58, 237, 0.2); }
.checkbox-warning:has(input:checked) { background: var(--accent-red); border-color: var(--accent-red); }

.btn-submit { width: 100%; padding: 18px; background: var(--gradient-button); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 18px; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; justify-content: center; align-items: center; gap: 10px; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5); }
.btn-submit::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%); animation: shimmer 3s ease-in-out infinite; }
.btn-price { background: rgba(255, 255, 255, 0.2); padding: 4px 12px; border-radius: 50px; font-size: 14px; }

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gradient-hero); }
.auth-card { background: var(--white); border-radius: var(--radius); padding: 40px; max-width: 420px; width: 100%; box-shadow: var(--shadow-hover); }
.auth-card .logo-small { font-size: 20px; font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.auth-card .logo-small .logo-icon { width: 28px; height: 28px; }
.auth-card .logo-small .logo-icon::before { width: 26px; height: 5px; }
.auth-card .logo-small .logo-icon::after { width: 10px; height: 10px; box-shadow: 16px 0 0 var(--secondary); }
.auth-card h1 { font-size: 28px; margin: 20px 0 5px; }
.auth-subtitle { color: var(--gray); margin-bottom: 25px; }
.auth-card .form-group { margin-bottom: 20px; }
.auth-card label { display: block; font-weight: 600; margin-bottom: 8px; }
.auth-card input[type="email"], .auth-card input[type="text"], .auth-card input[type="password"] { width: 100%; padding: 12px 15px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 16px; transition: var(--transition); }
.auth-card input:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }
.checkbox-row { display: flex; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: normal; font-size: 14px; }
.auth-footer { text-align: center; margin-top: 20px; }
.auth-footer a { color: var(--primary); font-weight: 600; }
.back-link { display: inline-block; margin-top: 10px; color: var(--gray); font-size: 14px; }

.payment-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gradient-hero); }
.payment-card { background: var(--white); border-radius: var(--radius); padding: 40px; max-width: 450px; width: 100%; box-shadow: var(--shadow-hover); }
.payment-header { text-align: center; margin-bottom: 25px; }
.payment-header .logo-small { font-size: 20px; font-weight: 700; color: var(--dark); }
.payment-header h1 { margin: 15px 0 5px; font-size: 24px; }
.payment-email { color: var(--gray); font-size: 14px; }
.payment-benefits { background: #F0FDF4; padding: 20px; border-radius: var(--radius-sm); margin-bottom: 25px; }
.payment-benefits ul { list-style: none; margin-top: 10px; }
.payment-benefits li { padding: 5px 0; }
.payment-amount { text-align: center; margin-bottom: 25px; padding: 20px; background: var(--light); border-radius: var(--radius-sm); }
.discount-badge { background: var(--gradient-primary); color: white; padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: 16px; display: inline-block; margin-bottom: 15px; animation: pulse 2s ease-in-out infinite; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.price-comparison { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 10px; }
.old-price { font-size: 28px; color: var(--gray); text-decoration: line-through; }
.new-price { font-size: 48px; font-weight: 800; color: var(--secondary); }
.amount-note { display: block; font-size: 13px; color: var(--gray); }
.btn-pay { display: block; text-align: center; padding: 16px; background: var(--gradient-button); color: var(--white); text-decoration: none; border-radius: var(--radius-sm); font-weight: 700; font-size: 18px; transition: var(--transition); box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.btn-pay:hover { box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5); transform: translateY(-2px); }
.payment-info { margin-top: 20px; text-align: center; font-size: 13px; color: var(--gray); }

.plan-page { background: var(--light); padding: 40px 0; }
.plan-header { text-align: center; margin-bottom: 30px; }
.plan-header h1 { font-size: 32px; margin: 15px 0; }
.profile-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tag { padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.tag-goal { background: rgba(79, 70, 229, 0.1); color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.2); }
.tag-level { background: rgba(124, 58, 237, 0.1); color: var(--secondary); border: 1px solid rgba(124, 58, 237, 0.2); }
.tag-days { background: rgba(99, 102, 241, 0.1); color: var(--primary-light); border: 1px solid rgba(99, 102, 241, 0.2); }

.day-card { background: var(--white); border-radius: var(--radius); margin-bottom: 20px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(124, 58, 237, 0.1); }
.day-card-header { background: var(--gradient-primary); color: var(--white); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.exercise-count { background: rgba(255, 255, 255, 0.2); padding: 4px 12px; border-radius: 50px; font-size: 13px; }
.exercise-list { padding: 10px 0; }

.exercise-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 15px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--gray-light); transition: var(--transition); }
.exercise-item:last-child { border-bottom: none; }
.exercise-item:hover { background: var(--light); }

.exercise-thumb { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.exercise-thumb.push { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.exercise-thumb.pull { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.exercise-thumb.legs { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }
.exercise-thumb.shoulders { background: linear-gradient(135deg, #F3E8FF, #E9D5FF); }
.exercise-thumb.arms { background: linear-gradient(135deg, #DBEAFE, #EDE9FE); }
.exercise-thumb.core { background: linear-gradient(135deg, #E8F0FE, #D0E0FF); }
.exercise-thumb.default { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); }

.exercise-name { font-weight: 600; }
.exercise-reason { display: block; font-size: 12px; color: #E67E22; margin-top: 2px; }
.exercise-params { display: flex; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.param-sets { background: rgba(79, 70, 229, 0.1); color: var(--primary); padding: 3px 8px; border-radius: 50px; font-weight: 600; }
.param-reps { background: rgba(124, 58, 237, 0.1); color: var(--secondary); padding: 3px 8px; border-radius: 50px; font-weight: 600; }
.param-rpe { background: rgba(168, 85, 247, 0.1); color: var(--accent); padding: 3px 8px; border-radius: 50px; font-weight: 600; }

.rpe-info { background: var(--white); border-radius: var(--radius); padding: 25px; margin: 30px 0; box-shadow: var(--shadow); }
.rpe-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 15px; }
.rpe-item { text-align: center; padding: 12px 8px; background: var(--light); border-radius: var(--radius-sm); font-size: 12px; }
.rpe-item span { display: block; font-size: 24px; font-weight: 800; color: var(--secondary); margin-bottom: 5px; }
.rpe-item.active { background: var(--gradient-card); border: 2px solid var(--secondary); box-shadow: 0 0 15px rgba(124, 58, 237, 0.15); }

.plan-actions { text-align: center; margin: 30px 0; }
.btn-regenerate { display: inline-block; padding: 14px 30px; background: var(--gradient-primary); color: var(--white); text-decoration: none; border-radius: 50px; font-weight: 600; transition: var(--transition); box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.btn-regenerate:hover { box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5); transform: translateY(-2px); }

.set-row { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--gray-light); flex-wrap: wrap; }
.set-number { font-weight: 600; min-width: 80px; }
.btn-log-set { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); color: white; border: none; cursor: pointer; font-size: 18px; transition: var(--transition); }
.btn-log-set:hover { box-shadow: 0 0 15px rgba(124, 58, 237, 0.3); }

.profile-page { background: var(--light); padding: 40px 0; }
.profile-header { text-align: center; margin-bottom: 30px; }
.profile-avatar { width: 80px; height: 80px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; margin: 0 auto 15px; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.profile-email { color: var(--gray); font-size: 14px; }
.profile-status { margin-top: 15px; }
.status-badge { padding: 6px 16px; border-radius: 50px; font-weight: 600; font-size: 14px; }
.status-active { background: rgba(79, 70, 229, 0.1); color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.2); }
.status-free { background: rgba(124, 58, 237, 0.05); color: var(--secondary); border: 1px solid rgba(124, 58, 237, 0.1); }
.btn-upgrade { display: inline-block; margin-left: 10px; padding: 6px 16px; background: var(--gradient-primary); color: var(--white); text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 14px; transition: var(--transition); }
.btn-upgrade:hover { box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.btn-cancel-sub { display: inline-block; padding: 10px 20px; background: var(--gray-light); color: var(--gray); text-decoration: none; border-radius: 50px; font-size: 14px; transition: var(--transition); }
.btn-cancel-sub:hover { background: #FECACA; color: #991B1B; }

.profile-grid { display: grid; gap: 20px; max-width: 700px; margin: 0 auto; }
.profile-card { background: var(--white); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); }
.profile-card h3 { margin-bottom: 15px; }
.history-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
.history-item:last-child { border-bottom: none; }
.btn-view { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px; }
.empty-state { color: var(--gray); text-align: center; padding: 20px; }
.btn-submit-small { display: block; text-align: center; padding: 12px; background: var(--gradient-primary); color: var(--white); text-decoration: none; border-radius: var(--radius-sm); font-weight: 600; border: none; cursor: pointer; width: 100%; transition: var(--transition); }
.btn-submit-small:hover { box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.input-custom { width: 100%; padding: 10px 14px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 14px; transition: var(--transition); }
.input-custom:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }
.danger-zone { border: 1px solid #FECACA; }
.btn-danger { width: 100%; padding: 12px; background: #DC2626; color: var(--white); border: none; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; margin-top: 10px; transition: var(--transition); }
.btn-danger:hover { background: #B91C1C; }
.profile-actions { display: flex; gap: 15px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.btn-logout { padding: 12px 24px; background: var(--gray-light); color: var(--dark); text-decoration: none; border-radius: 50px; font-weight: 600; transition: var(--transition); }
.btn-logout:hover { background: #D1D5DB; }

footer { text-align: center; padding: 30px; color: rgba(255, 255, 255, 0.6); font-size: 14px; background: var(--dark); border-top: 1px solid rgba(124, 58, 237, 0.1); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 4px; }

@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .pricing-comparison { flex-direction: column; gap: 15px; }
}
@media (max-width: 600px) {
    .hero-content h1 { font-size: 32px; }
    .radio-group { grid-template-columns: 1fr; }
    .rpe-scale { grid-template-columns: repeat(2, 1fr); }
    .exercise-item { grid-template-columns: 50px 1fr; }
    .exercise-params { grid-column: 1 / -1; margin-top: 5px; }
    .form-card { padding: 25px; }
    .auth-card { padding: 25px; margin: 20px; }
    .profile-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 28px; }
    .steps { grid-template-columns: 1fr; }
}