/* LexIT Värikartta */
:root {
    --accent: #1EA7FD;
    --primary: #0F4C5C;
    --background: #06131B;
    --surface: #0F1726;
    --text-primary: #E6EEF6;
    --text-muted: #98A0A8;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
}

/* CSS Reset ja perustyyli */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--background) 0%, var(--primary) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigaatio */
.navbar {
    background: rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown {
    position: relative;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: " ▾";
    font-size: 0.8em;
}

.dropdown-content,
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 250px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-content,
.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Main content */
.content {
    padding: 2rem 0;
    min-height: 80vh;
}

.content h1 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Search page styles */
.search-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.search-info p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.search-box {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text-primary);
}

.search-box:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(30, 167, 253, 0.2);
}

.search-button {
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.search-button:hover {
    background: #1890d6;
}

.search-results {
    margin-top: 2rem;
}

.search-result {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.search-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.result-term {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.result-category {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.result-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.result-link:hover {
    background: var(--accent);
    color: white;
}

.no-results {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

/* Header / Hero osio */
.hero {
    text-align: center;
    padding: 6rem 0;
    color: var(--text-primary);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.jargon {
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.jargon h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.jargon p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsiivinen */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0.5rem;
    }
}

/* About-sivun tyylit */
.about-section {
    max-width: 900px;
}

.about-section h2 {
    color: var(--accent);
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.about-section p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.category-list,
.feature-list,
.target-audience {
    list-style: none;
    margin: 1rem 0;
}

.category-list li,
.feature-list li,
.target-audience li {
    background: rgba(30, 167, 253, 0.1);
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.category-list li strong,
.feature-list li strong,
.target-audience li strong {
    color: var(--accent);
}

.tech-stack {
    background: rgba(15, 23, 38, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 167, 253, 0.2);
    margin: 1rem 0;
}

.tech-stack ul {
    list-style: none;
    margin-top: 1rem;
}

.tech-stack li {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-stack li:last-child {
    border-bottom: none;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.color-sample {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 38, 0.5);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.color-box {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.usage-guide {
    counter-reset: step-counter;
    list-style: none;
}

.usage-guide li {
    counter-increment: step-counter;
    background: rgba(15, 76, 92, 0.3);
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    position: relative;
}

.usage-guide li::before {
    content: counter(step-counter);
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    background: rgba(30, 167, 253, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 167, 253, 0.3);
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 800;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-note {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: rgba(6, 19, 27, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-note em {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* About-sivun responsiivinen */
@media (max-width: 768px) {
    .color-palette {
        flex-direction: column;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .usage-guide li::before {
        position: static;
        transform: none;
        margin-bottom: 0.5rem;
    }
    
    .usage-guide li {
        border-left: none;
        border-top: 4px solid var(--primary);
    }
}

/* Contribute-sivun tyylit */
.contribute-section {
    max-width: 1000px;
}

.intro-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(30, 167, 253, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(30, 167, 253, 0.2);
}

.intro-section h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contribution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contribution-card {
    background: rgba(15, 23, 38, 0.7);
    border: 1px solid rgba(30, 167, 253, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contribution-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contribution-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contribution-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.repo-card {
    background: rgba(15, 23, 38, 0.8);
    border: 2px solid rgba(30, 167, 253, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.repo-header h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0;
}

.repo-badge {
    background: var(--success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.repo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.repo-stats .stat {
    background: rgba(30, 167, 253, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(30, 167, 253, 0.3);
}

.repo-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #1a96e8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(30, 167, 253, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(30, 167, 253, 0.2);
}

.step-guide {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(15, 23, 38, 0.5);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.step-number {
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.step-content code {
    display: block;
    background: rgba(6, 19, 27, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0.5rem 0;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--accent);
    border-left: 3px solid var(--accent);
}

.step-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.step-content li {
    margin: 0.5rem 0;
    color: var(--text-muted);
}

.guideline-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(15, 23, 38, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guideline-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.good-practices,
.term-guidelines {
    list-style: none;
}

.good-practices li,
.term-guidelines li {
    margin: 0.8rem 0;
    padding: 0.8rem;
    background: rgba(30, 167, 253, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.good-practices li strong,
.term-guidelines li strong {
    color: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: rgba(15, 23, 38, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 167, 253, 0.2);
    text-align: center;
}

.contact-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.contributors-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contributor,
.contributor-placeholder {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 38, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contributor-placeholder {
    border: 2px dashed rgba(30, 167, 253, 0.3);
    background: rgba(30, 167, 253, 0.05);
}

.contributor-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 167, 253, 0.1);
    border-radius: 50%;
}

.contributor-info strong {
    display: block;
    color: var(--accent);
    font-size: 1.1rem;
}

.contributor-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contribute-sivun responsiivinen */
@media (max-width: 768px) {
    .contribution-cards {
        grid-template-columns: 1fr;
    }
    
    .repo-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .repo-links {
        flex-direction: column;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Termien yksityiskohtaiset selitykset */
.category-intro {
    background: rgba(30, 167, 253, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.category-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.term-entry {
    background: rgba(15, 23, 38, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 1.5rem 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.term-entry:hover {
    border-color: rgba(30, 167, 253, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.term-entry h2 {
    background: rgba(30, 167, 253, 0.15);
    color: var(--accent);
    margin: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.3rem;
}

.explanation {
    padding: 1.5rem;
}

.explanation p {
    margin: 1rem 0;
    line-height: 1.7;
}

.explanation p strong {
    color: var(--accent);
    font-weight: 600;
}

.explanation p:first-child {
    margin-top: 0;
}

.links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.info-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(30, 167, 253, 0.1);
    border: 1px solid rgba(30, 167, 253, 0.3);
    border-radius: 20px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.info-link:hover {
    background: rgba(30, 167, 253, 0.2);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* Responsiivinen termisivuille */
@media (max-width: 768px) {
    .links {
        flex-direction: column;
    }
    
    .info-link {
        text-align: center;
        justify-content: center;
    }
    
    .term-entry h2 {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }
    
    .explanation {
        padding: 1rem;
    }
}

/* Takaisin ylös -painike */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    z-index: 1000;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    user-select: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    user-select: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }
    70% {
        transform: translateY(2px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
    transition: transform 0.1s ease;
}

/* Tooltip teksti */
.back-to-top::after {
    content: 'Takaisin ylös';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: normal;
}

.back-to-top:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Responsiivisuus tabletille */
@media (max-width: 1024px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/* Responsiivisuus mobiilille */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .back-to-top::after {
        display: none; /* Piilotetaan tooltip mobiililla */
    }
}

/* Putoava animaatio kun painike katoaa */
.back-to-top:not(.visible) {
    animation: fadeOut 0.3s ease-in forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
}

/* CSS nuoli ylöspäin back-to-top painikkeessa */
.back-to-top .arrow-up {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid white;
    display: block;
}

/* ==== HAKUTOIMINTO ==== */

/* Hakukenttä */
.search-container {
    display: flex;
    gap: 10px;
    margin: 2rem 0;
    max-width: 600px;
}

.search-box {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(30, 167, 253, 0.2);
}

.search-box::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-color), #0EA5E9);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-button:hover {
    background: linear-gradient(135deg, #0EA5E9, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 167, 253, 0.4);
}

/* Hakutulokset */
.search-results {
    margin-top: 2rem;
}

.search-results h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(30, 167, 253, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 167, 253, 0.15);
}

.result-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.result-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.result-link:hover {
    color: #38BDF8;
    text-decoration: underline;
}

.result-description {
    margin: 0.5rem 0;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.result-category {
    display: inline-block;
    background: rgba(30, 167, 253, 0.2);
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.no-results {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-style: italic;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px dashed rgba(255,255,255,0.1);
}

/* Hakuinfo */
.search-info {
    background: rgba(30, 167, 253, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.search-info p {
    margin: 0;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

/* Responsiivisuus hakuun */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }
    
    .search-button {
        padding: 12px;
    }
    
    .result-item {
        padding: 1rem;
    }
    
    .result-item h4 {
        font-size: 1rem;
    }
}