* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Styles */
.main-nav {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    gap: 0.75rem;
}

.brand-link:hover {
    color: #64b5f6;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.brand-link:hover .nav-logo {
    transform: scale(1.1);
}

.brand-icon {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.brand-text {
    background: linear-gradient(45deg, #64b5f6, #42a5f5, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.layout-selector {
    display: flex;
    gap: 0.5rem;
}

.layout-btn {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    border: 2px solid #dee2e6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.layout-btn:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #343a40;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.layout-btn.active {
    background: linear-gradient(135deg, #007ACC, #005A99);
    color: #ffffff;
    border-color: #005A99;
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

.layout-btn.active:hover {
    background: linear-gradient(135deg, #005A99, #004080);
    transform: translateY(-1px);
}

.nav-link {
    color: #b0bec5;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #64b5f6;
    background: rgba(100, 181, 246, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #64b5f6;
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 0;
    }
    
    .nav-link.active::after {
        display: none;
    }
}



.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 120px);
}

/* Key Info Section */
.key-info-section {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 2rem;
    text-align: center;
}

.last-key-display {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.key-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: center;
}

.key-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.key-info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(100, 181, 246, 0.3);
    transform: translateY(-2px);
}

.key-info-label {
    font-size: 0.75rem;
    color: #b0bec5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.key-info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #64b5f6;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#last-key-value {
    color: #007ACC;
    font-size: 1.3rem;
}

#key-type-value {
    color: #28A745;
}

#key-location-value {
    color: #FFC107;
}



.key-history-display {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: #ffffff;
}

.key-history-list {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #64b5f6;
    margin-left: 0.5rem;
    white-space: nowrap;
    overflow-x: auto;
        max-width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.key-history-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Keyboard Container */
.keyboard-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 auto;
}

.keyboard-layout {
    position: relative;
    width: 1400px;
    height: 350px;
    margin: 0 auto;
    transform-origin: top left;
    overflow: visible;
}

/* Key Styles */
.key {
    position: absolute;
    background-color: #FFFFFF;
    border: 2px solid #CCCCCC;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.key:hover {
    background-color: #F0F0F0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.key.pressed {
    background-color: #007ACC;
    color: #FFFFFF;
    border-color: #005A99;
        transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.key.released {
    background-color: #28A745;
    color: #FFFFFF;
    border-color: #1E7E34;
}

/* LED Indicators */
.key-led {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #333333;
    border-radius: 2px;
    top: 5px;
    right: 5px;
    transition: background-color 0.2s ease;
}

.key-led.active {
    background-color: #FFD700;
    box-shadow: 0 0 6px #FFD700;
}

/* Responsive Design - Container padding only, scaling handled by JavaScript */
@media (max-width: 1024px) {
    .keyboard-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .keyboard-container {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
    
    .logo-image {
        max-width: 100px;
        max-height: 100px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .header-links {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .header-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .content-container {
        padding: 2rem;
    }
    
    .content-subsection {
        padding: 1.5rem 0;
        margin-bottom: 2.5rem;
    }
    
    .subsection-title {
        font-size: 1.2rem;
    }
    
    .subsection-title::before {
        left: -0.5rem;
        height: 20px;
    }
    
    .content-text p {
        font-size: 1rem;
    }
    
    .content-list li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }
    
    .internal-links {
        flex-direction: column;
        align-items: center;
    }
    
    .internal-links .internal-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .footer-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .key-info-section {
        margin-bottom: 1rem;
    }
    
    .last-key-display {
        padding: 1rem;
    }
    
    .key-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .key-info-item {
        padding: 0.5rem;
    }
    
    .key-info-label {
        font-size: 0.7rem;
    }
    
    .key-info-value {
        font-size: 1rem;
    }
    
    #last-key-value {
        font-size: 1.1rem;
    }
    
    .key-history-display {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .keyboard-container {
        padding: 0.75rem;
    }
    
    .layout-selector {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .layout-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .keyboard-container {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .logo-image {
        max-width: 80px;
        max-height: 80px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    .header-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-logo {
        width: 28px;
        height: 28px;
    }
    
    .content-container {
        padding: 1.5rem;
    }
    
    .content-subsection {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .subsection-title {
        font-size: 1.1rem;
    }
    
    .subsection-title::before {
        left: -0.5rem;
        height: 18px;
        width: 3px;
    }
    
    .content-text p {
        font-size: 0.95rem;
    }
    
    .content-list li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .internal-links .internal-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .keyboard-container {
        padding: 0.5rem;
    }
    
    .last-key-display {
        padding: 0.75rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .key-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .key-info-item {
        padding: 0.4rem;
    }
    
    .key-info-label {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }
    
    .key-info-value {
        font-size: 0.9rem;
    }
    
    #last-key-value {
        font-size: 1rem;
    }
    
    .key-history-display {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .mouse-tester-section {
        padding: 1.5rem 0.5rem;
        margin-top: 2rem;
    }
    
    .keyboard-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .keyboard-controls {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .mouse-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .reset-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .mouse-container {
        padding: 1rem;
    }
    
    .standard-mouse {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .mouse-button {
        padding: 0.5rem 0.75rem;
        min-width: 60px;
        min-height: 45px;
    }
    
    .btn-label {
        font-size: 0.7rem;
    }
    
    .btn-code {
        font-size: 0.6rem;
    }
    
    .top-row .mouse-button {
        min-width: 70px;
        min-height: 50px;
    }
    
    .scroll-row .mouse-button {
        min-width: 90px;
        min-height: 40px;
    }
    
    .hscroll-row .mouse-button {
        min-width: 90px;
        min-height: 40px;
    }
    
    .nav-row .mouse-button {
        min-width: 75px;
        min-height: 45px;
    }
    
    .custom-row .mouse-button {
        min-width: 55px;
        min-height: 40px;
    }
}

/* Mouse Tester Styles */
.mouse-tester-section {
    margin-top: 3rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.keyboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.keyboard-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.mouse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #007ACC, #64b5f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.reset-button {
    background: linear-gradient(145deg, #dc3545, #c82333);
    color: #ffffff;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reset-button:hover {
    background: linear-gradient(145deg, #c82333, #a71e2a);
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.reset-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.5);
}



.mouse-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.standard-mouse {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mouse-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.mouse-button {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 2px solid #555;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    min-width: 80px;
    min-height: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mouse-button:hover {
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mouse-button.pressed {
    background: linear-gradient(145deg, #007ACC, #005A99);
    color: #ffffff;
    border-color: #0066CC;
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0, 122, 204, 0.4);
}

.mouse-button.clicked {
    background: linear-gradient(145deg, #28A745, #1E7E34);
    color: #ffffff;
    border-color: #228B22;
}

.btn-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.btn-code {
    font-size: 0.7rem;
    color: #90EE90;
    opacity: 0.8;
    font-weight: 500;
}

/* Specific button sizing */
.top-row .mouse-button {
    min-width: 90px;
    min-height: 70px;
}

.scroll-row .mouse-button {
    min-width: 120px;
    min-height: 50px;
}

.hscroll-row .mouse-button {
    min-width: 120px;
    min-height: 50px;
}

.nav-row .mouse-button {
    min-width: 100px;
    min-height: 55px;
}

.custom-row .mouse-button {
    min-width: 70px;
    min-height: 50px;
}

.footer {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.footer-link:hover {
    color: #64b5f6;
    background: rgba(100, 181, 246, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #78909c;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #64b5f6;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #42a5f5;
    text-decoration: underline;
}

/* Page Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #90a4ae;
    font-weight: 400;
    opacity: 0.9;
}



/* Content Section Styles */
.content-section {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
}

.content-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.last-updated {
    color: #90a4ae;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: right;
    opacity: 0.8;
}

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

.content-text p {
    color: #f5f5f5;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.content-subsection {
    margin-bottom: 3.5rem;
    padding: 2rem 0;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.content-subsection:hover {
    background: rgba(255, 255, 255, 0.02);
}

.content-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    color: #81c784;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    position: relative;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #81c784, #4caf50);
    border-radius: 2px;
}

.content-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.content-list li {
    color: #e8f5e8;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    padding-left: 2rem;
    position: relative;
}

.content-list li::before {
    content: '•';
    color: #81c784;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.content-list li:last-child {
    margin-bottom: 0;
}

.content-list strong {
    color: #ffffff;
    font-weight: 600;
    background: rgba(129, 199, 132, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.internal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.internal-links .internal-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(100, 181, 246, 0.1);
    color: #64b5f6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.internal-links .internal-link:hover {
    background: rgba(100, 181, 246, 0.2);
    color: #42a5f5;
    border-color: rgba(100, 181, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 181, 246, 0.2);
}

/* FAQ Section Styles */
.faq-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #64b5f6;
    transition: transform 0.3s ease, color 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #42a5f5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.faq-answer ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #e0e0e0;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.internal-link {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.internal-link:hover {
    color: #42a5f5;
    border-bottom-color: #42a5f5;
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .faq-section {
        margin: 2rem auto;
        padding: 0 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.5rem;
    }
    
    .faq-toggle {
        font-size: 1.2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
}


