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

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.logo-text {
    color: #2563eb;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: #374151;
    transition: all 0.3s ease;
}

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

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.section-description {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    margin-bottom: 0;
}

/* Featured Courses */
.featured-courses {
    padding: 80px 0;
}

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

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.course-category,
.course-difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-category {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.course-difficulty {
    background-color: #d1fae5;
    color: #065f46;
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.course-title a {
    color: inherit;
    text-decoration: none;
}

.course-title a:hover {
    color: #2563eb;
}

.course-description {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
}

.course-instructor {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.trust-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.trust-item p {
    color: #6b7280;
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background-color: #f9fafb;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* Catalog Filters */
.courses-catalog {
    padding: 60px 0;
}

.catalog-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.search-input,
.filter-select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

/* Course Detail */
.course-detail {
    padding-top: 0;
}

.course-not-found {
    padding: 80px 0;
    text-align: center;
}

.not-found-content h1 {
    margin-bottom: 1rem;
}

.not-found-content p {
    margin-bottom: 2rem;
    color: #6b7280;
}

.breadcrumb {
    padding: 1rem 0;
    color: #6b7280;
}

.breadcrumb a {
    color: #2563eb;
}

.course-hero {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.course-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.course-info {
    padding-right: 2rem;
}

.course-meta {
    margin-bottom: 1rem;
}

.course-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.course-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.course-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.course-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.course-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card .course-image {
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.course-card .course-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
    margin-bottom: 1.5rem;
}

.course-features {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-icon {
    font-size: 1.25rem;
}

.feature span:last-child {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Course Details Tabs */
.course-details {
    padding: 60px 0;
}

.course-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.learning-objectives,
.requirements-list {
    list-style: none;
    padding-left: 0;
}

.learning-objectives li,
.requirements-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 2rem;
}

.learning-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-weight: bold;
}

.curriculum-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.curriculum-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.curriculum-item:last-child {
    border-bottom: none;
}

.curriculum-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.curriculum-item p {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.instructor-info h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.instructor-bio {
    color: #6b7280;
    line-height: 1.7;
}

.faq-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-icon {
    font-size: 1.25rem;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Checkout */
.checkout-section {
    padding: 60px 0;
}

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

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
}

.step.active {
    color: #2563eb;
}

.step.completed {
    color: #10b981;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.step.active .step-number {
    background-color: #2563eb;
    color: white;
}

.step.completed .step-number {
    background-color: #10b981;
    color: white;
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form-section h2 {
    margin-bottom: 2rem;
}

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #dc2626;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox {
    margin-top: 0.25rem;
    width: auto;
}

.checkbox-label {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.checkbox-label a {
    color: #2563eb;
}

.demo-notice {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.demo-notice p {
    margin: 0;
    color: #92400e;
    font-size: 0.875rem;
}

.checkout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-summary,
.customer-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 90px;
}

.order-summary h3,
.customer-info h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.125rem;
}

.summary-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
}

.item-info {
    flex: 1;
}

.item-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.item-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.item-price {
    font-weight: 600;
    color: #2563eb;
}

.total-price {
    font-size: 1.5rem;
    color: #2563eb;
}

.customer-info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.customer-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.info-value {
    color: #6b7280;
}

.edit-link {
    color: #2563eb;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.trust-indicators {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trust-indicators .trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    background: none;
    text-align: left;
}

.trust-indicators .trust-icon {
    font-size: 1.25rem;
}

.payment-security {
    background-color: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.security-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.security-text {
    margin: 0;
    color: #0369a1;
    font-size: 0.875rem;
}

/* Success Page */
.success-section {
    padding: 80px 0;
    text-align: center;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-title {
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.order-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.order-summary-card,
.customer-details-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.next-steps {
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.feature-item p {
    margin: 0;
    color: #6b7280;
}

.values-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.value-item p {
    color: #6b7280;
    margin-bottom: 0;
}

.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 2.5rem;
    text-align: center;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
}

.contact-note {
    font-size: 0.875rem;
    color: #6b7280;
}

.contact-link {
    color: #2563eb;
}

.contact-form-section h2 {
    margin-bottom: 2rem;
}

.form-success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.form-success h3 {
    color: #065f46;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #047857;
    margin: 0;
}

.faq-preview {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.faq-preview .faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-preview .faq-item h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.faq-preview .faq-item p {
    color: #6b7280;
    margin: 0;
}

/* FAQ Page */
.faq-section {
    padding: 60px 0;
}

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    background-color: #f3f4f6;
    border: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-category-btn.active,
.faq-category-btn:hover {
    background-color: #2563eb;
    color: white;
}

.faq-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background-color: #f9fafb;
    border-radius: 12px;
}

.faq-footer h2 {
    margin-bottom: 1rem;
}

.faq-footer p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.legal-content .contact-info {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 0;
}

.footer-title {
    color: white;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.contact-info p {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.contact-link {
    color: #60a5fa;
}

.contact-link:hover {
    color: #93c5fd;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .courses-grid,
    .trust-grid,
    .values-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .course-hero-content,
    .checkout-content,
    .about-grid,
    .contact-grid,
    .order-details {
        grid-template-columns: 1fr;
    }
    
    .course-info {
        padding-right: 0;
    }
    
    .course-sidebar {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .checkout-steps {
        gap: 1rem;
    }
    
    .step-label {
        display: none;
    }
    
    .course-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .faq-categories {
        justify-content: flex-start;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .features,
    .featured-courses,
    .trust-section,
    .values-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .courses-catalog,
    .course-details,
    .checkout-section,
    .success-section,
    .about-content,
    .contact-section,
    .faq-section,
    .legal-page {
        padding: 40px 0;
    }
    
    .catalog-filters {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .course-card,
    .checkout-form,
    .order-summary,
    .customer-info {
        padding: 1.5rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}

/* Focus and Accessibility */
.btn:focus,
.nav-link:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-checkbox:focus,
.tab-btn:focus,
.faq-question:focus,
.faq-category-btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .mobile-menu-btn,
    .checkout-sidebar,
    .course-sidebar {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
    
    .legal-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}