/* Inter Font - Local (Variable Font with Latin Extended) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Prevent Samsung Internet and other browsers from forcing dark mode */
html, :root {
    color-scheme: light;
}

/* BitHybrid - Brand Colors */
:root {
    --color-primary: #F8C505;
    --color-primary-dark: #d9ab00;
    --color-dark: #221E1F;
    --color-dark-light: #3a3536;
    --color-white: #ffffff;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-600: #6c757d;
    --color-danger: #dc3545;
    --color-success: #28a745;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 32px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--color-dark);
}

.nav-link:hover::before {
    width: 20px;
}

.nav-link.active {
    color: var(--color-dark);
    font-weight: 600;
}

.nav-link.active::before {
    width: 20px;
    background: var(--color-primary);
}

.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--color-gray-100);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-gray-400);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--color-gray-600);
}

.lang-btn.active {
    color: var(--color-white);
    background: var(--color-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: var(--color-gray-100);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu-mobile {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 197, 5, 0.4);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 80px) 0 100px;
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/backgrounds/hero.jpg') center/cover no-repeat;
    filter: sepia(100%) saturate(300%) hue-rotate(5deg) brightness(0.9);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: 2.5rem;
}

/* Sections */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-dark);
}

.services-preview {
    padding: 80px 0;
    background: var(--color-gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 16px;
    color: var(--color-dark);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: 12px;
    color: var(--color-primary-dark);
}

.feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.feature p {
    color: var(--color-gray-600);
}

/* Page Header */
.page-header {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.92) 0%, rgba(45, 45, 45, 0.88) 100%),
                url('../images/backgrounds/services-header.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
    position: relative;
}

/* Services page header - code/development themed */
.page-header--services {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(30, 40, 50, 0.75) 100%),
                url('../images/backgrounds/portfolio-header.jpg') center/cover no-repeat;
}

/* Contact page header - communication themed */
.page-header--contact {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(40, 35, 30, 0.75) 100%),
                url('../images/backgrounds/about-header.jpg') center/cover no-repeat;
}

/* Portfolio page header */
.page-header--portfolio {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(35, 30, 45, 0.75) 100%),
                url('../images/backgrounds/contact-header.jpg') center/cover no-repeat;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--color-gray-300);
    font-size: 1.125rem;
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-100) 50%, var(--color-white) 100%);
}

.service-detail-card {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--color-gray-100);
    border-radius: 16px;
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-detail-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 24px;
    color: var(--color-dark);
}

.service-detail-image {
    flex-shrink: 0;
    width: 400px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.05);
}

.service-detail-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-detail-content p {
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-100) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: transform 0.2s ease, background 0.2s ease;
}

.portfolio-link:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.portfolio-card-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.portfolio-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.portfolio-card-content p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    border-radius: 50px;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--color-dark);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--color-gray-300);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--color-dark);
}

.form-control {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--color-gray-300);
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.text-danger {
    color: var(--color-danger);
    font-size: 0.875rem;
}

.contact-info-wrapper {
    background: var(--color-gray-100);
    padding: 2.5rem;
    border-radius: 16px;
    height: fit-content;
}

.contact-info-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info-item svg {
    flex-shrink: 0;
    color: var(--color-primary-dark);
}

.contact-info-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.contact-info-item a,
.contact-info-item span {
    color: var(--color-gray-600);
}

/* Protected contact (spam protection) */
.protected-contact {
    display: inline-block;
}

.protected-contact-img {
    height: auto;
    vertical-align: baseline;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-legal a {
    color: var(--color-gray-300);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-legal h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-logo {
    height: 32px;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--color-gray-300);
    margin-bottom: 0.25rem;
}

.footer-contact h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-contact a {
    display: block;
    color: var(--color-gray-300);
    margin-bottom: 0.5rem;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-dark-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

/* Brand Name Styling */
.brand-name {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-bit {
    color: var(--color-primary);
}

.brand-hybrid {
    color: inherit;
}

/* Scroll to Top Button (mobile only) */
.scroll-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: scale(1.1);
}

.scroll-top:active {
    transform: scale(0.95);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-top {
        display: flex;
    }
}

/* Error Pages */
.page-header--error {
    background: linear-gradient(135deg, rgba(34, 30, 31, 0.92) 0%, rgba(50, 45, 46, 0.88) 100%),
                url('../images/backgrounds/hero.jpg') center/cover no-repeat;
    padding: calc(var(--header-height) + 80px) 0 80px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-content-section {
    padding: 80px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-message {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-request-id {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--color-gray-600);
    font-family: monospace;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }
}

/* Technologies Page */
.page-header--technologies {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(35, 30, 45, 0.75) 100%),
                url('../images/backgrounds/technologies-header.jpg') center/cover no-repeat;
}

.technologies-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(34, 30, 31, 0.75) 0%, rgba(50, 45, 46, 0.70) 100%),
                url('../images/backgrounds/technologies-bg.jpg') center/cover no-repeat fixed;
    color: var(--color-white);
}

.technologies-section .section-title {
    color: var(--color-white);
}

.technologies-section .section-subtitle {
    color: var(--color-gray-300);
}

.technologies-section .tech-group-label {
    color: var(--color-gray-300);
}

.technologies-section .tech-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
    border-color: rgba(255, 255, 255, 0.95);
}

.tech-category {
    margin-bottom: 3rem;
}

.tech-category h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon--dotnet { background: linear-gradient(135deg, #512BD4, #68217A); }
.tech-icon--sqlserver { background: linear-gradient(135deg, #CC2927, #A41E22); }
.tech-icon--postgresql { background: linear-gradient(135deg, #336791, #264D73); }
.tech-icon--sqlite { background: linear-gradient(135deg, #003B57, #07405E); }
.tech-icon--angular { background: linear-gradient(135deg, #DD0031, #C3002F); }
.tech-icon--react { background: linear-gradient(135deg, #61DAFB, #21A1C4); }
.tech-icon--docker { background: linear-gradient(135deg, #2496ED, #0073B7); }
.tech-icon--azure { background: linear-gradient(135deg, #0078D4, #005BA1); }
.tech-icon--windows { background: linear-gradient(135deg, #0078D6, #005A9E); }
.tech-icon--linux { background: linear-gradient(135deg, #FCC624, #333333); }
.tech-icon--wordpress { background: linear-gradient(135deg, #21759B, #464646); }
.tech-icon--woocommerce { background: linear-gradient(135deg, #96588A, #7B4B7A); }
.tech-icon--ai { background: linear-gradient(135deg, #FF6F61, #DE4313); }

.tech-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* About Page */
.page-header--about {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(35, 30, 45, 0.75) 100%),
                url('../images/backgrounds/cta-bg.jpg') center/cover no-repeat;
}

.about-section {
    padding: 80px 0 40px;
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray-600);
    margin-bottom: 3rem;
}

.tech-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.tech-group {
    text-align: center;
}

.tech-group-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-dark);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-dark);
}

.legal-section {
    padding: 60px 0;
    background: var(--color-gray-100);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.legal-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.legal-card h3 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.legal-list {
    display: grid;
    gap: 0.75rem;
}

.legal-list dt {
    font-size: 0.8rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-list dd {
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

/* Legal Pages (Privacy, Cookies) */
.page-header--legal {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(35, 30, 45, 0.93) 100%);
    padding: 120px 0 60px;
}

.legal-content-section {
    padding: 60px 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-document h2 {
    font-size: 1.4rem;
    color: var(--color-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin: 1.5rem 0 0.75rem;
}

.legal-document p {
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.legal-document ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--color-gray-600);
}

.legal-document li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-document a {
    color: var(--color-primary-dark);
}

.legal-document a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.cookie-table th {
    background: var(--color-gray-100);
    font-weight: 600;
    color: var(--color-dark);
}

.cookie-table td {
    color: var(--color-gray-600);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-gray-300);
}

.cookie-banner a {
    color: var(--color-primary);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .service-detail-card.reverse {
        flex-direction: column;
    }

    .service-detail-image {
        width: 100%;
        max-width: 500px;
        height: 250px;
    }

    .feature-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav > .lang-switcher {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu-mobile {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        list-style: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu-mobile.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu-mobile .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    .nav-menu-mobile .nav-link::before {
        display: none;
    }

    .nav-menu-mobile .nav-link.active {
        background: var(--color-primary);
        color: var(--color-dark);
        font-weight: 600;
        border-radius: 8px;
    }

    .nav-menu-mobile .lang-switcher {
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-gray-200);
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services-grid,
    .features-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
