/* ===================================
   SIDER SHIP - Corporate Website
   Professional & Modern Design
   =================================== */

/* --- CSS Variables --- */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3388FF;
    --accent: #00D4AA;
    --accent-dark: #00B894;
    --gradient: linear-gradient(135deg, #0066FF, #00D4AA);
    --gradient-text: linear-gradient(135deg, #0066FF, #0088FF, #00D4AA);
    --bg-primary: #060B18;
    --bg-secondary: #0A1128;
    --bg-card: #0D1630;
    --bg-card-hover: #111D3E;
    --surface: rgba(13, 22, 48, 0.8);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 102, 255, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: #8899BB;
    --text-muted: #556688;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(0, 102, 255, 0.3);
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 200px;
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient);
    border-radius: 2px;
    animation: loaderProgress 1.5s ease-out forwards;
}

@keyframes loaderProgress {
    to { width: 100%; }
}

/* --- Navigation --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Başlangıçta hafif blur + opak — yazıların iç içe geçmesini önler */
    background: rgba(4, 10, 24, 0.55);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-bottom: 1px solid rgba(38, 198, 218, 0.06);
    transition:
        background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll yapınca: daha opak, daha güçlü blur, hafif glow */
#header.scrolled {
    background: rgba(4, 10, 24, 0.88);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(38, 198, 218, 0.25);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(38, 198, 218, 0.08) inset;
}

/* Sayfanın çok aşağısına inildiğinde header'a hafif ekstra glow */
#header.scrolled::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 100% at 20% 0%, rgba(38, 198, 218, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 100% at 80% 0%, rgba(21, 101, 192, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#header.scrolled-deep::after {
    opacity: 1;
}

/* Aşağı scroll edildiğinde header gizlenir (yukarı scroll'da geri gelir) */
#header.nav-hidden {
    transform: translateY(-100%);
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll'da nav-container biraz daralır → ferah his */
#header.scrolled .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo-svg {
    height: 56px;
    width: auto;
    min-width: 320px;
}

/* Spinning ship wheel animation for preloader */
.wheel-spin {
    transform-origin: center;
    animation: wheel-rotate 4s linear infinite;
}
@keyframes wheel-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
    transform: translateY(-1px);
}

/* ============== NAV DROPDOWN ============== */
.nav-dropdown {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.nav-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-toggle > svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-toggle > svg,
.nav-dropdown.open .nav-dropdown-toggle > svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    width: 340px;
    max-width: 90vw;
    background: rgba(8, 14, 26, 0.97);
    border: 1px solid rgba(38, 198, 218, 0.25);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* invisible bridge to keep hover when moving cursor */
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    background: rgba(38, 198, 218, 0.1);
    color: #fff;
    transform: translateX(2px);
}

.ndd-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.12), rgba(21, 101, 192, 0.12));
    border: 1px solid rgba(38, 198, 218, 0.25);
    border-radius: 10px;
}

.ndd-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.ndd-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ndd-desc {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile: dropdown becomes inline list */
@media (max-width: 900px) {
    .nav-dropdown {
        display: block;
        width: 100%;
    }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        width: 100%;
        max-width: none;
        margin-top: 8px;
        padding: 4px;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
        transform: none;
    }
    .nav-dropdown-menu::before { display: none; }
}

/* ============== SERVICES TABS ============== */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.services-tab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(38, 198, 218, 0.15);
    border-radius: 14px;
    color: var(--text-secondary);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.services-tab:hover {
    background: rgba(38, 198, 218, 0.06);
    border-color: rgba(38, 198, 218, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.services-tab.active {
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.15), rgba(21, 101, 192, 0.15));
    border-color: #26c6da;
    color: #fff;
    box-shadow: 0 8px 30px rgba(38, 198, 218, 0.25);
}

.services-tab-icon {
    font-size: 22px;
    line-height: 1;
}

.services-tab-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.services-tab-count {
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-light, #26c6da);
    background: rgba(38, 198, 218, 0.1);
    padding: 4px 10px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.services-tab.active .services-tab-count {
    background: rgba(38, 198, 218, 0.25);
    color: #fff;
}

/* Cards filter animations */
.service-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card.cat-hidden {
    display: none;
}

/* When only 1-2 cards visible — center them */
.services-grid.solo-card .service-card {
    max-width: 700px;
    margin: 0 auto;
}

/* ============== CATEGORY CARDS (3 ana hizmet kategorisi) ============== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(38, 198, 218, 0.18);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
    min-height: 460px;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(38, 198, 218, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(38, 198, 218, 0.2);
}

.category-card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    background: linear-gradient(135deg, rgba(13, 34, 68, 0.6), rgba(21, 101, 192, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(38, 198, 218, 0.15);
}

.category-card-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(38, 198, 218, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(21, 101, 192, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.category-svg {
    width: 60%;
    height: 60%;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-card:hover .category-svg {
    transform: scale(1.05);
}

.category-card-body {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-card-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 14px;
    background: rgba(38, 198, 218, 0.12);
    border: 1px solid rgba(38, 198, 218, 0.3);
    border-radius: 20px;
    color: #26c6da;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.category-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary, #fff);
    margin: 0;
}

.category-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary, #8a9aae);
    margin: 0;
    flex: 1;
}

.category-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(38, 198, 218, 0.12);
}

.category-card-count {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #7aacdd;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.category-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #26c6da;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.25s;
}

.category-card:hover .category-card-cta {
    color: #fff;
    transform: translateX(4px);
}

.category-card-cta svg {
    transition: transform 0.25s;
}

.category-card:hover .category-card-cta svg {
    transform: translateX(2px);
}

@media (max-width: 700px) {
    .categories-grid { grid-template-columns: 1fr; gap: 16px; }
    .category-card { min-height: auto; }
    .category-card-body { padding: 22px; }
    .category-card-title { font-size: 19px; }
}

/* ============== CATEGORY SWITCHER (hizmetler.html üst sekmesi) ============== */
.cat-switcher-section {
    padding: 30px 0;
    background: rgba(5, 8, 17, 0.7);
    border-bottom: 1px solid rgba(38, 198, 218, 0.1);
}

.cat-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-switcher-tab {
    padding: 12px 28px;
    color: var(--text-secondary, #8a9aae);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(38, 198, 218, 0.15);
    border-radius: 28px;
    background: rgba(255,255,255,0.02);
    transition: all 0.25s ease;
}

.cat-switcher-tab:hover {
    border-color: rgba(38, 198, 218, 0.4);
    color: #fff;
    background: rgba(38, 198, 218, 0.06);
}

.cat-switcher-tab.active {
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.2), rgba(21, 101, 192, 0.2));
    border-color: #26c6da;
    color: #fff;
    box-shadow: 0 6px 20px rgba(38, 198, 218, 0.25);
}

/* ============== CATEGORY SERVICES (zigzag layout) ============== */
.cat-services-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #050811 0%, #07101f 100%);
}

.cat-service {
    margin-bottom: 80px;
    opacity: 1;
}

.cat-service:last-child {
    margin-bottom: 0;
}

.cat-service-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.cat-service-inner.reverse {
    direction: rtl;
}

.cat-service-inner.reverse > * {
    direction: ltr;
}

.cat-service-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cat-service-num {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #26c6da;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.cat-service-title {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.cat-service-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary, #8a9aae);
    margin: 0;
}

.cat-service-bullets {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
}

.cat-service-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary, #8a9aae);
    font-size: 13.5px;
    line-height: 1.55;
}

.cat-service-bullets svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.cat-service-image {
    position: relative;
}

.cat-service-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 34, 68, 0.4), rgba(21, 101, 192, 0.1));
    border: 1px solid rgba(38, 198, 218, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-service-image-wrap:hover {
    transform: translateY(-4px);
    border-color: rgba(38, 198, 218, 0.45);
}

.cat-service-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-service-image-placeholder {
    color: rgba(122, 172, 221, 0.5);
    font-size: 13px;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .cat-service-inner,
    .cat-service-inner.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        direction: ltr;
    }
    .cat-service-inner.reverse > * { direction: ltr; }
    .cat-service-inner.reverse .cat-service-image { order: -1; }
    .cat-service-title { font-size: 22px; }
    .cat-service-num { font-size: 11px; }
    .cat-services-section { padding: 50px 0 60px; }
    .cat-service { margin-bottom: 50px; }
}

/* ============== AUTOMATION COMPACT CARDS (21 PDF services) ============== */
.automation-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 40px;
}

.ac-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 22px 56px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(38, 198, 218, 0.15);
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, box-shadow 0.25s, background 0.25s;
    overflow: hidden;
}

.ac-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.06), rgba(21, 101, 192, 0.06));
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.ac-card > * {
    position: relative;
    z-index: 1;
}

.ac-card:hover {
    transform: translateY(-4px);
    border-color: rgba(38, 198, 218, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(38, 198, 218, 0.2);
}

.ac-card:hover::before {
    opacity: 1;
}

.ac-card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.15), rgba(21, 101, 192, 0.15));
    border: 1px solid rgba(38, 198, 218, 0.25);
    border-radius: 12px;
    margin-bottom: 4px;
}

.ac-card-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    line-height: 1.3;
    margin: 0;
}

.ac-card-desc {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-secondary, #8a9aae);
    margin: 0;
}

.ac-card-arrow {
    position: absolute;
    bottom: 18px;
    right: 22px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(38, 198, 218, 0.08);
    border: 1px solid rgba(38, 198, 218, 0.2);
    color: #26c6da;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.ac-card:hover .ac-card-arrow {
    background: #26c6da;
    border-color: #26c6da;
    color: #04101e;
    transform: translateX(2px);
}

@media (max-width: 700px) {
    .automation-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .ac-card { padding: 16px 16px 50px; }
    .ac-card-icon { width: 38px; height: 38px; font-size: 20px; }
    .ac-card-title { font-size: 13.5px; }
    .ac-card-desc { font-size: 11.5px; }
}

@media (max-width: 480px) {
    .automation-cards-grid { grid-template-columns: 1fr; }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 16px;
    padding: 6px 10px;
    border: 1px solid rgba(120, 160, 200, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(15, 30, 50, 0.4);
    backdrop-filter: blur(8px);
}
.lang-btn {
    background: none;
    border: none;
    color: #6a8aaa;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 4px 8px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}
.lang-btn:hover {
    color: #cfe2f7;
}
.lang-btn.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.2), rgba(21, 101, 192, 0.2));
    box-shadow: inset 0 0 0 1px rgba(38, 198, 218, 0.4);
}
.lang-sep {
    color: rgba(120, 160, 200, 0.3);
    font-size: 12px;
    user-select: none;
}
@media (max-width: 968px) {
    .lang-switcher {
        margin-right: 8px;
        padding: 4px 8px;
    }
    .lang-btn {
        font-size: 11px;
        padding: 3px 6px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.glow-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.glow-2 {
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
}

.particle-field {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    50% { opacity: 0.6; transform: translateY(-30px) scale(1.5); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-light);
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: fadeInUp 1s ease-out 1s both;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* --- Section Shared Styles --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- About Section --- */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* About Visual */
.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-circuit {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-circuit svg {
    width: 80%;
    height: 80%;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(6, 11, 24, 0.95), transparent);
}

.card-stat {
    text-align: center;
}

.card-stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-stat-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.service-icon-wrap svg {
    width: 100%;
    height: 100%;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
    margin-bottom: 20px;
}

.service-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* --- Expertise Section --- */
.expertise {
    background: var(--bg-secondary);
}

.expertise-showcase {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.expertise-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.expertise-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.expertise-icon-box {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
}

.expertise-icon-box svg {
    width: 24px;
    height: 24px;
}

.expertise-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.expertise-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Process */
.process-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 250px;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.process-step h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 28px;
    flex-shrink: 0;
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary);
    border-top: 2px solid var(--primary);
    transform: rotate(45deg);
}

/* --- Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.project-image {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.project-placeholder svg {
    width: 80px;
    height: 80px;
}

.project-hover-cta {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.92), rgba(38, 198, 218, 0.92));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-hover-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-card:hover .project-hover-cta {
    opacity: 1;
}

.project-content {
    padding: 24px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    background: rgba(0, 102, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 12px;
}

.project-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    padding: 4px 10px;
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* --- Trust Section --- */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 212, 170, 0.03));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.trust-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.trust-text p {
    color: var(--text-secondary);
    font-size: 15px;
}

.trust-badges {
    display: flex;
    gap: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.trust-badge:hover {
    border-color: var(--border-hover);
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.trust-badge span {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Contact Section --- */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--border-hover);
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23667788' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

/* --- Footer --- */
.footer {
    padding: 64px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-address {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 8px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-light);
    border-color: var(--border-hover);
    background: rgba(0, 102, 255, 0.1);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--border-hover);
    color: var(--primary-light);
    background: var(--bg-card-hover);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .expertise-showcase {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .project-card {
        grid-template-columns: 180px 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        padding: 32px;
        gap: 4px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        z-index: 100;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 48px);
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 48px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        width: calc(50% - 12px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .visual-card {
        max-width: 300px;
        aspect-ratio: 1;
    }

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

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

    .process-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        margin-top: 0;
    }

    .process-connector::after {
        right: -3px;
        top: auto;
        bottom: -4px;
        transform: rotate(135deg);
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 160px;
    }

    .trust-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-item {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }

    .stat-label {
        margin-top: 0;
    }

    .expertise-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-badges {
        flex-direction: column;
    }
}
