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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: #fff;
    font-size: 1.5rem;
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Landing Page Styles */
.landing-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.content-container h2 {
    color: #2d3436;
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

.feature-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.feature-item h3 {
    color: #2d3436;
    margin-bottom: 1rem;
}

.cta-section {
    margin: 3rem 0;
}

.get-started-btn {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.no-signup-text {
    color: #7f8c8d;
    font-style: italic;
}

/* Form Styles */
.registration-form {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container h2 {
    color: #2d3436;
    margin-bottom: 1rem;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00b894;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: border-color 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #00b894;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #00b894;
    border-radius: 50%;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #00a085 0%, #2d3436 100%);
    transform: translateY(-2px);
}

/* Dashboard Styles */
.welcome-section {
    text-align: center;
    padding: 2rem 0;
}

.welcome-section h1 {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

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

.tool-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

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

.tool-card h3 {
    color: #2d3436;
    margin-bottom: 1rem;
}

.tool-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.tool-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: linear-gradient(135deg, #00a085 0%, #2d3436 100%);
    transform: translateY(-2px);
}

/* Progress Section */
.progress-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.progress-section h3 {
    color: #2d3436;
    margin-bottom: 1rem;
    text-align: center;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 4px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #00b894;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

/* Flashcard Styles */
.flashcard-section {
    max-width: 800px;
    margin: 0 auto;
}

.flashcard-progress {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #7f8c8d;
}

.flashcard-container {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.flashcard {
    width: 100%;
    height: 300px;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flashcard.flipped {
    transform: rotateY(180deg);
}

.flashcard-content {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.flashcard-content.front {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.flashcard-content.back {
    background: linear-gradient(135deg, #00a085, #2d3436);
    color: white;
    transform: rotateY(180deg);
}

.flashcard-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.flashcard-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.control-btn:not(:disabled):hover {
    transform: translateY(-2px);
}

.control-btn:nth-child(1),
.control-btn:nth-child(3) {
    background-color: #95a5a6;
    color: white;
}

.control-btn:nth-child(1):hover,
.control-btn:nth-child(3):hover {
    background-color: #7f8c8d;
}

.flip-btn {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.flip-btn:hover {
    background: linear-gradient(135deg, #00a085, #2d3436);
}

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

.action-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #00b894;
    background: white;
    color: #00b894;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.action-btn.primary {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #00a085, #2d3436);
}

.action-btn.secondary {
    background-color: #95a5a6;
    color: white;
    border-color: #95a5a6;
}

.action-btn.secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
}

/* Quiz Styles */
.quiz-section {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    margin-right: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #00b894, #00a085);
    transition: width 0.3s ease;
}

.question-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.question-container h3 {
    color: #2d3436;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.answer-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-option:hover {
    border-color: #00b894;
}

.answer-option.selected {
    border-color: #00b894;
    background-color: #e6f7ff;
}

.answer-option.correct {
    border-color: #27ae60;
    background-color: #d5f4e6;
}

.answer-option.incorrect {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.answer-option input[type="radio"] {
    display: none;
}

.answer-option .radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: border-color 0.3s ease;
}

.answer-option.selected .radio-custom {
    border-color: #00b894;
}

.answer-option.selected .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #00b894;
    border-radius: 50%;
}

.answer-option label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
}

.quiz-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.control-btn.primary {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.control-btn.primary:hover {
    background: linear-gradient(135deg, #00a085, #2d3436);
}

/* Quiz Results */
.quiz-results {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.quiz-results h2 {
    color: #2d3436;
    margin-bottom: 2rem;
}

.score-display {
    font-size: 3rem;
    font-weight: bold;
    color: #00b894;
    margin-bottom: 0.5rem;
}

.score-percentage {
    font-size: 2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.results-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.results-summary h3 {
    color: #2d3436;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #ecf0f1;
}

.result-item.correct {
    border-left-color: #27ae60;
}

.result-item.incorrect {
    border-left-color: #e74c3c;
}

.result-question {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.result-status {
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: white;
}

.result-status.correct {
    background-color: #27ae60;
}

.result-status.incorrect {
    background-color: #e74c3c;
}

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

/* Practice Test Styles */
.practice-test-section {
    max-width: 1000px;
    margin: 0 auto;
}

.test-intro {
    text-align: center;
    padding: 2rem;
}

.intro-content {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.intro-content h2 {
    color: #2d3436;
    margin-bottom: 1rem;
}

.intro-content ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.intro-content li {
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

.start-test-btn {
    padding: 1rem 2rem;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.start-test-btn:hover {
    background-color: #219a52;
}

.test-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.test-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.test-timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 4px;
    border: 2px solid #e74c3c;
}

.test-question-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.test-question-container h3 {
    color: #2d3436;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.test-answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.test-controls {
    grid-column: 1 / 2;
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.question-navigator {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.question-navigator h4 {
    color: #2d3436;
    margin-bottom: 1rem;
    text-align: center;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.5rem;
}

.nav-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.nav-btn.current {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    border-color: #00b894;
}

.nav-btn.answered {
    background-color: #27ae60;
    color: white;
    border-color: #27ae60;
}

/* Test Results */
.test-results {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.test-results h2 {
    color: #2d3436;
    margin-bottom: 2rem;
}

.test-score-display {
    font-size: 3rem;
    font-weight: bold;
    color: #00b894;
    margin-bottom: 0.5rem;
}

.test-score-percentage {
    font-size: 2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.pass-fail-status {
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.pass-fail-status.pass {
    background-color: #d5f4e6;
    color: #27ae60;
    border: 2px solid #27ae60;
}

.pass-fail-status.fail {
    background-color: #fdf2f2;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.test-results-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

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

/* Thank You Page */
.thank-you-section {
    text-align: center;
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.thank-you-content h1 {
    color: #2d3436;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.instruction-message {
    color: #00b894;
    font-weight: 500;
    margin-bottom: 2rem;
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #00b894;
}

.next-steps h3 {
    color: #2d3436;
    margin-bottom: 1rem;
}

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

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

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Registration Modal Styles */
.registration-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.registration-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.modal-header h3 {
    color: #2d3436;
    margin: 0;
    font-size: 1.4rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #ecf0f1;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-list {
    margin: 1.5rem 0;
    text-align: left;
}

.benefit-item {
    color: #2d3436;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    font-weight: 500;
}

.benefit-item::before {
    content: "";
    margin-right: 0.5rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skip-btn {
    background: #ecf0f1;
    color: #7f8c8d;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    flex: 1;
}

.skip-btn:hover {
    background: #bdc3c7;
}

.modal-buttons .submit-btn {
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
}

.urgency-text {
    color: #2d3436 !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Success Message Styles */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    z-index: 1001;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.success-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.success-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    margin-top: 4rem;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-stats {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .flashcard-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quiz-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .test-container {
        grid-template-columns: 1fr;
    }
    
    .test-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .flashcard {
        height: 250px;
    }
    
    .flashcard-content {
        padding: 1rem;
    }
    
    .flashcard-content h3 {
        font-size: 1.2rem;
    }
    
    .score-display {
        font-size: 2rem;
    }
    
    .test-score-display {
        font-size: 2rem;
    }
    
    .nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .admin-header {
        padding: 1rem 0;
    }
    
    .admin-header h1 {
        font-size: 1.8rem;
    }
    
    .admin-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .admin-nav button,
    .admin-nav a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
    
    .upload-section {
        margin-bottom: 2rem;
    }
    
    .upload-area {
        padding: 1.5rem;
        min-height: 120px;
    }
    
    .content-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .content-actions button {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .preview-table {
        font-size: 0.8rem;
    }
    
    .preview-table th,
    .preview-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 600px;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-section {
        margin-bottom: 1.5rem;
    }
}
