/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4361ee;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    color: #3a56d4;
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.premium-badge i {
    font-size: 0.7rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #4361ee;
    background-color: rgba(67, 97, 238, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 70px);
    padding: 20px 0;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Test Page */
.test-header {
    text-align: center;
    margin-bottom: 30px;
}

.test-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2b2d42;
}

.test-header p {
    font-size: 1.1rem;
    color: #666;
}

.customization-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.option-group {
    display: flex;
    flex-direction: column;
}

.option-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.option-group select, 
.custom-text-input textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
    transition: border-color 0.3s ease;
}

.option-group select:focus, 
.custom-text-input textarea:focus {
    outline: none;
    border-color: #4361ee;
}

.custom-text-input {
    margin-bottom: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.custom-text-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.custom-text-input textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.timer-btn {
    padding: 12px 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timer-btn:hover {
    border-color: #4361ee;
    color: #4361ee;
}

.timer-btn.active {
    background-color: #4361ee;
    color: white;
    border-color: #4361ee;
}

.stats-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

.text-display {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    min-height: 150px;
    font-size: 1.2rem;
    line-height: 1.8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    white-space: pre-wrap;
    word-break: break-word;
}

.correct {
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
}

.incorrect {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    text-decoration: underline;
}

.current {
    border-left: 2px solid #4361ee;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { border-left-color: #4361ee; }
    50% { border-left-color: transparent; }
}

.typing-area {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    resize: vertical;
    margin-bottom: 20px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.typing-area:focus {
    outline: none;
    border-color: #4361ee;
}

.test-controls {
    display: flex;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #4361ee;
    color: white;
}

.btn-primary:hover {
    background-color: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: #4361ee;
    border: 2px solid #4361ee;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #f0f4ff;
}

.test-mode {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.test-mode .btn-secondary {
    width: 100%;
    background-color: #6c757d;
    color: white;
    border: none;
}

.test-mode .btn-secondary:hover {
    background-color: #5a6268;
}

.test-mode .btn-secondary i {
    margin-right: 8px;
}

.test-note {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

/* Results Page */
.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.result-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 10px;
}

.result-label {
    font-size: 1.1rem;
    color: #666;
}

.result-details h2 {
    margin: 30px 0 20px;
    color: #2b2d42;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analysis-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.analysis-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.analysis-value {
    font-size: 1.2rem;
    color: #2b2d42;
    font-weight: 600;
}

.comparison-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-section h2 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.comparison-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.comparison-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.comparison-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.comparison-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4361ee;
}

.performance-chart {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.performance-chart h3 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.result-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.share-section h3, .certificate-section h3 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.twitter {
    background-color: #1DA1F2;
    color: white;
}

.facebook {
    background-color: #4267B2;
    color: white;
}

.linkedin {
    background-color: #0077B5;
    color: white;
}

.copy {
    background-color: #6c757d;
    color: white;
}

.certificate-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.certificate-preview {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.certificate-badge {
    font-size: 3rem;
    margin-bottom: 15px;
}

.certificate-content h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.certificate-content p {
    margin: 10px 0;
}

.certificate-content h5 {
    font-size: 1.3rem;
    margin: 15px 0;
    font-weight: 700;
}

.certificate-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.cert-stat {
    text-align: center;
}

.cert-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.cert-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cert-date {
    font-style: italic;
    opacity: 0.9;
}

.actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

/* History Page */
.history-filters {
    margin-bottom: 20px;
    text-align: right;
}

#history-filter {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
}

.history-list {
    display: grid;
    gap: 20px;
}

.history-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.history-stats {
    display: flex;
    gap: 30px;
}

.history-stat {
    text-align: center;
}

.history-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4361ee;
}

.history-label {
    font-size: 0.9rem;
    color: #666;
}

.history-date {
    color: #666;
    font-size: 0.9rem;
}

.empty-history {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.empty-history i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

/* Premium Page */
.premium-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: #666;
}

.progress-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 5px;
}

.summary-label {
    font-size: 1rem;
    color: #666;
}

.progress-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.chart-container h2 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.personal-bests {
    margin-bottom: 40px;
}

.personal-bests h2 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.bests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.best-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.best-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.best-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 5px;
}

.best-date {
    font-size: 0.9rem;
    color: #999;
}

.improvement-section {
    margin-bottom: 40px;
}

.improvement-section h2 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.trend-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.trend-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.trend-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.trend-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 5px;
}

.trend-desc {
    font-size: 0.9rem;
    color: #999;
}

.recent-tests h2 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.tests-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tests-table {
    width: 100%;
    border-collapse: collapse;
}

.tests-table th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #555;
}

.tests-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.tests-table tr:last-child td {
    border-bottom: none;
}

.tests-table tr:hover {
    background-color: #f8f9fa;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #4361ee;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #2b2d42;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.plan-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: #4361ee;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4361ee;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2b2d42;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.plan-card ul {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.plan-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.plan-card li:before {
    content: "✓";
    color: #2ecc71;
    margin-right: 10px;
    font-weight: bold;
}

.checkout-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.plan-details {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.plan-details h2 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: #2ecc71;
}

.payment-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.payment-section h3 {
    margin-bottom: 20px;
    color: #2b2d42;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4361ee;
}

#card-element {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

#card-errors {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

.secure-payment {
    text-align: center;
    color: #666;
    margin-top: 20px;
    font-size: 0.9rem;
}

.secure-payment i {
    color: #2ecc71;
    margin-right: 5px;
}

.success-message {
    text-align: center;
    padding: 30px;
}

.success-message i {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-message h3 {
    margin-bottom: 15px;
    color: #2b2d42;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.upgrade-message {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.upgrade-message i {
    font-size: 3rem;
    color: #4361ee;
    margin-bottom: 20px;
}

.upgrade-message h3 {
    margin-bottom: 15px;
    color: #2b2d42;
}

.upgrade-message p {
    margin-bottom: 20px;
    color: #666;
}

.subscription-success {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.subscription-success .success-message {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subscription-success .success-message ul {
    text-align: left;
    margin: 15px 0;
}

.subscription-success .success-message li {
    padding: 5px 0;
    border-bottom: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .test-header h1 {
        font-size: 2rem;
    }

    .stats-display {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-summary {
        grid-template-columns: 1fr;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
    }

    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .result-actions {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .certificate-stats {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .stats-display {
        grid-template-columns: 1fr;
    }

    .timer-controls {
        flex-direction: column;
        align-items: center;
    }

    .timer-btn {
        width: 80%;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #2b2d42;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4361ee;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #4361ee;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4361ee;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #4361ee;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

/* Error Page Styles */
.error-page {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 50px 0;
}

.error-icon {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-page h1 {
    color: #2b2d42;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.error-actions .btn-primary,
.error-actions .btn-secondary {
    min-width: 200px;
    justify-content: center;
}

/* Responsive Error Page */
@media screen and (max-width: 768px) {
    .error-page {
        padding: 30px 15px;
    }
    
    .error-icon {
        font-size: 3rem;
    }
    
    .error-page h1 {
        font-size: 1.8rem;
    }
    
    .error-page p {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn-primary,
    .error-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 30px 0;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-method i {
    font-size: 1.5rem;
    color: #4361ee;
}

.contact-method h3 {
    margin-bottom: 5px;
    color: #2b2d42;
}

.contact-method p {
    color: #666;
    margin: 0;
}

/* Policy and About Pages Styles */
.policy-content h2 {
    margin: 30px 0 15px;
    color: #2b2d42;
}

.policy-content h3 {
    margin: 20px 0 10px;
    color: #4361ee;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-content ul {
    margin: 15px 0 15px 30px;
}

.policy-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.about-content {
    margin: 20px 0;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    color: #2b2d42;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #4361ee;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #2b2d42;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 25px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background-color: #4361ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 2rem;
}

.team-member h3 {
    margin-bottom: 5px;
    color: #2b2d42;
}

.team-member p {
    color: #666;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
}

/* FAQ Page Styles */
.faq-content {
    margin: 30px 0;
}

.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    color: #2b2d42;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b2d42;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
    width: 16px;
    text-align: center;
}

.faq-question.active i {
    transform: rotate(90deg);
}

.faq-answer {
    background-color: #fff;
    padding: 0 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-answer ul {
    margin: 15px 0 15px 30px;
}

.faq-answer li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-answer a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Support Page Styles */
.support-content {
    margin: 30px 0;
}

.support-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.support-card {
    background: white;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.support-icon {
    font-size: 2.5rem;
    color: #4361ee;
    margin-bottom: 20px;
}

.support-card h3 {
    margin-bottom: 15px;
    color: #2b2d42;
}

.support-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.support-info {
    font-weight: 600;
    color: #2b2d42;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #4361ee;
    border: 2px solid #4361ee;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #f0f4ff;
    transform: translateY(-2px);
}

.support-section {
    margin-bottom: 50px;
}

.support-section h2 {
    color: #2b2d42;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.support-issues {
    display: grid;
    gap: 25px;
}

.support-issue {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.support-issue h3 {
    color: #2b2d42;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-issue h3 i {
    color: #4361ee;
}

.support-solution {
    padding-left: 30px;
}

.support-solution ol {
    margin: 15px 0;
    padding-left: 20px;
}

.support-solution li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.community-support {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.community-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #2b2d42;
    font-weight: 600;
    transition: all 0.3s ease;
}

.community-link:hover {
    background-color: #4361ee;
    color: white;
    transform: translateY(-3px);
}

.community-link i {
    font-size: 1.5rem;
}

/* Responsive Support Styles */
@media screen and (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .community-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .community-link {
        justify-content: center;
    }
}
