/* Styles specific to index.html and index-sv.html (language selector pages) */

body {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #050816;
    color: #111827;
}

.page {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
}

.left,
.right {
    flex: 1;
    padding: 3rem;
}

.left {
    color: #f9fafb;
    background: radial-gradient(circle at top left, #4b5563, #020617 55%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    margin-bottom: 1.5rem;
    max-width: 180px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.1s forwards;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.tagline {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.2s forwards;
}

.sub {
    font-size: 1rem;
    color: rgba(249, 250, 251, 0.85);
    max-width: 26rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.3s forwards;
}

.hero-image {
    margin-bottom: 2rem;
    margin-top: 2rem;
    max-width: 200px;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 25px 60px -25px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.35s forwards;
    align-self: center;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.right {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #ffffff;
    padding: 2.5rem 2.75rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45);
    max-width: 26rem;
    width: 100%;
    opacity: 0;
    animation: slideUp 0.6s ease-out 0.4s forwards;
}

.illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.illustration svg {
    width: 120px;
    height: 120px;
}

.card-visual {
    width: 100%;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 10;
}

.card-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #111827;
}

.card-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.75rem;
    text-align: center;
}

.lang-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.lang-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lang-button-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flag {
    font-size: 1.5rem;
}

.lang-text {
    text-align: left;
}

.lang-name {
    font-weight: 600;
    font-size: 0.98rem;
    color: #111827;
    transition: color 0.15s ease;
}

.lang-desc {
    font-size: 0.8rem;
    color: #6b7280;
    transition: color 0.15s ease;
}

.lang-arrow {
    font-size: 1.25rem;
    color: #9ca3af;
    transition: color 0.15s ease, transform 0.15s ease;
}

.lang-button:hover {
    background: #111827;
    border-color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -12px rgba(15, 23, 42, 0.5);
}

.lang-button:hover .lang-name {
    color: #f9fafb;
}

.lang-button:hover .lang-desc {
    color: rgba(249, 250, 251, 0.8);
}

.lang-button:hover .lang-arrow {
    color: rgba(249, 250, 251, 0.8);
    transform: translateX(3px);
}

.lang-button:active {
    transform: translateY(0);
}

.remember {
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
}

.remember strong {
    font-weight: 600;
    color: #6b7280;
}

.seo-section {
    background: #0b1224;
    color: #e5e7eb;
    padding: 2.5rem 3rem 3rem;
    display: grid;
    gap: 1.5rem;
}

.seo-headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
}

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

.seo-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 15px 35px -18px rgba(0, 0, 0, 0.5);
}

.seo-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #f8fafc;
}

.seo-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
}

@media (max-width: 900px) {
    .page {
        flex-direction: column;
        max-width: none;
        padding-bottom: 5rem;
    }

    .left,
    .right {
        padding: 2rem 1.5rem;
    }

    .right {
        min-height: 60vh;
        padding-bottom: 3rem;
    }

    .card {
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .page {
        padding-bottom: 3.5rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 1.6rem;
    }

    .left {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .right {
        padding: 1.25rem 1.25rem 3.5rem;
    }

    .illustration svg {
        width: 100px;
        height: 100px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.5rem 1.25rem;
    }
}

