/**
 * KodeSil - Modern Minimalist Design System
 * Typography: Plus Jakarta Sans
 * Theme: Light (default) & Sophisticated Gray Theme
 * Philosophy: Az ve Öz, Yüksek Performans, Rafine Animasyonlar
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Light Theme (Default) */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-subtle: #f8fafc;
    
    /* Typography Colors - Strictly off-black / graphite, NEVER pure #000000 */
    --text-primary: #15191e;
    --text-secondary: #475467;
    --text-muted: #667085;
    
    /* Borders */
    --border-color: #e4e7ec;
    --border-subtle: #f2f4f7;
    --border-focus: #468e6c;

    /* Brand Green (matching logo sage/emerald) */
    --brand-primary: #468e6c;
    --brand-hover: #3a7559;
    --brand-light: rgba(70, 142, 108, 0.08);
    --brand-subtle: rgba(70, 142, 108, 0.04);
    --brand-border: rgba(70, 142, 108, 0.2);

    /* Elevation & Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(16, 24, 40, 0.04);
    --shadow-md: 0 4px 16px -2px rgba(16, 24, 40, 0.06), 0 2px 6px -2px rgba(16, 24, 40, 0.03);
    --shadow-lg: 0 12px 32px -4px rgba(16, 24, 40, 0.08), 0 4px 12px -2px rgba(16, 24, 40, 0.04);

    /* Radius & Spacing */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Navbar height */
    --nav-height: 74px;
    
    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.18s var(--ease-in-out);
    --transition-normal: 0.32s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);
}

/* Gray Theme (Activated by user toggle or preference) */
[data-theme="gray"] {
    --bg-main: #111215;
    --bg-surface: #181a1f;
    --bg-surface-elevated: #21242b;
    --bg-subtle: #14161a;

    --text-primary: #f3f4f6;
    --text-secondary: #9aa2b1;
    --text-muted: #647082;

    --border-color: #272a33;
    --border-subtle: #1e2128;
    --border-focus: #5fa87f;

    --brand-primary: #5fa87f;
    --brand-hover: #4e926d;
    --brand-light: rgba(95, 168, 127, 0.12);
    --brand-subtle: rgba(95, 168, 127, 0.06);
    --brand-border: rgba(95, 168, 127, 0.25);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 14px 36px -4px rgba(0, 0, 0, 0.6);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

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

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container-narrow {
    max-width: 900px;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Special Brand Logo Whitening Effect on Gray Theme */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    outline: none;
}

.site-logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
    transition: filter var(--transition-normal), transform var(--transition-fast);
}

/* Whitening effect applied cleanly in Gray mode */
[data-theme="gray"] .site-logo img {
    filter: brightness(0) invert(1);
}

.site-logo:hover img {
    transform: scale(1.02);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="gray"] .navbar {
    background-color: rgba(17, 18, 21, 0.85);
    border-bottom-color: var(--border-color);
}

.navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Top Loading Progress Bar for Seamless Page Transitions */
.page-progress-bar {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    height: 2.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-primary), #27c93f);
    z-index: 1001;
    opacity: 0;
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    pointer-events: none;
}

.page-progress-bar.active {
    opacity: 1;
}

/* Persistent Header Main Content Wrapper & Seamless Transition Animations */
.page-content {
    min-height: calc(100vh - var(--nav-height));
    min-height: calc(100dvh - var(--nav-height));
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    opacity: 1;
    transition: 
        opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.24s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Page Exit State: Gentle Fade & Slight Upward Glide with Soft Blur */
.page-content.is-exiting {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(-8px);
}

/* Page Enter State: Initial position before smoothly arriving */
.page-content.is-entering {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(14px);
    transition: none !important;
}

/* Navigation Links & Clean Animated Bottom Border */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent !important;
    transition: 
        color 0.22s ease,
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Smooth Expanding Bottom Border Underline (Matte, non-glossy, solid) */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2.5px;
    background-color: var(--brand-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: 
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.22s ease;
    pointer-events: none;
}

/* Hover State: Smooth Micro-lift & Expanding Underline (No background) */
.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Active State: Highlighted with steady bottom border */
.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* When active link is hovered */
.nav-link.active:hover {
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Switcher Button */
.theme-toggle {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    padding: 0;
}

.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--brand-border);
    transform: translateY(-1px);
}

.theme-toggle svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
}

.icon-sun { display: none; }
.icon-moon { display: block; }

[data-theme="gray"] .icon-sun { display: block; }
[data-theme="gray"] .icon-moon { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.925rem;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(70, 142, 108, 0.25);
}

.btn-primary:hover {
    background-color: var(--brand-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(70, 142, 108, 0.35);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-elevated);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
    transition: transform var(--transition-fast);
}

.btn:hover svg.arrow-icon {
    transform: translateX(3px);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 6px;
}

.mobile-nav-toggle svg {
    width: 26px;
    height: 26px;
}

/* Fullscreen Animated Hero Section */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 70px;
    overflow: hidden;
    background-color: var(--bg-main);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-fullscreen .reveal {
    opacity: 1 !important;
    transform: none !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background-color: var(--brand-light);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    font-size: 0.825rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.35rem, 4.4vw, 3.85rem);
    line-height: 1.12;
    margin-bottom: 20px;
}

/* CMD Title Container (Clean, compact natural spacing) */
.cmd-title-box {
    display: block;
    margin-bottom: 12px;
}

.cmd-hero-title {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, Menlo, Monaco, monospace;
    font-size: clamp(1.75rem, 2.8vw, 2.45rem);
    line-height: 1.24;
    min-height: 2.55em; /* 2 satır yüksekliğini rezerve eder, daktilo animasyonunda alt buton ve açıklamaların kaymasını önler */
    margin: 0;
    word-break: break-word;
    letter-spacing: -0.02em;
}

.cmd-prompt-prefix {
    color: var(--brand-primary);
    font-weight: 700;
    user-select: none;
    margin-right: 8px;
    display: inline-block;
    white-space: nowrap;
}

.cmd-typed-text {
    color: var(--text-primary);
    font-weight: 700;
}

.cmd-blinking-cursor {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 800;
    animation: cmdBlink 0.9s infinite step-start;
    margin-left: 2px;
}

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

.hero-title .highlight {
    color: var(--brand-primary);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.68;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* Hero Button Reference Preview Popover */
.hero-preview-btn-wrap {
    position: relative;
    display: inline-flex;
}

.hero-ref-preview-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: auto;
    max-width: calc(100vw - 40px);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 8px 10px;
    box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(70, 142, 108, 0.16),
                0 4px 16px rgba(70, 142, 108, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    
    /* Closed initial state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transform-origin: 36px top;
    pointer-events: none;
    transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.26s ease;
}

/* Gray/Dark mode surface styling */
[data-theme="gray"] .hero-ref-preview-panel {
    background-color: rgba(24, 26, 31, 0.96);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 45px -8px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(70, 142, 108, 0.25),
                0 4px 18px rgba(70, 142, 108, 0.12);
}

/* Mouse-travel bridge to keep hover smooth without gap breaks */
.hero-ref-preview-panel::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

/* Caret indicator pointing directly to the button */
.hero-ref-caret {
    position: absolute;
    top: -6px;
    left: 36px;
    width: 11px;
    height: 11px;
    background-color: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
    z-index: 2;
}

[data-theme="gray"] .hero-ref-caret {
    background-color: #181a1f;
    border-left-color: rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Active Hover / Focus Open State */
@media (hover: hover) and (min-width: 769px) {
    .hero-preview-btn-wrap:hover .hero-ref-preview-panel,
    .hero-preview-btn-wrap:focus-within .hero-ref-preview-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .hero-preview-btn-wrap:hover .hero-ref-logo-item,
    .hero-preview-btn-wrap:focus-within .hero-ref-logo-item {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pure Logos Strip */
.hero-ref-logos-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Individual Logo Card */
.hero-ref-logo-item {
    width: 76px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    
    /* Staggered entrance */
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                background-color var(--transition-fast),
                border-color var(--transition-fast),
                box-shadow var(--transition-fast);
    transition-delay: calc(var(--card-idx, 0) * 35ms);
}

.hero-ref-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(18%);
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

/* Hover on Logo: Soft lift, Emerald Border Glow & Full Color */
.hero-ref-logo-item:hover {
    background-color: var(--bg-surface);
    border-color: var(--brand-border);
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 16px rgba(70, 142, 108, 0.22);
    z-index: 3;
}

.hero-ref-logo-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* Sibling focus: when one logo is hovered, other logos gently dim to 0.65 */
.hero-ref-logos-strip:hover .hero-ref-logo-item:not(:hover) {
    opacity: 0.65;
    transform: translateY(0) scale(0.97);
}

/* Minimalist Core Tech Pills (Replaces cliché numbers) */
.hero-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tech-pill:hover {
    border-color: var(--brand-border);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tech-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--brand-primary);
}

/* Interactive 3D Code Terminal Console */
.hero-visual-col {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.hero-terminal {
    width: 100%;
    max-width: 520px;
    min-width: 0;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out, box-shadow 0.25s ease;
    will-change: transform;
}

.terminal-header {
    background-color: var(--bg-surface-elevated);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.terminal-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.terminal-title {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.785rem;
    color: var(--text-muted);
}

.terminal-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 4px;
    background-color: var(--brand-light);
    color: var(--brand-primary);
    border: 1px solid var(--brand-border);
}

.terminal-body {
    padding: 22px 24px;
    background-color: var(--bg-surface);
    font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
    font-size: 0.835rem;
    line-height: 1.8;
    color: var(--text-primary);
    overflow-x: auto;
}

.code-line {
    white-space: pre;
}

.code-line.indent {
    padding-left: 18px;
}

.code-line.indent-2 {
    padding-left: 36px;
}

.line-num {
    display: inline-block;
    width: 22px;
    margin-right: 14px;
    text-align: right;
    color: var(--text-muted);
    opacity: 0.4;
    user-select: none;
    font-size: 0.74rem;
}

.code-comment { color: var(--text-muted); font-style: italic; }
.code-keyword { color: #f43f5e; font-weight: 600; }
.code-type { color: #8b5cf6; font-weight: 600; }
.code-string { color: var(--brand-primary); }
.code-var { color: var(--text-primary); }
.code-prop { color: var(--text-secondary); }
.code-func { color: #3b82f6; }
.code-number { color: #f59e0b; }

.terminal-footer {
    background-color: var(--bg-surface-elevated);
    padding: 10px 18px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    font-weight: 500;
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    box-shadow: 0 0 8px var(--brand-primary);
    animation: pulseDot 1.5s infinite;
}

.terminal-version {
    color: var(--text-muted);
}

/* Scroll Down Mouse Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    text-decoration: none;
    color: var(--text-muted);
    opacity: 0.8;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero-scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(3px);
    color: var(--text-primary);
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    display: block;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--brand-primary);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.725rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

@media (max-width: 992px) {
    .hero-fullscreen {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 50px);
        padding-bottom: 70px;
    }
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
    .hero-scroll-indicator {
        display: none;
    }
}

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

.section-header.center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 650px;
}

.section-header.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Project / Reference Cards */
.projects-grid {
    display: grid;
    gap: 28px;
}

/* 3-Column Grid (Homepage - 3'er 3'er) */
.projects-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

/* 2-Column Grid (Projects Page & Tablet - Çift) */
.projects-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

/* Center single remaining card if 3n + 1 on desktop */
@media (min-width: 1024px) {
    .projects-grid-3col > .project-card:last-child:nth-child(3n + 1),
    .projects-grid-3col > .project-logo-card:last-child:nth-child(3n + 1) {
        grid-column: 2;
    }
}

/* Tablet (Çift - 2 columns) */
@media (max-width: 1023px) and (min-width: 641px) {
    .projects-grid-3col,
    .projects-grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid-3col > .project-card:last-child:nth-child(2n + 1),
    .projects-grid-2col > .project-card:last-child:nth-child(2n + 1),
    .projects-grid-3col > .project-logo-card:last-child:nth-child(2n + 1),
    .projects-grid-2col > .project-logo-card:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

/* Mobile (Single column) */
@media (max-width: 640px) {
    .projects-grid-3col,
    .projects-grid-2col,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Direct-clickable Logo Card Showcase with Cinematic Zoom-in from Afar & Blur Entrance */
.projects-grid {
    perspective: 1400px;
    perspective-origin: center center;
}

.project-logo-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    height: 160px;
    padding: 24px 36px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

    /* Cinematic Zoom-in from Afar & Blur Effect (Default / Initial Entrance State) */
    opacity: 0;
    transform: perspective(1000px) scale(0.62) translateY(36px) translateZ(-90px);
    filter: blur(16px);
    transition: 
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        border-color var(--transition-fast),
        box-shadow var(--transition-normal);
    transition-delay: var(--stagger-delay, 0ms);
    will-change: opacity, transform, filter;
}

/* Activated / Revealed One-by-One */
.project-logo-card.active {
    opacity: 1;
    transform: perspective(1000px) scale(1) translateY(0) translateZ(0);
    filter: blur(0px);
    transition: 
        opacity 0.38s ease,
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.38s ease,
        border-color var(--transition-fast),
        box-shadow 0.38s ease;
}

.project-logo-card img {
    max-width: 210px;
    max-height: 76px;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(0.85);
    filter: blur(4px);
    transition: 
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--stagger-delay, 0ms);
    will-change: transform, filter;
}

.project-logo-card.active img {
    transform: scale(1);
    filter: blur(0px);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), filter 0.38s ease;
}

/* ==========================================================================
   Spotlight Hover Effect:
   Hovering over any card softly blurs & pushes back all OTHER cards,
   while the hovered card elevates forward in crystal-clear focus.
   ========================================================================== */

/* Remove any entrance stagger delay once interacting with the grid so hover is instant */
.projects-grid:hover .project-logo-card,
.projects-grid.is-card-hovered .project-logo-card,
.projects-grid:hover .project-logo-card img,
.projects-grid.is-card-hovered .project-logo-card img {
    transition-delay: 0ms !important;
}

/* When a card is hovered: all other active cards softly blur, dim and step back */
.projects-grid:has(.project-logo-card:hover) .project-logo-card.active:not(:hover),
.projects-grid.is-card-hovered .project-logo-card.active:not(:hover) {
    opacity: 0.32;
    filter: blur(5px);
    transform: perspective(1000px) scale(0.95) translateZ(-25px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.projects-grid:has(.project-logo-card:hover) .project-logo-card.active:not(:hover) img,
.projects-grid.is-card-hovered .project-logo-card.active:not(:hover) img {
    filter: blur(2.5px);
    transform: scale(0.90);
}

/* The active hovered card: elevates forward, 100% crisp focus, radiant border & shadow */
.projects-grid .project-logo-card.active:hover {
    opacity: 1 !important;
    filter: blur(0px) !important;
    transform: perspective(1000px) translateY(-8px) scale(1.05) translateZ(35px) !important;
    border-color: var(--brand-primary) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26) !important;
    z-index: 10;
}

.projects-grid .project-logo-card.active:hover img {
    filter: blur(0px) !important;
    transform: scale(1.08) !important;
}

@media (prefers-reduced-motion: reduce) {
    .project-logo-card {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .project-logo-card img {
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

.logo-link-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.06);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.project-logo-card:hover .logo-link-hint {
    opacity: 1;
    transform: scale(1);
    background: var(--brand-primary);
    color: #ffffff;
}

@media (max-width: 640px) {
    .project-logo-card {
        height: 135px;
        padding: 18px 24px;
    }
    
    .project-logo-card img {
        max-width: 180px;
        max-height: 64px;
    }
}

.project-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
}

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

.project-media {
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.project-media img {
    max-width: 190px;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

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

.detail-cover {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    margin-bottom: 48px;
    overflow: hidden;
}

.detail-cover img {
    max-width: 260px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.project-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(21, 25, 30, 0.75);
    color: #ffffff;
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.project-content {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.35;
    transition: color var(--transition-fast);
}

.project-card:hover .project-title {
    color: var(--brand-primary);
}

.project-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: none;
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

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

.project-link-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.project-card:hover .project-link-btn {
    gap: 10px;
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.filter-btn.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

/* ==========================================================================
   Services Grid & Interactive Cinematic Cards
   - Staggered Entrance with Blur-to-Focus
   - Top Neon Glowing Beam
   - Ambient Radial Spotlight (follows mouse or pulses gently)
   - Dynamic Transforming Icon Box
   - Spotlight Hover Focus (blurs/dims sibling cards)
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    perspective: 1200px;
    perspective-origin: center center;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;

    /* Initial Staggered Entrance State */
    opacity: 0;
    transform: perspective(1000px) translateY(36px) scale(0.96) translateZ(-40px);
    filter: blur(12px);
    transition: 
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        border-color var(--transition-fast),
        box-shadow var(--transition-normal);
    transition-delay: var(--stagger-delay, 0ms);
    will-change: opacity, transform, filter;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Activated / Revealed Entrance */
.service-card.active {
    opacity: 1;
    transform: perspective(1000px) translateY(0) scale(1) translateZ(0);
    filter: blur(0px);
    transition: 
        opacity 0.38s ease,
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.38s ease,
        border-color var(--transition-fast),
        box-shadow 0.38s ease;
}

/* Glowing Top Neon Beam along card top edge */
.service-card-top-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2.5px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-primary) 50%, transparent 100%);
    opacity: 0;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    pointer-events: none;
    z-index: 3;
}

/* Ambient Radial Spotlight (follows mouse via --mouse-x & --mouse-y or defaults to top-right) */
.service-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mouse-x, 80%) var(--mouse-y, 20%), rgba(70, 142, 108, 0.13), transparent 75%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

[data-theme="gray"] .service-card-glow {
    background: radial-gradient(420px circle at var(--mouse-x, 80%) var(--mouse-y, 20%), rgba(95, 168, 127, 0.18), transparent 75%);
}

/* Header inside card */
.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

/* Dynamic Transforming Icon Box */
.service-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background-color: var(--brand-light);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-border);
    position: relative;
    z-index: 2;
    transition: 
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.35s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.38s ease;
}

.service-icon-box svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sleek Corner Arrow Badge */
.service-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    opacity: 0.55;
    transform: translate(-4px, 4px);
    transition: 
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.35s ease;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: color var(--transition-fast), transform 0.35s ease;
}

.service-desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    transition: color var(--transition-fast);
}

/* Instant hover responses in grid */
.services-grid:hover .service-card,
.services-grid.is-service-hovered .service-card {
    transition-delay: 0ms !important;
}

/* Sibling Soft Focus (When one card is hovered, other cards softly blur and dim) */
.services-grid:has(.service-card:hover) .service-card.active:not(:hover),
.services-grid.is-service-hovered .service-card.active:not(:hover) {
    opacity: 0.42;
    filter: blur(2.5px);
    transform: perspective(1000px) scale(0.97) translateZ(-20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Actively Hovered Service Card: Elevates in Razor-Sharp Emerald Focus */
.services-grid .service-card.active:hover {
    opacity: 1 !important;
    filter: blur(0px) !important;
    transform: perspective(1000px) translateY(-8px) scale(1.025) translateZ(30px) !important;
    border-color: var(--brand-primary);
    box-shadow: 0 22px 46px -12px rgba(70, 142, 108, 0.22), 0 14px 30px rgba(0, 0, 0, 0.07);
    z-index: 5;
}

.service-card.active:hover .service-card-top-beam {
    width: 88%;
    opacity: 1;
    box-shadow: 0 0 16px var(--brand-primary);
}

.service-card.active:hover .service-card-glow {
    opacity: 1;
}

.service-card.active:hover .service-icon-box {
    transform: scale(1.12) translateY(-3px) rotate(-3deg);
    background: linear-gradient(135deg, var(--brand-primary) 0%, #22573f 100%);
    border-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px -3px rgba(70, 142, 108, 0.42);
}

.service-card.active:hover .service-icon-box svg {
    transform: scale(1.1) rotate(6deg);
}

.service-card.active:hover .service-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(70, 142, 108, 0.35);
}

.service-card.active:hover .service-title {
    color: var(--brand-primary);
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card {
        padding: 28px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.885rem;
    color: var(--text-secondary);
}

.service-feature-item svg {
    width: 16px;
    height: 16px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* Philosophy / Code Standards Section */
.philosophy-banner {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}

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

.philosophy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.philosophy-item {
    display: flex;
    gap: 16px;
}

.philosophy-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary);
    background-color: var(--brand-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--brand-border);
}

.philosophy-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.philosophy-text p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact / CTA Banner - Compact & Perfectly Proportioned */
.cta-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.cta-box .section-tag {
    font-size: 0.725rem;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
}

.cta-box .section-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.25;
}

.cta-box .section-subtitle {
    font-size: 0.935rem;
    line-height: 1.55;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 22px;
}

.cta-buttons-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-buttons-wrap .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .cta-box {
        padding: 26px 18px;
    }
    .cta-box .section-title {
        font-size: 1.35rem;
    }
    .cta-buttons-wrap {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .cta-buttons-wrap .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
}

.contact-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--brand-light);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

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

/* ==========================================================================
   Phone Ringing Animation (Simulating a sudden incoming call)
   Quiet pause -> Sudden rapid vibration/wobble -> Expanding soundwave rings
   ========================================================================== */

.phone-ring-icon {
    position: relative;
    overflow: visible !important;
}

/* Soundwave sonar rings expanding outward */
.phone-ring-icon::before,
.phone-ring-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid var(--brand-primary);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.phone-ring-icon::before {
    animation: phonePulseWave 4.2s infinite ease-out;
}

.phone-ring-icon::after {
    animation: phonePulseWave 4.2s infinite ease-out 0.3s;
}

/* The actual phone SVG inside wobbles dynamically like a ringing phone */
.phone-ring-icon svg,
.phone-ring-icon-mini svg {
    position: relative;
    z-index: 1;
    transform-origin: 50% 50%;
    animation: phoneRinging 4.2s infinite ease-in-out;
}

.phone-ring-icon-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}

.phone-ring-icon-mini svg {
    width: 15px;
    height: 15px;
}

@keyframes phoneRinging {
    /* 0% - 62%: Calm, quiet resting state (approx 2.6s) */
    0%, 62% {
        transform: rotate(0deg) scale(1);
    }
    /* Ring burst 1 (sudden rapid ringing wobble) */
    64% {
        transform: rotate(-24deg) scale(1.22);
        filter: drop-shadow(0 0 8px var(--brand-primary));
    }
    66% {
        transform: rotate(24deg) scale(1.22);
    }
    68% {
        transform: rotate(-20deg) scale(1.18);
    }
    70% {
        transform: rotate(20deg) scale(1.18);
    }
    72% {
        transform: rotate(-15deg) scale(1.14);
    }
    74% {
        transform: rotate(15deg) scale(1.14);
    }
    76% {
        transform: rotate(-9deg) scale(1.08);
    }
    78% {
        transform: rotate(9deg) scale(1.08);
    }
    80% {
        transform: rotate(0deg) scale(1);
        filter: none;
    }
    /* Micro pause between rings */
    82% {
        transform: rotate(0deg) scale(1);
    }
    /* Ring burst 2 */
    84% {
        transform: rotate(-22deg) scale(1.2);
        filter: drop-shadow(0 0 8px var(--brand-primary));
    }
    86% {
        transform: rotate(22deg) scale(1.2);
    }
    88% {
        transform: rotate(-18deg) scale(1.16);
    }
    90% {
        transform: rotate(18deg) scale(1.16);
    }
    92% {
        transform: rotate(-12deg) scale(1.12);
    }
    94% {
        transform: rotate(12deg) scale(1.12);
    }
    96% {
        transform: rotate(-6deg) scale(1.06);
    }
    98%, 100% {
        transform: rotate(0deg) scale(1);
        filter: none;
    }
}

@keyframes phonePulseWave {
    0%, 62% {
        transform: scale(0.9);
        opacity: 0;
    }
    64% {
        opacity: 0.85;
    }
    78% {
        transform: scale(1.6);
        opacity: 0;
    }
    82% {
        transform: scale(0.9);
        opacity: 0;
    }
    84% {
        opacity: 0.85;
    }
    98%, 100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

/* On hover: rapid continuous ringing feedback */
.contact-info-item:hover .phone-ring-icon svg,
.btn:hover .phone-ring-icon-mini svg,
.footer-link:hover .phone-ring-icon-mini svg {
    animation-duration: 1.1s;
}

.contact-info-content h5 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info-content p, 
.contact-info-content a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.contact-info-content a:hover {
    color: var(--brand-primary);
}

/* Forms */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 0.885rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-light);
}

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

/* Honeypot field (hidden from view) */
.honey-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

/* Alerts & Form Feedback */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.925rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: var(--brand-light);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

/* Footer */
.site-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding-top: 70px;
    padding-bottom: 40px;
    margin-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    font-size: 0.925rem;
    max-width: 320px;
    margin-top: 16px;
    color: var(--text-muted);
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.925rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-link {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-social-link:hover {
    color: var(--text-primary);
}

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

/* Project Detail Page Styles */
.detail-header {
    padding-top: calc(var(--nav-height) + 50px);
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}

.detail-cover {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 48px;
    box-shadow: var(--shadow-md);
}

.detail-cover img {
    width: 100%;
    height: auto;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.detail-sidebar-col {
    display: block;
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    align-self: start;
    z-index: 15;
}

.detail-sidebar-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.meta-row {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.meta-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.meta-row h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.meta-row p {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-main);
    z-index: 999;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav-drawer.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--brand-primary);
    border-radius: 2px;
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--brand-primary);
    transform: translateX(8px);
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
    width: 44px;
}

/* Media Queries */
@media (max-width: 992px) {
    .services-grid,
    .philosophy-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .detail-info-grid {
        display: flex;
        flex-direction: column;
        gap: 36px;
    }

    .detail-sidebar-col {
        order: -1;
        position: static !important;
        top: auto !important;
        width: 100%;
    }

    .detail-sidebar-card {
        padding: 24px;
    }

    .cmd-title-box {
        margin-bottom: 12px;
    }

    .cmd-hero-title {
        font-size: 1.65rem;
        line-height: 1.25;
        min-height: 2.55em;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .navbar .btn-primary {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        width: 100%;
        max-width: 100%;
    }

    .cmd-title-box {
        margin-bottom: 10px;
        width: 100%;
        max-width: 100%;
    }

    .cmd-hero-title {
        font-size: clamp(1.15rem, 5vw, 1.35rem);
        line-height: 1.28;
        min-height: 2.65em;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .cmd-prompt-prefix {
        margin-right: 6px;
    }

    .hero-fullscreen {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 24px);
        padding-bottom: 50px;
        overflow-x: hidden;
        max-width: 100%;
    }

    .hero-description {
        font-size: 1.025rem;
        line-height: 1.6;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .hero-preview-btn-wrap {
        width: 100%;
        max-width: 100%;
        display: flex;
    }

    .hero-ref-preview-panel {
        display: none !important;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .hero-terminal {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    .terminal-body {
        padding: 16px 14px;
        font-size: 0.78rem;
        max-width: 100%;
    }

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

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

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

    .cmd-title-box {
        margin-bottom: 10px;
    }

    .cmd-hero-title {
        font-size: clamp(1rem, 4.6vw, 1.18rem);
        line-height: 1.3;
        min-height: 2.7em;
    }

    .cmd-prompt-prefix {
        font-size: inherit;
        margin-right: 4px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .terminal-body {
        padding: 12px 10px;
        font-size: 0.72rem;
        line-height: 1.55;
    }
}

/* ==========================================================================
   14. FAQ Section & SEO Accordion (Schema.org Aligned)
   ========================================================================== */
.faq-grid {
    max-width: 860px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;

    /* Staggered entrance from left to right - unclipped & distinct */
    opacity: 0;
    transform: translateX(-90px);
    filter: blur(6px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                border-color var(--transition-fast),
                box-shadow var(--transition-fast);
    transition-delay: var(--stagger-delay, 0ms);
    will-change: transform, opacity, filter;
}

.faq-item.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.faq-item.active:hover {
    border-color: var(--brand-border);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-item[open] {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 20px rgba(70, 142, 108, 0.1);
}

[data-theme="gray"] .faq-item[open] {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(70, 142, 108, 0.25);
}

@media (max-width: 768px) {
    .faq-item {
        transform: translateX(-40px);
    }
    .faq-item.active:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

.faq-question {
    padding: 22px 26px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
}

.faq-item[open] .faq-icon-indicator {
    transform: rotate(45deg);
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

.faq-answer {
    padding: 0 26px 22px 26px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
    margin-top: 0;
    padding-top: 16px;
}

.faq-answer p {
    margin: 0;
}

/* ==========================================================================
   Case Study & Reference Showcase System (Blog & Vaka Analizi)
   ========================================================================== */

/* 1. Project Grid Case Study Badges */
.badge-case-study-tag {
    position: absolute;
    top: 10px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(70, 142, 108, 0.12);
    color: var(--brand-primary);
    border: 1px solid rgba(70, 142, 108, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.project-card-case-study:hover .badge-case-study-tag {
    transform: translateY(-1px);
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

[data-theme="gray"] .badge-case-study-tag {
    background: rgba(70, 142, 108, 0.2);
    color: #6ee7b7;
    border-color: rgba(70, 142, 108, 0.38);
}

.project-card-case-study {
    border-color: rgba(70, 142, 108, 0.24);
}

.project-card-case-study:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 14px 32px -10px rgba(70, 142, 108, 0.22);
}

/* 2. Visual Showcase Container */
.case-study-showcase {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(70, 142, 108, 0.12);
    margin-bottom: 48px;
    position: relative;
}

.case-study-showcase-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

.showcase-window-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.showcase-url-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-mono, monospace);
    max-width: 480px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.showcase-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    padding: 3px 10px;
    border-radius: 999px;
}

.showcase-media-frame {
    position: relative;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.showcase-media-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* 3. Showcase Highlights Strip */
.showcase-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.showcase-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.showcase-highlight-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--brand-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.showcase-highlight-text h5 {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: var(--text-primary);
}

.showcase-highlight-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 992px) {
    .showcase-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 580px) {
    .showcase-highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. KPI Counter Cards */
.case-study-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 36px 0;
}

.kpi-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.kpi-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-border);
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), #6ee7b7);
}

.kpi-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.kpi-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.kpi-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin: 0;
}

@media (max-width: 768px) {
    .case-study-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 5. Editorial Typography */
.case-study-heading {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 38px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-study-heading::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: var(--brand-primary);
    flex-shrink: 0;
}

.case-study-paragraph {
    font-size: 1.025rem;
    line-height: 1.82;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.case-study-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0 32px 0;
}

.case-study-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.case-study-feature-item:hover {
    transform: translateX(4px);
    border-color: var(--brand-border);
}

.feature-item-bullet {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.feature-item-content {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.feature-item-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.case-study-bullet-list {
    margin: 16px 0 24px 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-study-bullet-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.case-study-bullet-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-primary);
}

/* 6. Comparison Grid */
.case-study-compare-wrap {
    margin: 36px 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.compare-col {
    padding: 24px;
}

.compare-col.traditional {
    background: rgba(239, 68, 68, 0.04);
    border-right: 1px solid var(--border-color);
}

.compare-col.kodesil-way {
    background: rgba(70, 142, 108, 0.05);
}

.compare-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.compare-col-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.compare-col.traditional .compare-col-title { color: #dc2626; }
.compare-col.kodesil-way .compare-col-title { color: var(--brand-primary); }

.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compare-list li {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

@media (max-width: 640px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }
    .compare-col.traditional {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

/* 7. Sidebar Client Box */
.sidebar-client-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 22px;
}

.sidebar-client-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.sidebar-client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sidebar-client-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 3px 0;
    color: var(--text-primary);
}

.sidebar-client-info span {
    font-size: 0.76rem;
    color: var(--text-muted);
}


