/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .content-main {
    text-align: right;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #1d4ed8;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1f2937;
}

.nav-logo:hover {
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #4b5563;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: #4b5563;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

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

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Features */
.features {
    padding: 4rem 0;
    background: #f9fafb;
}

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

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

.feature-icon {
    color: #2563eb;
    margin-bottom: 1rem;
}

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

/* Featured Courses */
.featured-courses {
    padding: 4rem 0;
}

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

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

.section-header p {
    color: #6b7280;
    font-size: 1.125rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.course-card-content {
    padding: 1.5rem;
}

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

.course-category,
.course-difficulty {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

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

.course-difficulty {
    background: #f3e8ff;
    color: #7c3aed;
}

.course-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

.course-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.section-footer {
    text-align: center;
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: #f9fafb;
}

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

.trust-item {
    text-align: center;
    padding: 2rem;
}

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

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Catalog Filters */
.catalog-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

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

.filter-group label {
    font-weight: 600;
    color: #374151;
}

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

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

.results-header {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

/* Course Detail */
.course-hero {
    padding: 3rem 0;
    background: #f9fafb;
}

.course-hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.course-hero-content {
    max-width: none;
}

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

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

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

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

.course-hero-sidebar .course-card {
    position: sticky;
    top: 2rem;
}

.course-details {
    padding: 3rem 0;
}

.course-details-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.course-section {
    margin-bottom: 3rem;
}

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

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

.learning-objectives li,
.requirements-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

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

.curriculum {
    background: #f9fafb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.curriculum-item {
    padding: 1rem 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 {
    color: #1f2937;
    margin-bottom: 1rem;
}

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

.faq-list .faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
    color: #1f2937;
}

.faq-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    transition: transform 0.2s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1rem;
    background: white;
    border-radius: 0 0 0.5rem 0.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

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

.course-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.info-value {
    font-weight: 600;
    color: #1f2937;
}

.course-not-found {
    padding: 4rem 0;
    text-align: center;
}

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

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

/* Checkout */
.checkout {
    padding: 2rem 0 4rem;
}

.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: #6b7280;
}

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

.step.completed {
    color: #22c55e;
}

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

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

.step.completed .step-number {
    background: #22c55e;
    color: white;
}

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

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

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
}

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

.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;
}

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

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

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

.order-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.order-summary h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

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

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

.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-icon {
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
}

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

.trust-badges h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.trust-icons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.trust-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #22c55e;
    font-size: 0.875rem;
}

.trust-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.billing-info {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.billing-details p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Order Success */
.order-success {
    padding: 4rem 0;
    text-align: center;
}

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

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

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

.order-details {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.customer-details {
    margin-top: 2rem;
}

.customer-info p {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.next-steps {
    margin-top: 2rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.next-steps li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

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

.form-success {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.form-success h3 {
    color: #22c55e;
    margin-bottom: 0.5rem;
}

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

/* Content Pages */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.content-section {
    margin-bottom: 3rem;
}

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

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

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

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

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

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

.value-item {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

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

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

.content-sidebar .sidebar-card {
    position: sticky;
    top: 2rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

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

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon {
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.support-card,
.response-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

/* FAQ */
.faq-content {
    padding: 2rem 0 4rem;
}

.faq-search {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

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

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.faq-category {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

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

.faq-contact {
    margin-top: 3rem;
    text-align: center;
}

.contact-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.contact-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Legal Pages */
.legal-content {
    padding: 2rem 0 4rem;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.legal-text li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #d1d5db;
    transition: color 0.2s;
}

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

.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-hero-grid,
    .course-details-grid,
    .checkout-content,
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .course-hero-sidebar,
    .checkout-sidebar {
        order: -1;
    }

    .catalog-filters {
        grid-template-columns: 1fr;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .checkout-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .faq-categories {
        justify-content: center;
    }

    .features-grid,
    .trust-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .course-card-content {
        padding: 1rem;
    }

    .checkout-section,
    .order-summary,
    .trust-badges {
        padding: 1rem;
    }

    .legal-text {
        padding: 0 0.5rem;
    }
}

/* Focus and accessibility */
.btn:focus,
.nav-link:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}