:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-colored: 0 20px 40px -10px rgba(99, 102, 241, 0.3);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --glow: 0 0 20px rgba(99, 102, 241, 0.15);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', 'Inter', sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 50%, #f5f7fa 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.site-header .container {
    padding: 18px 0;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 24px;
}


.header-container .logo {
    flex-shrink: 0;
}

.main-nav {
    margin-left: auto;
    margin-right: 20px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.main-nav ul {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0.8rem;
    position: relative;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary-dark);
}

.main-nav a.active,
.main-nav a:hover {
    background: rgba(99, 102, 241, 0.1);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px;
    width: 24px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.language-switcher {
    position: relative;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    z-index: 30;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    width: 100%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.language-toggle {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.language-toggle * {
    position: relative;
    z-index: 2;
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.language-toggle:hover::before {
    width: 300px;
    height: 300px;
}

.language-options {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: none;
    min-width: 140px;
    z-index: 20;
}

.language-options.open {
    display: block;
}

.language-options a {
    display: block;
    padding: 0.35rem 1rem;
    color: var(--text-muted);
}

.language-options a.current,
.language-options a:hover {
    color: var(--primary-dark);
    background: rgba(99, 102, 241, 0.1);
}

.site-main {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-colored);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.6;
}

.hero::before {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
}

.hero::after {
    width: 400px;
    height: 400px;
    bottom: -180px;
    left: -150px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 70%);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 1.2rem 0 0;
    list-style: none;
}

.hero-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(10px);
    color: var(--primary-dark);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

.hero-benefits li:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.hero-benefits li::before {
    content: '✓';
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.hero .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2rem;
    margin-top: 1.4rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-colored);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero .cta-button * {
    position: relative;
    z-index: 2;
}

.hero .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.hero .cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.5);
}

.hero .cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.hero .cta-button:active {
    transform: translateY(-2px) scale(0.98);
}

.upload-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.upload-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.upload-card input[type="file"] {
    width: 100%;
    padding: 18px;
    border: 2px dashed var(--primary-light);
    border-radius: var(--radius);
    background: rgba(99, 102, 241, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-card input[type="file"]:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.upload-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.submit-button {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button * {
    position: relative;
    z-index: 2;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:active {
    transform: translateY(0);
}

.alert {
    border-radius: var(--radius);
    padding: 16px;
    font-size: 0.95rem;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: #166534;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    padding: 0.75rem 1.75rem;
    background: #22c55e;
    color: #0f172a;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 30px -12px rgba(34, 197, 94, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.download-button:hover,
.download-button:focus {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -10px rgba(22, 163, 74, 0.7);
}

.download-hint {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.7);
}

.upload-limit {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.65);
}

.file-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    border: 2px dashed rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-lg);
    background: rgba(238, 242, 255, 0.45);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.file-dropzone:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.7);
}

.file-dropzone.is-dragover {
    border-color: rgba(14, 165, 233, 0.7);
    background: rgba(219, 234, 254, 0.6);
    box-shadow: var(--shadow-soft);
}

.file-dropzone-input {
    position: absolute;
    inset: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
}

.drop-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.drop-subtitle {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.7);
}

.drop-status {
    font-size: 0.9rem;
    color: rgba(37, 99, 235, 0.8);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.section-header {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -60% 40% 40% -60%;
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.2), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.seo-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
    margin-bottom: 48px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 32px;
}

.seo-article + .seo-article {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding-top: 32px;
    margin-top: 24px;
}

.seo-article h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.faq-section h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.seo-article p + p {
    margin-top: 0.75rem;
}

.faq-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.faq-item + .faq-item {
    margin-top: 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding-top: 28px;
}

.faq-item h3 {
    margin-bottom: 0.6rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.faq-section p {
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.page-hero {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 36px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05), transparent 70%);
    z-index: 0;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin: 0 0 12px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.page-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-soft);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.info-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(99, 102, 241, 0.3);
}

.about-metrics {
    padding-top: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.metrics-card {
    background: rgba(15, 23, 42, 0.9);
    color: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.metrics-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(14, 165, 233, 0.2));
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metrics-card:hover::after {
    opacity: 1;
}

.metrics-value {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.metrics-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248, 250, 252, 0.8);
}

.metrics-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.75);
}

.tech-stack-card {
    background: rgba(15, 23, 42, 0.85);
    color: #f1f5f9;
    border: 1px solid rgba(248, 250, 252, 0.08);
}

.tech-stack-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.tech-stack-list,
.compliance-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.tech-stack-list li,
.compliance-list li {
    position: relative;
    padding-left: 26px;
    line-height: 1.6;
}

.tech-stack-list li::before,
.compliance-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #14b8a6);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.not-found-section .info-card {
    background: rgba(15, 23, 42, 0.85);
    color: #e2e8f0;
}

.not-found-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #a5b4fc;
    font-weight: 600;
    transition: transform 0.2s ease, color 0.2s ease;
}

.not-found-link::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.not-found-link:hover,
.not-found-link:focus {
    color: #c7d2fe;
    transform: translateX(2px);
}

.not-found-link:hover::after,
.not-found-link:focus::after {
    transform: translateX(4px);
}

.not-found-resources ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

.not-found-resources li {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.not-found-resources h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
    padding: 28px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.8);
}

.contact-card a {
    color: var(--primary);
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.site-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 200px;
}

.footer-logo img {
    height: 46px;
    width: auto;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.footer-grid a:hover {
    color: var(--primary-light);
}

.footer-button {
    display: inline-block;
    margin-top: 12px;
    padding: 0.6rem 1.4rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 999px;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-button:hover {
    background: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 24px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.cookie-banner {
    position: fixed;
    inset: auto 1.5rem 1.5rem 1.5rem;
    z-index: 1100;
    max-width: 32rem;
    background: #111827;
    color: #f9fafb;
    border-radius: 1rem;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
    padding: 1.75rem;
    display: none;
    line-height: 1.5;
}

.cookie-banner--visible {
    display: block;
    animation: cookie-fade 0.35s ease both;
}

.cookie-banner__content h2 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.cookie-banner__content p {
    margin: 0 0 1.25rem;
}

.cookie-banner__form {
    display: grid;
    gap: 1rem;
}

.cookie-banner fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 0.75rem;
}

.cookie-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-option input[type='checkbox'] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
}

.cookie-option strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cookie-option small {
    display: block;
    font-size: 0.875rem;
    color: rgba(249, 250, 251, 0.75);
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: inherit;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-button:hover,
.cookie-button:focus {
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

.cookie-button--primary {
    background: #6366f1;
    border-color: #6366f1;
}

.cookie-button--primary:hover,
.cookie-button--primary:focus {
    background: #4f46e5;
    border-color: #4f46e5;
}

.cookie-button--outline {
    background: rgba(255, 255, 255, 0.05);
}

@keyframes cookie-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        inset: auto 1rem 1rem 1rem;
        padding: 1.25rem;
    }

    .cookie-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-button {
        width: 100%;
        text-align: center;
    }
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.5);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1024px) {
    .header-container {
        gap: 18px;
    }

    .main-nav ul {
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .header-container {
        position: relative;
        gap: 16px;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        margin: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(226, 232, 240, 0.5);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
        padding: 20px;
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .language-switcher {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        align-items: flex-start;
        gap: 16px;
    }

    .site-header .container {
        padding: 18px 0 24px;
    }

    .footer-bottom .container {
        align-items: flex-start;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 32px;
    }

    .hero::before {
        width: 320px;
        height: 320px;
        top: -140px;
        right: -160px;
    }

    .hero::after {
        width: 260px;
        height: 260px;
        left: -140px;
        bottom: -160px;
    }
}

@media (max-width: 600px) {
    .hero-benefits {
        flex-direction: column;
        align-items: flex-start;
    }
}

