:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --bg: #f5f6fa;
    --card-bg: #ffffff;
    --text: #1a1a2e;
    --text-muted: #6b7280;
}

body {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Cards */
.card {
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

/* Tier Cards */
.tier-card {
    border-radius: 16px;
    transition: all 0.3s;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

/* Course Cards */
.course-card {
    border-radius: 12px;
    overflow: hidden;
}

.course-card .card-img-top {
    background: linear-gradient(135deg, #6c5ce7, #0984e3);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6c5ce7, #0984e3);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a4bd1, #0773c7);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-outline-primary {
    border-color: #6c5ce7;
    color: #6c5ce7;
}

.btn-outline-primary:hover {
    background: #6c5ce7;
    color: white;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(90deg, #6c5ce7, #0984e3);
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
}

input[type="password"] {
    padding-right: 44px !important;
}

.form-control:focus, .form-select:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Badges */
.badge {
    border-radius: 6px;
    font-weight: 500;
}

/* Accordion */
.accordion-item {
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--text);
    box-shadow: none;
}

/* Table */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* List Groups */
.list-group-item {
    border-radius: 0 !important;
}

.list-group-item.active {
    background-color: #f0edff;
    border-color: transparent;
    color: var(--text);
}

/* Nav Pills */
.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #6c5ce7, #0984e3);
}

.nav-pills .nav-link {
    border-radius: 8px;
    margin-right: 4px;
}

/* Video Player */
video {
    width: 100%;
    background: #000;
}

/* Footer */
.footer {
    background: white !important;
}

/* Opacity for locked tiers */
.opacity-50 {
    opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

/* Gradient backgrounds */
.bg-gradient {
    background: linear-gradient(135deg, #6c5ce7, #0984e3);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
}
