/* =============================================
   KAPAN MEDYA – Ana CSS Dosyası v2
   Renkler: #008bff (Mavi %65) | #CBE806 (Lime %35)
   Tema: Tutarlı Koyu → Temiz açık geçiş
   Font: Space Grotesk
============================================= */

/* ---- CSS Custom Properties ---- */
:root {
    --blue: #008bff;
    --blue-dark: #0070cc;
    --blue-light: #33a3ff;
    --blue-faint: rgba(0, 139, 255, 0.1);
    --blue-faint-2: rgba(0, 139, 255, 0.05);
    --lime: #CBE806;
    --lime-dark: #a8c100;
    --lime-faint: rgba(203, 232, 6, 0.12);
    /* Koyu tema — daha ferah tonlar */
    --dark: #0d1929;
    --dark-2: #122035;
    --dark-3: #172843;
    --dark-card: #192d44;
    --dark-card-hover: #1e3550;
    --dark-border: rgba(255, 255, 255, 0.07);
    --dark-border-hover: rgba(0, 139, 255, 0.4);
    /* Açık tema (sadece iletişim) */
    --light-bg: #f0f6ff;
    --light-card: #ffffff;
    --light-border: rgba(0, 139, 255, 0.12);
    /* Yazı renkleri */
    --text-white: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-faint: rgba(255, 255, 255, 0.2);
    /* Açık bölümler için */
    --text-dark: #0d1526;
    --text-dark-muted: #5a6a80;
    /* Gölgeler */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-blue: 0 8px 32px rgba(0, 139, 255, 0.25);
    --shadow-lime: 0 8px 32px rgba(203, 232, 6, 0.2);
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Space Grotesk', sans-serif;
    --font-heading: 'Unbounded', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--dark);
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.preloader-active,
body.preloader-active {
    overflow: hidden !important;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 5px;
    border: 2px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lime);
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: var(--font);
}

/* ---- Typography ---- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.35;
    letter-spacing: -0.01em;
    padding-top: 0.05em;
    padding-bottom: 0.1em;
}

h4,
h5,
h6 {
    font-family: var(--font);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

p {
    font-size: 0.95rem;
    line-height: 1.75;
}

em {
    font-style: normal;
    color: var(--blue);
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---- Section Label ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--blue);
    background: var(--blue-faint);
    border: 1px solid rgba(0, 139, 255, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-label.lime {
    color: var(--lime);
    background: var(--lime-faint);
    border-color: rgba(203, 232, 6, 0.25);
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    color: var(--text-white);
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ---- Section Divider (geçiş etkisi) ---- */
.section-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: var(--dark-2);
}

.section-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--blue);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-blue);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-light), var(--lime));
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 139, 255, 0.45);
    color: var(--dark);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lime {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--lime);
    color: var(--dark);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 100px;
    transition: var(--transition);
    box-shadow: var(--shadow-lime);
}

.btn-lime:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

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

/* =============================================
   PRELOADER
============================================= */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo-img {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-img img {
    height: 80px;
}

.preloader-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    font-weight: 300;
}

.preloader-bar {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--lime));
    border-radius: 100px;
    animation: preload 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preload {
    0% {
        width: 0%
    }

    60% {
        width: 75%
    }

    100% {
        width: 100%
    }
}

/* =============================================
   HEADER
============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 24, 0.95) 0%, transparent 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.header.scrolled::before {
    opacity: 0;
}

.header.scrolled {
    background: rgba(13, 21, 38, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo .logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.header-logo:hover .logo-img {
    transform: scale(1.04);
    filter: brightness(1.15);
}

.header.scrolled .header-logo .logo-img {
    /* Native transparent logo */
}

.header-nav {
    flex: 1;
}

.header-nav ul {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.nav-link {
    display: block;
    padding: 8px 15px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.07);
}

.nav-link.active,
.nav-link.active:hover {
    color: var(--lime) !important;
    background: rgba(255, 255, 255, 0.09);
    font-weight: 600;
}

.header-cta {
    display: inline-block;
    flex-shrink: 0;
    padding: 10px 22px;
    background: var(--lime);
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 100px;
    transition: var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO
============================================= */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #122a4a 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 130px 80px 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.16;
}

.shape-1 {
    width: 700px;
    height: 700px;
    background: var(--blue);
    top: -250px;
    right: -150px;
    animation: float-shape 9s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--lime);
    bottom: -200px;
    left: -150px;
    animation: float-shape 11s ease-in-out infinite reverse;
    opacity: 0.1;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: #1a4a80;
    top: 40%;
    left: 38%;
    animation: float-shape 7s ease-in-out infinite 1s;
    opacity: 0.2;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(18px, -18px) scale(1.04)
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(203, 232, 6, 0.08);
    border: 1px solid rgba(203, 232, 6, 0.25);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--lime);
    text-transform: uppercase;
    margin-bottom: 22px;
}

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

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(203, 232, 6, 0.4)
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 5px rgba(203, 232, 6, 0)
    }
}

.hero-title {
    color: var(--text-white);
    margin-bottom: 22px;
    line-height: 1.35;
    letter-spacing: 0.02em;
    padding-bottom: 0.15em;
}

.hero-title em {
    display: block;
    background: linear-gradient(115deg, var(--lime) 0%, var(--blue-light) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 480px;
}

/* Hero motto / slogan */
.hero-motto {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lime);
    font-style: italic;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-motto i {
    font-size: 1rem;
    opacity: 0.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
}

.stat {
    text-align: left;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lime);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

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

/* Hero Visual - Global Container */
.hero-visual {
    position: relative;
    z-index: 1;
    height: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   SEÇENEK 1: Bento Grid Stilleri
   ============================================= */
.hero-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 540px;
    height: 440px;
    perspective: 1000px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 139, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 139, 255, 0.15);
}

.bento-chart-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 380px;
    justify-content: flex-start;
}

.bcard-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.bcard-dots {
    display: flex;
    gap: 6px;
}

.bcard-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.bcard-dots span:nth-child(1) {
    background: #ff5f57;
}

.bcard-dots span:nth-child(2) {
    background: #febc2e;
}

.bcard-dots span:nth-child(3) {
    background: #28c840;
}

.bcard-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.bcard-body {
    flex: 1;
    display: flex;
    align-items: flex-end;
    min-height: 180px;
}

.bcard-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 180px;
    gap: 10px;
}

.bcard-chart-bars .bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(to top, var(--blue), var(--lime));
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: bento-bar-rise 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.bcard-chart-bars .bar:hover {
    opacity: 1;
    transform: scaleY(1.05);
}

@keyframes bento-bar-rise {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.bento-perf-card {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.perf-circle-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.perf-ring {
    transform: rotate(-90deg);
}

.perf-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 6px;
}

.perf-ring-fill {
    fill: none;
    stroke: var(--lime);
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-dasharray: 213.6;
    stroke-dashoffset: 213.6;
    animation: perf-ring-anim 2s ease-out forwards;
}

@keyframes perf-ring-anim {
    to {
        stroke-dashoffset: 2.136;
    }
}

.perf-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-white);
    font-family: var(--font-heading);
}

.perf-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.perf-info strong {
    font-size: 0.85rem;
    color: var(--text-white);
}

.perf-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.bento-services-card {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    gap: 10px;
    justify-content: center;
}

.bento-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
}

.bento-service-item:hover {
    background: rgba(0, 139, 255, 0.08);
    border-color: rgba(0, 139, 255, 0.2);
    transform: translateX(4px);
}

.bento-service-item i {
    font-size: 0.95rem;
    color: var(--blue);
    width: 20px;
    text-align: center;
}

.bento-service-item:hover i {
    color: var(--lime);
}

.bento-service-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-soft);
}

/* =============================================
   SEÇENEK 2: Isometric Mockup Stilleri
   ============================================= */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -30px;
    /* Centered in right column while maintaining margin from text */
}

.hero-isometric-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badges-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    transform: none !important;
}

.browser-mockup {
    width: 100%;
    background: #0f1c2d;
    /* Solid background prevents GPU blur when tilted in 3D */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 139, 255, 0.12);
    transform: rotateX(15deg) rotateY(-20deg) rotateZ(5deg) translate3d(-40px, 0, 0);
    transition: transform 0.1s ease-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.browser-bar {
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
    position: relative;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #febc2e;
}

.browser-dots span:nth-child(3) {
    background: #28c840;
}

.browser-url {
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.68rem;
    color: var(--text-muted);
    padding: 4px 16px;
    border-radius: 6px;
    flex: 1;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.browser-content {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0d1929;
}

.browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.browser-mockup:hover .browser-content img {
    transform: scale(1.03);
}

/* Project Slider Styles for Option 2 */
.browser-content.project-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 100%;
    background: linear-gradient(135deg, #0d1929 0%, #12223a 100%);
    position: relative;
    overflow: hidden;
}

.project-slider .deck-title {
    margin-bottom: 6px;
}

.project-marquee-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.project-marquee-track {
    display: flex;
    animation: horizontal-project-marquee 16s linear infinite;
    width: max-content;
    align-items: center;
}

.project-marquee-container:hover .project-marquee-track {
    animation-play-state: paused;
}

.project-slide-card {
    position: relative;
    width: 275px;
    height: 180px;
    margin-right: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.project-slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 21, 38, 0.9) 0%, rgba(13, 21, 38, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0.85;
    transition: opacity 0.4s, background 0.4s;
    z-index: 2;
}

.slide-overlay span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s;
}

/* Hover effects */
.project-slide-card:hover {
    border-color: rgba(203, 232, 6, 0.4);
    box-shadow: 0 12px 32px rgba(203, 232, 6, 0.12);
    transform: translateY(-4px);
}

.project-slide-card:hover img {
    transform: scale(1.06);
}

.project-slide-card:hover .slide-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(13, 21, 38, 0.95) 0%, rgba(13, 21, 38, 0.2) 65%, transparent 100%);
}

.project-slide-card:hover .slide-overlay span {
    color: var(--lime);
    transform: translateY(-2px);
}

@keyframes horizontal-project-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.mockup-badge {
    position: absolute;
    background: rgba(25, 45, 68, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
    box-shadow: var(--shadow-card);
    z-index: 2;
    pointer-events: none;
    /* Prevent blocking hover events on screen below */
}

.mockup-badge i {
    color: var(--lime);
}

.mockup-badge.badge-1 {
    top: 100px;
    left: -70px;
    /* Pulled closer to screen */
    animation: float-flat-1 6s ease-in-out infinite;
}

.mockup-badge.badge-2 {
    bottom: 140px;
    right: -55px;
    /* Connected closer to screen's bottom-right */
    animation: float-flat-2 6s ease-in-out infinite 0.5s;
}

/* =============================================
   SEÇENEK 3: Neon Art Stilleri
   ============================================= */
.hero-neon-art {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    mix-blend-mode: screen;
}

.neon-glow-sphere.sphere-1 {
    width: 160px;
    height: 160px;
    background: var(--blue);
    top: 20%;
    left: 15%;
    animation: neon-sphere-pulse 8s infinite alternate ease-in-out;
}

.neon-glow-sphere.sphere-2 {
    width: 180px;
    height: 180px;
    background: var(--lime);
    bottom: 25%;
    right: 10%;
    animation: neon-sphere-pulse 10s infinite alternate-reverse ease-in-out;
}

@keyframes neon-sphere-pulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.25) translate(15px, -15px);
        opacity: 0.45;
    }
}

.neon-lines-svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.8;
    animation: neon-svg-rotate 25s linear infinite;
}

@keyframes neon-svg-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.neon-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-white);
    z-index: 2;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

.neon-badge:hover {
    border-color: rgba(203, 232, 6, 0.4);
    transform: scale(1.05);
    background: rgba(203, 232, 6, 0.08);
}

.neon-badge i {
    color: var(--lime);
}

.neon-badge.badge-1 {
    top: 30%;
    left: 10%;
    animation: neon-badge-float 5s ease-in-out infinite;
}

.neon-badge.badge-2 {
    bottom: 30%;
    right: 10%;
    animation: neon-badge-float 5s ease-in-out infinite 0.7s;
}

@keyframes neon-badge-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-faint);
    font-size: 0.73rem;
    z-index: 1;
}

.scroll-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(6px)
    }
}

/* =============================================
   INFINITE KINETIC MARQUEE
============================================= */
.marquee-section {
    background: var(--dark-2);
    padding: 26px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 5;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-anim 28s linear infinite;
    gap: 36px;
    padding-right: 36px;
}

.marquee-content span {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.05);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
    letter-spacing: 2px;
    transition: var(--transition);
}

.marquee-content span:hover {
    color: var(--lime);
    -webkit-text-stroke-color: var(--lime);
}

.marquee-content .dot {
    color: var(--blue);
    -webkit-text-stroke: none;
}

@keyframes marquee-anim {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* =============================================
   ABOUT  (Koyu tema, biraz farklı ton)
============================================= */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Üst kenara nefis bir gradient çizgi */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--lime) 70%, transparent);
}

/* Dekoratif arka plan dairesi */
.about::after {
    content: '';
    position: absolute;
    right: -150px;
    top: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 139, 255, 0.06), transparent 70%);
    pointer-events: none;
}

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

.about-visual {
    position: relative;
}

.about-img-wrapper {
    position: relative;
}

.about-accent-box {
    position: absolute;
    inset: -10px;
    border: 1.5px solid rgba(203, 232, 6, 0.3);
    border-radius: var(--radius-lg);
    z-index: 0;
    transform: rotate(-1.5deg);
}

.about-img-placeholder {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 139, 255, 0.08), rgba(203, 232, 6, 0.06));
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-border);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.about-logo-img {
    max-width: 260px;
    width: 100%;
    object-fit: contain;
}

.about-badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border-hover);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.about-badge-float i {
    font-size: 1.4rem;
    color: var(--lime);
    background: var(--lime-faint);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.about-badge-float strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-white);
}

.about-badge-float span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-content .section-label {
    display: inline-flex;
}

.about-content h2 {
    color: var(--text-white);
    margin-bottom: 18px;
}

.about-lead {
    font-size: 1rem;
    color: var(--text-soft);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* About quote block */
.about-quote {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    background: rgba(203, 232, 6, 0.06);
    border-left: 3px solid var(--lime);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-quote-icon {
    color: var(--lime);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-quote p {
    font-size: 0.95rem;
    color: var(--lime);
    font-style: italic;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--dark-border);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--dark-border-hover);
    background: rgba(0, 139, 255, 0.05);
    transform: translateX(4px);
}

.af-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.af-text h4 {
    margin-bottom: 3px;
    font-size: 0.95rem;
    color: var(--text-white);
}

.af-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   SERVICES (Koyu, farklı ton)
============================================= */
.services {
    padding: 120px 0;
    background: var(--dark-3);
    position: relative;
}

/* Lime glow — sağ üst */
.services .services-lime-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(203, 232, 6, 0.07), transparent 65%);
    pointer-events: none;
    animation: float-shape 12s ease-in-out infinite;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* Dekoratif sol aydınlık */
.services::after {
    content: '';
    position: absolute;
    left: -200px;
    bottom: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(203, 232, 6, 0.04), transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 139, 255, 0.12), transparent 40%), var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.25, 1), box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay, 0s);
    cursor: default;
}

/* Köşe parlaması efekti */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 139, 255, 0.3);
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 139, 255, 0.22), transparent 40%), var(--dark-card-hover);
    transition: transform 0.1s ease-out, box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}

.service-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Featured kart (ortadaki) */
.service-card.featured {
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 139, 255, 0.12), transparent 40%), var(--dark-card);
    border-color: rgba(203, 232, 6, 0.35);
}

.service-card.featured:hover {
    border-color: var(--lime);
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 139, 255, 0.22), transparent 40%), var(--dark-card-hover);
    box-shadow: var(--shadow-hover);
    transition: transform 0.1s ease-out, box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}

.service-card.featured::after {
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
}

.service-card.featured h3 {
    color: #fff;
}

.service-card.featured p {
    color: var(--text-soft);
}

.sc-icon {
    width: 58px;
    height: 58px;
    background: rgba(0, 139, 255, 0.1);
    border: 1px solid rgba(0, 139, 255, 0.15);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card.featured .sc-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--lime);
}

.service-card:not(.featured):hover .sc-icon {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}

.sc-icon.lime-icon {
    background: var(--lime-faint);
    border-color: rgba(203, 232, 6, 0.25);
    color: var(--lime);
}

.service-card:not(.featured):hover .sc-icon.lime-icon {
    background: var(--lime);
    color: var(--dark);
    border-color: var(--lime);
    box-shadow: var(--shadow-lime);
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Service motto/slogan */
.sc-motto {
    font-size: 0.78rem;
    font-style: italic;
    font-weight: 600;
    color: var(--blue);
    opacity: 0.85;
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 2px solid rgba(0, 139, 255, 0.3);
    line-height: 1.4;
}

.service-card.featured .sc-motto,
.featured-motto {
    color: var(--lime);
    border-left-color: rgba(203, 232, 6, 0.4);
}

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

.sc-tags span {
    padding: 4px 12px;
    background: rgba(0, 139, 255, 0.08);
    border: 1px solid rgba(0, 139, 255, 0.15);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue);
}

.sc-tags span.lime-tag {
    background: var(--lime-faint);
    border-color: rgba(203, 232, 6, 0.25);
    color: var(--lime);
}

/* =============================================
   REFERENCES (Koyu, en derin ton)
============================================= */
.references {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.references::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lime) 40%, var(--blue) 70%, transparent);
}

/* Sağ üst dekoratif ışık */
.references::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(203, 232, 6, 0.05), transparent 70%);
    pointer-events: none;
}

.ref-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.ref-logo-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    height: 130px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.ref-logo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 139, 255, 0.05), rgba(203, 232, 6, 0.03));
    opacity: 0;
    transition: var(--transition);
}

.ref-logo-item:hover {
    border-color: rgba(0, 139, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ref-logo-item:hover::before {
    opacity: 1;
}

.ref-logo-item img {
    max-width: 85%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.55;
    transition: all 0.4s ease;
    filter: grayscale(100%) brightness(2.2);
    position: relative;
    z-index: 1;
}

.ref-logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

.ref-logo-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.ref-logo-item:hover span {
    color: var(--blue);
}

/* Testimonials */
.testimonials {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item {
    min-width: 100%;
    padding: 44px 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

/* Sol üst süsleme çizgisi */
.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), var(--blue));
}

.t-quote-icon {
    font-size: 3.5rem;
    color: rgba(203, 232, 6, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 16px;
    user-select: none;
}

.t-stars {
    margin-bottom: 16px;
}

.t-stars i {
    color: var(--lime);
    font-size: 0.85rem;
    margin-right: 2px;
}

.testimonial-item>p {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.85;
    margin-bottom: 28px;
    font-style: italic;
    font-weight: 300;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--lime));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--dark);
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}

.t-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 600;
}

.t-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.t-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.t-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.85rem;
}

.t-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.t-dots {
    display: flex;
    gap: 8px;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dark-border);
    cursor: pointer;
    transition: var(--transition);
}

.t-dot.active {
    background: var(--blue);
    width: 24px;
    border-radius: 4px;
}

/* =============================================
   TEAM (Koyu, orta ton)
============================================= */
.team {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-3) 100%);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--lime));
    transform: scaleX(0);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 139, 255, 0.3);
    background: var(--dark-card-hover);
}

.team-card:hover::after {
    transform: scaleX(1);
}

.tc-photo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.tc-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--lime) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(0, 139, 255, 0.3);
}

.tc-social {
    position: absolute;
    bottom: -4px;
    right: -4px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .tc-social {
    opacity: 1;
}

.tc-social a {
    width: 28px;
    height: 28px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.62rem;
    transition: var(--transition);
    box-shadow: var(--shadow-blue);
}

.tc-social a:hover {
    background: var(--lime);
    color: var(--dark);
}

.team-card h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.tc-role {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.team-card>p {
    font-size: 0.83rem;
    color: var(--text-muted);
}

/* =============================================
   CONTACT (Açık tema — tek vurgu bölümü)
============================================= */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

/* Üst geçiş çizgisi */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--lime) 70%, transparent);
}

.contact::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 139, 255, 0.06), transparent 65%);
    pointer-events: none;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info .section-label {
    color: var(--blue);
    background: var(--blue-faint);
    border-color: rgba(0, 139, 255, 0.2);
    display: inline-flex;
}

.contact-info h2 {
    color: var(--text-white);
    margin-bottom: 14px;
}

.contact-info>p {
    color: var(--text-soft);
    margin-bottom: 20px;
}

/* Contact tagline */
.contact-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 600;
    color: var(--lime);
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--lime-faint);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(203, 232, 6, 0.15);
}

.contact-tagline-star {
    color: var(--lime);
    font-size: 0.75rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.cd-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cd-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--blue-faint);
    border: 1px solid rgba(0, 139, 255, 0.15);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 1rem;
}

.cd-item strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-white);
    margin-bottom: 2px;
    font-weight: 600;
}

.cd-item span {
    font-size: 0.875rem;
    color: var(--text-soft);
}

.contact-social {
    display: flex;
    gap: 10px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--dark-card);
}

.contact-social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* Form */
.contact-form-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-card);
}

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

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-2);
    border: 1.5px solid var(--dark-border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-white);
    outline: none;
    transition: var(--transition);
    appearance: none;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    background: var(--dark-3);
    box-shadow: 0 0 0 3px rgba(0, 139, 255, 0.15);
}

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

/* Contact CTA alanı */
.contact-cta-area {
    margin-top: 48px;
    padding: 32px 36px;
    background: linear-gradient(135deg, var(--blue), #0052a8);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.contact-cta-area::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.contact-cta-icon {
    font-size: 2rem;
    color: var(--lime);
    flex-shrink: 0;
}

.contact-cta-text h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* =============================================
   FOOTER
============================================= */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue) 35%, var(--lime) 65%, transparent);
}

.footer-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 139, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: inline-flex;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

/* Footer logo image */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 48px;
    transition: var(--transition);
}

.footer-logo-img:hover {
    transform: scale(1.04);
    filter: brightness(1.15);
}

.footer-brand>p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 240px;
    margin-bottom: 6px;
}

.footer-motto {
    font-style: italic;
    font-size: 0.82rem;
    color: var(--lime) !important;
    opacity: 0.75;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

.footer-links h5,
.footer-contact h5 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-faint);
}

.footer-bottom a {
    color: var(--blue);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--lime);
}

/* =============================================
   BACK TO TOP
============================================= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 500;
}

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

.back-to-top:hover {
    background: var(--lime);
    color: var(--dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lime);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 6px solid rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: wa-pulse 1.8s infinite ease-out;
    pointer-events: none;
    z-index: -1;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.08);
}

/* =============================================
   REVEAL ANIMATIONS
============================================= */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="up"] {
    transform: translateY(36px);
}

[data-reveal="down"] {
    transform: translateY(-36px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 130px 48px 90px;
        text-align: center;
    }

    .hero-visual {
        display: flex;
        height: auto;
        width: 100%;
        margin-top: 50px;
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-desc {
        max-width: 100%;
    }

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

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

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

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

    .contact-inner {
        gap: 48px;
    }
}

@media (max-width: 768px) {

    .header-nav,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-logo .logo-img {
        height: 36px;
    }

    .header-nav.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 12, 24, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 100px 32px 40px;
        overflow-y: auto;
    }

    .header:has(.header-nav.open) {
        bottom: 0 !important;
        height: 100% !important;
    }

    .header-nav.open ul {
        flex-direction: column;
        gap: 4px;
    }

    .header-nav.open .nav-link {
        font-size: 1.4rem;
        font-weight: 700;
        padding: 14px 16px;
        color: var(--text-soft);
    }

    .hero {
        padding: 110px 24px 80px;
    }

    .stat {
        text-align: center;
    }

    .about-badge-float {
        bottom: -10px;
        right: 10px;
    }

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

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

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

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

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

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

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

    .testimonial-item {
        padding: 28px 24px;
    }

    .contact-form-wrapper {
        padding: 28px 24px;
    }

    .whatsapp-float {
        bottom: 30px;
        left: 30px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .whatsapp-float::before {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-width: 6px;
    }

    .back-to-top {
        bottom: 30px;
        right: 30px;
        width: 48px;
        height: 48px;
        font-size: 0.85rem;
    }

    /* --- Mobile Spacing & Layout Optimization --- */
    .about,
    .services,
    .references,
    .team,
    .contact {
        padding: 80px 0 !important;
    }

    .services,
    .team {
        overflow: hidden !important;
    }

    /* --- Hero Mockup Slider Mobile Optimization --- */
    .project-slide-card {
        width: 200px !important;
        height: 130px !important;
        margin-right: 12px !important;
    }

    .project-marquee-container {
        height: 150px !important;
    }

    .browser-content.project-slider {
        aspect-ratio: auto !important;
        height: 220px !important;
        padding: 12px !important;
    }

    .browser-mockup {
        border-radius: 10px !important;
    }

    .browser-bar {
        height: 30px !important;
        padding: 0 10px !important;
        gap: 10px !important;
    }

    .browser-dots span {
        width: 5px !important;
        height: 5px !important;
    }

    .browser-url {
        font-size: 0.62rem !important;
        padding: 2px 10px !important;
    }

    .slide-overlay {
        padding: 10px !important;
    }

    .slide-overlay span {
        font-size: 0.72rem !important;
    }
}

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

    .about-img-placeholder {
        min-height: 240px;
        padding: 30px 20px;
    }

    .about-badge-float {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 20px auto 0;
        justify-content: center;
        width: fit-content;
    }

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

    .ref-logos {
        grid-template-columns: 1fr 1fr;
    }

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

    .stat-divider {
        display: none;
    }

    .contact-cta-area {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   CUSTOM INTERACTIVE CURSOR & TACTILE PRESS
============================================= */
@media (min-width: 992px) {
    body {
        cursor: none;
    }

    a,
    button,
    select,
    input,
    textarea,
    .ref-logo-item,
    .service-card,
    .t-btn,
    .hamburger,
    .header-cta {
        cursor: none;
    }

    .custom-cursor {
        width: 18px;
        height: 18px;
        background: #fff;
        border-radius: 50%;
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 10000;
        mix-blend-mode: difference;
        transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1),
            height 0.25s cubic-bezier(0.25, 1, 0.5, 1),
            background-color 0.25s;
    }

    .custom-cursor.hover {
        width: 48px;
        height: 48px;
        background: rgba(203, 232, 6, 0.15);
        mix-blend-mode: normal;
        border: 2px solid var(--lime);
    }

    .custom-cursor.click {
        width: 12px;
        height: 12px;
        background: var(--blue);
        mix-blend-mode: normal;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.btn-primary:active,
.btn-lime:active,
.btn-ghost:active,
.header-cta:active,
.t-btn:active {
    transform: scale(0.95) translateY(0);
    transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1);
}

.magnetic {
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =============================================
   CONTACT BACKGROUND AURORA SHAPES
============================================= */
.contact-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.contact-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: var(--blue);
    bottom: -200px;
    left: -150px;
    top: auto;
    right: auto;
    animation: float-shape 12s ease-in-out infinite;
    opacity: 0.08;
}

.contact-bg-shapes .shape-2 {
    width: 500px;
    height: 500px;
    background: var(--lime);
    top: -150px;
    right: -100px;
    bottom: auto;
    left: auto;
    animation: float-shape 14s ease-in-out infinite reverse;
    opacity: 0.06;
}

/* =============================================
   LENIS SMOOTH SCROLL SUPPORT
============================================= */
html.lenis {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis-stopped {
    overflow: hidden;
}

.lenis-scrolling iframe {
    pointer-events: none;
}

/* =============================================
   VIDEO SHOWCASE
============================================= */
.video-showcase {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.video-player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), var(--shadow-card);
    transition: var(--transition);
}

.video-player-container:hover {
    border-color: rgba(0, 139, 255, 0.25);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 139, 255, 0.08);
}

.custom-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-filter: grayscale(100%) brightness(0.8) !important;
    filter: grayscale(100%) brightness(0.8) !important;
    transition: filter 0.8s cubic-bezier(0.25, 1, 0.5, 1), -webkit-filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-player-container.playing .custom-video-player {
    -webkit-filter: grayscale(0%) brightness(1) !important;
    filter: grayscale(0%) brightness(1) !important;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 21, 38, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 3;
    cursor: pointer;
}

.video-glow-effect {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 139, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border: none;
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 139, 255, 0.35);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    position: relative;
    z-index: 4;
}

.video-play-btn:hover {
    transform: scale(1.08);
    background: var(--lime);
    color: var(--dark);
    box-shadow: 0 8px 32px rgba(203, 232, 6, 0.45);
}

.video-duration-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 21, 38, 0.95) 0%, rgba(13, 21, 38, 0.6) 80%, transparent);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 4;
}

.video-player-container.controls-visible .video-controls-bar {
    transform: translateY(0);
}

.video-player-container.playing .video-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.control-btn:hover {
    color: var(--blue);
    background: rgba(255, 255, 255, 0.05);
}

.video-progress-container {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.video-progress-container:hover {
    height: 7px;
}

.video-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue), var(--lime));
    border-radius: 10px;
    position: relative;
}

.video-time {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: monospace;
    user-select: none;
}

.video-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.volume-slider {
    width: 0;
    opacity: 0;
    visibility: hidden;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease, visibility 0.2s ease;
    cursor: pointer;
}

.video-volume-container:hover .volume-slider,
.volume-slider:focus {
    width: 70px;
    opacity: 1;
    visibility: visible;
}

.volume-slider::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 10px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lime);
    margin-top: -3px;
    box-shadow: 0 0 8px rgba(203, 232, 6, 0.5);
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 8px rgba(203, 232, 6, 0.5);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .video-player-container {
        aspect-ratio: 16/9;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .video-controls-bar {
        padding: 10px 14px;
        gap: 10px;
    }
}

/* ===== PROJECT MODAL ===== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 16, 27, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    max-height: 85vh;
    background: linear-gradient(145deg, var(--dark-2), var(--dark-3));
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 2;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modal.active .modal-wrapper {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    z-index: 10;
    transition: var(--transition);
    cursor: pointer;
}

.modal-close:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: rotate(90deg);
}

.modal-content-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    height: 85vh;
    max-height: 720px;
}

.modal-image-sec {
    position: relative;
    background: #060b13;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--dark-border);
}

.modal-image-sec::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 80%, rgba(13, 25, 41, 0.4));
    pointer-events: none;
}

.modal-image-sec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-modal.active .modal-image-sec img {
    transform: scale(1.02);
}

.modal-info-sec {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--blue) var(--dark);
}

.modal-info-sec::-webkit-scrollbar {
    width: 6px;
}

.modal-info-sec::-webkit-scrollbar-track {
    background: transparent;
}

.modal-info-sec::-webkit-scrollbar-thumb {
    background: var(--blue-faint);
    border-radius: 3px;
}

.modal-info-sec::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--blue-faint);
    border: 1px solid rgba(0, 139, 255, 0.25);
    color: var(--blue);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-white) 40%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-desc {
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.modal-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--dark-border);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.modal-detail-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.modal-detail-item i {
    font-size: 1.4rem;
    color: var(--lime);
    width: 24px;
    display: flex;
    justify-content: center;
}

.modal-detail-item .detail-info {
    display: flex;
    flex-direction: column;
}

.modal-detail-item strong {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.modal-detail-item span {
    font-size: 0.92rem;
    color: var(--text-white);
    font-weight: 600;
}

.modal-footer {
    margin-top: auto;
}

/* Modal Scroll Lock styling */
html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100% !important;
}

/* Responsiveness for Modal */
@media (max-width: 991px) {
    .modal-wrapper {
        max-height: 90vh;
    }

    .modal-content-card {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-image-sec {
        height: 280px;
        border-right: none;
        border-bottom: 1px solid var(--dark-border);
    }

    .modal-image-sec::after {
        background: linear-gradient(to bottom, transparent 80%, rgba(13, 25, 41, 0.4));
    }

    .modal-info-sec {
        padding: 32px;
        overflow-y: visible;
        height: auto;
    }

    .modal-close {
        top: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
        background: rgba(13, 25, 41, 0.85);
        backdrop-filter: blur(4px);
    }
}

@media (max-width: 576px) {
    .modal-image-sec {
        height: 200px;
    }

    .modal-info-sec {
        padding: 24px;
    }

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

    .modal-desc {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .modal-detail-item {
        padding: 12px 16px;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 12px !important;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ===== FLOATING SERVICE BADGES ===== */
.hero-float-badge {
    position: absolute;
    background: rgba(25, 45, 68, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 5;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.hero-float-badge i {
    color: var(--lime);
    font-size: 0.95rem;
}

/* Coordinates & Individual Float Animations */
.hero-float-badge.f-badge-1 {
    top: -40px;
    left: 160px;
    /* Top left-ish */
    animation: float-flat-1 8s ease-in-out infinite;
}

.hero-float-badge.f-badge-2 {
    bottom: 100px;
    left: -95px;
    /* Left lower, offset slightly left to break alignment with upper-left badge */
    animation: float-flat-2 10s ease-in-out infinite 1s;
}

.hero-float-badge.f-badge-3 {
    bottom: -35px;
    right: 200px;
    /* Bottom right-ish yay */
    animation: float-flat-1 9s ease-in-out infinite 0.5s;
}

.hero-float-badge.f-badge-4 {
    top: -45px;
    right: 140px;
    /* Shifted slightly right and up */
    animation: float-flat-2 11s ease-in-out infinite 1.5s;
}

.hero-float-badge.f-badge-5 {
    bottom: -35px;
    left: 200px;
    /* Bottom left-ish yay */
    animation: float-flat-1 7s ease-in-out infinite 2s;
}

@keyframes float-flat-1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-flat-2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(4px, -8px);
    }
}

/* Responsive overrides for badges and mockup */
@media (max-width: 1100px) {
    .hero-mockup-wrapper {
        margin-left: 0 !important;
        height: auto !important;
        max-width: 580px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 10px !important;
    }

    .hero-isometric-mockup {
        width: 100% !important;
        height: auto !important;
        perspective: none !important;
        display: block !important;
    }

    .browser-mockup {
        transform: none !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-badges-container {
        position: static !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        margin-top: 24px !important;
    }

    .mockup-badge,
    .hero-float-badge {
        position: static !important;
        transform: none !important;
        animation: none !important;
        width: auto !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        padding: 8px 16px !important;
        font-size: 0.78rem !important;
    }
}

/* ===== IMAGE LIGHTBOX ===== */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 16, 27, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lightbox-wrapper {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-lightbox.active .lightbox-wrapper {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    transition: var(--transition);
    cursor: pointer;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: rotate(90deg);
}

.lightbox-frame {
    background: #0f1c2d;
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 139, 255, 0.15);
    display: flex;
    flex-direction: column;
}

.lightbox-frame img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    background: rgba(15, 28, 45, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lime);
    text-align: center;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -50px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .lightbox-frame {
        border-width: 2px;
    }
}

/* Lightbox Navigation & Counter Styles */
.lightbox-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    justify-content: center;
    position: relative;
}

.lightbox-nav-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(25, 45, 68, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.lightbox-nav-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.lightbox-nav-btn:active {
    transform: scale(0.95);
}

.lightbox-nav-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lightbox-frame {
    position: relative;
}

.lightbox-counter {
    position: absolute;
    top: 14px;
    left: 20px;
    background: rgba(13, 21, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-white);
}

@media (max-width: 768px) {
    .lightbox-navigation {
        gap: 12px;
    }

    .lightbox-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        position: absolute;
        z-index: 10;
        top: 50%;
        transform: translateY(-50%);
    }

    .lightbox-nav-btn.prev {
        left: -10px;
    }

    .lightbox-nav-btn.next {
        right: -10px;
    }

    .lightbox-frame img {
        max-height: 60vh;
    }
}

/* Mobile hero overflow fixes */
.hero-content,
.hero-visual,
.hero-mockup-wrapper,
.hero-isometric-mockup,
.browser-mockup,
.browser-url {
    min-width: 0;
}

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

    .hero {
        width: 100%;
        max-width: 100vw;
        gap: 36px;
        padding: 108px 20px 72px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-badge {
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        letter-spacing: 0;
        margin-bottom: 18px;
    }

    .hero-desc {
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.96rem;
        overflow-wrap: break-word;
    }

    .hero-motto {
        justify-content: center;
        flex-wrap: wrap;
        max-width: 100%;
        text-align: center;
        line-height: 1.55;
    }

    .hero-motto span {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .hero-actions {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        max-width: 100%;
        margin-top: 18px;
    }

    .hero-mockup-wrapper {
        width: 100%;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .browser-content.project-slider {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .hero-desc {
        font-size: 0.92rem;
    }

    .hero-motto {
        font-size: 0.86rem;
    }

    .hero-stats {
        justify-content: center;
    }
}
